/* ===== tokens ===== */
:root {
  --navy: #000042;
  --cream: #ffeedf;
  --brown: #864322;
  --white: #ffffff;
  --offwhite: #f7f7ff;
  --black: #000000;
  --magenta: #ff00ef;
  --red: #f90102;
  --imsg-blue: #007aff;
  --imsg-gray: #e9e9eb;

  --font-display: 'Josefin Slab', 'Times New Roman', serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;

  --container: min(1280px, 92vw);
}

/* ===== reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--white);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }

/* ===== shared ===== */
.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 100px);
  line-height: 1.05;
  text-align: center;
  margin: 0 0 48px;
  position: relative;
}

.sparkle {
  display: inline-block;
  color: var(--magenta);
  vertical-align: top;
}
.sparkle--lg { font-size: 0.32em; transform: translate(-0.4em, 0.3em); }
.sparkle--sm { font-size: 0.18em; transform: translate(-1.2em, 0.1em); }
.sparkle-cluster {
  display: inline-block;
  position: relative;
  width: 0;
  height: 0;
  vertical-align: super;
}
.sparkle--accent {
  position: absolute;
  font-size: 0.18em;
  color: var(--red);
  top: -0.7em;
  left: 0.4em;
}
.sparkle--accent-sm {
  position: absolute;
  font-size: 0.10em;
  color: var(--red);
  top: -0.2em;
  left: 0.25em;
}

.sparkle__glyph {
  display: inline-block;
  animation: sparkleTwinkle 2.6s ease-in-out infinite;
  transform-origin: center;
}
.sparkle--sm .sparkle__glyph { animation-delay: 0.7s; animation-duration: 3.1s; }
.sparkle--accent .sparkle__glyph { animation-duration: 3.4s; animation-delay: 0.4s; }
.sparkle--accent-sm .sparkle__glyph { animation-duration: 2.8s; animation-delay: 1.5s; }

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.6); }
}

.check { display: inline-block; width: 1.2em; color: var(--white); font-weight: 600; }
.checkbox {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-right: 12px; vertical-align: middle;
  border: 1.5px solid var(--white); border-radius: 50%;
  font-size: 14px; line-height: 1; flex-shrink: 0;
}

/* ===== hero ===== */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--offwhite);
  min-height: 100vh;
  padding: 32px 24px 64px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero__contact {
  position: absolute; top: 28px; right: 32px;
  background: var(--offwhite); color: var(--black);
  border: 1px solid var(--black); border-radius: 999px;
  padding: 10px 22px;
  font: 600 14px/1 var(--font-body);
  letter-spacing: 0.05em;
  text-decoration: none;
  filter: drop-shadow(0 8px 6px rgba(13, 235, 68, 0.25));
  z-index: 5;
}
.hero__contact:hover { background: var(--white); }

.hero__logo {
  width: clamp(180px, 22vw, 280px);
  margin: 16px auto 0;
}
.hero__logo img { width: 100%; height: auto; display: block; }

.hero__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 7.2vw, 82px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin: 4vh 0 32px;
  color: var(--offwhite);
  max-width: 970px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  min-height: 2.4em;
}
.hero__heading-text { white-space: pre-wrap; }
.hero__caret {
  display: inline-block;
  width: 2px;
  height: 0.92em;
  background: var(--offwhite);
  vertical-align: -0.06em;
  margin-left: 2px;
  animation: blink 1.05s step-end infinite;
  opacity: 0;
}
.hero__heading.is-typing .hero__caret { opacity: 1; }
@keyframes blink { 50% { opacity: 0; } }

.hero__subheading {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: -0.01em;
  margin: 0 auto 56px;
  max-width: 740px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.hero__subheading.is-visible { opacity: 1; transform: none; }

.hero__arrow {
  display: inline-block;
  width: 24px;
  height: 60px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 700ms ease-out 200ms, transform 700ms ease-out 200ms;
}
.hero__arrow.is-visible {
  opacity: 1;
  transform: none;
  animation: bobArrow 1.5s cubic-bezier(0.5, 0, 0.5, 1) 1s infinite;
}
@keyframes bobArrow {
  0%   { transform: translateY(0); }
  35%  { transform: translateY(18px); }
  55%  { transform: translateY(8px); }
  72%  { transform: translateY(14px); }
  100% { transform: translateY(0); }
}

/* hero pink burst — sparks emitting from top-right of "Stuff" */
.hero__burst {
  display: inline-block;
  width: 0.6em;
  vertical-align: top;
  margin-left: -0.1em;      /* tuck close to the period */
  margin-top: -0.32em;      /* lift above the text line */
  opacity: 0;
  transform: scale(0.15) rotate(-25deg);
  transform-origin: 18% 75%;     /* emit point: bottom-left of the burst */
  transition: opacity 350ms ease-out, transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  line-height: 0;
}
.hero__burst img { width: 100%; height: auto; display: block; }
.hero__burst.is-visible {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  animation: burstTwinkle 2.6s ease-in-out 700ms infinite;
}
@keyframes burstTwinkle {
  0%, 100% { opacity: 1;    transform: scale(1)    rotate(0deg); }
  50%      { opacity: 0.55; transform: scale(0.86) rotate(8deg); }
}

/* ===== help ===== */
.help {
  background: var(--brown);
  color: var(--white);
  padding: clamp(64px, 9vw, 124px) 24px clamp(48px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.help__heading { color: var(--white); }
.help__row {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 0;
}
.help__row:first-of-type { padding-top: 16px; }
.help__label {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.help__label br { display: block; }
.help__list {
  font-size: 15px;
  line-height: 30px;
  column-count: 1;
  break-inside: avoid;
}
.help__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 360ms ease-out, transform 360ms ease-out;
}
.help__list.is-staggered li.is-visible { opacity: 1; transform: none; }

.help__list .check {
  display: inline-block;
  width: 1.2em;
  color: var(--white);
  font-weight: 600;
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 240ms ease-out, transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.help__list .check.is-checked {
  opacity: 1;
  transform: scale(1);
}

/* Scattered pink sparkles around the help section */
.help__sparkle {
  position: absolute;
  color: var(--magenta);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.help__sparkle--1 { top: 10%; left: 4%;   font-size: 28px; }
.help__sparkle--2 { top: 22%; right: 6%;  font-size: 18px; }
.help__sparkle--3 { top: 48%; left: 7%;   font-size: 22px; }
.help__sparkle--4 { top: 60%; right: 8%;  font-size: 26px; }
.help__sparkle--5 { top: 78%; left: 14%;  font-size: 16px; }
.help__sparkle--6 { top: 86%; right: 18%; font-size: 20px; }
.help__sparkle .sparkle__glyph {
  display: inline-block;
  animation: sparkleTwinkle 3s ease-in-out infinite;
  transform-origin: center;
}
.help__sparkle--1 .sparkle__glyph { animation-duration: 3.4s; animation-delay: 0s;   }
.help__sparkle--2 .sparkle__glyph { animation-duration: 2.8s; animation-delay: 1.2s; }
.help__sparkle--3 .sparkle__glyph { animation-duration: 4.0s; animation-delay: 0.6s; }
.help__sparkle--4 .sparkle__glyph { animation-duration: 3.2s; animation-delay: 2.0s; }
.help__sparkle--5 .sparkle__glyph { animation-duration: 3.8s; animation-delay: 0.3s; }
.help__sparkle--6 .sparkle__glyph { animation-duration: 2.6s; animation-delay: 1.6s; }

.help__divider {
  height: 1px;
  background: rgba(255,255,255,0.4);
  max-width: var(--container);
  margin: 0 auto;
}

/* split lists into 2 cols at 480+ items via grid spans on the second column */
@media (min-width: 760px) {
  .help__row {
    grid-template-columns: 220px 1fr 1fr;
  }
  .help__list {
    columns: 3;
    column-gap: 60px;
    width: 1000px;
  }
  .help__list li { break-inside: avoid; }
}

/* ===== bubbles ===== */
.bubbles {
  background: var(--cream);
  padding: clamp(60px, 8vw, 110px) 24px clamp(40px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.bubbles__heading {
  color: var(--navy);
  margin: 0 auto clamp(32px, 4vw, 56px);
}
.bubbles__inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  height: clamp(560px, 50vw, 720px);
}

.bubble {
  position: absolute;
  opacity: 0;
  transform: scale(0.4) translateY(12px);
  transition:
    opacity 280ms ease-out,
    transform 520ms cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center bottom;
  will-change: opacity, transform;
}
.bubble.is-popped {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.bubble p {
  margin: 0;
  padding: 14px 22px;
  font: 400 18px/1.4 var(--font-body);
  position: relative;
  word-wrap: break-word;
  border-radius: 22px;
}

/* Proper iMessage tails using clip-path on a single pseudo-element */
.bubble--sent p {
  background: var(--imsg-blue);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.bubble--sent p::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -7px;
  width: 16px;
  height: 18px;
  background: var(--imsg-blue);
  clip-path: path('M 0 0 L 0 18 L 16 18 Q 6 14 0 0 Z');
}

.bubble--received p {
  background: var(--imsg-gray);
  color: var(--black);
  border-bottom-left-radius: 4px;
}
.bubble--received p::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -7px;
  width: 16px;
  height: 18px;
  background: var(--imsg-gray);
  clip-path: path('M 16 0 L 16 18 L 0 18 Q 10 14 16 0 Z');
}

/* 8 scattered slot positions mirroring the Figma's bubble cloud */
.bubble--pos-1 { top: 4%;  left: 3%;   max-width: 38%; }
.bubble--pos-2 { top: 14%; right: 4%;  max-width: 22%; }
.bubble--pos-3 { top: 30%; left: 6%;   max-width: 24%; }
.bubble--pos-4 { top: 34%; left: 26%;  max-width: 36%; }
.bubble--pos-5 { top: 30%; right: 4%;  max-width: 38%; }
.bubble--pos-6 { top: 60%; right: 4%;  max-width: 30%; }
.bubble--pos-7 { top: 66%; left: 6%;   max-width: 38%; }
.bubble--pos-8 { top: 78%; left: 38%;  max-width: 32%; }

/* ===== background ===== */
.background {
  background: var(--brown);
  color: var(--white);
  padding: clamp(70px, 10vw, 130px) 24px clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.background__heading { color: var(--white); }

.background__decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.background__decor--1 { top: 14%; left: 8%;  font-size: 16px; color: var(--red); }
.background__decor--2 { top: 9%;  right: 12%; font-size: 22px; color: var(--magenta); }
.background__decor--3 { top: 26%; left: 18%; font-size: 14px; color: var(--magenta); }
.background__decor--4 { top: 6%;  right: 26%; font-size: 12px; color: var(--red); }
.background__decor--5 { top: 22%; right: 6%;  font-size: 18px; color: var(--white); transform: rotate(20deg); }
.background__decor--6 { top: 18%; left: 32%; font-size: 12px; color: var(--magenta); }
.background__decor .sparkle__glyph {
  display: inline-block;
  animation: sparkleTwinkle 3.4s ease-in-out infinite;
  transform-origin: center;
}
.background__decor--1 .sparkle__glyph { animation-duration: 3.2s; animation-delay: 0.0s; }
.background__decor--2 .sparkle__glyph { animation-duration: 3.8s; animation-delay: 1.0s; }
.background__decor--3 .sparkle__glyph { animation-duration: 4.2s; animation-delay: 0.4s; }
.background__decor--4 .sparkle__glyph { animation-duration: 3.0s; animation-delay: 2.1s; }
.background__decor--5 .sparkle__glyph { animation-duration: 3.6s; animation-delay: 1.6s; }
.background__decor--6 .sparkle__glyph { animation-duration: 2.8s; animation-delay: 0.8s; }

.background__grid {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
  position: relative;
  z-index: 1;
}

.background__portrait {
  position: relative;
  aspect-ratio: 162.438 / 208.344;
  width: 100%;
}
.portrait-frame-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.25));
}
.portrait-media {
  position: absolute;
  /* Inner cutout in the scalloped frame is roughly inset:
     top/bottom ~6.5%, left/right ~8.5% */
  top: 6.5%;
  bottom: 6.5%;
  left: 8.5%;
  right: 8.5%;
  overflow: hidden;
  background: #2c1612;
  z-index: 1;
}
.portrait-video, .portrait-still, .portrait-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-still {
  opacity: 0;
  transition: opacity 500ms ease-in-out;
  z-index: 2;
}
.portrait-still.is-frozen { opacity: 1; }

.background__copy { font-size: 15px; line-height: 1.55; }

.background__bottom {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 32px;
  max-width: var(--container);
  margin: clamp(32px, 5vw, 60px) auto 0;
  align-items: start;
}
.background__ways {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 36px);
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  grid-column: 2 / 3;
}
.background__ways-list {
  grid-column: 3 / 4;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 42px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.background__ways-list li {
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.background__ways-list.is-staggered li.is-visible { opacity: 1; transform: none; }

/* ===== marquee ===== */
.marquee {
  background: var(--navy);
  color: var(--white);
  height: 92px;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.marquee__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.15;
  text-transform: uppercase;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.5);
  height: 52px;
  display: flex;
  align-items: center;
  position: relative;
}
.marquee__track {
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}
.marquee__inner {
  display: flex;
  gap: 0;
  animation: marqueeScroll 40s linear infinite;
  will-change: transform;
}
.marquee__list {
  display: flex;
  gap: clamp(36px, 4vw, 64px);
  padding: 0 clamp(36px, 4vw, 64px) 0 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  white-space: nowrap;
}
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* ===== contact ===== */
.contact {
  background: var(--red);
  color: var(--white);
  padding: clamp(70px, 10vw, 130px) 24px clamp(60px, 8vw, 100px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact__heading { color: var(--white); margin-bottom: 8px; }
.contact__subheading {
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 56px;
}

.contact__body {
  position: relative;
  max-width: 626px;
  margin: 0 auto;
  min-height: 360px;
}
.contact__form {
  display: grid;
  gap: 28px;
}
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact__field {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.contact__field span {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.95;
}
.contact__field input,
.contact__field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--white);
  color: var(--white);
  padding: 12px 0;
  font: 400 16px/1.4 var(--font-body);
  resize: vertical;
  border-radius: 0;
}
.contact__field input:focus,
.contact__field textarea:focus {
  outline: none;
  border-bottom-color: var(--offwhite);
  box-shadow: 0 1px 0 0 var(--offwhite);
}
.contact__field textarea { min-height: 110px; }

.contact__submit {
  justify-self: center;
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
  border-radius: 999px;
  padding: 12px 36px;
  font: 600 14px/1 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 200ms ease, color 200ms ease;
}
.contact__submit:hover { background: var(--white); color: var(--red); }
.contact__submit:disabled { opacity: 0.6; cursor: progress; }

.contact__error {
  margin: 0;
  text-align: center;
  font-size: 14px;
  background: rgba(0,0,0,0.2);
  padding: 8px 12px;
  border-radius: 8px;
}

.contact__confirmation {
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 626px;
  margin: 0 auto;
  position: relative;
}

/* ----- form lift-off when sent ----- */
.contact__form.is-leaving { pointer-events: none; }
.contact__form.is-leaving .contact__field,
.contact__form.is-leaving .contact__submit {
  animation: formFieldLeave 520ms cubic-bezier(0.5, 0.0, 0.7, 0.2) forwards;
}
.contact__form.is-leaving .contact__row > .contact__field:nth-child(1) { animation-delay: 0ms;   }
.contact__form.is-leaving .contact__row > .contact__field:nth-child(2) { animation-delay: 70ms;  }
.contact__form.is-leaving .contact__field--full                        { animation-delay: 140ms; }
.contact__form.is-leaving .contact__submit                              { animation-delay: 220ms; }

@keyframes formFieldLeave {
  to {
    opacity: 0;
    transform: translateY(-36px) scale(0.94);
    filter: blur(2px);
  }
}

/* ----- success block: scales in with overshoot, confetti bursts ----- */
/* Fills the body wrapper and flex-centers the confirmation in the same
   region the form occupied */
.contact__success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: scale(0.5) translateY(40px);
  transition:
    opacity 380ms ease-out,
    transform 700ms cubic-bezier(0.34, 1.7, 0.5, 1);
}
.contact__success.is-arriving {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.confetti {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 1;
  line-height: 0;
}
.confetti img { width: 100%; height: auto; display: block; }
.contact__success.is-arriving .confetti {
  animation: confettiBurst 1100ms cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
/* Each piece: own destination, delay, and size */
.confetti--1 { width: 30px; --tx: -180px; --ty: -90px;  animation-delay: 60ms !important;  }
.confetti--2 { width: 22px; --tx: 170px;  --ty: -110px; animation-delay: 110ms !important; }
.confetti--3 { width: 56px; --tx: -210px; --ty: 10px;   animation-delay: 80ms !important;  }
.confetti--4 { width: 26px; --tx: 220px;  --ty: 30px;   animation-delay: 140ms !important; }
.confetti--5 { width: 18px; --tx: -110px; --ty: 110px;  animation-delay: 200ms !important; }
.confetti--6 { width: 50px; --tx: 100px;  --ty: 120px;  animation-delay: 180ms !important; }
.confetti--7 { width: 30px; --tx: 0;      --ty: -140px; animation-delay: 40ms !important;  }
.confetti--8 { width: 60px; --tx: 0;      --ty: 140px;  animation-delay: 220ms !important; }

@keyframes confettiBurst {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.3);  }
  18%  { opacity: 1; transform: translate(-50%, -50%) scale(1.25); }
  100% {
    opacity: 0;
    transform:
      translate(calc(-50% + var(--tx)), calc(-50% + var(--ty)))
      scale(0.55);
  }
}

/* ----- dynamically-spawned firework pieces (JS) ----- */
.firework-piece {
  position: absolute;
  display: block;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  z-index: 3;
  line-height: 0;
}
.firework-piece img { width: 100%; height: auto; display: block; }
.firework-piece.is-flying {
  animation: fireworkBurst 1200ms cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes fireworkBurst {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  20%  { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
  100% {
    opacity: 0;
    transform:
      translate(calc(-50% + var(--tx)), calc(-50% + var(--ty)))
      scale(0.55);
  }
}

.contact__sparkle {
  position: absolute;
  color: var(--white);
  font-size: 18px;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  animation-name: contactTwinkle;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
  will-change: opacity, transform;
}
.contact__sparkle--1 { top: 6%;  left: 10%;  font-size: 28px; animation-duration: 4.2s; animation-delay: 0s;   }
.contact__sparkle--2 { top: 19%; left: 18%;  font-size: 16px; animation-duration: 3.6s; animation-delay: 1.1s; }
.contact__sparkle--3 { top: 24%; left: 5%;   font-size: 18px; animation-duration: 4.8s; animation-delay: 2.0s; }
.contact__sparkle--4 { top: 56%; left: 7%;   font-size: 22px; animation-duration: 5.2s; animation-delay: 0.6s; }
.contact__sparkle--5 { top: 8%;  right: 6%;  font-size: 22px; animation-duration: 4.0s; animation-delay: 1.4s; }
.contact__sparkle--6 { top: 26%; right: 4%;  font-size: 18px; animation-duration: 4.6s; animation-delay: 0.3s; }
.contact__sparkle--7 { top: 48%; right: 12%; font-size: 16px; animation-duration: 3.4s; animation-delay: 2.4s; }
.contact__sparkle--8 { top: 70%; right: 8%;  font-size: 20px; animation-duration: 5.0s; animation-delay: 1.8s; }

@keyframes contactTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.55) rotate(0deg); }
  35%      { opacity: 0.95; transform: scale(1) rotate(15deg); }
  65%      { opacity: 0.95; transform: scale(1) rotate(-12deg); }
}

.hp { position: absolute !important; left: -10000px !important; opacity: 0; pointer-events: none; }

/* ===== mobile ===== */
@media (max-width: 760px) {
  .hero__contact { top: 16px; right: 16px; padding: 8px 16px; font-size: 12px; }
  .hero { padding: 24px 16px 48px; }
  .hero__heading { margin-top: 6vh; }

  .help, .background, .contact { padding-left: 16px; padding-right: 16px; }

  .bubbles__inner { height: clamp(720px, 140vw, 980px); }
  .bubble--pos-1 { max-width: 64%; }
  .bubble--pos-2 { max-width: 30%; }
  .bubble--pos-3 { max-width: 40%; }
  .bubble--pos-4 { max-width: 60%; }
  .bubble--pos-5 { max-width: 64%; }
  .bubble--pos-6 { max-width: 44%; }
  .bubble--pos-7 { max-width: 64%; }
  .bubble--pos-8 { max-width: 50%; }
  .bubble p { font-size: 16px; padding: 12px 18px; }
  .help__row, .background__grid, .background__bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .help__row:first-of-type .help__list { columns: 1; }
  .background__ways, .background__ways-list { grid-column: 1 / -1; }
  .background__portrait { max-width: 220px; margin: 0 auto; }

  .marquee { grid-template-columns: 1fr; height: auto; padding: 12px 0; }
  .marquee__label { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 8px; margin-bottom: 8px; }

  .contact__row { grid-template-columns: 1fr; gap: 20px; }
  .contact__body { min-height: 440px; }
}

/* ===== reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__heading-text::after { content: attr(data-typewriter); }
  .marquee__inner { animation: none; }
}
