/* ============================================
   Moysés Mascarenhas — Stylesheet
   Paleta: Azul Noite + Dourado Âmbar + Bordô Veludo
   Tipografia: EB Garamond (display) + Figtree (body)
   ============================================ */

/* ------------------------------------------
   1. CUSTOM PROPERTIES
   ------------------------------------------ */
:root {
  /* Colors — OKLCH */
  --color-bg:           oklch(0.22 0.04 240);
  --color-surface:      oklch(0.27 0.04 240);
  --color-surface-2:    oklch(0.32 0.04 240);
  --color-primary:      oklch(0.71 0.12 68);    /* warm gold */
  --color-primary-deep: oklch(0.60 0.13 68);    /* deeper gold, hover */
  --color-accent:       oklch(0.31 0.10 12);    /* deep burgundy — CTAs */
  --color-accent-hover: oklch(0.38 0.12 12);
  --color-ink:          oklch(0.93 0.015 75);   /* warm ivory — body text */
  --color-muted:        oklch(0.66 0.018 75);   /* secondary text — contrast-safe on both bg and surface */
  --color-faint:        oklch(0.42 0.02 75);    /* tertiary / decorative */
  --color-divider:      oklch(0.35 0.03 240 / 0.5);

  /* Typography */
  --font-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Figtree', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --sp-xs:  0.5rem;    /*  8px */
  --sp-sm:  1rem;      /* 16px */
  --sp-md:  1.5rem;    /* 24px */
  --sp-lg:  2.5rem;    /* 40px */
  --sp-xl:  4rem;      /* 64px */
  --sp-2xl: 6rem;      /* 96px */
  --sp-3xl: 9rem;      /* 144px */

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   10px;
  --radius-full: 9999px;

  /* Z-index */
  --z-floating: 10;
  --z-nav:      20;

  /* Easing */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w: 1200px;
  --pad:   clamp(1rem, 5vw, 4rem);
}

/* ------------------------------------------
   2. RESET & BASE
   ------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px;
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }

/* ------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------ */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--color-ink);
  margin-bottom: var(--sp-xl);
}

/* ------------------------------------------
   4. LAYOUT
   ------------------------------------------ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ------------------------------------------
   5. BUTTONS
   ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition:
    background 200ms var(--ease-out-quart),
    color      200ms var(--ease-out-quart),
    border-color 200ms var(--ease-out-quart),
    transform  200ms var(--ease-out-quart);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-ink);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  padding: 0.625rem 1.25rem;
  border: 1px solid color-mix(in oklch, var(--color-ink) 20%, transparent);
  border-radius: var(--radius-sm);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: gap 200ms var(--ease-out-quart);
}
.link-arrow:hover { gap: 0.625rem; }

/* ------------------------------------------
   6. NAVIGATION
   ------------------------------------------ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-nav);
  padding-block: var(--sp-sm);
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background   400ms var(--ease-out-quart),
    border-color 400ms var(--ease-out-quart);
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: color-mix(in oklch, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--color-divider);
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--color-ink);
  transition: color 200ms var(--ease-out-quart);
}
.nav__logo:hover { color: var(--color-primary); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.nav__link {
  font-size: 0.875rem;
  color: var(--color-muted);
  transition: color 200ms var(--ease-out-quart);
}
.nav__link:hover { color: var(--color-ink); }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-xs);
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-ink);
  transition: transform 300ms var(--ease-out-quart), opacity 300ms var(--ease-out-quart);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background: var(--color-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-lg);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity     300ms var(--ease-out-quart),
    visibility  300ms var(--ease-out-quart);
}
.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
}
.nav-mobile__link {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  color: var(--color-ink);
  transition: color 200ms var(--ease-out-quart);
}
.nav-mobile__link:hover { color: var(--color-primary); }
.nav-mobile__cta {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  margin-top: var(--sp-sm);
}

/* ------------------------------------------
   7. HERO
   ------------------------------------------ */
.hero {
  min-height: 100svh;
  position: relative;
}

.hero__content {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 100svh;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--sp-3xl) + var(--sp-xl));
  padding-inline: var(--pad);
  padding-inline-end: var(--sp-xl);
}

.hero__headline {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  letter-spacing: -0.025em;
  color: var(--color-ink);
  margin-bottom: var(--sp-sm);
  max-width: 14ch;
}

.hero__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--color-primary);
  margin-bottom: var(--sp-md);
}

.hero__desc {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 50ch;
  margin-bottom: var(--sp-lg);
  line-height: 1.75;
}

.hero__cta { align-self: flex-start; }

/* Photo slot */
.hero__photo-slot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    155deg,
    oklch(0.29 0.05 225) 0%,
    oklch(0.19 0.04 248) 60%,
    oklch(0.24 0.06 230) 100%
  );
  box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--color-primary) 38%, transparent);
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Vídeo: centraliza verticalmente (lareira, ambiente) */
.hero__photo-slot video.hero__photo {
  object-position: center center;
}

/* Dark overlay — escurece foto/vídeo sem afetar o texto */
.hero__photo-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: oklch(0 0 0 / 0.58);
  pointer-events: none;
}

/* Left-edge vignette for text/photo blend */
.hero__photo-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    oklch(0.22 0.04 240 / 0.35) 0%,
    transparent 35%
  );
  pointer-events: none;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-lg);
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.9; transform: scaleY(1); transform-origin: top; }
  50%       { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line { animation: none; opacity: 0.4; }
}

/* ------------------------------------------
   7b. FIRE SCENE (Opção A do hero photo slot)
   ------------------------------------------ */
.fire-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Flames scale from their base (bottom-center) */
.flame {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.flame-back  { animation: flicker-back  2.9s ease-in-out infinite; }
.flame-left  { animation: flicker-left  2.2s ease-in-out infinite; }
.flame-right { animation: flicker-right 3.3s ease-in-out infinite; }
.flame-front { animation: flicker-front 1.8s ease-in-out infinite; }

@keyframes flicker-back {
  0%, 100% { transform: scaleY(1)    scaleX(1);    opacity: 0.95; }
  28%       { transform: scaleY(0.86) scaleX(1.08); opacity: 0.87; }
  55%       { transform: scaleY(1.06) scaleX(0.96); opacity: 1;    }
  78%       { transform: scaleY(0.93) scaleX(1.04); opacity: 0.92; }
}

@keyframes flicker-left {
  0%, 100% { transform: scaleY(1)    translateX(0);    opacity: 0.88; }
  38%       { transform: scaleY(0.81) translateX(-4px); opacity: 0.76; }
  70%       { transform: scaleY(1.07) translateX(2px);  opacity: 0.94; }
}

@keyframes flicker-right {
  0%, 100% { transform: scaleY(0.96) translateX(0);    opacity: 0.86; }
  42%       { transform: scaleY(1.09) translateX(3px);  opacity: 0.97; }
  74%       { transform: scaleY(0.84) translateX(-3px); opacity: 0.80; }
}

@keyframes flicker-front {
  0%, 100% { transform: scaleY(1);    opacity: 0.62; }
  48%       { transform: scaleY(0.74); opacity: 0.44; }
  82%       { transform: scaleY(0.87); opacity: 0.56; }
}

.scene-glow  { animation: scene-breathe 3.8s ease-in-out infinite; }
.floor-glow  { animation: scene-breathe 3.1s ease-in-out infinite; }
.glow-pulse  { animation: glow-pulse    2.7s ease-in-out infinite; }
.embers      { animation: ember-pulse   2.1s ease-in-out infinite; }

@keyframes scene-breathe {
  0%, 100% { opacity: 1;    }
  50%       { opacity: 0.60; }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.20; }
  50%       { opacity: 0.07; }
}

@keyframes ember-pulse {
  0%, 100% { opacity: 0.70; }
  50%       { opacity: 0.28; }
}

@media (prefers-reduced-motion: reduce) {
  .flame,
  .scene-glow,
  .floor-glow,
  .glow-pulse,
  .embers {
    animation: none;
  }
}

/* ------------------------------------------
   8. SOBRE
   ------------------------------------------ */
.sobre {
  padding-block: var(--sp-3xl);
  border-top: 1px solid var(--color-divider);
}

.sobre__inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(var(--sp-xl), 7vw, var(--sp-2xl));
  align-items: start;
}

/* Photo slot */
.sobre__photo-slot {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    170deg,
    oklch(0.27 0.05 230) 0%,
    oklch(0.18 0.04 250) 55%,
    oklch(0.23 0.06 225) 100%
  );
  border: 1.5px solid color-mix(in oklch, var(--color-primary) 45%, transparent);
  box-shadow:
    0 0 0 6px var(--color-bg),
    0 0 0 7.5px color-mix(in oklch, var(--color-primary) 22%, transparent);
}

.sobre__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Content column */
.sobre__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.sobre__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.45;
  color: var(--color-ink);
  position: relative;
}

.sobre__quote::before {
  content: '\201C';
  display: block;
  font-size: 4em;
  line-height: 0.75;
  color: var(--color-primary);
  opacity: 0.45;
  font-style: normal;
  margin-bottom: 0.15em;
}

.sobre__body p {
  color: var(--color-muted);
  line-height: 1.75;
  max-width: 58ch;
  margin-bottom: var(--sp-md);
}
.sobre__body p:last-child { margin-bottom: 0; }

/* Formação */
.sobre__formacao {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md) var(--sp-xl);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--color-divider);
}

.sobre__cred-nome {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--color-muted);
  line-height: 1.3;
  margin-bottom: 0.2em;
}

.sobre__cred-inst {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

/* ------------------------------------------
   9. COMO FUNCIONA
   ------------------------------------------ */
.como-funciona {
  padding-block: var(--sp-3xl);
  background: var(--color-surface);
}

/* Default flow (fallback sem JS / reduced motion) */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  max-width: 820px;
  margin-inline: auto;
  /* position:relative e height definidos via JS quando a animação está ativa */
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(var(--sp-md), 4vw, var(--sp-xl));
  align-items: center;
  padding: clamp(var(--sp-lg), 4vw, var(--sp-xl));
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border-top: 1.5px solid color-mix(in oklch, var(--color-primary) 32%, transparent);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.step__number {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: color-mix(in oklch, var(--color-primary) 22%, transparent);
  user-select: none;
  min-width: 1.5ch;
  text-align: center;
}

.step__title {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--sp-xs);
  line-height: 1.3;
}

.step__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ------------------------------------------
   10. PARA QUEM É — card stack
   ------------------------------------------ */
.para-quem {
  padding-block: var(--sp-3xl);
}

/* Default layout: normal flow (fallback sem JS / reduced motion) */
.card-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  max-width: 820px;
  margin-inline: auto;
  /* position:relative e height são definidos via JS quando a animação está ativa */
}

.audience-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(var(--sp-md), 4vw, var(--sp-xl));
  align-items: center;
  padding: clamp(var(--sp-lg), 4vw, var(--sp-xl));
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border-top: 1.5px solid color-mix(in oklch, var(--color-primary) 32%, transparent);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.audience-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-ink);
}

.audience-card__desc {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.75;
  max-width: 52ch;
}

/* ------------------------------------------
   12. CTA FINAL
   ------------------------------------------ */
.cta-final {
  padding-block: var(--sp-3xl);
  text-align: center;
  background: var(--color-surface);
}

.cta-final .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-final__title {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  margin-bottom: var(--sp-md);
  color: var(--color-ink);
}

.cta-final__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-muted);
  max-width: 46ch;
  margin-bottom: var(--sp-xl);
  line-height: 1.55;
}

/* ------------------------------------------
   13. FOOTER
   ------------------------------------------ */
.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--sp-xl);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--color-divider);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-ink);
}
.footer__crp {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.footer__info {
  font-size: 0.875rem;
  color: var(--color-muted);
  align-self: center;
}

.footer__links {
  display: flex;
  gap: var(--sp-md);
  align-self: center;
}
.footer__link {
  font-size: 0.875rem;
  color: var(--color-muted);
  transition: color 200ms var(--ease-out-quart);
}
.footer__link:hover { color: var(--color-primary); }

.footer__legal p {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* ------------------------------------------
   14. FLOATING WHATSAPP
   ------------------------------------------ */
.whatsapp-float {
  position: fixed;
  bottom: var(--sp-lg);
  right: var(--sp-lg);
  z-index: var(--z-floating);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px oklch(0.15 0.08 12 / 0.5);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
  transition:
    opacity   300ms var(--ease-out-quart),
    transform 300ms var(--ease-out-quart),
    background 200ms var(--ease-out-quart),
    box-shadow 200ms var(--ease-out-quart);
}
.whatsapp-float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.whatsapp-float:hover {
  background: var(--color-accent-hover);
  transform: scale(1) translateY(-3px);
  box-shadow: 0 8px 32px oklch(0.15 0.08 12 / 0.6);
}
.whatsapp-float:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

/* ------------------------------------------
   15. RESPONSIVE — 900px
   ------------------------------------------ */
@media (max-width: 900px) {

  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav-mobile { display: flex; }

  .hero__content {
    grid-template-columns: 1fr;
    grid-template-rows: 50svh auto;
    min-height: auto;
  }
  .hero__photo-slot {
    order: -1;
    min-height: 50svh;
  }
  .hero__text {
    padding-block: var(--sp-xl);
    padding-inline-end: var(--pad);
    justify-content: flex-start;
  }
  .hero__headline {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
    max-width: 100%;
  }

  .sobre__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }

  .sobre__photo-slot {
    aspect-ratio: 3 / 2;
    max-height: 280px;
  }

  .sobre__formacao {
    gap: var(--sp-md) var(--sp-lg);
  }

  .audience-card {
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--sp-sm);
  }
  .footer__info,
  .footer__links { align-self: flex-start; }
}

/* ------------------------------------------
   16. RESPONSIVE — 600px
   ------------------------------------------ */
@media (max-width: 600px) {
  :root {
    --sp-3xl: 6rem;
    --sp-2xl: 4rem;
    --sp-xl:  3rem;
  }

  .whatsapp-float {
    bottom: var(--sp-md);
    right: var(--sp-md);
  }
}

/* ------------------------------------------
   17. ACCESSIBILITY UTILITIES
   ------------------------------------------ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-sm);
  z-index: calc(var(--z-nav) + 10);
  padding: 0.75rem 1.25rem;
  background: var(--color-primary);
  color: var(--color-bg);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 150ms var(--ease-out-quart);
}

.skip-link:focus {
  top: var(--sp-sm);
}
