/* ===================================================================
   Aywa Studios — "Black & Gold"
   =================================================================== */

:root {
  --ink: #0A0A0A;
  --panel: #161514;
  --gold: #B8902E;
  --gold-hover: #9C7A26;
  --slate: #3A3835;
  --muted: #9C9280;
  --paper: #B8902E;
  --body-text: #B7AE9C;
  --heading: #EFE7D6;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --wrap: 1120px;
  --section-pad: clamp(64px, 10vw, 128px);
}

* { box-sizing: border-box; }

/* Lenis smooth-scroll library styles (vendored from assets/js/vendor/lenis.min.js) */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(.16,.8,.24,1), transform 0.8s cubic-bezier(.16,.8,.24,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.stats__grid .reveal:nth-child(2),
.process__grid .reveal:nth-child(2),
.positioning__features .reveal:nth-child(2),
.proof__features .reveal:nth-child(2) { transition-delay: 0.1s; }
.stats__grid .reveal:nth-child(3),
.process__grid .reveal:nth-child(3),
.positioning__features .reveal:nth-child(3),
.proof__features .reveal:nth-child(3) { transition-delay: 0.2s; }
.process__grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* Icon badges pop in a beat after their card's text reveals */
.reveal .icon-badge {
  opacity: 0;
  transform: scale(0.4) rotate(-8deg);
  transition: opacity 0.5s ease 0.15s, transform 0.6s cubic-bezier(.34,1.56,.64,1) 0.15s;
}
.reveal.is-visible .icon-badge {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal .icon-badge {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  background: var(--ink);
}

main,
.footer {
  position: relative;
  z-index: 1;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 1000;
  font-family: var(--font-mono);
  text-decoration: none;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Shiny gold ---------- */

@keyframes gold-shimmer {
  to { background-position: -200% center; }
}

.eyebrow,
.wordmark,
.wordmark__accent,
.nav__cta,
.nav__links a,
.nav__mobile a,
.footer__nav a,
.footer__wordmark,
.svc__num,
.process__number,
.process__title,
.accent-gold {
  background-image: linear-gradient(
    100deg,
    var(--gold-hover) 30%,
    #E3C583 50%,
    var(--gold-hover) 70%
  );
  background-size: 220% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
  animation: gold-shimmer 4.5s linear infinite;
}

/* ---------- Headline keyword highlights ---------- */

.section-headline,
.hero__headline {
  color: var(--heading);
}

.nav__toggle span {
  background-image: linear-gradient(
    100deg,
    var(--gold-hover) 30%,
    #E3C583 50%,
    var(--gold-hover) 70%
  );
  background-size: 220% auto;
  animation: gold-shimmer 4.5s linear infinite;
}

@keyframes btn-shine {
  0% { left: -75%; }
  35% { left: 130%; }
  100% { left: 130%; }
}

@keyframes btn-glow {
  0%, 100% { box-shadow: 0 10px 26px -12px rgba(184, 144, 46, 0.55); }
  50% { box-shadow: 0 10px 32px -8px rgba(227, 197, 131, 0.8); }
}

.btn--primary {
  position: relative;
  overflow: hidden;
  animation: btn-glow 3s ease-in-out infinite;
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(227, 197, 131, 0.85) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: btn-shine 3.4s ease-in-out infinite;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow,
  .wordmark,
  .wordmark__accent,
  .nav__cta,
  .nav__links a,
  .nav__mobile a,
  .footer__nav a,
  .footer__wordmark,
  .svc__num,
  .accent-gold,
  .nav__toggle span,
  .btn--primary {
    animation: none;
  }
  .btn--primary::after { animation: none; display: none; }
}

/* ---------- Icons ---------- */

.icon {
  width: 26px;
  height: 26px;
  display: block;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold);
  color: var(--gold);
  margin: 0 0 18px;
  flex-shrink: 0;
}

/* ---------- Decorative background glows (fills dead edge space) ---------- */

.positioning,
.proof {
  position: relative;
  overflow: hidden;
}

.positioning::before,
.proof::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(100px);
}

.positioning::before {
  top: -18%;
  right: -12%;
  width: 480px;
  height: 480px;
  background: rgba(184, 144, 46, 0.12);
}

.proof::before {
  bottom: -20%;
  right: -10%;
  width: 460px;
  height: 460px;
  background: rgba(184, 144, 46, 0.10);
}

.positioning > .wrap,
.proof > .wrap {
  position: relative;
  z-index: 1;
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 24px;
  max-width: 18ch;
}

.body-text {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--body-text);
  max-width: 62ch;
  margin: 0;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 22px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 32px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease;
}

.btn--primary {
  background: linear-gradient(100deg, #E3C583, var(--gold) 45%, var(--gold-hover) 100%);
  color: var(--ink);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: linear-gradient(100deg, #E3C583, var(--gold-hover) 65%);
  border-color: var(--gold-hover);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 34px -10px rgba(227, 197, 131, 0.85);
}
.btn--primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn__arrow {
  display: inline-flex;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
}
.btn__arrow svg { width: 100%; height: 100%; display: block; }
.btn--primary:hover .btn__arrow,
.btn--primary:focus-visible .btn__arrow {
  transform: translateX(4px);
}

.btn--full { width: 100%; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .btn--primary:hover,
  .btn--primary:focus-visible {
    transform: none;
  }
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--slate);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.nav.is-scrolled {
  border-bottom-color: rgba(184, 144, 46, 0.4);
  box-shadow: 0 12px 32px -16px rgba(184, 144, 46, 0.25);
}

/* ---------- Scroll progress bar ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-hover), var(--gold) 55%, #E3C583);
  z-index: 300;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
}

/* ---------- Cursor-follow ambient glow ---------- */

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  margin-left: -240px;
  margin-top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 144, 46, 0.12), transparent 70%);
  transform: translate3d(var(--x, -1000px), var(--y, -1000px), 0);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.cursor-glow.is-active {
  opacity: 1;
}

.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__wordmark { text-decoration: none; display: flex; align-items: center; }

.nav__logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav__links a {
  text-decoration: none;
}

.nav__cta {
  border: 1px solid var(--gold);
  padding: 10px 20px;
  color: var(--gold) !important;
}
.nav__cta:hover {
  background: var(--gold);
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink);
  animation: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  height: 1px;
  width: 100%;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 24px;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav__mobile a {
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--slate);
}
.nav__mobile .nav__cta {
  border: none;
  padding: 14px 0;
  text-align: left;
}

.nav.is-open .nav__mobile { display: flex; }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(96px, 16vh, 160px) 0 var(--section-pad);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  max-width: 820px;
  will-change: transform;
}

.hero__logo {
  width: 100%;
  aspect-ratio: 2.25 / 1;
  margin: 0 auto clamp(32px, 6vw, 56px);
  will-change: transform;
}

.hero__logo canvas { display: block; width: 100%; height: 100%; }

/* ---------- Page header (standalone pages: Services, Apply) ---------- */

.page-header {
  padding: clamp(140px, 22vh, 200px) 0 var(--section-pad);
}

.page-header .section-headline { margin-bottom: 40px; }

.page-header__cta {
  margin-top: 48px;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  margin: 0 0 28px;
}

.hero__subhead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
  color: var(--body-text);
  max-width: 56ch;
  margin: 0 0 40px;
}

.hero__micro {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  margin: 18px 0 0;
  letter-spacing: 0.01em;
}

/* ---------- Positioning ---------- */

.positioning { padding: var(--section-pad) 0; }
.positioning__inner { max-width: 760px; }

.positioning__features,
.proof__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
  margin-top: 48px;
  max-width: none;
}

.feature-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--heading);
  margin: 0 0 6px;
}

.feature-item__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--body-text);
  margin: 0;
  max-width: 30ch;
}

@media (max-width: 760px) {
  .positioning__features,
  .proof__features { grid-template-columns: 1fr; }
}

/* ---------- Stats ---------- */

.stats { padding: var(--section-pad) 0; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--slate);
  border: 1px solid var(--slate);
  margin-top: 8px;
}

.stat-tile {
  background: var(--ink);
  padding: 40px 32px;
}

.stat-tile__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  margin: 0 0 14px;
}

.stat-tile__label {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body-text);
  margin: 0;
  max-width: 26ch;
}

@media (max-width: 900px) {
  .stats__grid { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */

.process { padding: var(--section-pad) 0; }

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 8px;
}

.process__number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}

.process__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 10px;
}

.process__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body-text);
  margin: 0;
}

@media (max-width: 900px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .process__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Proof ---------- */

.proof { padding: var(--section-pad) 0; }
.proof__inner { max-width: 760px; }

/* ---------- Application ---------- */

.apply { padding: var(--section-pad) 0; }
.apply__inner { max-width: 640px; }

.apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.field { display: flex; flex-direction: column; gap: 10px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  background: var(--panel);
  border: 1px solid var(--slate);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field textarea { resize: vertical; min-height: 96px; }

.field.has-error input,
.field.has-error textarea {
  border-color: #B8735E;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  background: var(--panel);
  border: 1px solid var(--slate);
  padding: 20px;
  transition: border-color 0.15s ease;
}
.field.has-error .checkbox-group { border-color: #B8735E; }

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--paper);
}

.checkbox input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  background: var(--ink);
  cursor: pointer;
  position: relative;
  outline: none;
  margin: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.checkbox input[type="checkbox"]:hover {
  border-color: var(--paper);
}
.checkbox input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(184, 144, 46, 0.22);
}
.checkbox input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 480px) {
  .checkbox-group { grid-template-columns: 1fr; }
}

/* ---------- Scheduler (placeholder calendar) ---------- */

.scheduler {
  background: var(--panel);
  border: 1px solid var(--slate);
  padding: 20px;
  transition: border-color 0.15s ease;
}

.field.has-error .scheduler { border-color: #B8735E; }

.scheduler__cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.scheduler__cal-month {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scheduler__nav {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--slate);
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.scheduler__nav:hover:not(:disabled) {
  border-color: var(--gold);
}
.scheduler__nav:disabled {
  color: var(--slate);
  cursor: default;
}

.scheduler__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.scheduler__weekdays span {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}

.scheduler__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.scheduler__day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.scheduler__day:hover:not(:disabled) {
  border-color: var(--gold);
}
.scheduler__day:disabled {
  color: var(--slate);
  cursor: default;
}
.scheduler__day.is-selected {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.scheduler__day--empty { visibility: hidden; }

.scheduler__times {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--slate);
}

.scheduler__times-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.scheduler__times-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scheduler__time {
  background: none;
  border: 1px solid var(--slate);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.scheduler__time:hover { border-color: var(--gold); }
.scheduler__time.is-selected {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.scheduler__selection {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}
.field.has-error .scheduler__selection { color: #B8735E; }

.apply__status {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
}
.apply__status.is-error { color: #B8735E; }

.apply__micro {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .apply-form { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--slate);
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 16px;
  margin: 0;
}

.footer__contact {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.footer__contact a { color: var(--muted); }

.footer__whatsapp { display: inline-flex; align-items: center; gap: 6px; }
.footer__whatsapp svg { width: 15px; height: 15px; flex-shrink: 0; }
.footer__whatsapp:hover,
.footer__contact a:hover { color: var(--gold); }

.footer__nav {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer__nav a { text-decoration: none; }

.footer__copyright {
  margin: 0 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__copyright { margin-left: 0; }
}

.footer__locations {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--slate);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 32px;
}

.footer__locations-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.footer__locations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .footer__locations { flex-direction: column; align-items: flex-start; }
}

/* ---------- Contact popup ---------- */

.contact-modal {
  width: min(440px, calc(100% - 32px));
  padding: 40px 32px 32px;
  border: 1px solid var(--gold);
  border-radius: 16px;
  background: var(--panel);
  color: var(--body-text);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
}
.contact-modal::backdrop {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(4px);
}
.contact-modal[open] { animation: contact-modal-in 0.3s cubic-bezier(.16,.8,.24,1); }

@keyframes contact-modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.contact-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.contact-modal__close:hover,
.contact-modal__close:focus-visible { color: var(--gold); }

.contact-modal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  color: var(--heading);
  margin: 0 0 24px;
}

.contact-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.contact-modal__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--slate);
  border-radius: 10px;
}
.contact-modal__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.contact-modal__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-modal__list a {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--heading);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-modal__list a:hover,
.contact-modal__list a:focus-visible { color: var(--gold); }

.contact-modal__whatsapp {
  margin-top: 20px;
  padding: 16px 24px;
}
.contact-modal__whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .contact-modal[open] { animation: none; }
}

/* ---------- Copy buttons (contact popup) ---------- */

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 6px;
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.copy-btn:empty { display: none; }
.copy-btn svg { width: 100%; height: 100%; display: block; }
.copy-btn:hover,
.copy-btn:focus-visible { color: var(--gold); border-color: var(--slate); }
.copy-btn.is-copied { color: var(--gold); }

.contact-modal .copy-btn { width: 38px; height: 38px; padding: 9px; border-color: var(--slate); }

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

/* ===================================================================
   Services page — animated service scenes
   =================================================================== */

.svc-header {
  padding-top: clamp(110px, 16vh, 150px);
  padding-bottom: clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.svc-header .section-headline { margin-bottom: 20px; }

/* ---------- Orbit system: services as planets around the Aywa sun ---------- */

.cosmos {
  position: relative;
  height: clamp(320px, 36vw, 440px);
  margin-top: 8px;
  display: grid;
  place-items: center;
  --squash: 0.36;
  --unsquash: 2.7778;
}

/* The orbit plane is squashed vertically so circles read as tilted ellipses;
   the sun and planets undo the squash so they stay round and upright. */
.cosmos__plane {
  position: relative;
  width: 0;
  height: 0;
  transform: scaleY(var(--squash));
}

.cosmos__orbit {
  position: absolute;
  width: var(--d);
  height: var(--d);
  left: calc(var(--d) / -2);
  top: calc(var(--d) / -2);
  border-radius: 50%;
  border: 2px solid rgba(184, 144, 46, 0.3);
  transform: rotateZ(var(--a));
  pointer-events: none;
  animation: orbit var(--t) linear infinite;
}
@keyframes orbit {
  from { transform: rotateZ(var(--a)); }
  to   { transform: rotateZ(calc(var(--a) + 360deg)); }
}

.cosmos__planet {
  position: absolute;
  left: 50%;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  pointer-events: auto;
  transform: translate(-50%, -50%) rotateZ(calc(var(--a) * -1)) scaleY(var(--unsquash));
  animation: planet-upright var(--t) linear infinite;
}
@keyframes planet-upright {
  from { transform: translate(-50%, -50%) rotateZ(calc(var(--a) * -1)) scaleY(var(--unsquash)); }
  to   { transform: translate(-50%, -50%) rotateZ(calc(var(--a) * -1 - 360deg)) scaleY(var(--unsquash)); }
}

/* Hovering the system pauses it so planets are easy to click */
.cosmos:hover .cosmos__orbit,
.cosmos:hover .cosmos__planet,
.cosmos:focus-within .cosmos__orbit,
.cosmos:focus-within .cosmos__planet { animation-play-state: paused; }

.cosmos__ball {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: inset -10px -8px 18px rgba(0, 0, 0, 0.75);
  filter: drop-shadow(0 0 10px rgba(227, 197, 131, 0.35));
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), filter 0.35s ease;
}
.cosmos__planet:hover .cosmos__ball,
.cosmos__planet:focus-visible .cosmos__ball {
  transform: scale(1.35);
  filter: drop-shadow(0 0 18px rgba(227, 197, 131, 0.85));
}

/* Videos & Reels: ringed gold giant */
.cosmos__ball--video {
  width: 56px;
  height: 56px;
  background: radial-gradient(circle at 32% 28%, #f4dea6, var(--gold) 45%, #4a3810 100%);
}
.cosmos__ball--video::after {
  content: "";
  position: absolute;
  left: -22px;
  right: -22px;
  top: 50%;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  border: 3px solid rgba(227, 197, 131, 0.75);
  border-top-color: rgba(227, 197, 131, 0.2);
  transform: rotate(-18deg);
}
/* Posts: cream world with craters */
.cosmos__ball--posts {
  background:
    radial-gradient(circle at 62% 38%, rgba(120, 100, 60, 0.55) 0 9%, transparent 10%),
    radial-gradient(circle at 36% 64%, rgba(120, 100, 60, 0.5) 0 7%, transparent 8%),
    radial-gradient(circle at 30% 28%, #fff7e6, #EFE7D6 40%, #7d7461 100%);
}
/* Brand Identity: dark world with a glowing gold rim and a moon */
.cosmos__ball--brand {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle at 30% 30%, #3a3835, #121110 70%);
  box-shadow: inset 0 0 0 2px rgba(227, 197, 131, 0.8);
}
.cosmos__ball--brand::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: -10px;
  right: -14px;
  background: #E3C583;
  box-shadow: 0 0 10px #E3C583;
}
/* Social Media Management: banded bronze giant */
.cosmos__ball--social {
  width: 52px;
  height: 52px;
  background:
    linear-gradient(170deg, transparent 0 22%, rgba(0,0,0,0.25) 22% 30%, transparent 30% 48%, rgba(239,231,214,0.25) 48% 54%, transparent 54% 70%, rgba(0,0,0,0.3) 70% 78%, transparent 78%),
    radial-gradient(circle at 30% 30%, #E3C583, var(--gold-hover) 50%, #3a2a0a 100%);
}

.cosmos__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--heading);
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid rgba(184, 144, 46, 0.45);
  border-radius: 999px;
  padding: 5px 12px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.cosmos__planet:hover .cosmos__label,
.cosmos__planet:focus-visible .cosmos__label { border-color: var(--gold); color: var(--gold); }

.cosmos__shoot { top: 8%; animation-duration: 6s; }
.cosmos__shoot--2 { top: 70%; animation-delay: 3.2s; animation-duration: 8s; }

@keyframes planet-idle {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 10px rgba(227, 197, 131, 0.35)); }
  50% { transform: translateY(-7px); filter: drop-shadow(0 0 16px rgba(227, 197, 131, 0.6)); }
}

@media (max-width: 760px) {
  /* A continuously-animated orbit can't guarantee readable spacing in
     a narrow column: 4 independently-timed circles will periodically
     cross paths. Below the tablet breakpoint, swap the orbit for a
     static, guaranteed-non-overlapping stack of planet cards, each
     with its own small idle float so the page still feels alive. */
  .cosmos { height: auto; }
  .cosmos__plane {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    height: auto;
    transform: none;
  }
  .cosmos__orbit {
    position: static;
    width: auto;
    height: auto;
    border: none;
    animation: none;
    transform: none;
  }
  .cosmos__planet {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(184, 144, 46, 0.25);
    border-radius: 18px;
    background: rgba(184, 144, 46, 0.05);
    transition: border-color 0.25s ease, background 0.25s ease;
    transform: none;
    animation: none;
  }
  .cosmos__planet:hover,
  .cosmos__planet:focus-visible {
    border-color: rgba(184, 144, 46, 0.6);
    background: rgba(184, 144, 46, 0.1);
  }
  .cosmos__orbit:nth-child(1) .cosmos__planet .cosmos__ball { animation: planet-idle 5s ease-in-out infinite; }
  .cosmos__orbit:nth-child(2) .cosmos__planet .cosmos__ball { animation: planet-idle 5.6s ease-in-out infinite 0.4s; }
  .cosmos__orbit:nth-child(3) .cosmos__planet .cosmos__ball { animation: planet-idle 4.6s ease-in-out infinite 0.9s; }
  .cosmos__orbit:nth-child(4) .cosmos__planet .cosmos__ball { animation: planet-idle 6.2s ease-in-out infinite 1.3s; }

  .cosmos__ball { width: 52px; height: 52px; flex-shrink: 0; }
  .cosmos__ball--video { width: 60px; height: 60px; }
  .cosmos__ball--video::after { left: -22px; right: -22px; height: 16px; margin-top: -8px; }
  .cosmos__ball--brand { width: 44px; height: 44px; }
  .cosmos__ball--brand::after { width: 10px; height: 10px; top: -10px; right: -13px; }
  .cosmos__ball--social { width: 56px; height: 56px; }

  .cosmos__label {
    white-space: normal;
    text-align: left;
    background: none;
    border: none;
    padding: 0;
    font-size: 16px;
    letter-spacing: 0.03em;
    flex: 1;
  }
  .cosmos__planet:hover .cosmos__label,
  .cosmos__planet:focus-visible .cosmos__label { border-color: transparent; }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .cosmos__ball { animation: none !important; }
}

.svc, .svc-cta { scroll-margin-top: 80px; }

/* ---------- Marquee (two rows, opposite directions) ---------- */

.svc-marquee {
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--slate);
  border-bottom: 1px solid var(--slate);
  padding: 14px 0;
  overflow: hidden;
  display: grid;
  gap: 6px;
  transform: rotate(-2deg) scale(1.04);
}
.svc-marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  will-change: transform;
}
.svc-marquee__track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}
.svc-marquee__track span:nth-of-type(odd) {
  color: var(--gold);
  -webkit-text-stroke: 0;
  background: linear-gradient(100deg, var(--gold-hover) 30%, #E3C583 50%, var(--gold-hover) 70%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gold-shimmer 4.5s linear infinite;
}
.svc-marquee__track i {
  font-style: normal;
  color: var(--gold);
  font-size: clamp(22px, 3vw, 40px);
  display: inline-block;
  animation: svc-spin 6s linear infinite;
}
.svc-marquee__track--rev span:nth-of-type(odd) {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: none;
  -webkit-text-stroke: 1px var(--gold);
  animation: none;
}
.svc-marquee__track--rev span:nth-of-type(even) {
  color: var(--heading);
  -webkit-text-stroke: 0;
}

@keyframes svc-spin { to { transform: rotate(360deg); } }

/* ---------- Service rows ---------- */

.svc {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0;
  border-top: 1px solid var(--slate);
  overflow: hidden;
}

.svc__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  position: relative;
}
.svc--flip .svc__text { order: 2; }

/* Giant outlined number behind each row (moves with scroll via --shift) */
.svc__ghost {
  position: absolute;
  top: 50%;
  right: -2%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(180px, 32vw, 420px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184, 144, 46, 0.22);
  transform: translateY(calc(-50% + var(--shift, 0px)));
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.svc--flip .svc__ghost { right: auto; left: -2%; }

.svc__text { position: relative; z-index: 1; }

.svc__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin: 0 0 12px;
}

.svc__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--heading);
  margin: 0 0 20px;
}

.svc__body {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--body-text);
  max-width: 48ch;
  margin: 0 0 24px;
}

.svc__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.svc__tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--slate);
  border-radius: 999px;
  padding: 7px 14px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.svc__tags li:hover { color: var(--gold); border-color: var(--gold); }

/* Staggered entrance for the text */
.svc.reveal { opacity: 1; transform: none; }
.svc .svc__num,
.svc .svc__title,
.svc .svc__body,
.svc .svc__tags {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(.16,.8,.24,1), transform 0.8s cubic-bezier(.16,.8,.24,1);
}
.svc .svc__title { transition-delay: 0.08s; }
.svc .svc__body { transition-delay: 0.16s; }
.svc .svc__tags { transition-delay: 0.24s; }
.svc.is-visible .svc__num,
.svc.is-visible .svc__title,
.svc.is-visible .svc__body,
.svc.is-visible .svc__tags { opacity: 1; transform: none; }

/* ---------- Stage (the animated visual) ---------- */

.svc__stage {
  position: relative;
  z-index: 1;
  min-height: 480px;
  display: grid;
  place-items: center;
  border: 1px solid var(--slate);
  border-radius: 24px;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 40%), rgba(227, 197, 131, 0.16), transparent 55%),
    linear-gradient(160deg, rgba(22, 21, 20, 0.95), rgba(10, 10, 10, 0.95));
  overflow: hidden;
  perspective: 900px;
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  clip-path: inset(12% 12% 12% 12% round 24px);
  transition: opacity 0.9s ease 0.1s, transform 1s cubic-bezier(.16,.8,.24,1) 0.1s, clip-path 1.1s cubic-bezier(.16,.8,.24,1) 0.1s;
}
.svc.is-visible .svc__stage {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0 round 24px);
}

/* Deep-space starfield behind every scene (two twinkling layers) */
.svc__stage::before,
.svc__stage::after {
  content: "";
  position: absolute;
  inset: -50%;
  pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 20px 30px, #E3C583, transparent),
    radial-gradient(1px 1px at 90px 120px, #EFE7D6, transparent),
    radial-gradient(1.4px 1.4px at 160px 60px, var(--gold), transparent),
    radial-gradient(1px 1px at 230px 180px, #E3C583, transparent),
    radial-gradient(1.6px 1.6px at 60px 200px, #EFE7D6, transparent);
  background-size: 260px 240px;
  animation: drift 90s linear infinite;
}
.svc__stage::after {
  background-size: 180px 170px;
  opacity: 0.6;
  animation: drift 60s linear infinite reverse, twinkle 3s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(260px, 120px); } }
@keyframes twinkle { from { opacity: 0.15; } to { opacity: 0.8; } }

/* Planet horizon glowing along the bottom of the stage */
.svc__horizon {
  position: absolute;
  left: -30%;
  right: -30%;
  top: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, #1c1710, #0a0908 40%);
  box-shadow: 0 -2px 0 rgba(227, 197, 131, 0.55), 0 -18px 60px -6px rgba(227, 197, 131, 0.35), inset 0 30px 60px -30px rgba(227, 197, 131, 0.45);
  pointer-events: none;
}

/* Tilted orbit ring with a moon travelling along it */
.svc__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(184, 144, 46, 0.3);
  transform: translate(-50%, -50%) rotateX(74deg) rotateZ(0);
  animation: ring-spin 24s linear infinite;
  pointer-events: none;
}
.svc__ring i {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #EFE7D6, var(--gold) 55%, #3a2c0e);
  box-shadow: 0 0 18px rgba(227, 197, 131, 0.7);
}
@keyframes ring-spin {
  to { transform: translate(-50%, -50%) rotateX(74deg) rotateZ(360deg); }
}

/* Shooting star streaking across the stage */
.svc__shoot,
.cosmos__shoot {
  position: absolute;
  top: 12%;
  left: 110%;
  width: 140px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #EFE7D6, rgba(227, 197, 131, 0.6) 30%, transparent);
  transform: rotate(-24deg);
  opacity: 0;
  animation: shoot 7s ease-in infinite;
  pointer-events: none;
}
.svc--flip .svc__shoot { animation-delay: 3s; }
@keyframes shoot {
  0%, 70%  { opacity: 0; transform: rotate(-24deg) translateX(0); }
  72%      { opacity: 1; }
  86%,100% { opacity: 0; transform: rotate(-24deg) translateX(-900px); }
}

/* Inner scene tilts toward the cursor (JS sets --rx / --ry) */
.svc__scene {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s ease-out;
}

/* Animations wait until the row is on screen */
.svc:not(.is-visible) .svc__stage *,
.svc:not(.is-visible) .svc__stage *::before,
.svc:not(.is-visible) .svc__stage *::after { animation-play-state: paused; }

/* ---------- 01 Reel phone ---------- */

.reel { position: relative; }

.reel__screen {
  position: relative;
  width: 230px;
  height: 430px;
  border-radius: 34px;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 7px #121110, 0 0 0 8px var(--slate), 0 40px 80px -20px rgba(0, 0, 0, 0.9), 0 0 80px -20px rgba(227, 197, 131, 0.45);
  overflow: hidden;
  background: #000;
  transform: translateZ(40px);
}

.reel__track {
  height: 400%;
  display: flex;
  flex-direction: column;
  animation: reel-swipe 9s cubic-bezier(.7,0,.2,1) infinite;
}
@keyframes reel-swipe {
  0%, 28%   { transform: translateY(0); }
  33%, 61%  { transform: translateY(-25%); }
  66%, 94%  { transform: translateY(-50%); }
  100%      { transform: translateY(-75%); }
}

.reel__slide {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 22px 40px;
}
.reel__slide b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--heading);
}
.reel__slide--1 { background: radial-gradient(circle at 70% 30%, #6b5320, #1a1407 60%, #000); }
.reel__slide--2 { background: linear-gradient(200deg, #2b2a28, #0b0b0b); }
.reel__slide--3 { background: linear-gradient(160deg, #E3C583, var(--gold) 50%, var(--gold-hover)); }
.reel__slide--3 b { color: var(--ink); }

.reel__rec {
  position: absolute;
  top: 70px;
  left: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #ff5a4e;
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

.reel__wave {
  position: absolute;
  top: 45%;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 60px;
}
.reel__wave i {
  flex: 1;
  height: 100%;
  border-radius: 4px;
  background: var(--gold);
  transform-origin: center;
  animation: wave 1s ease-in-out infinite alternate;
}
.reel__wave i:nth-child(2) { animation-delay: -0.2s; }
.reel__wave i:nth-child(3) { animation-delay: -0.5s; }
.reel__wave i:nth-child(4) { animation-delay: -0.1s; }
.reel__wave i:nth-child(5) { animation-delay: -0.7s; }
.reel__wave i:nth-child(6) { animation-delay: -0.35s; }
.reel__wave i:nth-child(7) { animation-delay: -0.6s; }
@keyframes wave { from { transform: scaleY(0.15); } to { transform: scaleY(1); } }

.reel__progress {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.reel__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--heading);
  transform-origin: left;
  animation: reel-progress 3s linear infinite;
}
@keyframes reel-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.reel__side {
  position: absolute;
  right: 14px;
  bottom: 70px;
  display: grid;
  gap: 16px;
  color: var(--heading);
}
.reel__side svg { width: 24px; height: 24px; display: block; }
.reel__side svg:first-child { color: #ff5a6e; animation: pop 1.5s ease-in-out infinite; }
@keyframes pop {
  0%, 60%, 100% { transform: scale(1); }
  70% { transform: scale(1.35); }
  80% { transform: scale(0.95); }
}

.reel__views {
  position: absolute;
  left: 16px;
  top: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--heading);
  background: rgba(0, 0, 0, 0.45);
  padding: 5px 10px;
  border-radius: 999px;
}

.reel__heart {
  position: absolute;
  right: -24px;
  bottom: 110px;
  font-size: 26px;
  color: #ff5a6e;
  opacity: 0;
  transform: translateZ(80px);
  animation: heart-float 3.2s ease-out infinite;
}
.reel__heart--2 { animation-delay: 0.8s; font-size: 20px; color: var(--gold); }
.reel__heart--3 { animation-delay: 1.6s; font-size: 30px; }
.reel__heart--4 { animation-delay: 2.4s; font-size: 18px; color: #E3C583; }
@keyframes heart-float {
  0%   { opacity: 0; transform: translate3d(0, 0, 80px) scale(0.4) rotate(0); }
  15%  { opacity: 1; transform: translate3d(-10px, -30px, 80px) scale(1.1) rotate(-12deg); }
  100% { opacity: 0; transform: translate3d(30px, -240px, 80px) scale(0.8) rotate(18deg); }
}

/* ---------- 02 Posts feed ---------- */

.feed { position: relative; width: 320px; }

.feed__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.feed__grid span {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid rgba(184, 144, 46, 0.25);
  animation: tile 7s cubic-bezier(.34,1.56,.64,1) infinite both;
}
.feed__grid span:nth-child(1) { background: linear-gradient(135deg, #E3C583, var(--gold-hover)); animation-delay: 0s; }
.feed__grid span:nth-child(2) { background: #1d1b18 radial-gradient(circle, var(--gold) 0 22%, transparent 23%); animation-delay: 0.1s; }
.feed__grid span:nth-child(3) { background: repeating-linear-gradient(45deg, #1d1b18 0 8px, #2a2620 8px 16px); animation-delay: 0.2s; }
.feed__grid span:nth-child(4) { background: #EFE7D6; animation-delay: 0.3s; }
.feed__grid span:nth-child(5) { background: linear-gradient(180deg, #2a2620, #0f0e0d); animation-delay: 0.4s; }
.feed__grid span:nth-child(6) { background: linear-gradient(135deg, var(--gold) 50%, #1d1b18 50%); animation-delay: 0.5s; }
.feed__grid span:nth-child(7) { background: #1d1b18 radial-gradient(circle at 30% 70%, #6b5320, transparent 60%); animation-delay: 0.6s; }
.feed__grid span:nth-child(8) { background: linear-gradient(90deg, #E3C583, #EFE7D6); animation-delay: 0.7s; }
.feed__grid span:nth-child(9) { background: #0f0e0d radial-gradient(circle, transparent 0 30%, var(--gold) 31% 36%, transparent 37%); animation-delay: 0.8s; }
@keyframes tile {
  0%   { opacity: 0; transform: scale(0.3) rotate(-10deg); }
  12%  { opacity: 1; transform: none; }
  88%  { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(0.8); }
}

.feed__card {
  position: absolute;
  right: -46px;
  bottom: -40px;
  width: 190px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--gold);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.95), 0 0 50px -18px rgba(227, 197, 131, 0.5);
  overflow: hidden;
  transform: translateZ(70px) rotate(-5deg);
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateZ(70px) rotate(-5deg) translateY(0); }
  50%      { transform: translateZ(70px) rotate(-3deg) translateY(-12px); }
}
.feed__card-img {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, #E3C583, var(--gold) 45%, var(--gold-hover));
}
.feed__card-img b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 72px;
  color: var(--ink);
}
.feed__card-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--body-text);
}
.feed__like {
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  animation: like 3.5s ease-in-out infinite;
}
@keyframes like {
  0%, 40%   { color: var(--muted); transform: scale(1); }
  48%       { color: #ff5a6e; transform: scale(1.6); }
  56%, 100% { color: #ff5a6e; transform: scale(1); }
}
.feed__dots { display: flex; gap: 4px; }
.feed__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--slate);
  animation: dot 3s steps(1) infinite;
}
.feed__dots i:nth-child(2) { animation-delay: 1s; }
.feed__dots i:nth-child(3) { animation-delay: 2s; }
@keyframes dot {
  0%   { background: var(--gold); }
  33%  { background: var(--slate); }
}
.feed__count { margin-left: auto; }

/* ---------- 03 Brand identity ---------- */

.brand {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 28px 36px;
}

.brand__mark {
  grid-row: span 2;
  width: 220px;
  height: 220px;
  color: var(--slate);
  overflow: visible;
  transform: translateZ(50px);
}
.brand__guides > * {
  stroke-dasharray: 1;
  animation: draw 7s ease-in-out infinite both;
}
.brand__ring {
  stroke: var(--gold);
  stroke-dasharray: 1;
  animation: draw 7s ease-in-out 0.3s infinite both;
  filter: drop-shadow(0 0 8px rgba(227, 197, 131, 0.5));
}
.brand__shape {
  stroke: #E3C583;
  fill: rgba(184, 144, 46, 0);
  stroke-dasharray: 1;
  animation: draw 7s ease-in-out 0.6s infinite both, fill-in 7s ease-in-out infinite both;
}
.brand__dot {
  fill: var(--heading);
  transform-box: fill-box;
  transform-origin: center;
  animation: dot-in 7s cubic-bezier(.34,1.56,.64,1) infinite both;
}
@keyframes draw {
  0%       { stroke-dashoffset: 1; opacity: 1; }
  35%, 88% { stroke-dashoffset: 0; opacity: 1; }
  100%     { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes fill-in {
  0%, 40%  { fill: rgba(184, 144, 46, 0); }
  52%, 88% { fill: rgba(184, 144, 46, 0.35); }
  100%     { fill: rgba(184, 144, 46, 0); }
}
@keyframes dot-in {
  0%, 45%  { transform: scale(0); }
  55%, 88% { transform: scale(1); }
  100%     { transform: scale(0); }
}

.brand__swatches { display: flex; gap: 10px; }
.brand__swatches span {
  width: 40px;
  height: 64px;
  border-radius: 999px;
  background: var(--c);
  border: 1px solid rgba(239, 231, 214, 0.25);
  animation: swatch 7s cubic-bezier(.34,1.56,.64,1) infinite both;
}
.brand__swatches span:nth-child(1) { animation-delay: 0.9s; }
.brand__swatches span:nth-child(2) { animation-delay: 1.05s; }
.brand__swatches span:nth-child(3) { animation-delay: 1.2s; }
.brand__swatches span:nth-child(4) { animation-delay: 1.35s; }
@keyframes swatch {
  0%       { opacity: 0; transform: translateY(40px) scaleY(0.4); }
  10%, 84% { opacity: 1; transform: none; }
  94%,100% { opacity: 0; transform: translateY(-20px); }
}

.brand__type {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: swatch 7s cubic-bezier(.34,1.56,.64,1) 1.6s infinite both;
}
.brand__type b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: var(--heading);
}
.brand__type span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- 04 Social media dashboard ---------- */

.dash {
  position: relative;
  width: 340px;
  padding: 22px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--slate);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.95);
}

.dash__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.dash__head b {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--heading);
}
.dash__head em {
  font-style: normal;
  color: #6fd38a;
}

.dash__chart {
  display: block;
  width: 100%;
  height: 110px;
  margin: 10px 0 16px;
  overflow: visible;
}
.dash__line {
  fill: none;
  stroke: #E3C583;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  filter: drop-shadow(0 0 6px rgba(227, 197, 131, 0.6));
  animation: draw 6s ease-in-out infinite both;
}
.dash__area {
  fill: rgba(184, 144, 46, 0.18);
  animation: area 6s ease-in-out infinite both;
}
@keyframes area {
  0%, 25%  { opacity: 0; }
  40%, 88% { opacity: 1; }
  100%     { opacity: 0; }
}

.dash__week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.dash__week span { display: grid; gap: 6px; justify-items: center; }
.dash__week i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}
.dash__week b {
  width: 100%;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(160deg, #E3C583, var(--gold-hover));
  animation: chip 6s cubic-bezier(.34,1.56,.64,1) infinite both;
}
.dash__week span:nth-child(2) b { animation-delay: 0.15s; background: #EFE7D6; }
.dash__week span:nth-child(3) b { animation-delay: 0.3s; }
.dash__week span:nth-child(4) b { animation-delay: 0.45s; background: var(--slate); }
.dash__week span:nth-child(5) b { animation-delay: 0.6s; }
.dash__week span:nth-child(6) b { animation-delay: 0.75s; background: #EFE7D6; }
.dash__week span:nth-child(7) b { animation-delay: 0.9s; }
@keyframes chip {
  0%       { opacity: 0; transform: translateY(-36px) rotate(-8deg); }
  12%, 86% { opacity: 1; transform: none; }
  100%     { opacity: 0; transform: translateY(10px); }
}

.dash__toast {
  position: absolute;
  right: -56px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(22, 21, 20, 0.92);
  border: 1px solid var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--heading);
  white-space: nowrap;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.9);
  transform: translateZ(60px);
  animation: toast 9s cubic-bezier(.16,.8,.24,1) infinite both;
}
.dash__toast--1 { top: -22px; right: -28px; }
.dash__toast--2 { top: 38%; right: -40px; animation-delay: 3s; }
.dash__toast--3 { bottom: -18px; right: auto; left: -32px; animation-delay: 6s; }
@keyframes toast {
  0%       { opacity: 0; transform: translate3d(40px, 0, 60px) scale(0.9); }
  6%, 30%  { opacity: 1; transform: translate3d(0, 0, 60px); }
  38%,100% { opacity: 0; transform: translate3d(0, -14px, 60px); }
}

/* ---------- Closing CTA ---------- */

.svc-cta {
  position: relative;
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--slate);
  text-align: center;
}
.svc-cta .section-headline {
  max-width: none;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 36px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .svc__inner { grid-template-columns: 1fr; }
  .svc--flip .svc__text { order: 0; }
  .svc__stage { min-height: 440px; }
  .svc__ghost { font-size: 52vw; top: 18%; }
}

@media (max-width: 480px) {
  .svc__stage { min-height: 420px; }
  .reel__screen { transform: translateZ(40px) scale(0.78); }
  .feed { width: 250px; }
  .feed__card { width: 150px; right: -20px; }
  .feed__card-img b { font-size: 54px; }
  .brand { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .brand__mark { grid-row: auto; width: 170px; height: 170px; }
  .dash { width: 280px; padding: 18px; }
  .dash__toast { right: -12px; }
  .dash__toast--2 { right: -12px; }
  .dash__toast--3 { left: -12px; }
}

/* ---------- Reduced motion: show the finished scenes, no movement ---------- */

@media (prefers-reduced-motion: reduce) {
  .svc-marquee__track,
  .svc-marquee__track i,
  .svc-marquee__track span,
  .svc__stage *,
  .svc__stage *::before,
  .svc__stage *::after { animation: none !important; }
  .svc .svc__num,
  .svc .svc__title,
  .svc .svc__body,
  .svc .svc__tags,
  .svc__stage { opacity: 1; transform: none; clip-path: none; transition: none; }
  .svc__scene { transform: none; }
  .reel__heart,
  .svc__shoot,
  .cosmos__shoot { display: none; }
  .cosmos__orbit,
  .cosmos__planet { animation: none !important; }
  .brand__shape { fill: rgba(184, 144, 46, 0.35); }
}
