/* =========================================================================
   Ravia — components (Grayskills · Website › Yoga & Wellness)
   Calm, sunlit yoga studio: tall extra-condensed light serif headlines in deep maroon,
   Bricolage Grotesque body, coral pill buttons with a white arrow disc, lime icon wells,
   frosted glass over warm photos, soft dawn gradient bands, maroon footer.
   Values come from tokens.css only.
   ========================================================================= */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body);
  letter-spacing: var(--ls-body); font-weight: 300;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sr-only:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--r-pill); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- type ---------- */
.t-h1, .t-h2, .t-h3, .t-h4, .t-h5, .t-quote, .t-num {
  font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight);
  color: var(--ink); letter-spacing: var(--ls-display); font-optical-sizing: auto;
}
.t-h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
.t-h2 { font-size: var(--fs-h2); line-height: var(--lh-title); }
.t-h3 { font-size: var(--fs-h3); line-height: 1.2; }
.t-h4 { font-size: var(--fs-h4); line-height: 1.15; }
.t-h5 { font-size: var(--fs-h5); line-height: 1.08; letter-spacing: -0.01em; }
.t-quote { font-size: var(--fs-quote); line-height: 1.08; letter-spacing: -0.01em; }
.t-num { font-size: var(--fs-h3); line-height: 1.2; }
.t-h1, .t-h2, .t-h3, .t-h4, .t-quote { text-wrap: balance; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-body); font-weight: 300; color: var(--body); }
.on-dark, .on-dark .t-h1, .on-dark .t-h2, .on-dark .t-h3, .on-dark .t-h4 { color: var(--on-dark); }
.on-dark .lead { color: var(--on-dark-soft); }

/* eyebrow: sprout mark + small uppercase label */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-eyebrow); line-height: var(--lh-tight); font-weight: 400; text-transform: uppercase; color: var(--body); letter-spacing: -0.02em; }
.eyebrow .mark { width: 21px; height: 14px; color: var(--accent); }
.on-dark .eyebrow, .eyebrow--light { color: var(--on-dark); }
.on-dark .eyebrow .mark, .eyebrow--light .mark { color: var(--pop); }
.mark { fill: currentColor; }

/* section head */
.s-head { display: flex; flex-direction: column; gap: 28px; }
.s-head--center { align-items: center; text-align: center; margin-inline: auto; max-width: 560px; }
.s-head--wide { max-width: 700px; }
.s-split { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.s-split .s-head { max-width: 520px; }
.s-split > .lead { max-width: 393px; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--accent); --b-ink: var(--on-accent);
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 8px 0 24px;
  border-radius: var(--r-pill); background: var(--b-bg); color: var(--b-ink); border: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; line-height: 1.48; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft), transform var(--dur) var(--ease);
}
.btn:hover { background: var(--accent-deep); }
.btn__go { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; flex: none; transition: transform var(--dur) var(--ease); }
.btn__go .i { width: 16px; height: 16px; stroke-width: 1.8; }
.btn:hover .btn__go { transform: rotate(45deg); }
.btn--lg { height: 60px; padding-right: 10px; }
.btn--dark { --b-bg: var(--deep); }
.btn--dark:hover { background: #561812; }
.btn--plain { padding: 0 24px; gap: 10px; }
.btn--plain .i { width: 18px; height: 18px; }
.btn--white { --b-bg: var(--paper); --b-ink: var(--ink); padding: 0 22px; gap: 10px; }
.btn--white:hover { background: var(--mist); }
.btn--lime { --b-bg: var(--pop); --b-ink: var(--pop-ink); padding: 0 24px; gap: 10px; height: 48px; }
.btn--lime:hover { background: #D2F56E; }
.btn--glass { --b-bg: var(--glass-soft); --b-ink: var(--ink); border: 1px solid rgba(255,255,255,.4); padding: 0 20px; gap: 10px; height: 48px; }
.btn--glass:hover { background: rgba(255,255,255,.62); }
.btn--soft { --b-bg: var(--paper); --b-ink: var(--ink); border: 1px solid var(--line); padding: 0 20px; gap: 10px; height: 48px; }
.btn--soft:hover { background: var(--mist); }
.btn--sm { height: 48px; padding: 0 24px; gap: 10px; }
.btn--block { width: 100%; justify-content: center; height: 64px; padding: 0 24px; }
.btn--plain .i, .btn--lime .i, .btn--glass .i, .btn--soft .i, .btn--white .i, .btn--sm .i { stroke-width: 1.8; }
.btn--lime .i, .btn--sm .i { transition: transform var(--dur) var(--ease); }
.btn--lime:hover .i, .btn--sm:hover .i { transform: translateX(3px); }

/* ---------- header (one floating pill; --over sits on a photo hero) ---------- */
.site-head { position: absolute; top: 24px; left: 0; right: 0; z-index: 30; }
.site-head__in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h); padding: 0 16px 0 20px; border-radius: var(--r-pill); background: var(--mist);
}
.site-head--over .site-head__in { background: var(--glass-soft); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-head__brand { display: flex; align-items: center; gap: 60px; }
.logo { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-family: var(--font-body); font-weight: 500; font-size: 21px; letter-spacing: -0.04em; line-height: 1; }
.logo .mark { width: 30px; height: 20px; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; color: var(--ink); }
.nav > a, .nav__btn { position: relative; padding: 6px 0; background: none; border: 0; cursor: pointer; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.nav > a::after, .nav__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.nav > a:hover::after, .nav__btn:hover::after, .nav > a[aria-current]::after { transform: scaleX(1); }
.nav__btn .i { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-soft); }
.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 18px); left: -20px; min-width: 210px; padding: 10px; border-radius: var(--r-card);
  background: var(--paper); box-shadow: var(--shadow-pop); display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft), visibility 0s linear var(--dur-fast);
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav__menu a { padding: 10px 14px; border-radius: 12px; transition: background-color var(--dur-fast) var(--ease-soft); }
.nav__menu a:hover { background: var(--mist); }
.nav__drop:hover .nav__menu, .nav__drop.open .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__drop:hover .nav__btn .i, .nav__drop.open .nav__btn .i { transform: rotate(180deg); }
.site-head__actions { display: flex; align-items: center; gap: 12px; }
.site-head__actions .btn--lime { color: var(--pop-ink); }
.site-head:not(.site-head--over) .site-head__cta { --b-bg: var(--accent); --b-ink: var(--on-accent); }
.site-head:not(.site-head--over) .site-head__cta:hover { background: var(--accent-deep); }
.site-head:not(.site-head--over) .site-head__call { --b-bg: var(--paper); border-color: var(--line); }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; place-items: center; gap: 5px; align-content: center; justify-items: center; }
.menu-btn i { display: block; width: 18px; height: 1.6px; background: var(--paper); border-radius: 2px; transition: transform var(--dur-fast) var(--ease-soft); }
.site-head.open .menu-btn i:first-child { transform: translateY(3.3px) rotate(45deg); }
.site-head.open .menu-btn i:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.mnav { margin-top: 10px; padding: 14px; border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-pop); display: grid; gap: 2px; font-weight: 500; color: var(--ink); }
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { padding: 12px 14px; border-radius: 12px; }
.mnav a:not(.btn):hover { background: var(--mist); }
.mnav .btn { margin-top: 8px; justify-content: center; }
.page-top { padding-top: 132px; }   /* inner pages: room for the floating nav */

/* ---------- hero (home): full-bleed sunlit photo, copy bottom-left, proof row ---------- */
.hero { position: relative; min-height: 1110px; color: var(--on-dark); isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 74%; z-index: -1; pointer-events: none;
  background: linear-gradient(6deg, rgba(29,29,29,.82) 7%, rgba(29,29,29,0) 80%), linear-gradient(5deg, rgba(29,29,29,.5) 7%, rgba(29,29,29,0) 70%); }
.hero__main { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; max-width: 500px; }
.hero__copy .t-h1 { color: var(--on-dark); }
.hero__side { display: flex; flex-direction: column; gap: 24px; width: 348px; }
.hero__side .lead { color: var(--on-dark-soft); }
.review { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: var(--r-xs); background: rgba(29,29,29,.34); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); align-self: flex-start; }
.review__faces { display: flex; }
.review__faces img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--line); margin-right: -20px; border: 1.5px solid rgba(255,255,255,.7); }
.review__faces img:last-child { margin-right: 0; }
.review__txt { display: grid; gap: 6px; font-weight: 500; color: var(--on-dark); }
.stars { display: inline-flex; gap: 2px; color: var(--paper); }
.stars .i { width: 14px; height: 14px; }
.stars--accent { color: var(--accent); }
.stars--lg .i { width: 20px; height: 20px; }
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; margin-bottom: 52px; }
.proof li { display: flex; align-items: center; gap: 14px; height: 64px; padding: 8px; border-radius: var(--r-pill); background: var(--glass-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 20px; font-weight: 500; color: var(--on-dark); line-height: 1.2; }
.well { width: 48px; height: 48px; border-radius: 50%; background: var(--pop); color: var(--pop-ink); display: grid; place-items: center; flex: none; }
.well .i { width: 20px; height: 20px; stroke-width: 1.5; }

/* ---------- intro (about teaser): dawn gradient, inline photo pills in the headline ---------- */
.intro { background: linear-gradient(180deg, var(--dawn-a) 0%, var(--paper) 53%, var(--dawn-b) 100%); padding: var(--section) 0 6px; }
.intro__grid > .eyebrow { align-self: start; position: sticky; top: 120px; }
.intro__grid { display: grid; grid-template-columns: 404px 1fr; }
.intro__body { display: flex; flex-direction: column; gap: 60px; }
.intro__text { display: flex; flex-direction: column; gap: 36px; align-items: flex-start; }
.intro__text > div { display: flex; flex-direction: column; gap: 24px; }
.inline-title { font-size: var(--fs-h3); line-height: 1.2; }
.pic { display: inline-block; width: 1.36em; height: .92em; border-radius: var(--r-pill); object-fit: cover; vertical-align: -0.14em; margin: 0 .08em; background: var(--line); }
.pic--icon { width: .92em; display: inline-grid; place-items: center; background: var(--pop); color: var(--ink); }
.pic--icon svg { width: .5em; height: .5em; }
.intro__text .lead { max-width: 701px; }
.intro__media { display: grid; grid-template-columns: 1fr 306px; gap: 16px; }
.intro__photo { border-radius: var(--r-card); overflow: hidden; min-height: 512px; }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; }
.intro__stats { display: grid; gap: 16px; }
.stat { background: var(--card); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 248px; }
.stat p { color: var(--body); }

/* ---------- services band: warm photo washed with blush, frosted 2×2 cards ---------- */
.svc-band { position: relative; isolation: isolate; padding: var(--section) 0; overflow: hidden; }
.svc-band__bg { position: absolute; inset: 0; z-index: -2; }
.svc-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.svc-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--dawn-b) 4%, rgba(255,217,213,.86) 22%, rgba(255,217,213,.18) 70%, rgba(255,217,213,0) 100%); }
.svc-band .s-head { margin-bottom: var(--head-gap); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc { aspect-ratio: 1; padding: 60px; border-radius: var(--r-xl); background: var(--glass); backdrop-filter: blur(var(--blur-glass)); -webkit-backdrop-filter: blur(var(--blur-glass)); display: flex; flex-direction: column; justify-content: space-between; transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.svc:hover { background: rgba(255,255,255,.9); transform: translateY(-4px); }
.svc__icon { width: 97px; height: 92px; color: var(--ink); }
.svc__icon svg { width: 100%; height: 100%; }
.svc__body { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.svc__body > div { display: grid; gap: 12px; max-width: 527px; }

/* ---------- programs carousel: tall photo cards that bleed off the right edge ---------- */
.programs { padding: var(--section) 0; overflow: hidden; }
.programs .s-split { margin-bottom: var(--head-gap); }
.arrows { display: flex; gap: 16px; }
.arrow { width: 72px; height: 72px; border-radius: var(--r-xs); border: 0; cursor: pointer; display: grid; place-items: center; background: var(--mist); color: var(--ink); transition: background-color var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft); }
.arrow .i { width: 24px; height: 24px; }
.arrow:hover { background: var(--line); }
.arrow--on { background: var(--accent); color: var(--on-accent); }
.arrow--on:hover { background: var(--accent-deep); }
.rail { display: flex; gap: 36px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: var(--gutter); margin-right: calc(-1 * (100vw - min(var(--wrap), 100vw - 2 * var(--gutter))) / 2); }
.rail::-webkit-scrollbar { display: none; }
.rail > * + * { position: relative; }
.rail > * + *::before { content: ""; position: absolute; left: -18px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.prog { background: #2B2421; position: relative; flex: 0 0 min(1140px, 86vw); height: 740px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--on-dark); scroll-snap-align: start; }
.prog > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.prog::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(127deg, rgba(31,31,31,.72) 33%, rgba(31,31,31,0) 76%); }
.prog__top { position: absolute; left: 40px; right: 40px; top: 40px; display: flex; justify-content: space-between; align-items: flex-start; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-pill); background: var(--paper); color: var(--pop-ink); font-weight: 500; }
.badge .i { width: 14px; height: 14px; color: var(--accent); }
.faces { display: flex; }
.faces > * { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--paper); margin-left: -20px; object-fit: cover; background: var(--line); }
.faces > *:first-child { margin-left: 0; }
.faces__mark { background: var(--pop); display: grid; place-items: center; color: var(--ink); }
.faces__mark .mark { width: 21px; height: 14px; color: var(--ink); }
.prog__copy { position: absolute; left: 40px; top: 116px; max-width: 600px; display: grid; gap: 16px; }
.prog__copy .t-h4 { color: var(--on-dark); }
.prog__copy .lead { color: var(--on-dark-soft); opacity: .86; }
.offer { position: absolute; left: 40px; right: 40px; bottom: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 24px 24px 36px; border-radius: 52px; background: var(--paper); color: var(--ink); }
.offer b { font-weight: 500; font-size: 20px; display: block; }
.offer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--body); }
.offer__meta span { text-transform: uppercase; font-weight: 400; }
.offer__meta span::before { content: "•"; margin-right: 8px; color: var(--body); }

/* ---------- stories (testimonials with video) ---------- */
.stories { background: var(--mist); padding: var(--section) 0; }
.stories .s-head { margin-bottom: 46px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.story { position: relative; background: var(--card); border-radius: var(--r-card); padding: 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; overflow: hidden; isolation: isolate; }
.story .stars { margin-bottom: 40px; }
.story .t-quote { max-width: 620px; }
.story__rule { width: 340px; max-width: 70%; height: 1px; background: rgba(58,15,11,.5); margin: 36px 0 20px; }
.story__name { font-size: 20px; font-weight: 500; color: var(--body); margin-bottom: 30px; }
.story__video { position: relative; width: 100%; height: 348px; border-radius: var(--r-sm); overflow: hidden; }
.story__video img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.play { position: absolute; left: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 12px; border: 0; background: #191919; color: var(--paper); display: grid; place-items: center; cursor: pointer; transition: transform var(--dur) var(--ease), background-color var(--dur-fast) var(--ease-soft); }
.play .i { width: 16px; height: 16px; }
.play:hover { transform: scale(1.06); background: var(--accent); }
.story__ghost { position: absolute; left: 50%; bottom: -40px; width: 345px; transform: translateX(-50%); color: var(--accent-soft); z-index: -1; }

/* ---------- how we work: big sunlit panel with three steps + coral bar ---------- */
.how { padding: var(--section) 0 calc(var(--section) * .5); }
.how .s-split { margin-bottom: var(--head-gap); }
.how__panel { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 892px; display: flex; align-items: flex-end; justify-content: center; padding: 0 24px 34px; isolation: isolate; }
.how__panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: -1; }
.how__steps { width: min(864px, 100%); display: grid; gap: 12px; }
.how__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { background: var(--card); border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 44px; transition: transform var(--dur) var(--ease); }
.step:hover { transform: translateY(-4px); }
.step .i { width: 24px; height: 24px; color: var(--ink); stroke-width: 1.4; }
.step p { font-size: 20px; font-weight: 500; color: var(--ink); line-height: 1.48; }
.how__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 20px 26px 24px; border-radius: var(--r-card); background: var(--accent); color: var(--on-dark); }
.how__bar b { display: block; font-size: 20px; font-weight: 500; }
.how__bar > div > span { color: var(--on-dark); }

/* ---------- FAQ ---------- */
.faq { padding: var(--section) 0; }
.faq .s-head { margin-bottom: var(--head-gap); }
.faq__list { width: min(648px, 100%); margin-inline: auto; display: grid; gap: 16px; }
.qa { background: var(--mist); border-radius: var(--r-sm); padding: 24px; transition: background-color var(--dur-fast) var(--ease-soft); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 20px; height: 20px; color: var(--ink); transition: transform var(--dur) var(--ease); }
.qa[open] summary .i { transform: rotate(180deg); }
.qa p { margin-top: 12px; max-width: 520px; color: var(--body); }
.qa:hover { background: #EFEDED; }

/* ---------- CTA band (photo) ---------- */
.cta-band { position: relative; min-height: 726px; display: grid; place-items: center; text-align: center; isolation: isolate; overflow: hidden; color: var(--on-dark); padding: 120px var(--gutter); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(31,31,31,.42); }
.cta-band__in { display: flex; flex-direction: column; align-items: center; gap: 36px; max-width: 640px; }
.cta-band .t-h1 { color: var(--on-dark); }
.mark-pill { width: 75px; height: 60px; border-radius: var(--r-pill); background: var(--pop); border: 1.25px solid var(--paper); display: grid; place-items: center; color: var(--ink); }
.mark-pill .mark { width: 26px; height: 18px; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; color: var(--on-dark-soft); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .i { width: 16px; height: 16px; }

/* ---------- footer ---------- */
.site-foot { background: var(--deep); color: var(--on-dark-soft); padding: 60px 0 40px; }
.foot-top { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 32px; font-size: 20px; line-height: 1.48; }
.foot-top ul { display: grid; gap: 3px; align-content: start; }
.foot-top a { transition: color var(--dur-fast) var(--ease-soft); }
.foot-top a:hover { color: var(--pop); }
.foot-mid { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 300px; padding-bottom: 60px; border-bottom: 1px solid var(--line-dark); }
.foot-logo { display: flex; align-items: center; gap: 24px; color: var(--on-dark); font-family: var(--font-body); font-weight: 500; font-size: clamp(64px, 9vw, 136px); letter-spacing: -0.05em; line-height: .8; }
.foot-logo .mark { width: clamp(96px, 12vw, 195px); height: auto; color: var(--pop); }
.news { width: min(428px, 100%); display: grid; gap: 44px; }
.news .t-h4 { color: var(--on-dark); }
.news__field { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.5); }
.news__field input { flex: 1; min-width: 0; background: none; border: 0; color: var(--on-dark); font-weight: 300; }
.news__field input::placeholder { color: #CCCCCC; }
.news__field input:focus { outline: none; }
.news__field button { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 4px 16px; border-radius: var(--r-pill); border: 0; background: var(--pop); color: var(--ink); cursor: pointer; font-weight: 400; transition: background-color var(--dur-fast) var(--ease-soft); }
.news__field button:hover { background: #D2F56E; }
.news__field button .i { width: 14px; height: 14px; }
.foot-bot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; font-size: 16px; }
.foot-bot p, .foot-legal { color: var(--on-dark-muted); }
.foot-legal { display: flex; align-items: center; gap: 16px; }
.foot-legal i { width: 5px; height: 5px; border-radius: 50%; background: #999999; }
.foot-legal a { transition: color var(--dur-fast) var(--ease-soft), border-color var(--dur-fast) var(--ease-soft); }
.foot-legal a:hover { color: var(--on-dark); }
.socials { display: flex; gap: 9px; }
.socials a { width: 51px; height: 51px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: background-color var(--dur-fast) var(--ease-soft), transform var(--dur) var(--ease); }
.socials a:hover { background: var(--pop); transform: translateY(-2px); }
.socials a.is-pop { background: var(--pop); }
.socials .i { width: 17px; height: 17px; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .nav { gap: 20px; }
  .site-head__call { display: none; }
}
@media (max-width: 1024px) {
  .hero { min-height: 900px; }
  .hero__main { flex-direction: column; align-items: flex-start; }
  .hero__side { width: min(420px, 100%); }
  .proof { grid-template-columns: 1fr; gap: 12px; margin-top: 48px; }
  .svc { aspect-ratio: auto; min-height: 520px; padding: 44px; }
  .intro__media { grid-template-columns: 1fr; }
  .intro__stats { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .s-split { flex-direction: column; align-items: flex-start; }
  .how__panel { min-height: 760px; }
  .foot-mid { flex-direction: column; align-items: flex-start; margin-top: 120px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .site-head__actions { display: none; }
  .menu-btn { display: grid; }
  .site-head__in { height: 64px; padding: 0 8px 0 18px; }
  .site-head.open .site-head__in { background: var(--paper); }
}
@media (max-width: 720px) {
  :root { --head-gap: 40px; }
  .hero { min-height: 0; padding-top: 340px; }
  .hero::after { height: 88%; background: linear-gradient(0deg, rgba(29,29,29,.86) 0%, rgba(29,29,29,.7) 55%, rgba(29,29,29,0) 100%); }
  .hero__bg img { object-position: 56% 0; }

  .hero__copy { gap: 20px; }
  .proof { margin-bottom: 28px; }
  .proof li { font-size: 17px; height: 56px; }
  .proof .well { width: 40px; height: 40px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc { min-height: 420px; padding: 32px; border-radius: 40px; }
  .svc__icon { width: 72px; height: 68px; }
  .intro__photo { min-height: 340px; }
  .intro__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { min-height: 190px; padding: 20px; }
  .prog { height: 640px; border-radius: 32px; }
  .prog__top, .prog__copy { left: 24px; right: 24px; }
  .prog__top { top: 24px; }
  .prog__copy { top: 92px; }
  .offer { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: flex-start; padding: 20px; border-radius: 28px; }
  .arrow { width: 56px; height: 56px; }
  .story { padding: 28px 20px; }
  .story__video { height: 260px; }
  .how__panel { min-height: 0; padding: 260px 12px 12px; }
  .how__row { grid-template-columns: 1fr; }
  .step { gap: 20px; }
  .how__bar { flex-direction: column; align-items: flex-start; }
  .cta-band { min-height: 620px; }
  .foot-top { grid-template-columns: 1fr; gap: 24px; font-size: 18px; }
  .foot-bot { flex-direction: column; align-items: flex-start; }
  .socials a { width: 44px; height: 44px; }
}
.svc__icon--line .i { width: 100%; height: 100%; stroke-width: .7; }

/* ───────── 404 ───────── */
/* ===== 404 page (er-) ===== */
.er-main { padding: 40px 0 var(--section); }
.er-in { display: flex; flex-direction: column; align-items: center; gap: 60px; text-align: center; }
.er-fig { width: min(716px, 100%); }
.er-art { width: 100%; height: auto; overflow: visible; }
.er-art .er-ink { fill: var(--ink); }
.er-art .er-pop { fill: var(--pop); }
.er-art .er-dark { fill: var(--pop-ink); }
.er-art .er-post { fill: color-mix(in srgb, var(--pop-ink) 45%, var(--paper)); }   /* the source's neutral grey #999 */
.er-copy { width: min(588px, 100%); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.er-copy .btn { margin-top: 20px; }
.er-title { line-height: 1.2; }
@media (max-width: 720px) {
  .er-main { padding-top: 24px; }
  .er-in { gap: 40px; }
}

/* ───────── About ───────── */
/* ===== About page (prefix ab-) ===== */

/* hero: headline left, lead + button right, full-bleed photo */
.ab-hero { padding-top: 48px; }
.ab-hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 60px; }
.ab-hero__copy { display: flex; flex-direction: column; gap: 28px; max-width: 560px; }
.ab-hero__side { width: 366px; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.ab-hero__title { font-size: clamp(42px, 4.6vw, 66px); line-height: 1.08; }
.ab-hero__photo { height: clamp(380px, 62.5vw, 900px); overflow: hidden; }
.ab-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

/* mission */
.ab-mission { padding: var(--section) 0; }
.ab-mission__grid { display: grid; grid-template-columns: 1fr 758px; gap: 40px; }
.ab-mission__grid > .eyebrow { align-self: start; position: sticky; top: 120px; }
.ab-mission__body { display: flex; flex-direction: column; gap: 60px; }
.ab-mission__text { display: flex; flex-direction: column; gap: 36px; }
.ab-mission__lead { color: var(--body); max-width: 640px; }
.ab-sign { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ab-sign__script { width: 186px; color: var(--ink); }
.ab-sign__script svg { width: 100%; height: auto; }
.ab-sign__script path { fill: var(--ink); }
.ab-sign__rule { width: 206px; height: 1px; background: var(--line); }
.ab-sign__name { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 24px; line-height: 1.1; color: var(--ink); margin-top: 4px; }
.ab-sign__role { font-size: 14px; color: var(--muted); margin-top: -10px; }

/* counters: 3 mist cards, middle inset */
.ab-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 120px; }
.ab-count { background: var(--mist); border-radius: var(--r-card); padding: 32px; min-height: 556px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; transition: transform var(--dur) var(--ease); }
.ab-count:hover { transform: translateY(-4px); }
.ab-count--inset { margin: 20px 0; min-height: 516px; }
.ab-count__num { color: var(--accent); line-height: 1; }
.ab-count > div { display: grid; gap: 16px; max-width: 400px; }
.ab-count__label { font-size: clamp(24px, 2vw, 28px); line-height: 1.1; max-width: 280px; text-wrap: balance; }
.ab-count p:not(.t-h2) { color: var(--body); }
.ab-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.ab-pair figure { border-radius: var(--r-card); overflow: hidden; height: clamp(380px, 48.6vw, 700px); }
.ab-pair img { width: 100%; height: 100%; object-fit: cover; }

/* how we work: mist band, tilted cards */
.ab-how { background: var(--mist); padding: 120px 0 var(--section); overflow: hidden; }
.ab-how__head { max-width: 540px; margin-bottom: 72px; }
.ab-tilt { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; margin: 0; }
.ab-tilt__card { position: relative; background: var(--card); border-radius: 36px; padding: 32px; min-height: 434px; display: flex; flex-direction: column; justify-content: space-between; gap: 120px; transform: rotate(var(--tilt, 0deg)); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ab-tilt__card:nth-child(1) { --tilt: 5.7deg; margin-right: -12px; }
.ab-tilt__card:nth-child(2) { --tilt: -5.7deg; }
.ab-tilt__card:nth-child(3) { --tilt: 5.7deg; margin-left: -12px; }
.ab-tilt__card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: var(--shadow-card); z-index: 2; }
.ab-tilt__card .i { width: 36px; height: 36px; color: var(--ink); stroke-width: 1.3; }
.ab-tilt__card .t-h4 { max-width: 368px; line-height: 1.12; }

/* testimonial: full-bleed photo, quote cards at the bottom */
.ab-voices { position: relative; isolation: isolate; min-height: clamp(720px, 76vw, 1100px); display: flex; align-items: flex-end; padding: 0 0 60px; overflow: hidden; }
.ab-voices__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -1; }
.ab-voices__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ab-quote { background: var(--card); border-radius: 32px; padding: 40px; display: flex; flex-direction: column; gap: 36px; min-height: 435px; justify-content: space-between; transition: transform var(--dur) var(--ease); }
.ab-quote:hover { transform: translateY(-4px); }
.ab-quote__mark { width: 70px; color: var(--accent); }
.ab-quote__mark svg { width: 100%; height: auto; transform: rotate(180deg); }
.ab-quote__mark path { fill: var(--accent); }
.ab-quote .t-quote { max-width: 648px; text-wrap: pretty; }
.ab-quote figcaption { display: grid; gap: 10px; padding-top: 28px; border-top: 1px solid var(--line); font-weight: 500; color: var(--body); }

/* team */
.ab-team { padding: var(--section) 0; }
.ab-team__head { max-width: 640px; margin-bottom: var(--head-gap); }
.ab-team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ab-member { position: relative; height: 480px; border-radius: var(--r-card); overflow: hidden; isolation: isolate; outline-offset: 3px; }
.ab-member > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--dur-slow) var(--ease); }
.ab-member::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(31,31,31,.86) 0%, rgba(31,31,31,.6) 26%, rgba(31,31,31,0) 55%); opacity: 0; transition: opacity var(--dur) var(--ease); }
.ab-member__info { position: absolute; left: 24px; right: 24px; bottom: 24px; display: grid; gap: 8px; color: var(--on-dark-soft); opacity: 0; transform: translateY(10px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.ab-member__info .t-h4 { color: var(--on-dark); }
.ab-member__social { position: absolute; top: 24px; right: 24px; display: grid; gap: 8px; opacity: 0; transform: translateX(10px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.ab-member__social a { width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: background-color var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft); }
.ab-member__social a.is-pop { background: var(--pop); color: var(--pop-ink); }
.ab-member__social a:hover { transform: scale(1.06); background: var(--pop); }
.ab-member__social .i { width: 16px; height: 16px; }
.ab-member:hover > img, .ab-member:focus-within > img { transform: scale(1.03); }
.ab-team__grid:not(:hover) .ab-member.is-on::after, .ab-member:hover::after, .ab-member:focus-within::after { opacity: 1; }
.ab-team__grid:not(:hover) .ab-member.is-on .ab-member__info, .ab-member:hover .ab-member__info, .ab-member:focus-within .ab-member__info,
.ab-team__grid:not(:hover) .ab-member.is-on .ab-member__social, .ab-member:hover .ab-member__social, .ab-member:focus-within .ab-member__social { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1240px) {
  .ab-mission__grid { grid-template-columns: 1fr; }
  .ab-mission__grid > .eyebrow { position: static; }
}
@media (max-width: 1024px) {
  .ab-hero__top { flex-direction: column; gap: 28px; }
  .ab-hero__side { padding-top: 0; width: min(440px, 100%); }
  .ab-counts { grid-template-columns: 1fr; margin-top: 80px; gap: 16px; }
  .ab-count, .ab-count--inset { min-height: 300px; margin: 0; }
  .ab-tilt { grid-template-columns: 1fr; gap: 20px; max-width: 520px; margin-inline: auto; padding: 0; }
  .ab-tilt__card:nth-child(n) { margin: 0; min-height: 300px; --tilt: 0deg; gap: 60px; }
  .ab-voices__row { grid-template-columns: 1fr; }
  .ab-voices { padding-top: 360px; }
  .ab-quote { min-height: 0; }
  .ab-team__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ab-hero { padding-top: 24px; }
  .ab-hero__top { margin-bottom: 40px; }
  .ab-mission__body { gap: 40px; }
  .ab-count { padding: 24px; min-height: 260px; }
  .ab-pair { grid-template-columns: 1fr; }
  .ab-pair figure { height: 420px; }
  .ab-how { padding-top: 88px; }
  .ab-how__head { margin-bottom: 40px; }
  .ab-tilt__card { padding: 24px; border-radius: 28px; }
  .ab-voices { padding: 300px 0 16px; }
  .ab-quote { padding: 28px 24px; border-radius: 24px; gap: 24px; }
  .ab-quote__mark { width: 52px; }
  .ab-team__grid { grid-template-columns: 1fr; }
  .ab-member { height: 440px; }
}
@media (hover: none) {
  .ab-member .ab-member__info, .ab-member .ab-member__social { opacity: 1; transform: none; }
  .ab-member::after { opacity: 1; }
}

/* ───────── Contact ───────── */
/* ===== Contact page (ct-) ===== */
.ct-touch { padding: 32px 0 var(--section); }
.ct-grid { display: flex; align-items: center; justify-content: space-between; gap: 60px; }

/* left: head + info card */
.ct-info { width: min(528px, 100%); display: flex; flex-direction: column; gap: 72px; }
.ct-head { display: flex; flex-direction: column; gap: 20px; max-width: 440px; align-items: flex-start; }
.ct-tiles { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; border-radius: 20px; background: var(--mist); }
.ct-tile { flex: 1 1 200px; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-xs); background: var(--card); min-width: 0; transition: transform var(--dur) var(--ease); }
.ct-tile:hover { transform: translateY(-2px); }
.ct-tile--mail { flex-basis: auto; }
.ct-tile--top { align-items: flex-start; }
.ct-ico { width: 32px; height: 32px; border-radius: 50%; background: var(--deep); color: var(--on-dark); display: grid; place-items: center; flex: none; }
.ct-ico .i { width: 16px; height: 16px; stroke-width: 1.5; }
.ct-big { font-size: 20px; font-weight: 500; color: var(--body); line-height: 1.48; overflow-wrap: anywhere; transition: color var(--dur-fast) var(--ease-soft); }
a.ct-big:hover { color: var(--accent); }
.ct-txt { display: flex; flex-direction: column; line-height: 1.48; }
.ct-txt > span { font-size: 16px; font-weight: 300; }
.ct-txt b { font-weight: 500; }

/* right: form panel */
.ct-form { width: min(740px, 100%); flex: none; display: flex; flex-direction: column; gap: 32px; padding: 32px; border-radius: var(--r-card); background: var(--mist); }
.ct-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-field { position: relative; display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 22px; border-radius: 40px; background: var(--card); border: 1px solid rgba(83,65,63,.2); color: var(--body); transition: border-color var(--dur-fast) var(--ease-soft); }
.ct-field:hover { border-color: rgba(83,65,63,.42); }
.ct-field:focus-within { border-color: var(--ink); }
.ct-field > .i { width: 16px; height: 16px; flex: none; stroke-width: 1.5; color: var(--body); }
.ct-field input, .ct-field select, .ct-field textarea { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-size: 16px; font-weight: 300; color: var(--ink); outline: none; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: var(--body); opacity: 1; }
.ct-field--select select { appearance: none; -webkit-appearance: none; cursor: pointer; color: var(--body); padding-right: 24px; }
.ct-field--select > .i { position: absolute; right: 24px; pointer-events: none; }
.ct-field--msg { grid-column: 1 / -1; height: 140px; padding: 18px 22px; border-radius: 20px; align-items: stretch; }
.ct-field--msg textarea { resize: none; line-height: 1.48; }
.ct-checks { display: grid; gap: 8px; margin-top: -8px; }
.ct-check { display: inline-flex; align-items: center; gap: 8px; color: var(--body); cursor: pointer; }
.ct-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--deep); cursor: pointer; flex: none; }
.ct-check--soft { color: var(--muted); }
.ct-form .btn--block { margin-top: 0; }

/* FAQ on a mist band with white outlined rows */
.contact .ct-faq { background: var(--mist); padding: 120px 0; }
.contact .ct-faq .qa { background: var(--card); border: 1px solid var(--line); transition: border-color var(--dur-fast) var(--ease-soft), background-color var(--dur-fast) var(--ease-soft); }
.contact .ct-faq .qa:hover { border-color: rgba(58,15,11,.28); background: var(--card); }
.contact .ct-faq .qa[open] summary .i { color: var(--accent); }
.contact .ct-faq .qa p { font-size: 16px; }

@media (max-width: 1100px) {
  .ct-grid { flex-direction: column; align-items: stretch; gap: 56px; }
  .ct-info { width: 100%; gap: 40px; }
  .ct-form { width: 100%; }
}
@media (max-width: 720px) {
  .ct-touch { padding-top: 32px; }
  .ct-tiles { padding: 12px; }
  .ct-tile, .ct-tile--mail { flex-basis: 100%; }
  .ct-form { padding: 20px; gap: 24px; }
  .ct-fields { grid-template-columns: 1fr; }
  .ct-field { height: 56px; padding: 0 18px; }
  .ct-field--msg { height: 140px; padding: 16px 18px; }
  .ct-check { align-items: flex-start; }
  .ct-check input { margin-top: 4px; }
  .contact .ct-faq { padding: 88px 0; }
}

/* ───────── Popup ───────── */
/* ===== Offer pop-up (pop-) — hidden until ravia.js opens it ===== */
.pop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--gutter); background: rgba(25,25,25,.48); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: pop-fade var(--dur) var(--ease) both; }
.pop[hidden] { display: none; }
.pop__card { position: relative; width: min(790px, 100%); max-height: calc(100vh - 2 * var(--gutter)); overflow: auto; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-card); background: var(--mist); box-shadow: var(--shadow-pop); animation: pop-rise var(--dur) var(--ease) both; }
.pop__copy { display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 40px; }
.pop__text { display: grid; gap: 24px; }
.pop__title { line-height: 1.2; }
.pop__title em { font-style: normal; color: var(--accent); }
.pop__text p { color: var(--body); }
.pop__btn { height: 60px; gap: 10px; }
.pop__btn .i { width: 16px; height: 16px; stroke-width: 1.8; transition: transform var(--dur) var(--ease); }
.pop__btn:hover .i { transform: translateX(3px); }
.pop__photo { position: relative; min-height: 416px; }
.pop__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.pop__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform var(--dur) var(--ease), background-color var(--dur-fast) var(--ease-soft); }
.pop__close .i { width: 18px; height: 18px; }
.pop__close:hover { transform: rotate(90deg); background: var(--pop); }
@keyframes pop-fade { from { opacity: 0; } }
@keyframes pop-rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .pop, .pop__card { animation: none; } }
@media (max-width: 720px) {
  .pop__card { grid-template-columns: 1fr; }
  .pop__photo { order: -1; min-height: 220px; }
  .pop__copy { padding: 24px; gap: 28px; }
  .pop__close { top: 12px; right: 12px; }
}

/* ───────── Pricing ───────── */
/* ===== Pricing page (pr-) ===== */
.pr-head { padding: 60px 0 0; }
.pr-plans-band { padding: 0 0 var(--section); }
.pr-head__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.pr-head__copy { display: flex; flex-direction: column; gap: 28px; max-width: 560px; align-items: flex-start; }
.pr-head__top > .lead { max-width: 393px; }

/* billing toggle: segmented pill, radios drive the prices through :has() */
.pr-toggle { margin: 60px 0 24px; padding: 6px; border: 0; border-radius: var(--r-pill); background: var(--mist); display: inline-flex; gap: 4px; min-width: 0; }
.pr-toggle label { position: relative; cursor: pointer; }
.pr-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pr-toggle span { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: var(--r-pill); font-weight: 500; color: var(--ink); transition: background-color var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft); }
.pr-toggle label:hover span { background: var(--line); }
.pr-toggle input:checked + span { background: var(--deep); color: var(--on-dark); }
.pr-toggle input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pr-toggle em { font-style: normal; font-size: 14px; font-weight: 500; padding: 2px 10px; border-radius: var(--r-pill); background: var(--pop); color: var(--pop-ink); }
.pr-y { display: none; }
.pricing:has(#pr-yearly:checked) .pr-y { display: inline; }
.pricing:has(#pr-yearly:checked) .pr-m { display: none; }

/* plan cards */
.pr-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pr-plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 40px; border-radius: var(--r-card); background: var(--mist); transition: transform var(--dur) var(--ease); }
.pr-plan:hover { transform: translateY(-4px); }
.pr-plan__top { display: grid; gap: 12px; }
.pr-plan__top > p { color: var(--body); }
.pr-plan__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--pop); color: var(--pop-ink); display: grid; place-items: center; margin-bottom: 16px; }
.pr-plan__icon .i { width: 24px; height: 24px; stroke-width: 1.4; }
.pr-price { display: flex; align-items: baseline; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line-soft); width: 100%; }
.pr-price .t-num { font-size: var(--fs-h2); line-height: 1; color: var(--accent); }
.pr-per { font-size: 18px; color: var(--body); }
.pr-note { margin-top: -16px; font-size: 16px; color: var(--muted); }
.pr-list { display: grid; gap: 12px; flex: 1; align-content: start; }
.pr-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 400; }
.pr-list .i { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); stroke-width: 1.5; }
.pr-plan .btn { margin-top: 8px; }

/* featured: ink card, lime price, coral button */
.pr-plan--feat { background: var(--deep); color: var(--on-dark-soft); }
.pr-plan--feat .t-h4 { color: var(--on-dark); }
.pr-plan--feat .pr-plan__top > p, .pr-plan--feat .pr-per { color: var(--on-dark-soft); }
.pr-plan--feat .pr-note { color: var(--on-dark-muted); }
.pr-plan--feat .pr-price { border-top-color: var(--line-dark); }
.pr-plan--feat .pr-price .t-num { color: var(--pop); }
.pr-plan--feat .pr-list li { color: var(--on-dark); }
.pr-plan--feat .pr-list .i { color: var(--pop); }
.pr-tag { position: absolute; top: 40px; right: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--pop); color: var(--pop-ink); font-size: 14px; font-weight: 500; text-transform: uppercase; }
.pr-tag .mark { width: 18px; height: 12px; color: var(--pop-ink); }

/* compare table */
.pr-compare { background: var(--mist); padding: var(--section) 0; }
.pr-compare .s-split { margin-bottom: var(--head-gap); }
.pr-table { background: var(--card); border-radius: var(--r-card); padding: 16px 32px; }
.pr-table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pr-table th, .pr-table td { padding: 20px 12px; text-align: center; border-bottom: 1px solid var(--line); font-size: 18px; }
.pr-table tr:last-child th, .pr-table tr:last-child td { border-bottom: 0; }
.pr-table thead th { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: var(--fs-h5); color: var(--ink); letter-spacing: -0.01em; }
.pr-table thead th:first-child { width: 34%; }
.pr-table tbody th { text-align: left; font-weight: 500; color: var(--ink); padding-left: 0; }
.pr-table td { color: var(--body); font-weight: 300; }
.pr-table td .i { width: 20px; height: 20px; margin-inline: auto; color: var(--accent); stroke-width: 1.8; }
.pr-table .is-feat { background: var(--accent-soft); }
.pr-table thead .is-feat { border-radius: 12px 12px 0 0; }
.pr-table tbody tr { transition: background-color var(--dur-fast) var(--ease-soft); }
.pr-table tbody tr:hover { background: var(--mist); }

@media (max-width: 1100px) {
  .pr-plans { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 1024px) {
  .pr-head__top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .pr-head { padding-top: 32px; }
  .pr-toggle { margin-top: 40px; }
  .pr-toggle span { padding: 0 16px; gap: 6px; }
  .pr-toggle em { font-size: 13px; padding: 2px 8px; }
  .pr-plan { padding: 28px 24px; }
  .pr-tag { top: 28px; right: 24px; }
  .pr-table { padding: 8px 12px; }
  .pr-table th, .pr-table td { padding: 14px 4px; font-size: 14px; }
  .pr-table thead th { font-size: 18px; }
  .pr-table thead th:first-child { width: 36%; }
}

/* ───────── Service ───────── */
/* ===== Ravia · Service detail page (sd-) ===== */
.sd { padding: 48px 0 0; }
.sd-copy { padding: 80px 0 var(--section); }
.sd-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; max-width: 560px; margin-inline: auto; }
.sd-head .lead { max-width: 527px; }
.sd-head__act { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sd-rate { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); }
.sd-rate .stars .i { width: 14px; height: 14px; }

.sd-photo { margin-top: 80px; height: clamp(320px, 48vw, 772px); border-radius: var(--r-md); overflow: hidden; }
.sd-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.sd-body { width: min(740px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.sd-part { display: flex; flex-direction: column; gap: 20px; }
.sd-sub { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: var(--fs-h4); line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.sd-body p { font-size: var(--fs-lead); max-width: 660px; line-height: var(--lh-body); color: var(--body); }
.sd-body p + p { margin-top: 8px; }
.sd-list { display: grid; gap: 18px; }
.sd-list li { display: flex; align-items: center; gap: 16px; font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: var(--fs-h5); line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
.sd-list .i { width: 20px; height: 20px; color: var(--ink); stroke-width: 1.4; }

@media (max-width: 720px) {
  .sd { padding-top: 24px; }
  .sd-photo { margin-top: 48px; border-radius: var(--r-card); }
  .sd-copy { padding-top: 48px; }
  .sd-body { gap: 28px; }
  .sd-body p { font-size: 18px; }
  .sd-part { gap: 16px; }
  .sd-list li { font-size: 21px; }
}

/* ───────── Services ───────── */
/* ===== Ravia · Services page (sv-) ===== */

/* ---- services cards: same 2×2 cards, solid mist on white ---- */
.sv-cards { padding: 48px 0 var(--section); }
.sv-head { max-width: 687px; margin-bottom: var(--head-gap); }
.services .sv-cards .svc { background: var(--mist); backdrop-filter: none; -webkit-backdrop-filter: none; }
.services .sv-cards .svc:hover { background: #EFEDED; }

/* ---- book a service: full-bleed portrait, glass reasons, frosted form ---- */
.sv-book { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(1120px, 92.5vw, 1480px); padding: 120px 0 60px; display: flex; }
.sv-book__bg { position: absolute; inset: 0; z-index: -2; }
.sv-book__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sv-book::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 81%; z-index: -1; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(180deg, rgba(58,15,11,.7) 0%, rgba(58,15,11,0) 100%); }
.sv-book__in { display: flex; flex-direction: column; align-items: center; }
.sv-book__head { max-width: 564px; gap: 24px; }
.sv-book__head .t-h2 { font-size: var(--fs-h3); line-height: 1.2; color: var(--on-dark); }

.sv-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; width: 100%; margin-top: var(--head-gap); }
.sv-why li { display: flex; align-items: center; gap: 16px; height: 92px; padding: 12px; border-radius: 80px; background: rgba(255,255,255,.72); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: var(--fs-h5); line-height: 1.08; letter-spacing: -0.01em; color: var(--ink);
  transition: background-color var(--dur-fast) var(--ease-soft), transform var(--dur) var(--ease); }
.sv-why li:hover { background: rgba(255,255,255,.86); transform: translateY(-2px); }
.sv-why .well { width: 68px; height: 68px; color: var(--pop-ink); }
.sv-why .well svg { width: 32px; height: 32px; }

.sv-form { width: min(740px, 100%); margin-top: auto; padding: 32px; border-radius: var(--r-card); background: rgba(255,255,255,.64); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: flex; flex-direction: column; gap: 40px; }
.sv-form__title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: var(--fs-quote); line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); text-align: center; }
.sv-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: -20px; }
.sv-field { position: relative; display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 24px; border-radius: 40px; background: var(--card); color: var(--body); border: 1px solid transparent; transition: border-color var(--dur-fast) var(--ease-soft); }
.sv-field:hover { border-color: var(--line); }
.sv-field:focus-within { border-color: var(--accent); }
.sv-field > .i { width: 16px; height: 16px; color: var(--ink); stroke-width: 1.5; }
.sv-field input, .sv-field select, .sv-field textarea { flex: 1; min-width: 0; height: 100%; background: none; border: 0; padding: 0; color: var(--ink); font-weight: 300; font-size: 16px; line-height: 1.48; }
.sv-field input::placeholder, .sv-field textarea::placeholder { color: var(--body); opacity: 1; }
.sv-field input:focus, .sv-field select:focus, .sv-field textarea:focus { outline: none; }
.sv-field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px; color: var(--body); }
.sv-field--select > .i { position: absolute; right: 24px; top: 50%; margin-top: -8px; pointer-events: none; }
.sv-field--area { grid-column: 1 / -1; height: 140px; border-radius: 20px; align-items: flex-start; padding: 20px 24px; }
.sv-field textarea { resize: none; height: 100%; }
.sv-form__send { height: 72px; }

/* ---- responsive ---- */
@media (max-width: 1240px) {
  .sv-why { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .sv-cards { padding-top: 24px; }
  .sv-book { min-height: 0; padding: 88px 0 16px; }
  .sv-book__bg img { object-position: 50% 20%; }
  .sv-book::before { height: 100%; background: linear-gradient(180deg, rgba(58,15,11,.72) 0%, rgba(58,15,11,.25) 60%, rgba(58,15,11,0) 100%); }
  .sv-why { grid-template-columns: 1fr; gap: 10px; }
  .sv-why li { height: 72px; padding: 8px; font-size: 22px; }
  .sv-why .well { width: 56px; height: 56px; }
  .sv-why .well svg { width: 26px; height: 26px; }
  .sv-form { margin-top: 220px; padding: 20px 16px; gap: 28px; }
  .sv-form__grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: -8px; }
  .sv-field { height: 56px; }
  .sv-field--area { height: 120px; }
}

/* ───────── Style Guide ───────── */
/* =========================================================================
   Ravia — style guide page. Prefix sg-. Tokens only.
   ========================================================================= */
.sg code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; letter-spacing: 0; color: var(--accent-deep); }

/* ---------- overview board (first 1440×990) ---------- */
.sg-top { padding: 8px 0 var(--section); }
.sg-board { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 396px 416px; gap: 24px 16px; }
.sg-hello { grid-column: 1 / 8; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 12px 24px 0 0; }
.sg-hello__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.sg-hello__copy .lead { max-width: 560px; }
.sg-hello__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sg-hello__btns .btn--soft { height: 60px; padding: 0 24px; }

.sg-hero-tile { grid-column: 8 / 13; grid-row: 1 / 3; position: relative; border-radius: var(--r-md); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.sg-hero-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -1; }
.sg-hero-tile__review { align-self: flex-start; background: rgba(29,29,29,.52); }
.sg-hero-tile__steps { display: grid; gap: 10px; }
.sg-hero-tile__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sg-hero-tile .step { gap: 28px; }
.sg-hero-tile .step p { font-size: 18px; }
.sg-hero-tile .how__bar { padding: 18px 14px 18px 20px; }
.sg-hero-tile .how__bar b { font-size: 18px; }
.sg-hero-tile .how__bar span { font-size: 14px; }
.sg-hero-tile .how__bar .btn { color: var(--on-dark); }

.sg-type-tile { grid-column: 1 / 4; grid-row: 2; border-radius: var(--r-card); background: linear-gradient(180deg, var(--dawn-a) 0%, var(--paper) 50%, var(--dawn-b) 100%); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.sg-aa { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 200px; line-height: .9; letter-spacing: -0.03em; color: var(--ink); }
.sg-type-tile__names { display: grid; gap: 14px; }
.sg-type-tile__names p { display: grid; gap: 2px; color: var(--body); font-size: 14px; }
.sg-type-tile__names b { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 400; font-size: 24px; line-height: 1.1; color: var(--ink); }
.sg-type-tile__names b.sg-sans { font-family: var(--font-body); font-stretch: normal; font-weight: 500; font-size: 18px; }

.sg-pal-tile { grid-column: 4 / 8; grid-row: 2; border-radius: var(--r-card); background: var(--mist); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.sg-tile-label { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.sg-pal { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.sg-pal li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sg-pal__chip { flex: 1; min-height: 120px; border-radius: var(--r-pill); margin-bottom: 8px; transition: transform var(--dur) var(--ease); }
.sg-pal li:hover .sg-pal__chip { transform: translateY(-4px); }
.sg-pal__chip--line { box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); }
.sg-pal b { font-weight: 500; color: var(--ink); font-size: 14px; }
.sg-pal span:not(.sg-pal__chip) { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; letter-spacing: 0; color: var(--muted); }

/* ---------- section shell ---------- */
.sg-sec { padding: var(--section) 0; }
.sg-sec--mist { background: var(--mist); }
.sg-head { margin-bottom: var(--head-gap); }
.sg-sub { margin: 56px 0 24px; }
.sg-sub:first-of-type { margin-top: 0; }

/* ---------- colour ---------- */
.sg-groups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px 24px; }
.sg-group { display: grid; gap: 20px; align-content: start; }
.sg-sw { display: grid; gap: 10px; }
.sg-sw li { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 1px; align-items: center; }
.sg-sw__c { grid-row: 1 / 4; width: 56px; height: 56px; border-radius: var(--r-sm); position: relative; overflow: hidden; }
.sg-sw__c--line { box-shadow: inset 0 0 0 1px var(--line); }
.sg-sw__c--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sg-sw__c--photo i { position: absolute; inset: 10px; border-radius: 10px; backdrop-filter: blur(var(--blur-glass)); -webkit-backdrop-filter: blur(var(--blur-glass)); }
.sg-sw b { font-weight: 500; color: var(--ink); }
.sg-sw code { grid-column: 2; font-size: 13px; }
.sg-sw li > span:last-child { grid-column: 2; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; letter-spacing: 0; color: var(--muted); }
.sg-grads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.sg-grad { position: relative; isolation: isolate; overflow: hidden; min-height: 220px; border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; color: var(--ink); }
.sg-grad b { font-weight: 500; font-size: 20px; }
.sg-grad > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sg-grad::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.sg-grad--dawn { background: linear-gradient(180deg, var(--dawn-a) 0%, var(--paper) 53%, var(--dawn-b) 100%); box-shadow: inset 0 0 0 1px var(--line); }
.sg-grad--blush::before { background: linear-gradient(0deg, var(--dawn-b) 18%, rgba(255,217,213,.86) 45%, rgba(255,217,213,.2) 100%); }
.sg-grad--fade { color: var(--on-dark); }
.sg-grad--fade::before { background: linear-gradient(6deg, rgba(29,29,29,.86) 10%, rgba(29,29,29,.3) 70%, rgba(29,29,29,.1) 100%); }

/* ---------- typography ---------- */
.sg-specs { display: grid; border-top: 1px solid var(--line); }
.sg-spec { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.sg-spec__meta { display: grid; gap: 4px; }
.sg-spec__meta span { font-size: 14px; color: var(--muted); }
.sg-spec > p { max-width: 900px; }
.sg-ui20 { font-size: 20px; font-weight: 500; color: var(--ink); line-height: 1.48; }

/* ---------- generic labelled cells ---------- */
.sg-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sg-parts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sg-hover.btn { background: var(--accent-deep); }
.sg-hover .btn__go { transform: rotate(45deg); }
.sg-cell { position: relative; isolation: isolate; overflow: hidden; min-height: 200px; padding: 28px 24px 22px; border-radius: var(--r-card); background: var(--mist); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sg-sec--mist .sg-cell { background: var(--card); }
.sg-cell > :first-child { margin-bottom: auto; }
.sg-cell > code { margin-top: 20px; }
.sg-cell > span:last-child { font-size: 14px; color: var(--muted); }
.sg-cell--wide { grid-column: span 2; }
.sg-cell--wide .btn--block { width: 100%; }
.sg-cell--dark { background: var(--deep); }
.sg-cell--dark code, .sg-cell--dark > span:last-child, .sg-cell--deep code, .sg-cell--deep > span:last-child,
.sg-cell--photo code, .sg-cell--photo > span:last-child { color: var(--on-dark-soft); }
.sg-cell--deep { background: var(--deep); }
.sg-cell--deep .news { width: 100%; }
.sg-cell--photo { background: var(--deep); }
.sg-cell--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.sg-cell--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(29,29,29,.82) 0%, rgba(29,29,29,.3) 100%); }
.sg-cell--photo > img + * { margin-bottom: auto; }
.sg-cell.sg-cell--light { background: var(--mist); padding-top: 24px; }
.sg-cell--light > img { bottom: auto; height: calc(100% - 74px); object-position: 50% 0; }
.sg-cell--light::after { display: none; }
.sg-cell.sg-cell--light code { color: var(--accent-deep); }
.sg-cell.sg-cell--light > span:last-child { color: var(--muted); }
.sg-cell__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sg-row { display: flex; gap: 10px; }
.sg-play { position: relative; display: block; width: 52px; height: 52px; }
.sg-play .play { left: 0; bottom: 0; }
.sg-proof { margin: 0; grid-template-columns: 1fr; width: 100%; }
.sg-proof li { font-size: 16px; line-height: 1.4; height: auto; min-height: 56px; padding-right: 16px; }
.sg-cell .review { background: rgba(29,29,29,.52); }

/* ---------- icons ---------- */
.sg-signature { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 16px; }
.sg-sig { padding: 28px 24px 20px; border-radius: var(--r-card); background: var(--card); display: flex; flex-direction: column; gap: 20px; }
.sg-sig__icon { width: 97px; height: 92px; color: var(--ink); display: grid; place-items: center; }
.sg-sig__icon svg { width: 100%; height: 100%; }
.sg-sig__icon.svc__icon--line .i { stroke-width: .7; }
.sg-sig--mark .sg-sig__icon .mark { width: 96px; height: 64px; color: var(--accent); }
.sg-icons { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.sg-icons li { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 8px 16px; border-radius: var(--r-sm); background: var(--card); color: var(--ink); transition: background-color var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft); }
.sg-icons li:hover { background: var(--pop); color: var(--pop-ink); }
.sg-icons .i { width: 24px; height: 24px; }
.sg-icons code { font-size: 13px; }
.sg-icons__star .i { color: var(--accent); }

/* ---------- cards ---------- */
.sg-cards { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 24px; align-items: start; }
.sg-card-slot { display: grid; gap: 14px; }
.sg-card-col { display: grid; gap: 24px; }
.sg-card-slot--photo { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); grid-row: span 2; }
.sg-card-slot--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sg-card-slot--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,217,213,.2) 0%, rgba(255,217,213,.5) 100%); }
.sg-card-slot--photo .svc { aspect-ratio: auto; min-height: 560px; }
.sg-card-slot--photo { padding: 76px 20px 20px; }
.sg-card-slot--photo .sg-cap { position: absolute; left: 24px; top: 24px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--glass); color: var(--body); }
.sg-cap { font-size: 14px; color: var(--muted); }
.sg-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sg-stats .stat { min-height: 220px; }
.sg-steps { display: grid; gap: 12px; }
.sg-steps .step { gap: 24px; }
.sg-card-slot .story { padding: 32px 24px 28px; }
.sg-card-slot .story .stars { margin-bottom: 28px; }
.sg-card-slot .story__video { height: 220px; }
.sg-card-slot .story__ghost { width: 240px; }
.sg-card-slot--wide { grid-column: 2 / 4; }
.sg-faq { width: 100%; margin: 0; }
.sg-faq .qa { background: var(--card); }
.sg-faq .qa:hover { background: var(--paper); }

/* ---------- forms (composed) ---------- */
.sg-forms { display: grid; grid-template-columns: 740fr 560fr; gap: 24px; align-items: start; }
.sg-form { padding: 40px; border-radius: var(--r-card); background: var(--mist); display: flex; flex-direction: column; gap: 20px; }
.sg-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.sg-field { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; height: 56px; padding: 0 20px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line); color: var(--ink); transition: border-color var(--dur-fast) var(--ease-soft); }
.sg-field:focus-within, .sg-field--focus { border-color: var(--accent); }
.sg-field .i { color: var(--muted); }
.sg-field input, .sg-field select, .sg-field textarea { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--ink); font-weight: 300; }
.sg-field input:focus, .sg-field select:focus, .sg-field textarea:focus { outline: none; }
.sg-field ::placeholder { color: var(--muted); }
.sg-field--select select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 24px; }
.sg-field--select .i { position: absolute; right: 18px; pointer-events: none; color: var(--ink); }
.sg-field--area { grid-column: 1 / -1; height: auto; padding: 16px 20px; border-radius: 20px; align-items: flex-start; }
.sg-field--area textarea { resize: vertical; min-height: 96px; }
.sg-check { display: flex; align-items: center; gap: 10px; color: var(--body); cursor: pointer; }
.sg-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.sg-form .btn--block { margin-top: 8px; }
.sg-form-notes { display: grid; gap: 16px; }
.sg-form-notes .sg-cell { min-height: 0; }
.sg-specs-list { display: grid; border-top: 1px solid var(--line); }
.sg-specs-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sg-specs-list b { font-weight: 500; color: var(--ink); }
.sg-specs-list span { color: var(--body); text-align: right; }

/* ---------- shape, space, shadow, motion ---------- */
.sg-radii { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.sg-radii > div { display: grid; gap: 8px; justify-items: start; }
.sg-radii > div > span { width: 100%; height: 120px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.sg-radii small { font-size: 14px; color: var(--muted); }
.sg-space { display: grid; gap: 10px; }
.sg-space li { display: grid; grid-template-columns: 180px 220px 1fr; align-items: center; gap: 16px; }
.sg-space i { display: block; height: 16px; border-radius: 4px; background: var(--accent); }
.sg-space span { color: var(--body); }
.sg-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sg-shadows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sg-shadow { position: relative; isolation: isolate; overflow: hidden; min-height: 170px; padding: 20px; border-radius: var(--r-card); background: var(--card); display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.sg-shadow span { font-size: 14px; color: var(--muted); }
.sg-shadow--glass { padding: 12px; }
.sg-shadow--glass > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.sg-shadow__glass { display: grid; gap: 4px; padding: 14px; border-radius: var(--r-sm); background: var(--glass); backdrop-filter: blur(var(--blur-glass)); -webkit-backdrop-filter: blur(var(--blur-glass)); }
.sg-shadow__glass span { color: var(--body); }
.sg-shadow__glass code, .sg-card-slot--photo .sg-cap code { color: var(--ink); }
.sg-motion { display: grid; gap: 12px; }
.sg-motion li { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
.sg-motion li > div { display: grid; gap: 2px; }
.sg-motion li > div span { font-size: 14px; color: var(--body); }
.sg-mo { position: relative; width: 220px; height: 44px; border: 0; border-radius: var(--r-pill); background: var(--card); cursor: pointer; padding: 0; }
.sg-mo__dot { position: absolute; left: 6px; top: 6px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); }
.sg-mo__dot--ease { transition: transform var(--dur) var(--ease); }
.sg-mo__dot--soft { background: var(--pop); transition: transform var(--dur-fast) var(--ease-soft); }
.sg-mo__dot--slow { background: var(--ink); transition: transform var(--dur-slow) var(--ease); }
.sg-mo:hover .sg-mo__dot, .sg-mo:focus-visible .sg-mo__dot { transform: translateX(176px); }
.sg-note { margin-top: 20px; font-size: 14px; color: var(--body); max-width: 520px; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .sg-board { grid-template-rows: auto 420px; }
  .sg-hello { grid-column: 1 / -1; padding-right: 0; }
  .sg-hero-tile { grid-column: 7 / 13; grid-row: 2; }
  .sg-type-tile { grid-column: 1 / 7; grid-row: 2; }
  .sg-pal-tile { grid-column: 1 / -1; grid-row: 3; }
  .sg-pal__chip { min-height: 90px; }
  .sg-signature { grid-template-columns: repeat(3, 1fr); }
  .sg-icons { grid-template-columns: repeat(6, 1fr); }
  .sg-groups { grid-template-columns: repeat(3, 1fr); }
  .sg-btns { grid-template-columns: repeat(3, 1fr); }
  .sg-parts { grid-template-columns: repeat(3, 1fr); }
  .sg-cards { grid-template-columns: 1fr 1fr; }
  .sg-card-slot--photo { grid-row: auto; }
  .sg-card-slot--wide { grid-column: 1 / -1; }
  .sg-radii { grid-template-columns: repeat(4, 1fr); }
  .sg-duo { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .sg-forms { grid-template-columns: 1fr; }
  .sg-groups, .sg-btns, .sg-parts { grid-template-columns: 1fr 1fr; }
  .sg-spec { grid-template-columns: 1fr; gap: 12px; }
  .sg-grads { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sg-top { padding-bottom: 88px; }
  .sg-board { display: flex; flex-direction: column; }
  .sg-hello { padding-top: 0; }
  .sg-hello__btns .btn { width: 100%; justify-content: space-between; }
  .sg-hero-tile { min-height: 520px; padding: 12px; }
  .sg-hero-tile__row { grid-template-columns: 1fr; }
  .sg-hero-tile .how__bar { flex-direction: row; align-items: center; }
  .sg-type-tile { min-height: 340px; }
  .sg-aa { font-size: 160px; }
  .sg-pal { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .sg-pal__chip { min-height: 72px; }
  .sg-cell--wide { grid-column: auto; }
  .sg-btns, .sg-parts, .sg-groups { grid-template-columns: 1fr; }
  .sg-cell { min-height: 150px; }
  .sg-signature { grid-template-columns: 1fr 1fr; }
  .sg-icons { grid-template-columns: repeat(3, 1fr); }
  .sg-cards { grid-template-columns: 1fr; }
  .sg-card-slot--photo .svc { min-height: 460px; padding: 32px; border-radius: 40px; }
  .sg-card-slot--photo { border-radius: 40px; }
  .sg-stats { grid-template-columns: 1fr 1fr; }
  .sg-form { padding: 28px 20px; }
  .sg-fields { grid-template-columns: 1fr; }
  .sg-radii { grid-template-columns: repeat(2, 1fr); }
  .sg-space li { grid-template-columns: 1fr; gap: 6px; }
  .sg-shadows { grid-template-columns: 1fr; }
  .sg-motion li { grid-template-columns: 1fr; gap: 10px; }
}

/* ───────── Variants ───────── */
/* =========================================================================
   Ravia — variants page (section library). Prefix v-. Tokens only.
   ========================================================================= */

/* ---------- intro + jump list ---------- */
.v-intro { padding: 48px 0 72px; }
.v-intro .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.v-intro .lead { max-width: 640px; }
.v-jump { display: grid; gap: 10px; width: 100%; margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.v-jump li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.v-jump span { width: 120px; font-size: 14px; font-weight: 500; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.v-jump a { padding: 6px 14px; border-radius: var(--r-pill); background: var(--mist); color: var(--ink); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; letter-spacing: 0; transition: background-color var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft); }
.v-jump a:hover { background: var(--pop); color: var(--pop-ink); }

/* ---------- library label (one per variant) ---------- */
.v-item { position: relative; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.v-label {
  width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; padding: 22px 0 20px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; line-height: 1.5; letter-spacing: 0; color: var(--muted);
}
.v-label__name { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.v-label__name::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.v-label__cls { color: var(--accent-deep); }
.v-label__use { flex-basis: 100%; max-width: 36em; font-family: var(--font-body); font-size: 14px; letter-spacing: -0.01em; color: var(--body); }

/* shared bits */
.v-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.v-btns .btn--soft { height: 60px; padding: 0 24px; }

/* ---------- hero A (gold) ---------- */

/* ---------- hero B: white head + full-bleed photo ---------- */
.v-hero-b { padding-top: 40px; }
.v-hero-b__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 60px; }
.v-hero-b__top .s-head { max-width: 560px; }
.v-hero-b__side { width: min(366px, 100%); display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.v-hero-b__photo { height: clamp(360px, 60vw, 860px); overflow: hidden; }
.v-hero-b__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

/* ---------- hero C: split, tall photo right ---------- */
.v-hero-c { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 40px 0 var(--section); }
.v-hero-c__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 600px; }
.v-review { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: var(--r-xs); background: var(--mist); }
.v-review .faces > * { width: 44px; height: 44px; }
.v-review__txt { display: grid; gap: 4px; font-weight: 500; color: var(--ink); }
.v-hero-c__photo { position: relative; height: 760px; border-radius: var(--r-md); overflow: hidden; }
.v-hero-c__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.v-hero-c__pill { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 14px; padding: 8px 22px 8px 8px; border-radius: var(--r-pill); background: var(--glass); backdrop-filter: blur(var(--blur-glass)); -webkit-backdrop-filter: blur(var(--blur-glass)); color: var(--ink); font-size: 18px; font-weight: 500; }

/* ---------- hero D: dawn statement ---------- */
.v-hero-d { background: linear-gradient(180deg, var(--dawn-a) 0%, var(--paper) 55%, var(--dawn-b) 100%); padding: 140px 0 120px; }
.v-hero-d__in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.v-hero-d__title { max-width: 1040px; }
.v-hero-d .lead { max-width: 560px; }
.v-line { border: 1px solid var(--line); }
.v-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; color: var(--ink); font-weight: 500; }
.v-chips li { display: inline-flex; align-items: center; gap: 8px; }
.v-chips .i { color: var(--accent); width: 18px; height: 18px; }

/* ---------- features B: tilted steps on mist ---------- */
.v-feat-b { background: var(--mist); padding: var(--section) 0; }
.v-feat-b .s-split { margin-bottom: 80px; }
.v-feat-b__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 12px; list-style: none; }
.v-tilt { min-height: 340px; padding: 28px; border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-card); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; transform: rotate(-3deg); transition: transform var(--dur) var(--ease); }
.v-tilt:nth-child(2) { transform: rotate(3deg) translateY(24px); }
.v-tilt:hover, .v-tilt:nth-child(2):hover { transform: rotate(0) translateY(-4px); }
.v-tilt__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--pop); color: var(--pop-ink); display: grid; place-items: center; }
.v-tilt__icon .i { width: 24px; height: 24px; stroke-width: 1.4; }
.v-tilt .t-h4 { max-width: 320px; }

/* ---------- proof B: photo with quote cards ---------- */
.v-proof-b { position: relative; isolation: isolate; overflow: hidden; min-height: 1040px; padding: 120px 0 48px; display: flex; }
.v-proof-b > .wrap { display: flex; flex-direction: column; justify-content: space-between; gap: 280px; }
.v-proof-b__bg { position: absolute; inset: 0; z-index: -2; }
.v-proof-b__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.v-proof-b::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29,29,29,.66) 0%, rgba(29,29,29,.2) 40%, rgba(29,29,29,0) 60%, rgba(29,29,29,.3) 100%); }
.v-proof-b__head { max-width: 560px; }
.v-proof-b__head .t-h2 { color: var(--on-dark); }
.v-proof-b__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.v-quote { background: var(--card); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 28px; }
.v-quote__mark { width: 72px; color: var(--accent); }
.v-quote__mark svg { width: 100%; height: auto; }
.v-quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.v-quote figcaption b { font-weight: 500; color: var(--ink); }
.v-quote figcaption > span:last-child { color: var(--muted); }

/* ---------- proof C: stats row ---------- */
.v-stats-band { padding: var(--section) 0; }
.v-stats-band .s-split { margin-bottom: var(--head-gap); }
.v-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.v-stat { min-height: 460px; padding: 32px; border-radius: var(--r-card); background: var(--mist); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.v-stat:nth-child(2) { margin-top: 48px; }
.v-stat__num { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: var(--fs-h2); line-height: 1; letter-spacing: var(--ls-display); color: var(--accent); }
.v-stat > div { display: grid; gap: 12px; }
.v-stat p:not(.v-stat__num) { color: var(--body); max-width: 360px; }

/* ---------- pricing A: plan cards ---------- */
.v-price-a { padding: var(--section) 0; }
.v-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: var(--head-gap); align-items: stretch; }
.v-plan { padding: 36px 32px 32px; border-radius: var(--r-card); background: var(--mist); display: flex; flex-direction: column; gap: 28px; transition: transform var(--dur) var(--ease); }
.v-plan:hover { transform: translateY(-4px); }
.v-plan__top { display: grid; gap: 10px; justify-items: start; }
.v-plan__top p { color: var(--body); }
.v-plan__chip { padding: 6px 14px; border-radius: var(--r-pill); background: var(--pop); color: var(--pop-ink); font-size: 14px; font-weight: 500; }
.v-plan__price { display: flex; align-items: baseline; gap: 8px; padding-bottom: 28px; border-bottom: 1px solid var(--line); color: var(--body); }
.v-plan__num { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: var(--fs-h2); line-height: 1; letter-spacing: var(--ls-display); color: var(--ink); }
.v-ticks { display: grid; gap: 12px; margin-bottom: 8px; }
.v-ticks li { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.v-ticks .i { width: 20px; height: 20px; color: var(--accent); }
.v-plan .btn--block { margin-top: auto; }
.v-plan--deep { background: var(--deep); color: var(--on-dark-soft); }
.v-plan--deep .t-h4, .v-plan--deep .v-plan__num, .v-plan--deep .v-ticks li { color: var(--on-dark); }
.v-plan--deep .v-plan__top p, .v-plan--deep .v-plan__price { color: var(--on-dark-soft); }
.v-plan--deep .v-plan__price { border-color: var(--line-dark); }
.v-plan--deep .v-ticks .i { color: var(--pop); }

/* ---------- pricing B: compare table ---------- */
.v-price-b { background: var(--mist); padding: var(--section) 0; }
.v-price-b .s-split { margin-bottom: var(--head-gap); }
.v-table-wrap { background: var(--card); border-radius: var(--r-card); padding: 8px 24px; overflow-x: auto; }
.v-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.v-table th, .v-table td { padding: 20px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--body); }
.v-table tbody tr:last-child th, .v-table tbody tr:last-child td { border-bottom: 0; }
.v-table thead th { vertical-align: bottom; padding-top: 28px; padding-bottom: 24px; }
.v-table th[scope="row"] { font-weight: 500; color: var(--ink); }
.v-table th:nth-child(3), .v-table td:nth-child(3) { background: var(--mist); }
.v-table__plan { display: grid; gap: 6px; justify-items: start; font-weight: 300; }
.v-table__plan b { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: var(--fs-h4); line-height: 1.15; color: var(--ink); }
.v-table__plan .btn { margin-top: 12px; }
.v-table td { white-space: nowrap; }
.v-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: var(--pop); color: var(--pop-ink); vertical-align: middle; }
.v-yes .i { width: 14px; height: 14px; stroke-width: 2; }
.v-no { color: var(--muted); }

/* ---------- program card B: upright cards ---------- */
.v-prog-b { background: var(--mist); padding: var(--section) 0; }
.v-prog-b .s-split { margin-bottom: var(--head-gap); }
.v-progs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.v-prog { padding: 12px 12px 24px; border-radius: var(--r-card); background: var(--card); display: flex; flex-direction: column; gap: 18px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.v-prog:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.v-prog__photo { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--r-sm); overflow: hidden; }
.v-prog__photo img { width: 100%; height: 100%; object-fit: cover; }
.v-prog__photo .badge { position: absolute; left: 12px; top: 12px; }
.v-prog .t-h4, .v-prog__meta, .v-prog__foot { margin-inline: 12px; }
.v-prog__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--body); }
.v-prog__meta li { display: inline-flex; align-items: center; gap: 6px; }
.v-prog__meta .i { color: var(--accent); }
.v-prog__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--body); }
.v-prog__foot b { font-size: 20px; font-weight: 600; color: var(--ink); }

/* ---------- team A: hover-reveal cards ---------- */
.v-team-a { padding: var(--section) 0; }
.v-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: var(--head-gap); }
.v-tcard { position: relative; height: 480px; border-radius: var(--r-card); overflow: hidden; isolation: isolate; outline-offset: 4px; }
.v-tcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; transition: transform var(--dur-slow) var(--ease); }
.v-tcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(29,29,29,.78) 0%, rgba(29,29,29,0) 46%); opacity: 0; transition: opacity var(--dur) var(--ease); }
.v-tcard__info { position: absolute; left: 24px; right: 80px; bottom: 24px; display: grid; gap: 4px; color: var(--on-dark-soft); opacity: 0; transform: translateY(8px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.v-tcard__info .t-h5 { color: var(--on-dark); }
.v-tcard__social { position: absolute; top: 16px; right: 16px; display: grid; gap: 8px; opacity: 0; transform: translateX(8px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.v-tcard__social a { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: background-color var(--dur-fast) var(--ease-soft); }
.v-tcard__social a.is-pop, .v-tcard__social a:hover { background: var(--pop); }
.v-tcard:hover > img, .v-tcard.is-on > img { transform: scale(1.03); }
.v-tcard:hover::after, .v-tcard:focus-within::after, .v-tcard.is-on::after,
.v-tcard:hover .v-tcard__info, .v-tcard:focus-within .v-tcard__info, .v-tcard.is-on .v-tcard__info,
.v-tcard:hover .v-tcard__social, .v-tcard:focus-within .v-tcard__social, .v-tcard.is-on .v-tcard__social { opacity: 1; transform: none; }
@media (hover: none) { .v-tcard::after, .v-tcard__info, .v-tcard__social { opacity: 1; transform: none; } }

/* ---------- team B: profile cards ---------- */
.v-team-b { padding: 40px 0 var(--section); }
.v-team-b .v-team { margin-top: var(--head-gap); }
.v-tcard-b { padding: 12px 12px 24px; border-radius: var(--r-card); background: var(--mist); display: flex; flex-direction: column; gap: 18px; transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.v-tcard-b:hover { transform: translateY(-4px); background: var(--line); }
.v-tcard-b__photo { aspect-ratio: 1 / 1; border-radius: var(--r-sm); overflow: hidden; }
.v-tcard-b__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.v-tcard-b__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-inline: 12px; }
.v-tcard-b__row > div { display: grid; gap: 6px; }
.v-tcard-b__row p { color: var(--body); }
.v-tcard-b .well { transition: transform var(--dur) var(--ease); }
.v-tcard-b:hover .well { transform: rotate(45deg); }
.v-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-inline: 12px; }
.v-tags li { padding: 6px 14px; border-radius: var(--r-pill); background: var(--card); color: var(--ink); font-size: 14px; font-weight: 500; }

/* ---------- CTA B: split photo + form ---------- */
.v-cta-b { padding: var(--section) 0; }
.v-cta-b__in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.v-cta-b__photo { border-radius: var(--r-card); overflow: hidden; min-height: 640px; }
.v-cta-b__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.v-cta-b__form { padding: 40px; border-radius: var(--r-card); background: var(--mist); display: flex; flex-direction: column; gap: 32px; justify-content: center; }
.v-cta-b__head { display: grid; gap: 16px; justify-items: start; }
.v-cta-b__head p { color: var(--body); }
.v-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v-field { position: relative; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line); color: var(--ink); transition: border-color var(--dur-fast) var(--ease-soft); }
.v-field:focus-within { border-color: var(--accent); }
.v-field .i { color: var(--muted); }
.v-field input, .v-field select, .v-field textarea { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--ink); font-weight: 300; }
.v-field input:focus, .v-field select:focus, .v-field textarea:focus { outline: none; }
.v-field ::placeholder { color: var(--muted); }
.v-field--select select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 24px; }
.v-field--select .i { position: absolute; right: 18px; pointer-events: none; color: var(--ink); }
.v-field--area { grid-column: 1 / -1; height: auto; padding: 16px 20px; border-radius: 20px; align-items: flex-start; }
.v-field--area textarea { resize: vertical; min-height: 96px; }

/* ---------- CTA C: coral inset card ---------- */
.v-cta-c { padding: var(--section) 0; }
.v-cta-c__card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 64px; border-radius: var(--r-md); background: var(--accent); color: var(--on-dark); }
.v-cta-c__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 640px; }
.v-cta-c__copy .t-h2 { color: var(--on-dark); }
.v-cta-c__copy p { font-size: var(--fs-lead); color: var(--on-dark); }
.v-cta-c__ghost { position: absolute; right: 28%; bottom: -70px; width: 380px; z-index: -1; color: rgba(255,255,255,.1); }
.v-cta-c__ghost .mark { width: 100%; height: auto; }
.v-cta-c .faces > * { border-color: var(--accent); }

/* ---------- CTA D: dawn line ---------- */
.v-cta-d { background: linear-gradient(180deg, var(--dawn-a) 0%, var(--paper) 50%, var(--dawn-b) 100%); padding: 120px 0; }
.v-cta-d__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }

/* ---------- footer B: mist link grid ---------- */
.v-foot-b { background: var(--mist); padding: 80px 0 32px; }
.v-foot-b__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.v-foot-b__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 320px; }
.v-foot-b__brand p { color: var(--body); }
.v-foot-b__col { display: grid; gap: 16px; align-content: start; }
.v-foot-b__h { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.v-foot-b__col ul { display: grid; gap: 8px; color: var(--body); }
.v-foot-b__col a, .v-foot-b__legal a { transition: color var(--dur-fast) var(--ease-soft); }
.v-foot-b__col a:hover, .v-foot-b__legal a:hover { color: var(--accent); }
.v-foot-b__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.v-foot-b__legal { display: flex; gap: 20px; }

/* ---------- footer C: photo fading into maroon ---------- */
.v-foot-c { position: relative; isolation: isolate; background: var(--deep); color: var(--on-dark-soft); padding-bottom: 40px; }
.v-foot-c__photo { position: relative; height: 560px; }
.v-foot-c__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.v-foot-c__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,15,11,.15) 0%, rgba(58,15,11,.55) 45%, var(--deep) 96%); }
.v-foot-c > .wrap { position: relative; margin-top: -220px; }
.v-foot-c__lead { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.v-foot-c__lead .t-h2 { color: var(--on-dark); max-width: 640px; }
.v-foot-c__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-top: 88px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); font-size: 18px; }
.v-foot-c__cols ul { display: grid; gap: 4px; align-content: start; }
.v-foot-c__cols a { transition: color var(--dur-fast) var(--ease-soft); }
.v-foot-c__cols a:hover { color: var(--pop); }
.v-foot-c__logo { color: var(--on-dark); font-size: 28px; align-self: start; }
.v-foot-c__logo .mark { color: var(--pop); width: 40px; height: 27px; }

/* ---------- footer D: minimal row ---------- */
.v-foot-d { padding: 40px 0 32px; }
.v-foot-d__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.v-foot-d__links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 500; color: var(--ink); }
.v-foot-d__links a { position: relative; transition: color var(--dur-fast) var(--ease-soft); }
.v-foot-d__links a:hover { color: var(--accent); }
.v-news { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 22px; border-radius: var(--r-pill); background: var(--mist); }
.v-news input { width: 220px; min-width: 0; border: 0; background: none; color: var(--ink); font-weight: 300; }
.v-news input::placeholder { color: var(--muted); }
.v-news input:focus { outline: none; }
.v-news .btn--sm { height: 44px; }
.v-foot-d .socials a { background: var(--mist); }
.v-foot-d .socials a.is-pop, .v-foot-d .socials a:hover { background: var(--pop); }
.v-foot-d__legal { margin-top: 28px; font-size: 14px; color: var(--muted); }
.v-foot-d__legal a { text-decoration: underline; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease-soft); }
.v-foot-d__legal a:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .v-foot-b__grid { grid-template-columns: repeat(3, 1fr); }
  .v-foot-b__brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .v-hero-b__top { flex-direction: column; align-items: flex-start; }
  .v-hero-c { grid-template-columns: 1fr; gap: 40px; }
  .v-hero-c__photo { height: 620px; }
  .v-feat-b__row { grid-template-columns: 1fr; gap: 20px; padding: 0; }
  .v-tilt { min-height: 220px; }
  .v-tilt, .v-tilt:nth-child(2) { transform: none; }
  .v-proof-b { min-height: 0; }
  .v-proof-b__cards, .v-stats, .v-plans, .v-cta-b__in { grid-template-columns: 1fr; }
  .v-stat { min-height: 280px; }
  .v-stat:nth-child(2) { margin-top: 0; }
  .v-progs, .v-team { grid-template-columns: 1fr 1fr; }
  .v-cta-b__photo { min-height: 420px; }
  .v-cta-c__card { flex-direction: column; align-items: flex-start; padding: 48px; }
  .v-cta-d__in, .v-foot-c__lead { flex-direction: column; align-items: flex-start; }
  .v-foot-c__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .v-intro { padding: 32px 0 56px; }
  .v-jump span { width: 100%; }
  .v-hero-b { padding-top: 24px; }
  .v-hero-b__top { padding-bottom: 40px; }
  .v-hero-c { padding-top: 24px; }
  .v-hero-c__photo { height: 480px; border-radius: var(--r-card); }
  .v-hero-c__pill { left: 12px; right: 12px; bottom: 12px; font-size: 16px; }
  .v-btns .btn { width: 100%; justify-content: space-between; }
  .v-hero-d { padding: 96px 0 80px; }
  .v-feat-b .s-split { margin-bottom: var(--head-gap); }
  .v-proof-b { padding: 80px 0 16px; }
  .v-proof-b > .wrap { gap: 260px; }
  .v-quote { padding: 24px; }
  .v-quote__mark { width: 52px; }
  .v-plan { padding: 28px 24px 24px; }
  .v-table-wrap { padding: 4px 12px; }
  .v-progs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 16px; }
  .v-progs::-webkit-scrollbar { display: none; }
  .v-prog { flex: 0 0 86%; scroll-snap-align: start; }
  .v-team { grid-template-columns: 1fr; }
  .v-tcard { height: 420px; }
  .v-cta-b__form { padding: 28px 20px; }
  .v-fields { grid-template-columns: 1fr; }
  .v-cta-b__photo { min-height: 300px; }
  .v-cta-c__card { padding: 36px 24px; border-radius: var(--r-card); }
  .v-cta-c .btn { width: 100%; justify-content: space-between; }
  .v-cta-d { padding: 88px 0; }
  .v-foot-b__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .v-foot-c__photo { height: 420px; }
  .v-foot-c > .wrap { margin-top: -160px; }
  .v-foot-c__cols { grid-template-columns: 1fr; gap: 20px; margin-top: 56px; }
  .v-foot-d__row { flex-direction: column; align-items: flex-start; }
  .v-news { width: 100%; }
  .v-news label { flex: 1; min-width: 0; }
  .v-news input { width: 100%; }
}
