/* =========================================================
   EKR Consulting — styles (mobile-first)
   Brand: Deep Burgundy #5B112F · Soft Champagne #F5EAD4 · Charcoal

   Base rules are written for phones. Larger screens are layered on
   with min-width queries placed right after each component:
     641px   tablet
     961px   desktop (full navigation, two-column layouts)
     1081px  wide (3–4 column grids)
   ========================================================= */

:root {
  --burgundy: #5B112F;
  --burgundy-deep: #3F0B20;
  --burgundy-soft: #7A2248;
  --champagne: #F5EAD4;
  --champagne-deep: #EADBBD;
  --cream: #FBF7EF;
  --paper: #FFFDF8;
  --charcoal: #2D2A2B;
  --muted: #6D6163;
  --line: #E7D8BD;
  --gold: #B08D57;
  --gold-light: #D9BC8C;
  --danger: #B3261E;

  --radius-xl: 44px;
  --radius-lg: 30px;
  --radius-md: 20px;

  --shadow-sm: 0 1px 2px rgba(63, 11, 32, .05), 0 6px 16px -6px rgba(63, 11, 32, .10);
  --shadow-md: 0 2px 6px rgba(63, 11, 32, .05), 0 24px 48px -18px rgba(63, 11, 32, .28);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: only light;
}

@media (min-width: 961px) {
  :root { --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--burgundy); color: var(--champagne); }

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nowrap { white-space: nowrap; }

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--champagne);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 15px 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: var(--burgundy);
  color: var(--champagne);
  box-shadow: 0 12px 24px -12px rgba(91, 17, 47, .7);
}
.btn--primary:hover { background: var(--burgundy-deep); transform: translateY(-2px); }

.btn--ghost {
  color: var(--burgundy);
  border-color: rgba(91, 17, 47, .25);
}
.btn--ghost:hover { border-color: var(--burgundy); background: rgba(91, 17, 47, .04); }

.btn--light {
  background: var(--champagne);
  color: var(--burgundy);
}
.btn--light:hover { background: #fff; transform: translateY(-2px); }

.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s;
}
.header.is-scrolled {
  background: rgba(251, 247, 239, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(91, 17, 47, .08);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--burgundy);
  text-decoration: none;
}
.logo__mark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  letter-spacing: .03em;
}
.logo__text {
  padding-left: 12px;
  border-left: 1px solid rgba(91, 17, 47, .3);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.logo--light { color: var(--champagne); }
.logo--light .logo__text { color: rgba(245, 234, 212, .7); border-color: rgba(245, 234, 212, .25); }

/* Phones: the CTA lives in the page, the burger opens a dropdown menu */
.header__cta { display: none; margin-left: auto; }

.nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  padding: 8px var(--gutter) 28px;
  background: var(--cream);
  box-shadow: 0 24px 40px -24px rgba(63, 11, 32, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.nav a {
  position: relative;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: color .2s;
}
.nav a:hover,
.nav a.is-active { color: var(--burgundy); }
.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
.nav-open .header { background: var(--cream); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(91, 17, 47, .2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--burgundy);
  transition: transform .3s var(--ease);
}
.nav-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (min-width: 641px) {
  .header__cta { display: inline-flex; }
  .burger { margin-left: 0; }
}

/* Desktop: inline navigation with an animated underline */
@media (min-width: 961px) {
  .header__cta { margin-left: 0; }
  .burger { display: none; }

  .nav {
    position: static;
    flex-direction: row;
    gap: 30px;
    margin-left: auto;
    padding: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav a {
    padding: 6px 0;
    border-bottom: 0;
    font-family: inherit;
    font-size: 15px;
  }
  .nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav a:hover::after,
  .nav a.is-active::after { transform: scaleX(1); }
}

/* ---------- Section primitives ---------- */
.section { padding: clamp(80px, 10vw, 128px) 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.section-tag::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: currentColor;
}
.section-tag--light { color: var(--gold-light); }

.section-title {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--charcoal);
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--burgundy); }
.section-title--light { color: var(--champagne); }
.section-title--light em { color: var(--gold-light); }

.section-lead {
  max-width: 460px;
  font-size: 17px;
  color: var(--muted);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: 40px;
}
.section-head .section-lead { justify-self: start; }
.section-head--center {
  display: block;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

@media (min-width: 961px) {
  .section-head { grid-template-columns: 1.3fr 1fr; margin-bottom: 56px; }
  .section-head .section-lead { justify-self: end; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 1100px;
  aspect-ratio: 1;
  right: -380px;
  top: -420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--champagne) 0%, rgba(245, 234, 212, 0) 66%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 760px;
  aspect-ratio: 1;
  left: -520px;
  bottom: -420px;
  border-radius: 50%;
  border: 1px solid rgba(91, 17, 47, .1);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--burgundy);
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(91, 17, 47, .12);
}

.hero__title {
  margin: 26px 0 22px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--charcoal);
}
.hero__title em { font-style: italic; color: var(--burgundy); }

.hero__lead {
  max-width: 520px;
  margin-bottom: 36px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 auto; }

.hero__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 44px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero__values li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
}
.hero__values .icon {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--champagne);
  stroke-width: 3;
}

/* Hero visual — scales with its own width */
.hero__visual {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1.02;
  margin-inline: auto;
}

@media (min-width: 641px) {
  .hero__actions .btn { flex: 0 1 auto; }
  .hero__values { display: flex; grid-template-columns: none; }
}

@media (min-width: 961px) {
  .hero__grid { grid-template-columns: 1.08fr 1fr; }
  .hero__visual { max-width: 540px; }
}

.hv-shape {
  position: absolute;
  inset: 6% 0 8% 11%;
  overflow: hidden;
  border-radius: 9cqw;
  background:
    radial-gradient(110% 80% at 88% 8%, var(--burgundy-soft) 0%, rgba(122, 34, 72, 0) 60%),
    linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  box-shadow: 0 50px 90px -40px rgba(63, 11, 32, .65);
}
.hv-shape::before,
.hv-shape::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hv-shape::before {
  width: 130%;
  aspect-ratio: 1;
  left: -70%;
  bottom: -85%;
  background: rgba(245, 234, 212, .045);
}
.hv-shape::after {
  width: 95%;
  aspect-ratio: 1;
  right: -48%;
  top: -40%;
  border: 1px solid rgba(245, 234, 212, .14);
}

.hv-monogram {
  position: absolute;
  inset: 0 0 14% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hv-monogram__mark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20cqw;
  line-height: 1;
  letter-spacing: .04em;
  background: linear-gradient(170deg, #FBF1DE 10%, #D9BC8C 55%, #A9844F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .25));
}
.hv-monogram__line {
  width: 12cqw;
  height: 1px;
  margin: 3.4cqw 0 2.8cqw;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.hv-monogram__text {
  font-size: max(9px, 2.4cqw);
  font-weight: 700;
  letter-spacing: .55em;
  text-indent: .55em;
  text-transform: uppercase;
  color: rgba(245, 234, 212, .78);
}

.hv-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 4.6cqw;
  background: rgba(255, 253, 248, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.hv-doc {
  left: 0;
  top: 15%;
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 3cqw 4.4cqw 3cqw 3cqw;
}
.hv-doc__icon {
  display: grid;
  place-items: center;
  width: 10.5cqw;
  height: 10.5cqw;
  border-radius: 3.2cqw;
  background: var(--burgundy);
  color: var(--champagne);
}
.hv-doc__icon .icon { width: 5.2cqw; height: 5.2cqw; }
.hv-doc__label {
  display: block;
  font-size: max(11px, 3.1cqw);
  font-weight: 700;
  line-height: 1.3;
  color: var(--charcoal);
}
.hv-doc__status {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  margin-top: .8cqw;
  font-size: max(10px, 2.55cqw);
  font-weight: 500;
  color: var(--muted);
}
.hv-doc__status .icon {
  width: 3.4cqw;
  height: 3.4cqw;
  padding: .5cqw;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  stroke-width: 3.5;
}

.hv-chart {
  right: -2%;
  bottom: 0;
  width: 46cqw;
  padding: 3.8cqw 4cqw 3cqw;
}
.hv-chart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: max(10px, 2.8cqw);
  font-weight: 700;
}
.hv-chart__head .icon { width: 4.6cqw; height: 4.6cqw; color: var(--burgundy); stroke-width: 2; }
.hv-bars {
  display: flex;
  align-items: flex-end;
  gap: 1.8cqw;
  height: 17cqw;
  margin-top: 3.2cqw;
  border-bottom: 1px solid var(--line);
}
.hv-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 1.2cqw 1.2cqw .3cqw .3cqw;
  background: linear-gradient(180deg, var(--champagne-deep), #F2E6CF);
  transform-origin: bottom;
  animation: bar-grow 1.1s var(--ease) both;
  animation-delay: calc(var(--i) * 90ms + 500ms);
}
.hv-bars i:last-child { background: linear-gradient(180deg, var(--burgundy-soft), var(--burgundy)); }
.hv-chart__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 1.4cqw;
  font-size: max(8px, 2.1cqw);
  font-weight: 600;
  color: var(--muted);
}
.hv-chart__foot span { flex: 1; text-align: center; }

.hv-pill {
  position: absolute;
  left: 3%;
  bottom: 25%;
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 1.8cqw 4cqw 1.8cqw 1.8cqw;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--champagne);
  font-size: max(10px, 2.7cqw);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.hv-pill__icon {
  display: grid;
  place-items: center;
  width: 7cqw;
  height: 7cqw;
  border-radius: 50%;
  background: rgba(245, 234, 212, .12);
}
.hv-pill__icon .icon { width: 3.6cqw; height: 3.6cqw; color: var(--gold-light); }

.hv-badge {
  position: absolute;
  top: 0;
  right: 4%;
  width: 25cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.hv-badge__ring {
  width: 100%;
  height: 100%;
  animation: spin 36s linear infinite;
}
.hv-badge__ring text {
  font-family: var(--font-sans);
  font-size: 8.4px;
  font-weight: 700;
  letter-spacing: 1.85px;
  fill: var(--burgundy);
}
.hv-badge__center {
  position: absolute;
  inset: 30%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--gold-light);
}
.hv-badge__center .icon { width: 55%; height: 55%; }

.float-a { animation: float 7s ease-in-out infinite; }
.float-b { animation: float 8s ease-in-out -3s infinite; }
.float-c { animation: float 6s ease-in-out -1.5s infinite; }

@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bar-grow { from { transform: scaleY(0); } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  background: var(--burgundy);
  color: var(--champagne);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}
.marquee span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  white-space: nowrap;
}
.marquee i {
  width: 7px;
  height: 7px;
  background: var(--gold-light);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services { background: var(--champagne); }

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.service__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 36px;
}
.service__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--champagne);
  color: var(--burgundy);
  transition: background-color .3s, color .3s;
}
.service:hover .service__icon { background: var(--burgundy); color: var(--champagne); }
.service__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  font-variant-numeric: lining-nums;
  color: var(--gold);
}

.service__title {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
}
.service__text {
  margin-bottom: 22px;
  font-size: 15.5px;
  color: var(--muted);
}
.service__list {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.service__list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
}
.service__list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: .5em;
  border-radius: 50%;
  background: var(--burgundy);
}
.service__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: auto;
}
.service__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--burgundy);
  text-decoration: none;
}
.service__link .icon { width: 17px; height: 17px; stroke-width: 2; transition: transform .25s var(--ease); }
.service__link:hover .icon { transform: translateX(3px); }
.service__link--muted { color: var(--muted); font-weight: 600; }
.service__link--muted:hover { color: var(--burgundy); }

.service--featured {
  border-color: transparent;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(122, 34, 72, .9) 0%, rgba(122, 34, 72, 0) 60%),
    var(--burgundy);
  color: var(--champagne);
}
.service--featured::before,
.service--featured::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 234, 212, .12);
  pointer-events: none;
}
.service--featured::before { width: 420px; height: 420px; right: -150px; top: -190px; }
.service--featured::after { width: 280px; height: 280px; right: -80px; top: -120px; }
.service--featured .service__icon { background: rgba(245, 234, 212, .12); color: var(--champagne); }
.service--featured:hover .service__icon { background: var(--champagne); color: var(--burgundy); }
.service--featured .service__num { color: var(--gold-light); }
.service--featured .service__title { font-size: clamp(30px, 3vw, 40px); }
.service--featured .service__text { max-width: 560px; color: rgba(245, 234, 212, .78); }
.service--featured .service__list { grid-template-columns: 1fr; gap: 12px 28px; max-width: 640px; }
.service--featured .service__list li::before { background: var(--gold-light); }
.service--featured .service__link { color: var(--champagne); }
.service--featured .service__link--muted { color: rgba(245, 234, 212, .7); }
.service--featured .service__link--muted:hover { color: var(--champagne); }

@media (min-width: 641px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service { padding: 32px; }
  .service--featured { grid-column: span 2; }
  .service--featured .service__list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1081px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Service catalog (tabs) ---------- */
.catalog { margin-top: clamp(72px, 9vw, 112px); }
.catalog__head { max-width: 640px; margin-bottom: 32px; }
.catalog__head .section-lead { margin-top: 14px; }

/* Phones: full-bleed strip that scrolls sideways */
.catalog__tabs {
  display: flex;
  gap: 6px;
  margin: 0 calc(var(--gutter) * -1) 20px;
  padding: 6px var(--gutter);
  overflow-x: auto;
  border-block: 1px solid var(--line);
  background: var(--paper);
  scrollbar-width: none;
}
.catalog__tabs::-webkit-scrollbar { display: none; }
.catalog__tab {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.catalog__tab .icon { width: 18px; height: 18px; color: var(--burgundy); transition: color .25s; }
.catalog__tab:hover { background: var(--champagne); }
.catalog__tab[aria-selected="true"] { background: var(--burgundy); color: var(--champagne); }
.catalog__tab[aria-selected="true"] .icon { color: var(--gold-light); }

/* Panel: category card + its services.
   Phones: stacked. Desktop: card on the left, accordion on the right. */
.catalog__panel {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.js .catalog__panel:not(.is-active) { display: none; }
.js .catalog__panel.is-active { animation: panel-in .45s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; translate: 0 10px; } }
.catalog__panel:focus-visible { outline-offset: 4px; }
.catalog__panel + .catalog__panel { margin-top: 20px; }

.catalog__intro {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 24px;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(122, 34, 72, .95) 0%, rgba(122, 34, 72, 0) 65%),
    var(--burgundy);
  color: var(--champagne);
}
.catalog__intro::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  right: -170px;
  bottom: -170px;
  border-radius: 50%;
  border: 1px solid rgba(245, 234, 212, .12);
  pointer-events: none;
}
.catalog__intro-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(245, 234, 212, .12);
  color: var(--gold-light);
}
.catalog__intro-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
}
.catalog__intro-text { font-size: 15px; color: rgba(245, 234, 212, .76); }
.catalog__stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(245, 234, 212, .7);
}
.catalog__stat strong {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--gold-light);
}
.catalog__intro .btn { position: relative; z-index: 1; margin-top: 6px; }

.catalog__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 20px 8px;
  interpolate-size: allow-keywords; /* lets the accordion animate to height: auto */
}
.catalog__body--flat { padding-block: 20px; }

/* Accordion (native <details>, one group open at a time via name="") */
.catalog__group + .catalog__group { border-top: 1px solid var(--line); }
.catalog__group::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .4s var(--ease), content-visibility .4s allow-discrete;
}
.catalog__group[open]::details-content { block-size: auto; }

.catalog__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
}
.catalog__summary::-webkit-details-marker { display: none; }
.catalog__summary:focus-visible { outline-offset: 2px; }
.catalog__summary-num {
  flex: 0 0 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  font-variant-numeric: lining-nums;
  color: var(--gold);
}
.catalog__summary-title {
  flex: 1;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  transition: color .25s;
}
.catalog__summary:hover .catalog__summary-title,
.catalog__group[open] .catalog__summary-title { color: var(--burgundy); }
.catalog__count {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--champagne);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--burgundy);
}
.catalog__toggle {
  position: relative;
  flex: 0 0 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color .3s, border-color .3s;
}
.catalog__toggle::before,
.catalog__toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  margin: -.75px 0 0 -6px;
  border-radius: 2px;
  background: var(--burgundy);
  transition: transform .3s var(--ease), background-color .3s;
}
.catalog__toggle::after { transform: rotate(90deg); }
.catalog__group[open] .catalog__toggle { border-color: var(--burgundy); background: var(--burgundy); }
.catalog__group[open] .catalog__toggle::before,
.catalog__group[open] .catalog__toggle::after { background: var(--champagne); }
.catalog__group[open] .catalog__toggle::after { transform: rotate(0deg); }

.catalog__content { padding: 0 0 22px; }

.catalog__list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.catalog__list > li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.5;
}
.catalog__list > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .15em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--champagne) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B112F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Categories without sub-groups: items as tiles */
.catalog__list--tiles { gap: 10px; }
.catalog__list--tiles > li {
  padding: 14px 16px 14px 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}
.catalog__list--tiles > li::before { left: 16px; top: 16px; }

.catalog__sub {
  display: grid;
  gap: 7px;
  margin: 10px 0 2px;
  padding: 0;
  list-style: none;
}
.catalog__sub li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--muted);
}
.catalog__sub li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: 7px;
  height: 1.5px;
  background: var(--gold);
}
.catalog__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 2px;
  padding: 0;
  list-style: none;
}
.catalog__chips li {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--champagne);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--burgundy);
}

@media (min-width: 641px) {
  .catalog__tabs {
    width: max-content;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
  }
  .catalog__intro { padding: 36px; }
  .catalog__body { padding: 8px 36px 12px; }
  .catalog__body--flat { padding-block: 32px; }
  .catalog__summary { gap: 16px; padding: 22px 0; }
  .catalog__summary-num { flex-basis: 26px; font-size: 16px; }
  .catalog__summary-title { font-size: 20px; }
  .catalog__content { padding: 0 0 26px 42px; }
  .catalog__list--tiles { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 961px) {
  .catalog__panel { grid-template-columns: minmax(280px, 340px) 1fr; }
  .catalog__intro { padding: 44px 40px; }
  .catalog__intro-title { font-size: 32px; }
  .catalog__intro .btn { margin-top: auto; }
  .catalog__body { padding: 16px 48px; }
}

@media (min-width: 1081px) {
  .catalog__content .catalog__list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .catalog__item--wide { grid-column: 1 / -1; }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}
.about__quote {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.22;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.about__quote em { font-style: italic; color: var(--burgundy); }

.about__text p { margin-bottom: 16px; font-size: 17px; color: var(--muted); }
.about__text strong { color: var(--burgundy); font-weight: 700; }

.about__points {
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}
.about__points div {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.about__points dt {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--burgundy);
  white-space: nowrap;
}
.about__points dd {
  margin: 0;
  font-size: 15px;
  text-align: left;
  color: var(--muted);
}

@media (min-width: 641px) {
  .about__points div { flex-direction: row; gap: 24px; }
  .about__points dd { text-align: right; }
}

@media (min-width: 961px) {
  .about__grid { grid-template-columns: 1.1fr 1fr; }
  .about__text { padding-top: 46px; }
}

/* ---------- Principles ---------- */
.principles { padding-top: 0; }

.principles__panel {
  position: relative;
  overflow: hidden;
  padding: 44px 20px 20px;
  border-radius: 32px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(122, 34, 72, .95) 0%, rgba(122, 34, 72, 0) 60%),
    linear-gradient(170deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  color: var(--champagne);
}
.principles__panel::before,
.principles__panel::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 234, 212, .1);
  pointer-events: none;
}
.principles__panel::before { width: 720px; height: 720px; right: -260px; top: -380px; }
.principles__panel::after { width: 480px; height: 480px; right: -140px; top: -260px; }

.principles__head {
  position: relative;
  max-width: 760px;
  margin-bottom: 56px;
  padding-inline: 4px;
}
.principles__lead {
  max-width: 560px;
  margin-top: 20px;
  font-size: 17px;
  color: rgba(245, 234, 212, .74);
}

.principles__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.principle {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(245, 234, 212, .14);
  border-radius: 26px;
  background: rgba(245, 234, 212, .05);
  transition: background-color .4s var(--ease), color .4s, transform .4s var(--ease), border-color .4s;
}
.principle:hover {
  transform: translateY(-6px);
  border-color: transparent;
  background: var(--champagne);
  color: var(--burgundy);
}
.principle__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
  padding-bottom: 28px;
}
.principle__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(245, 234, 212, .28);
  border-radius: 50%;
  transition: border-color .4s, background-color .4s, color .4s;
}
.principle:hover .principle__icon { border-color: transparent; background: var(--burgundy); color: var(--champagne); }
.principle__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  font-variant-numeric: lining-nums;
  color: var(--gold-light);
  transition: color .4s;
}
.principle:hover .principle__num { color: var(--gold); }
.principle__en {
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: color .4s;
}
.principle:hover .principle__en { color: var(--gold); }
.principle__title {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 27px;
  line-height: 1.15;
}
.principle__text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(245, 234, 212, .74);
  transition: color .4s;
}
.principle:hover .principle__text { color: var(--muted); }

@media (min-width: 641px) {
  .principles__panel { padding: clamp(40px, 6vw, 88px); border-radius: var(--radius-xl); }
  .principles__head { padding-inline: 0; }
  .principles__grid { grid-template-columns: repeat(2, 1fr); }
  .principle { min-height: 260px; }
  .principle__top { padding-bottom: 44px; }
}

@media (min-width: 1081px) {
  .principles__grid { grid-template-columns: repeat(4, 1fr); }
  .principle { min-height: 320px; }
}

/* ---------- Process ---------- */
.process { background: var(--champagne); }
.process .section-head { margin-bottom: 64px; }

/* Phones: vertical timeline, number on the left, dashed line between steps */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  column-gap: 20px;
  padding-bottom: 32px;
}
.step::before {
  content: '';
  position: absolute;
  top: 64px;
  bottom: 4px;
  left: 30px;
  width: 1px;
  background: repeating-linear-gradient(180deg, rgba(91, 17, 47, .35) 0 6px, transparent 6px 12px);
}
.step:last-child::before { display: none; }
.step__num {
  position: relative;
  display: grid;
  place-items: center;
  grid-row: span 2;
  width: 60px;
  height: 60px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-serif);
  font-size: 24px;
  font-variant-numeric: lining-nums; /* Playfair defaults to old-style figures that sit off-centre */
  line-height: 1;
  padding-bottom: .16em; /* optical centring: the font's descent is larger than its cap overshoot */
  color: var(--burgundy);
}
.step:last-child .step__num { border-color: var(--burgundy); background: var(--burgundy); color: var(--champagne); }
.step h3 {
  align-self: center;
  margin: 12px 0 4px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 25px;
}
.step p { font-size: 15.5px; color: var(--muted); }

@media (min-width: 641px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .step { display: block; padding-bottom: 0; }
  .step::before { content: none; }
  .step__num { grid-row: auto; margin-bottom: 26px; }
  .step h3 { align-self: auto; margin: 0 0 8px; }
}

/* Desktop: one row with a dashed connector from the first to the last circle */
@media (min-width: 961px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: calc((100% - 3 * 28px) / 4 - 30px); /* stop at the last circle's centre */
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(91, 17, 47, .35) 0 6px, transparent 6px 12px);
  }
}

/* ---------- Contact ---------- */
.contact__panel {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.contact__info {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(80% 60% at 100% 100%, rgba(122, 34, 72, .9) 0%, rgba(122, 34, 72, 0) 70%),
    var(--burgundy);
  color: var(--champagne);
}
.contact__info::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -210px;
  bottom: -210px;
  border-radius: 50%;
  border: 1px solid rgba(245, 234, 212, .12);
  pointer-events: none;
}
.contact__title {
  margin: 16px 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
  text-wrap: balance;
}
.contact__title em { font-style: italic; color: var(--gold-light); }
.contact__lead { max-width: 420px; color: rgba(245, 234, 212, .76); }

.contact__list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  margin: 32px -12px 0;
  padding: 0;
  list-style: none;
}
.contact__list a,
.contact__list div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 18px;
  color: var(--champagne);
  text-decoration: none;
  transition: background-color .2s;
}
.contact__list a:hover { background: rgba(245, 234, 212, .08); }
.contact__ic {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(245, 234, 212, .1);
  color: var(--gold-light);
}
.contact__ic .icon { width: 21px; height: 21px; }
.contact__list small {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 234, 212, .6);
}
.contact__list b { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }

.contact__form { padding: clamp(32px, 5vw, 64px); }
.form-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 30px;
}
.form-sub { margin: 6px 0 28px; font-size: 15px; color: var(--muted); }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field label { font-size: 13.5px; font-weight: 700; }
.field label span { font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  font: inherit;
  font-size: 16px;
  color: var(--charcoal);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input::placeholder,
.field textarea::placeholder { color: #A89A94; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235B112F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(91, 17, 47, .1);
}
.field__error { display: none; font-size: 13px; font-weight: 500; color: var(--danger); }
.field.is-invalid input { border-color: var(--danger); }
.field.is-invalid .field__error { display: block; }

.form-status:empty { display: none; }
.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--champagne);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--burgundy);
}
.form-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.form-note .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--burgundy); }

@media (min-width: 641px) {
  .contact__panel { border-radius: var(--radius-xl); }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 961px) {
  .contact__panel { grid-template-columns: 1fr 1.08fr; }
}

/* ---------- Social links ---------- */
.social {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 234, 212, .14);
}
.social__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 234, 212, .6);
}
.social__links { display: flex; gap: 10px; }
.social__btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(245, 234, 212, .1);
  color: var(--gold-light);
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.social__btn:hover { background: var(--champagne); color: var(--burgundy); transform: translateY(-2px); }
.social__btn .icon { width: 21px; height: 21px; }
.footer__social { margin-top: 24px; }
.footer .social__btn:hover { color: var(--burgundy); }

[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.footer {
  padding: 80px 0 96px; /* room for the floating WhatsApp button */
  background: var(--charcoal);
  color: rgba(245, 234, 212, .7);
  font-size: 15px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245, 234, 212, .12);
}
.footer__brand { grid-column: 1 / -1; }
.footer__brand p { max-width: 360px; margin-top: 22px; }
.footer__title {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.footer__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--champagne); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 14px;
}

@media (min-width: 641px) {
  .footer { padding-bottom: 28px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1081px) {
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--champagne);
  box-shadow: 0 16px 32px -12px rgba(91, 17, 47, .75);
  transition: transform .25s var(--ease), background-color .25s;
}
.fab:hover { transform: translateY(-3px) scale(1.04); background: var(--burgundy-deep); }
.fab .icon { width: 26px; height: 26px; }

@media (min-width: 641px) {
  .fab { right: 20px; bottom: 20px; width: 58px; height: 58px; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; }
.js .reveal.is-visible { animation: reveal .9s var(--ease) var(--d, 0ms) both; }
@keyframes reveal {
  from { opacity: 0; translate: 0 28px; }
  to   { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
}
