/* Pin next/font CSS variables to the actual @font-face families declared in
   omnio-design.css. Without these, globals.css falls back to system fonts.
   This file MUST load AFTER omnio-design.css. */
:root {
	--font-sofia: "Sofia Sans", "Sofia Pro", system-ui, -apple-system, sans-serif;
	--font-display: "Bodoni Moda", "The Seasons", Georgia, serif;
	--font-display-italic: "Bodoni Moda", Georgia, serif;
	--font-brand: "Cormorant Garamond", Georgia, serif;
	--font-sans: var(--font-sofia);
	--font-serif: var(--font-display);
}

/* Reveal-on-scroll engine — content is always visible by default. When an
   element enters the viewport, JS adds .is-in which fires a one-shot
   entrance animation. Static captures, no-JS browsers, screen readers,
   and elements below the fold all show fully-rendered content. */
@keyframes omnio-reveal-in {
	from { opacity: 0; transform: translateY(28px); }
	to   { opacity: 1; transform: none; }
}
[data-reveal].is-in { animation: omnio-reveal-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
[data-reveal].is-in[data-reveal-delay="1"] { animation-delay: 0.08s; }
[data-reveal].is-in[data-reveal-delay="2"] { animation-delay: 0.16s; }
[data-reveal].is-in[data-reveal-delay="3"] { animation-delay: 0.24s; }
[data-reveal].is-in[data-reveal-delay="4"] { animation-delay: 0.32s; }
[data-reveal].is-in[data-reveal-delay="5"] { animation-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
	[data-reveal].is-in { animation: none; }
}

/* Reveal-line — port of <RevealLine>. Default visible width, JS-driven
   grow-in only when .is-in is applied via IO. */
.reveal-line { display: inline-block; height: 1px; width: 40px; background: var(--gold); vertical-align: middle; }
.reveal-line.is-animating { width: 0; transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-line.is-animating.is-in { width: 40px; }

/* Hero slideshow — crossfade. */
.omnio-hero { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; background: var(--navy); }
@supports (height: 100dvh) { .omnio-hero { height: 100dvh; } }
.omnio-hero-bg { position: absolute; inset: 0; }
.omnio-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1); }
.omnio-hero-slide.is-active { opacity: 1; }
.omnio-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,32,0.55) 0%, rgba(16,24,32,0.42) 38%, rgba(16,24,32,0.68) 100%); }
.omnio-hero-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 24px; color: #fff; }
.omnio-hero-eyebrow { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,0.78); font-weight: 500; margin-bottom: 28px; }
.omnio-hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 7vw, 96px); line-height: 1.02; letter-spacing: -0.02em; color: #fff; max-width: 1100px; margin: 0 auto 28px; }
.omnio-hero-title .it { font-family: var(--font-display-italic); font-style: italic; }
.omnio-hero-lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto 44px; }
.omnio-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.omnio-hero-dots { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.omnio-hero-dot { width: 24px; height: 2px; background: rgba(255,255,255,0.3); border: none; padding: 0; cursor: pointer; transition: background 0.4s; }
.omnio-hero-dot.is-active { background: var(--gold); }

/* Pillars (three-column stat band). */
.omnio-pillars { display: grid; grid-template-columns: 1fr; gap: 72px; max-width: 1100px; margin: 0 auto; }
@media (min-width: 900px) { .omnio-pillars { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.pillar-num { font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 6vw, 84px); line-height: 1; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 12px; }
.pillar-label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 28px; }
.pillar-heading { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.18; color: var(--navy); margin-bottom: 16px; white-space: pre-line; }
.pillar-body { font-size: 15px; line-height: 1.75; color: var(--slate); }

/* Comparison rows. */
.omnio-compare { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--border); }
.compare-head, .compare-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; padding: 22px 8px; align-items: center; border-bottom: 1px solid var(--border); }
.compare-head { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.compare-row-label { font-size: 15px; color: var(--navy); font-weight: 500; }
.compare-row-omnio { font-family: var(--font-display); font-size: 18px; color: var(--gold); }
.compare-row-trad { font-size: 14px; color: var(--slate); }
.compare-head .h-omnio { color: var(--gold); }

/* Journey steps. */
.omnio-journey { display: grid; grid-template-columns: 1fr; gap: 48px; max-width: 1100px; margin: 0 auto; }
@media (min-width: 900px) { .omnio-journey { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.journey-step { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.24em; color: var(--gold); margin-bottom: 18px; }
.journey-title { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--navy); margin-bottom: 14px; }
.journey-body { font-size: 15px; line-height: 1.75; color: var(--slate); }

/* Plan trio cards (homepage + plans index). */
.omnio-plans { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1200px; margin: 0 auto; }
@media (min-width: 960px) { .omnio-plans { grid-template-columns: repeat(3, 1fr); } }
.plan-card { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 44px 36px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(16,24,32,0.08); border-color: rgba(184,153,104,0.4); }
.plan-card.is-featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan-card.is-featured .plan-card-name, .plan-card.is-featured .plan-card-price { color: #fff; }
.plan-card-eyebrow { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.plan-card-name { font-family: var(--font-display); font-size: 26px; line-height: 1.2; color: var(--navy); margin-bottom: 14px; }
.plan-card-tag { font-size: 13px; color: var(--slate); margin-bottom: 28px; }
.plan-card.is-featured .plan-card-tag { color: rgba(255,255,255,0.65); }
.plan-card-price { font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--navy); margin-bottom: 4px; letter-spacing: -0.02em; }
.plan-card-per { font-size: 12px; color: var(--slate); margin-bottom: 28px; }
.plan-card.is-featured .plan-card-per { color: rgba(255,255,255,0.65); }
.plan-card-ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.plan-card-ul li { font-size: 14px; line-height: 1.6; color: var(--slate); padding-left: 24px; position: relative; }
.plan-card.is-featured .plan-card-ul li { color: rgba(255,255,255,0.85); }
.plan-card-ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 1px; background: var(--gold); }
.plan-card .btn-primary, .plan-card .btn-secondary { width: 100%; }

/* Feature alternating rows (homepage experienceRows). */
.feature-row { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; max-width: 1200px; margin: 0 auto 120px; }
@media (min-width: 900px) { .feature-row { grid-template-columns: 1fr 1fr; gap: 80px; } .feature-row.is-flipped > div:first-child { order: 2; } }
.feature-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; }
.feature-row h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; color: var(--navy); margin-bottom: 20px; }
.feature-row p { font-size: 16px; line-height: 1.75; color: var(--slate); max-width: 520px; }

/* Section headings (eyebrow + serif headline). */
.sec-eyebrow { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 28px; text-align: center; }
.sec-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); text-align: center; max-width: 980px; margin: 0 auto 28px; }
.sec-lead { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.7; color: var(--slate); text-align: center; max-width: 720px; margin: 0 auto; }

/* CTA band (gold/navy). */
.cta-band { background: var(--navy); color: #fff; padding: 100px 24px; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; color: #fff; margin-bottom: 24px; max-width: 820px; margin-left: auto; margin-right: auto; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,0.78); margin-bottom: 36px; max-width: 580px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* Page header for inner pages (PageHeader equivalent). */
.omnio-page-header { padding: 140px 24px 56px; text-align: center; background: var(--cream); }
.omnio-page-header-eyebrow { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 28px; }
.omnio-page-header-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.02em; color: var(--navy); max-width: 980px; margin: 0 auto 24px; }
.omnio-page-header-lead { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.7; color: var(--slate); max-width: 720px; margin: 0 auto; }

/* Rich-text content blocks for legal/marketing pages. */
.omnio-prose { max-width: 760px; margin: 0 auto; padding: 80px 24px; color: var(--text); }
.omnio-prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.2; color: var(--navy); margin: 60px 0 18px; }
.omnio-prose h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--navy); margin: 36px 0 12px; }
.omnio-prose p { font-size: 16px; line-height: 1.85; color: var(--slate); margin-bottom: 18px; }
.omnio-prose ul, .omnio-prose ol { padding-left: 22px; margin-bottom: 18px; color: var(--slate); }
.omnio-prose li { margin-bottom: 8px; line-height: 1.75; }
.omnio-prose a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(184,153,104,0.35); }
.omnio-prose a:hover { color: var(--gold-hover); border-color: var(--gold-hover); }
