/* Highland Insurance Group — site styles
   Colors and type come from the original Wix theme (see docs/DECISIONS.md).
   Navy #0A1F44 · accent navy #1B3A68 · gold #C5A059 · cream #F9F8F6 · sand #F1EEE6 */

/* Self-hosted fonts: Instrument Sans (SIL OFL 1.1), Tinos (Apache 2.0) — via @fontsource */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Tinos"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/tinos-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Tinos"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/tinos-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Tinos"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/tinos-latin-400-italic.woff2") format("woff2"); }

:root {
  --navy: #0A1F44;
  --navy-2: #1B3A68;
  --gold: #C5A059;
  --gold-dark: #A9853F;
  --cream: #F9F8F6;
  --sand: #F1EEE6;
  --stone: #EDEDE9;
  --slate: #4A5568;
  --white: #FFFFFF;
  --whatsapp: #20CF2D;
  --font-head: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Tinos", "Times New Roman", Times, serif;
  --wrap: 1120px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--gold); color: var(--navy); padding: 8px 14px; }

/* ---------- Buttons (gold pills, never wrap) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap;
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  font-size: 18px; letter-spacing: .02em; line-height: 1;
  padding: 16px 30px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--navy); }
.btn-outline small { font-size: .8em; opacity: .9; }
.btn-lg { font-size: 21px; padding: 19px 38px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: var(--cream); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand img { width: 230px; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.header-top { display: flex; align-items: center; gap: 10px; }
.header-phone {
  color: var(--gold); text-decoration: none; font-family: var(--font-head); font-weight: 700;
  font-size: 22px; white-space: nowrap; margin-right: 8px;
}
.header-phone span { color: var(--cream); font-size: inherit; font-weight: 600; opacity: .85; }
.header-phone:hover { text-decoration: underline; }
.lang {
  display: inline-block; background: var(--gold); color: var(--white); text-decoration: none;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; text-transform: uppercase;
  padding: 9px 20px; border-radius: 999px; white-space: nowrap;
}
.lang-short, .hq-short { display: none; }
/* Header quote pill: same gold pill as the language pills, a touch larger so it reads as the main action */
.header-quote {
  display: inline-flex; align-items: center; background: var(--gold); color: var(--white); text-decoration: none;
  font-family: var(--font-body); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .02em;
  padding: 9px 24px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 0 0 2px rgba(249, 248, 246, .9); transition: background-color .2s; margin-right: 8px;
}
.header-quote:hover { background: var(--gold-dark); }
.nav { display: flex; gap: 34px; }
.nav-extra { display: none; }
.nav a {
  color: var(--cream); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 18px;
}
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.menu-btn, .header-call { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--cream); text-align: center;
  background: var(--navy) url("../img/hero-family.webp") center 30% / cover no-repeat;
  padding: 120px 0 110px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(10, 31, 68, .38); }
.hero .wrap { position: relative; max-width: 900px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 12ch; margin-left: auto; margin-right: auto; margin-bottom: 26px; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero p { font-size: 18px; max-width: 760px; margin: 0 auto 14px; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.hero-ctas { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 34px; }

/* ---------- Section basics ---------- */
.section { padding: 80px 0; }
.section-title { font-size: clamp(32px, 3.6vw, 42px); }

/* Core values */
.values { background: var(--cream); }
.values-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 44px; }
.values-head p { max-width: 380px; text-align: right; font-size: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.value img { width: 26px; height: 26px; margin-bottom: 18px; mix-blend-mode: multiply; }
.value h3 { font-size: 21px; margin-bottom: 8px; }
.value p { font-size: 16px; }

/* Insurance solutions */
.solutions { background: var(--sand); }
.solutions .section-title { margin-bottom: 36px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--cream); padding: 26px 26px 30px; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 26px; background: var(--stone); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 20px; margin-bottom: 14px; }
.card p { font-size: 16px; flex: 1; }
.card .more { margin-top: 26px; color: var(--gold-dark); font-size: 16px; text-underline-offset: 3px; }
.card .more:hover { color: var(--navy); }

/* Awards */
/* Awards & Recognitions — "navy trust wall": full-bleed navy band, eight white logo cards.
   Logos are transparent 3:2 canvases from tools/build_awards.py (already optically balanced),
   so every card is the same height and the logo simply fills the card face. */
.awards {
  color: var(--cream);
  background-color: var(--navy);
  background-image:
    radial-gradient(900px 460px at 88% 0%, rgba(197, 160, 89, .10), transparent 62%),
    radial-gradient(820px 480px at 0% 100%, rgba(27, 58, 104, .9), transparent 62%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.awards .section-title { color: var(--gold); text-align: center; margin-bottom: 44px; }
.awards .section-title::after {
  content: ""; display: block; width: 96px; height: 5px; border-radius: 4px; margin: 22px auto 0;
  background: linear-gradient(90deg, var(--gold), rgba(197, 160, 89, .45));
}
.awards-grid {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1040px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.award-card {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid rgba(197, 160, 89, .55); border-radius: 16px;
  padding: 6px 8px; overflow: hidden;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6), 0 2px 6px -2px rgba(0, 0, 0, .25);
  transition: transform .25s cubic-bezier(.22, .61, .36, 1), box-shadow .25s ease;
}
.award-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, rgba(197, 160, 89, .35), var(--gold), rgba(197, 160, 89, .35));
}
.award-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.award-card:hover, .award-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 28px 52px -24px rgba(0, 0, 0, .75), 0 4px 10px -2px rgba(0, 0, 0, .3);
}

/* Reviews */
.reviews { background: var(--cream); padding: 50px 0 30px; }
.reviews .wrap { max-width: 860px; }
.reviews-fallback { text-align: center; font-size: 16px; }

/* Reviews wall (homepage EN/ES) — generated by tools/build_reviews.py from tools/reviews.json.
   Sand band between the navy awards wall and the cream gallery. Header: H2 left, rating plaque right
   (stars fill left-to-right and 573 counts up when it scrolls into view). Two rows of white cards glide in
   opposite directions: site.js adds one aria-hidden, inert copy of each list and .is-marquee; CSS slides the
   track by exactly one list (--rv-shift). Paused on hover / focus / off-screen.
   Default (no JS, prefers-reduced-motion): the two lists are a plain wrapping grid, all 12 cards visible. */
.rv {
  --rv-gap: clamp(16px, 1.5vw, 28px);
  position: relative; overflow: hidden; overflow: clip;
  background:
    radial-gradient(1100px 520px at 100% 0%, rgba(197, 160, 89, .16), transparent 60%),
    radial-gradient(900px 480px at 0% 100%, rgba(255, 255, 255, .55), transparent 60%),
    var(--sand);
}
.rv-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.rv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; margin-bottom: clamp(30px, 3.4vw, 64px); }
.rv-title { flex: 1 1 420px; min-width: 0; }
.rv .section-title { font-size: clamp(30px, 4.375vw, 84px); line-height: .98; }
.rv-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: clamp(14px, 1.3vw, 24px); font-size: var(--fs-body, 17px); color: var(--slate); }
.rv-sub .rv-chip:last-of-type { margin-right: 4px; }

/* Rating plaque */
.rv-score {
  display: flex; align-items: center; gap: clamp(16px, 1.6vw, 30px);
  background: var(--white); border: 1px solid rgba(197, 160, 89, .45); border-radius: 22px;
  padding: clamp(16px, 1.4vw, 26px) clamp(22px, 2vw, 38px);
  box-shadow: 0 30px 60px -36px rgba(10, 31, 68, .45), 0 2px 8px -3px rgba(10, 31, 68, .12);
}
.rv-big {
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  font-size: clamp(56px, 5.6vw, 108px); line-height: .9; letter-spacing: -.035em;
  padding-right: clamp(16px, 1.6vw, 30px); border-right: 2px solid rgba(197, 160, 89, .5);
}
.rv-score-side { display: flex; flex-direction: column; gap: 6px; }
.rv-stars-lg { position: relative; display: inline-flex; }
.rv-stars-lg svg { width: clamp(24px, 1.9vw, 36px); height: clamp(24px, 1.9vw, 36px); margin-right: 3px; }
.rv-stars-base { display: inline-flex; color: rgba(10, 31, 68, .12); }
.rv-stars-fill {
  position: absolute; inset: 0; display: inline-flex; color: var(--gold); white-space: nowrap;
  clip-path: inset(0 var(--rv-unfilled, 0%) 0 0); /* reviews-live.js sets --rv-unfilled for a live rating under 5.0 */
  filter: drop-shadow(0 2px 6px rgba(197, 160, 89, .35));
}
.rv-count { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: clamp(16px, 1.15vw, 22px); color: var(--navy); white-space: nowrap; }
.rv-count b { font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.rv-g { width: 1.05em; height: 1.05em; flex: none; }

/* Rows + cards (static grid by default) */
.rv-rows { display: flex; flex-direction: column; gap: var(--rv-gap); width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rv-gap); }
.rv-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--white); color: var(--navy); border-radius: 20px;
  border: 1px solid rgba(197, 160, 89, .32);
  padding: clamp(22px, 1.9vw, 36px) clamp(22px, 1.9vw, 36px) clamp(18px, 1.5vw, 28px);
  box-shadow: 0 26px 50px -34px rgba(10, 31, 68, .5), 0 2px 6px -2px rgba(10, 31, 68, .08);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease;
}
.rv-card::before {
  content: "\201C"; position: absolute; top: -.12em; right: .1em; pointer-events: none;
  font-family: var(--font-body); font-size: clamp(130px, 10vw, 200px); line-height: 1; color: var(--gold); opacity: .16;
}
.rv-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, rgba(197, 160, 89, .2), var(--gold), rgba(197, 160, 89, .2));
}
.rv-card:hover, .rv-card:focus-within { transform: translateY(-4px); box-shadow: 0 34px 60px -32px rgba(10, 31, 68, .55), 0 4px 10px -3px rgba(10, 31, 68, .12); }
.rv-card-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(14px, 1.2vw, 22px); }
.rv-stars-sm { display: inline-flex; gap: 2px; color: var(--gold); }
.rv-stars-sm svg { width: clamp(17px, 1.15vw, 22px); height: clamp(17px, 1.15vw, 22px); }
.rv-chip {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .1em; line-height: 1;
  padding: 5px 9px 4px; border-radius: 999px; color: var(--navy); background: var(--sand); border: 1px solid rgba(197, 160, 89, .55);
}
.rv-sub .rv-chip { background: var(--white); }
.rv-text { position: relative; margin: 0; font-family: var(--font-body); color: var(--navy); }
.rv-text p { overflow-wrap: anywhere; }
.rv-q-m { font-size: clamp(17px, 1.2vw, 23px); line-height: 1.5; }
.rv-q-l { font-size: clamp(20px, 1.55vw, 30px); line-height: 1.35; }
.rv-q-xl { font-size: clamp(26px, 2.1vw, 40px); line-height: 1.15; font-style: italic; }
.rv-ellipsis { color: var(--slate); }
.rv-more {
  position: relative; align-self: flex-start; margin-top: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(14px, .95vw, 17px); color: var(--navy-2);
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.rv-more::after { content: " \2192"; }
.rv-more:hover { color: var(--navy); }
.rv-by { position: relative; display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: clamp(16px, 1.4vw, 26px); }
.rv-text + .rv-by, .rv-more + .rv-by { margin-top: auto; }
.rv-by::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--stone); }
.rv-card .rv-text { margin-bottom: clamp(16px, 1.4vw, 26px); }
.rv-avatar {
  flex: none; display: grid; place-items: center; width: clamp(42px, 2.8vw, 54px); height: clamp(42px, 2.8vw, 54px); border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(15px, 1vw, 19px); letter-spacing: .02em;
}
.rv-av0 { background: var(--navy); color: var(--cream); }
.rv-av1 { background: var(--gold); color: var(--navy); }
.rv-av2 { background: var(--navy-2); color: var(--white); }
.rv-av3 { background: var(--sand); color: var(--navy); box-shadow: inset 0 0 0 2px var(--gold); }
.rv-av4 { background: var(--gold-dark); color: var(--navy); }
.rv-who { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.rv-by .rv-chip { flex: none; align-self: center; }
.rv-name { font-family: var(--font-head); font-weight: 700; font-size: clamp(16px, 1.1vw, 21px); line-height: 1.2; }
.rv-src { display: inline-flex; align-items: center; gap: 6px; font-size: clamp(14px, .9vw, 17px); color: var(--slate); }
.rv-src .rv-g { width: 15px; height: 15px; }

/* CTA ("Read all N reviews on Google") */
.rv-foot { margin-top: clamp(34px, 3.6vw, 68px); text-align: center; }
.rv-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(14px, 1.2vw, 23px); }
.rv-ctas .btn { font-size: clamp(14px, 1.15vw, 22px); padding: .95em 1.8em; }

/* Marquee (site.js adds .is-marquee; never under reduced motion) */
.rv.is-marquee .rv-rows { max-width: none; padding: 0; }
.rv.is-marquee .rv-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.rv.is-marquee .rv-track {
  position: relative; display: flex; gap: var(--rv-gap); width: max-content; padding: 14px 0 60px;
  animation: rv-slide var(--rv-dur, 90s) linear infinite; animation-play-state: paused; will-change: transform;
}
.rv.is-marquee .rv-row + .rv-row { margin-top: -34px; }
.rv.is-marquee .rv-row-rev .rv-track { animation-direction: reverse; }
.rv.is-marquee.is-running .rv-track { animation-play-state: running; }
.rv.is-marquee .rv-row:hover .rv-track,
.rv.is-marquee .rv-row:focus-within .rv-track { animation-play-state: paused; }
.rv.is-marquee .rv-list { display: flex; gap: var(--rv-gap); }
.rv.is-marquee .rv-card { flex: none; width: clamp(300px, 25vw, 480px); }
.rv.is-marquee .rv-rows { gap: 0; }
.rv.is-marquee .rv-foot { margin-top: clamp(0px, 1vw, 20px); }
@keyframes rv-slide { to { transform: translate3d(calc(-1 * var(--rv-shift, 0px)), 0, 0); } }

/* Stars fill + count-up arm (site.js adds .rv-armed, then .rv-in when the plaque is seen) */
.rv.rv-armed .rv-stars-fill { clip-path: inset(0 100% 0 0); }
.rv.rv-armed.rv-in .rv-stars-fill { clip-path: inset(0 var(--rv-unfilled, 0%) 0 0); transition: clip-path 1.6s cubic-bezier(.65, .05, .36, 1) .25s; }

@media (max-width: 1000px) {
  .rv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .rv-head { align-items: flex-start; }
  .rv-title { flex-basis: 100%; }
  .rv-list { grid-template-columns: 1fr; }
  .rv.is-marquee .rv-card { width: 80vw; }
  .rv.is-marquee .rv-row { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
  .rv-score { width: 100%; justify-content: center; }
  .rv-ctas .btn { width: 100%; max-width: 420px; padding: 1em 1.2em; }
}
@media (prefers-reduced-motion: reduce) {
  .rv .rv-track { animation: none !important; }
  .rv-card { transition: none; }
  .rv-card:hover, .rv-card:focus-within { transform: none; }
  .rv .rv-stars-fill { clip-path: inset(0 var(--rv-unfilled, 0%) 0 0) !important; transition: none !important; }
}

/* Gallery — Wix "fast gallery": full-bleed strip that starts flush with the first photo (g01),
   height 41.04vw, 24px gaps. site.js turns it into a seamless marquee (one aria-hidden copy of the
   photos, CSS animation, paused on hover/focus/off-screen). No JS or prefers-reduced-motion:
   a plain scrollable strip with prev/next. */
.gallery { background: var(--cream); padding: 30px 0 70px; --gal-h: clamp(280px, 41.04vw, 788px); --gal-gap: 24px; }
.gallery-frame { position: relative; }
.gallery-track {
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 0;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-reel { display: flex; gap: var(--gal-gap); width: max-content; }
.gallery-track figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; height: var(--gal-h); background: var(--stone); }
.gallery-track img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.gallery-frame.is-marquee .gallery-track { overflow: hidden; scroll-snap-type: none; }
.gallery-frame.is-marquee .gallery-reel {
  animation: gal-marquee var(--gal-dur, 600s) linear infinite;
  animation-play-state: paused; will-change: transform;
}
.gallery-frame.is-marquee.is-running .gallery-reel { animation-play-state: running; }
.gallery-frame.is-marquee:hover .gallery-reel,
.gallery-frame.is-marquee:focus-within .gallery-reel { animation-play-state: paused; }
@keyframes gal-marquee { to { transform: translateX(calc(-1 * var(--gal-shift, 0px))); } }
.gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(249, 248, 246, .92); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.gal-prev { left: 16px; } .gal-next { right: 16px; }
.gallery-caption { max-width: 860px; margin: 24px auto 0; text-align: center; font-style: italic; font-size: 16px; padding: 0 var(--gutter); }

/* CTA band */
.cta-band { background: var(--navy); color: var(--white); padding: 70px 0 20px; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(32px, 4vw, 50px); }

/* Footer */
.site-footer { background: var(--navy); color: var(--cream); padding: 50px 0 120px; }
.footer-logos { display: flex; justify-content: space-around; align-items: center; gap: 30px; margin-bottom: 30px; }
.footer-logos .f-logo { width: 300px; }
.footer-logos .f-seal { width: 180px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1.6fr 1.6fr; gap: 30px; max-width: 900px; margin: 0 auto 40px; }
.footer-cols h2 { font-size: 18px; margin-bottom: 10px; }
.footer-cols p, .footer-cols a { font-size: 16px; line-height: 1.6; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
.social { display: flex; gap: 12px; margin-top: 16px; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.social svg { width: 24px; height: 24px; fill: #fff; }
.social .fb { background: #1877F2; } .social .ig { background: #E4405F; } .social .yt { background: #FF0000; }
.disclaimer { font-size: 13px; line-height: 1.45; opacity: .92; }
.disclaimer p { margin-bottom: 8px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; margin-top: 24px; opacity: .9; }
.footer-legal a { color: var(--cream); }

/* Floating "Talk to our team" launcher + popup (2026-10-31: chip option C, then Frank: "double the size, open a
   small popup with the options"). Markup: homepage .floaters (spans/a/button only, no inner <div> — tools/sync_chrome.py
   and the generators cut the block at its first </div>). site.js turns the launcher <a href="tel:"> into a <button>
   that opens the popup, fills the hours-aware status lines and steps the launcher aside over a guide sidebar's
   quote/call buttons. Without JS the launcher simply calls 410-427-2834 and the popup stays hidden. */
.floaters { position: fixed; right: 20px; bottom: 20px; z-index: 60; font-family: var(--font-head); line-height: 1.2; }
.floaters [hidden] { display: none !important; }
.chip-launcher {
  display: flex; align-items: center; gap: 16px; margin: 0; padding: 10px 12px 10px 10px;
  background: var(--white); color: var(--navy); font: inherit; text-align: left; text-decoration: none; cursor: pointer;
  border: 1px solid rgba(197,160,89,.45); border-radius: 999px;
  box-shadow: 0 22px 48px -12px rgba(10,31,68,.38), 0 4px 14px rgba(10,31,68,.12);
  animation: chip-in .6s cubic-bezier(.2,.8,.2,1) .9s backwards;
  transition: opacity .25s ease, translate .25s ease, visibility 0s, box-shadow .2s ease, transform .2s ease;
}
.chip-launcher:hover { transform: translateY(-2px); box-shadow: 0 26px 54px -12px rgba(10,31,68,.42), 0 6px 16px rgba(10,31,68,.14); }
.chip-launcher:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@keyframes chip-in { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.chip-launcher.is-nudge { animation: chip-nudge 1.1s cubic-bezier(.3,.7,.4,1) 1; }
@keyframes chip-nudge { 0%, 100% { transform: none; } 18% { transform: translateY(-12px); } 36% { transform: none; } 52% { transform: translateY(-5px); } 66% { transform: none; } }
/* guide pages: step aside while the launcher would sit on the sidebar's quote / call buttons (never while open) */
.floaters.is-dodging .chip-launcher { opacity: 0; translate: 0 16px; visibility: hidden; pointer-events: none; transition: opacity .2s ease, translate .2s ease, visibility 0s .2s; }
.chip-face { position: relative; flex: none; width: 92px; height: 92px; }
.chip-face img { display: block; width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); box-shadow: 0 0 0 3px var(--white) inset; }
.chip-dot { display: none; position: absolute; right: 3px; bottom: 3px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--white); }
.floaters[data-status] .chip-dot { display: block; }
.floaters[data-status="open"] .chip-dot { background: var(--whatsapp); }
.floaters[data-status="closed"] .chip-dot { background: var(--slate); }
.floaters[data-status="open"] .chip-dot::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--whatsapp);
  animation: chip-pulse 2.4s ease-out 1.6s infinite;
}
@keyframes chip-pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
.chip-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; max-width: 290px; }
.chip-title { font-size: 23px; font-weight: 700; color: var(--navy); white-space: nowrap; letter-spacing: -.01em; }
.chip-status { font-size: 15px; font-weight: 600; color: var(--slate); }
.chip-status span { white-space: nowrap; }
.floaters[data-status="closed"] .chip-status span { display: block; }
.floaters[data-status="closed"] .chip-status .chip-sep { display: none; }
.chip-short { display: none; font-size: 18px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.chip-go { flex: none; display: grid; place-items: center; width: 52px; height: 52px; margin-left: 4px; border-radius: 50%; background: var(--navy); box-shadow: 0 4px 10px rgba(10,31,68,.28); }
.chip-go svg { width: 24px; height: 24px; fill: var(--gold); }
.chip-go .go-down, .floaters.is-open .chip-go .go-chat { display: none; }
.floaters.is-open .chip-go .go-down { display: block; }

/* Popup */
.chip-pop {
  position: absolute; right: 0; bottom: calc(100% + 14px); width: 404px; max-height: calc(100vh - 170px); overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px; padding: 18px;
  background: var(--white); color: var(--navy); border: 1px solid rgba(197,160,89,.45); border-radius: 24px;
  box-shadow: 0 30px 70px -16px rgba(10,31,68,.40), 0 6px 18px rgba(10,31,68,.12);
  transform-origin: 100% 100%;
}
.chip-pop.is-opening { animation: pop-in .2s cubic-bezier(.2,.8,.2,1); }
.chip-pop.is-closing { animation: pop-out .16s ease-in forwards; }
@keyframes pop-in { from { opacity: 0; transform: scale(.9) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop-out { to { opacity: 0; transform: scale(.94) translateY(8px); } }
.pop-head { display: flex; align-items: center; gap: 12px; padding-bottom: 2px; }
.pop-face { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.pop-head-text { display: flex; flex-direction: column; gap: 3px; flex: 1 1 0; min-width: 0; }
.pop-title { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.pop-head .chip-status { font-size: 13.5px; }
.pop-close {
  flex: none; align-self: flex-start; display: grid; place-items: center; width: 38px; height: 38px; margin: -4px -4px 0 0; padding: 0;
  border: 0; border-radius: 50%; background: var(--stone); color: var(--navy); cursor: pointer;
}
.pop-close svg { width: 18px; height: 18px; fill: currentColor; }
.pop-close:hover { background: var(--sand); }
.pop-close:focus-visible, .pop-opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pop-opt {
  display: flex; align-items: center; gap: 14px; min-height: 70px; padding: 12px 14px 12px 12px;
  border-radius: 18px; text-decoration: none; transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.pop-opt:hover { transform: translateY(-1px); filter: brightness(1.05); }
.pop-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; }
.pop-ic svg { width: 22px; height: 22px; }
.pop-txt { display: flex; flex-direction: column; gap: 3px; flex: 1 1 0; min-width: 0; }
.pop-opt-title { font-size: 17px; font-weight: 700; }
.pop-opt-sub { font-size: 13.5px; font-weight: 600; }
.pop-chev { flex: none; width: 18px; height: 18px; fill: currentColor; opacity: .7; }
.pop-opt.float-wa { background: var(--whatsapp); color: var(--white); text-shadow: 0 1px 1px rgba(0,0,0,.18); box-shadow: 0 6px 16px -4px rgba(32,207,45,.5); }
.pop-opt.float-wa .pop-ic { background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.14); }
.wa-logo { display: contents; }
.wa-logo img { display: block; width: 30px; height: 30px; object-fit: contain; }
.wa-logo svg { width: 26px; height: 26px; fill: var(--whatsapp); }
.pop-opt.float-call { background: var(--navy); color: var(--white); box-shadow: 0 6px 16px -4px rgba(10,31,68,.45); }
.pop-opt.float-call .pop-ic { background: var(--navy-2); }
.pop-opt.float-call .pop-ic svg { fill: var(--gold); }
.pop-opt.float-call .pop-opt-sub { color: rgba(249,248,246,.82); }
.pop-opt.pop-quote { background: var(--gold); color: var(--navy); box-shadow: 0 6px 16px -4px rgba(197,160,89,.55); }
.pop-opt.pop-quote .pop-ic { background: var(--white); }
.pop-opt.pop-quote .pop-ic svg { fill: var(--gold-dark); }
.pop-foot { text-align: center; font-size: 12.5px; font-weight: 600; color: var(--slate); letter-spacing: .02em; }

@media (max-width: 600px) {
  .floaters { right: 12px; bottom: 12px; }
  .chip-launcher { gap: 12px; padding: 5px 22px 5px 5px; }
  .chip-face, .chip-face img { width: 68px; height: 68px; }
  .chip-dot { width: 18px; height: 18px; right: 1px; bottom: 1px; }
  .chip-text, .chip-go { display: none; }
  .chip-short { display: block; }
  .pop-opt { gap: 12px; padding: 10px 12px 10px 10px; min-height: 64px; }
  .pop-ic { width: 42px; height: 42px; }
  .pop-opt-title { font-size: 16px; }
  .pop-opt-sub { font-size: 13px; }
  .chip-pop { position: fixed; left: 4vw; right: 4vw; bottom: 104px; width: auto; max-height: calc(100vh - 124px); padding: 16px; border-radius: 22px; transform-origin: 85% 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .chip-launcher, .chip-launcher.is-nudge, .chip-pop.is-opening, .chip-pop.is-closing,
  .floaters[data-status="open"] .chip-dot::after { animation: none; }
  .chip-launcher, .floaters.is-dodging .chip-launcher, .pop-opt { transition: none; }
  .chip-launcher:hover, .pop-opt:hover { transform: none; }
}

/* ---------- Responsive ---------- */
/* Leave room for the full-size bilingual phone label on smaller desktop headers. */
@media (min-width: 821px) and (max-width: 1100px) {
  .brand img { width: 170px; }
  .header-top { gap: 6px; }
  .header-top .lang { font-size: 14px; padding: 9px 12px; }
  .header-quote { font-size: 15px; padding: 9px 16px; }
}
@media (min-width: 821px) and (max-width: 1000px) {
  .brand img { width: 120px; }
}
@media (max-width: 1000px) {
  .nav { gap: 22px; }
  .nav a { font-size: 16px; }
  .cards, .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .brand img { width: 170px; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  .header-right { flex-direction: row; align-items: center; gap: 10px; }
  .header-phone { display: none; }
  .lang { font-size: 13px; padding: 7px 13px; }
  .lang[aria-current="true"] { display: none; }
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px;
    background: transparent; color: var(--cream); cursor: pointer;
  }
  .menu-btn svg { width: 28px; height: 28px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--navy); padding: 6px var(--gutter) 18px;
    border-top: 1px solid rgba(249,248,246,.15);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; font-size: 18px; border-bottom: 1px solid rgba(249,248,246,.1); }
  .header-quote { font-size: 13px; line-height: inherit; padding: 7px 14px; box-shadow: none; margin-right: 0; }
  /* Open menu: full-width quote button, call button, other-language link after the page links */
  .nav-extra { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; }
  .nav .nav-extra .btn { width: 100%; font-family: var(--font-body); font-size: 17px; padding: 15px 20px; text-decoration: none; border: 2px solid transparent; }
  .nav .nav-extra .btn-outline { border-color: var(--cream); }
  .nav .nav-extra .btn-gold { color: var(--white); }
  .nav .nav-extra .nav-call svg { width: 18px; height: 18px; flex: none; }
  .nav .nav-extra .lang {
    display: block; align-self: center; background: none; color: var(--cream); padding: 6px 12px; border-bottom: 0;
    font-family: var(--font-head); font-size: 16px; text-transform: none; text-decoration: underline; text-underline-offset: 4px;
  }
  .hero { padding: 80px 0 76px; }
  .hero p { font-size: 16px; }
  .btn-lg { font-size: 18px; padding: 17px 30px; }
  .section { padding: 56px 0; }
  .values-head { flex-direction: column; gap: 14px; }
  .values-head p { text-align: left; }
  .gallery { --gal-gap: 16px; }
  .cta-band { text-align: center; }
  .cta-band .wrap { justify-content: center; }
  .footer-logos { flex-direction: column; }
  .footer-logos .f-logo { width: 240px; }
  .footer-logos .f-seal { width: 150px; }
  .footer-cols { grid-template-columns: 1fr; text-align: center; }
  .social { justify-content: center; }
  .header-call { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--white); }
  .header-call svg { width: 20px; height: 20px; }
}
/* Phone header bar: logo, GET QUOTE, language pill, round call icon, menu button — one row, no overflow.
   Fit order (2026-10-31): short quote label, tighter gaps, then ES / EN language pill; the logo shrinks to fill. */
@media (max-width: 560px) {
  .hq-long { display: none; }
  .hq-short { display: inline; }
  .header-inner { gap: 12px; }
  .header-right { gap: 6px; flex: none; }
  .header-top { gap: 6px; }
  .brand { flex: 0 1 170px; min-width: 0; }
  .brand img { width: 100%; max-width: 170px; }
}
@media (max-width: 480px) {
  .lang-long { display: none; }
  .lang-short { display: inline; }
  .lang { padding: 7px 11px; }
  .header-quote { letter-spacing: 0; padding: 7px 11px; }
  .header-call { width: 36px; height: 36px; }
  .menu-btn { width: 36px; }
}
@media (max-width: 400px) {
  .site-header .header-inner, .site-header .nav { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 560px) {
  .cards, .values-grid { grid-template-columns: 1fr; }
  .value { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
  .value img { grid-row: span 2; margin: 2px 0 0; }
  .gal-btn { width: 38px; height: 38px; font-size: 18px; }
  .hero-ctas .btn-outline { flex-direction: column; gap: 5px; font-size: 16px; padding: 12px 26px; }
  .hero-ctas .btn-outline small { font-size: 15px; }
  .hero-ctas .btn-outline .dot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html, .gallery-track { scroll-behavior: auto; }
  .btn { transition: none; }
  .award-card { transition: none; }
  .award-card:hover, .award-card:focus-within { transform: none; }
}

/* =====================================================================
   Wide layout (Wix proportions) — regular pages opt in with <body class="wide">
   (home, about, team, services, stories, media + interviews, 404 and the Spanish twins).
   Guide pages (blog, hubs, product pages), the funnel, legal, connect and roadmap pages do NOT use it.
   Measured from the Wix capture (_capture/, rendered at 1280 / 1700, see docs/DECISIONS.md 2026-10-31):
   Wix sizes everything in viewport units up to ~1920px wide — side gutter 3.125vw (40px @1280, 53px @1700),
   content 93.75vw, section H2 4.375vw (56px @1280, 74px @1700), H1 5.625vw, card/value titles 1.875vw,
   body text 1.25vw (we never go below 16–17px). Above 1920px the layout stops growing and centers.
   ===================================================================== */
.wide {
  --wrap: 1920px;
  --gutter: clamp(20px, 3.125vw, 60px);
  --fs-body: clamp(16px, 1.25vw, 24px);
  --fs-lead: clamp(16px, 1.5625vw, 30px);
  --fs-h3: clamp(20px, 1.875vw, 36px);
}

/* Hero */
.wide .hero { padding: clamp(80px, 11.9vw, 228px) 0 clamp(76px, 7vw, 134px); }
.wide .hero .wrap { max-width: min(100%, calc(81.4vw + 2 * var(--gutter)), 1700px); }
.wide .hero h1 { font-size: clamp(38px, 5.625vw, 108px); margin-bottom: clamp(26px, 2.5vw, 48px); }
.wide .hero p { font-size: var(--fs-lead); max-width: none; }
.wide .btn-lg { font-size: clamp(18px, 1.64vw, 31px); padding: .9em 1.8em; }
.wide .hero-ctas { margin-top: clamp(34px, 3.4vw, 64px); gap: clamp(14px, 1.2vw, 23px); }
.wide .hero-ctas .btn-outline { font-size: clamp(16px, 1.4vw, 27px); padding: .85em 1.6em; }

/* Section rhythm + headings */
.wide .section { padding: clamp(56px, 7vw, 134px) 0; }
.wide .section-title { font-size: clamp(28px, 3.3vw, 63px); line-height: 1.05; }
.wide .values .section-title, .wide .solutions .section-title { font-size: clamp(30px, 4.375vw, 84px); line-height: .98; }

/* Core values: heading left, intro right (40% of the row); icons in small white tiles (Wix shows the
   120px white-square PNGs as-is at 2.5vw — no blending) */
.wide .values-head { margin-bottom: clamp(36px, 4.8vw, 92px); }
.wide .values-head p { font-size: var(--fs-body); line-height: 1.3; }
.wide .values-grid { gap: clamp(24px, 2.5vw, 48px); }
.wide .value img { width: clamp(32px, 2.5vw, 48px); height: clamp(32px, 2.5vw, 48px); mix-blend-mode: normal; background: var(--white); }
.wide .value h3 { font-size: var(--fs-h3); margin-bottom: clamp(8px, .9vw, 17px); }
.wide .value p { font-size: var(--fs-body); }

/* Insurance solutions cards */
.wide .solutions { padding-top: clamp(48px, 3.7vw, 72px); }
.wide .solutions .section-title { margin-bottom: clamp(18px, 1.3vw, 25px); }
.wide .cards { gap: clamp(16px, 2.5vw, 48px) clamp(16px, 1.5625vw, 30px); }
.wide .card { padding: clamp(22px, 2.5vw, 48px) clamp(22px, 2.55vw, 49px) clamp(26px, 5vw, 96px); }
.wide .card-img { margin-bottom: clamp(20px, 2vw, 38px); }
.wide .card h3 { font-size: var(--fs-h3); margin-bottom: clamp(12px, 2.5vw, 48px); }
.wide .card p, .wide .card .more { font-size: var(--fs-body); }
.wide .card .more { margin-top: clamp(22px, 3.5vw, 67px); }

/* Awards (Wix: 3.32vw gold title, logos ~15.5vw tall across ~87% of the width) */
.wide .awards .section-title { font-size: clamp(28px, 3.32vw, 64px); margin-bottom: clamp(30px, 3.4vw, 65px); }
.wide .awards .section-title::after { width: clamp(72px, 5vw, 96px); height: clamp(4px, .26vw, 5px); margin-top: clamp(16px, 1.3vw, 25px); }
.wide .awards-grid { max-width: min(100%, 81.4vw, 1560px); gap: clamp(16px, 1.875vw, 36px); }
.wide .award-card { padding: clamp(6px, .5vw, 10px) clamp(8px, .6vw, 12px); }

/* Awards: 2 columns on tablets, a swipeable row with a next-card peek on phones */
@media (max-width: 1000px) {
  .awards-grid, .wide .awards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 680px; }
}
@media (max-width: 600px) {
  .awards-grid, .wide .awards-grid {
    display: flex; gap: 14px; max-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 22px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .awards-grid::-webkit-scrollbar { display: none; }
  .award-card, .wide .award-card { flex: 0 0 70%; scroll-snap-align: start; }
  .award-card:hover, .award-card:focus-within { transform: none; }
}

/* Reviews, gallery caption */
.wide .reviews .wrap { max-width: min(var(--wrap), 1400px); }
.wide .gallery-caption { max-width: min(100%, 94vw); font-size: var(--fs-body); margin-top: clamp(24px, 2.4vw, 46px); }

/* CTA band (Wix: 5.625vw heading) */
.wide .cta-band { padding: clamp(56px, 8.2vw, 158px) 0 clamp(20px, 3vw, 58px); }
.wide .cta-band h2 { font-size: clamp(32px, 5.625vw, 108px); }

/* Page heroes on about / team / services / stories / media (Wix page headings 4.375vw) */
.wide .at-hero .wrap, .wide .s-hero .wrap, .wide .mb-band .wrap { max-width: max(900px, 70vw); }
.wide .at-hero h1, .wide .s-hero h1 { font-size: clamp(36px, 4.5vw, 86px); }
.wide .mb-band h1 { font-size: clamp(32px, 4.2vw, 80px); }
.wide .at-intro, .wide .s-intro, .wide .mb-intro { font-size: clamp(19px, 1.5vw, 29px); max-width: max(720px, 56vw); }

/* Footer: spans the wide wrap like Wix (columns ~93% of the content width, logos scale) */
.wide .footer-logos .f-logo { width: clamp(240px, 30vw, 576px); }
.wide .footer-logos .f-seal { width: clamp(150px, 19vw, 365px); }
.wide .footer-cols { max-width: min(100%, 93%); grid-template-columns: 1fr 1.8fr 1.75fr; gap: clamp(24px, 3vw, 58px); margin-bottom: clamp(40px, 4vw, 77px); }
.wide .footer-cols h2 { font-size: clamp(18px, 1.6vw, 31px); }
.wide .footer-cols p, .wide .footer-cols a { font-size: var(--fs-body); }
.wide .disclaimer { font-size: clamp(13px, 1vw, 19px); }

@media (max-width: 820px) {
  .wide .footer-cols { grid-template-columns: 1fr; max-width: none; }
}
@media (min-width: 821px) {
  .wide .values-head p { max-width: 40%; }
}
@media (min-width: 561px) {
  .wide .value img { margin-bottom: clamp(18px, 2vw, 38px); }
}

/* =====================================================================
   Scroll reveal — Wix entrance animations (homepage EN/ES + Services heading), from the capture's
   interactions JSON: trigger viewEnter, threshold 0.15, play once, fill backwards.
     LEGACY_FadeIn  1200ms  (hero text d0/d100, buttons d200/d300, values intro d100,
                             card columns d100–d400, CTA band d0 / button d100)
     LEGACY_BlurIn  2000ms  power "soft" (Our Core Values, Insurance Solutions H2s)
     LEGACY_FloatIn 1200ms  (Services heading)
   Blur radius, float distance and easing are not stored in the capture — approximated.
   Hidden state only when JS has run (html.js, set by an inline <head> script) and motion is allowed;
   opacity / filter / transform only, so nothing shifts. site.js adds .is-in once, then removes the
   attribute. Safety net: if site.js never runs, everything shows after 3s.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transition: opacity var(--rv-dur, 1.2s) var(--rv-ease, cubic-bezier(.45, .05, .55, .95)) var(--rv-delay, 0s),
                filter var(--rv-dur, 1.2s) var(--rv-ease, cubic-bezier(.45, .05, .55, .95)) var(--rv-delay, 0s),
                transform var(--rv-dur, 1.2s) cubic-bezier(.22, .61, .36, 1) var(--rv-delay, 0s);
  }
  html.js [data-reveal="blur"] { --rv-dur: 2s; filter: blur(12px); }
  html.js [data-reveal="float"] { transform: translateY(40px); }
  html.js [data-reveal-delay="100"] { --rv-delay: .1s; }
  html.js [data-reveal-delay="200"] { --rv-delay: .2s; }
  html.js [data-reveal-delay="300"] { --rv-delay: .3s; }
  html.js [data-reveal-delay="400"] { --rv-delay: .4s; }
  html.js [data-reveal].is-in { opacity: 1; filter: none; transform: none; }
  html.js:not(.rv-ready) [data-reveal] { animation: rv-failsafe 0s 3s forwards; }
}
@keyframes rv-failsafe { to { opacity: 1; filter: none; transform: none; } }
