/* ============================================================
   AURA AGENCY — Global Styles
   ============================================================ */

:root {
  --bg-primary: #080808;
  --bg-secondary: #111111;
  --bg-card: #141414;
  --text-primary: #F5F5F5;
  --text-secondary: #888888;
  --text-muted: #444444;
  --accent-primary: #7B35D9;
  --accent-light: #9B59F5;
  --accent-dark: #4A1A9A;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(123, 53, 217, 0.4);
  --glow-purple: rgba(123, 53, 217, 0.15);

  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(72px, 12vw, 160px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

::selection {
  background: var(--accent-primary);
  color: #fff;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
  position: relative;
}

.divider {
  border: 0;
  border-top: 1px solid var(--border-subtle);
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent-primary);
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h1.display {
  font-size: clamp(2.8rem, 9vw, 6.5rem);
}

h2.display {
  font-size: clamp(2.2rem, 6vw, 4.25rem);
}

h3.display {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 56ch;
  line-height: 1.7;
}

.text-accent {
  color: var(--accent-light);
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px;
  --pad-x: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: background .35s var(--ease), color .35s var(--ease),
    border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}

.btn .arrow {
  display: inline-block;
  transition: transform .35s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(5px);
}

.btn--primary {
  background: var(--accent-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 40px -8px var(--accent-primary);
}

.btn--ghost {
  border: 1px solid var(--border-accent);
  color: var(--text-primary);
}

.btn--ghost:hover {
  border-color: var(--accent-light);
  background: rgba(123, 53, 217, 0.08);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease),
    backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-subtle);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav__link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding-block: 4px;
  transition: color .3s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__cta {
  margin-left: 6px;
}

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}

.nav__toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}

.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 23px; }
.nav__toggle span:nth-child(3) { top: 29px; }

body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 120vw);
  height: min(1100px, 120vw);
  background: radial-gradient(circle, var(--glow-purple) 0%, rgba(123, 53, 217, 0.04) 38%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero h1 {
  max-width: 16ch;
  margin-bottom: 34px;
}

.hero .lead {
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: var(--gutter);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.scroll-hint::before {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats {
  border-block: 1px solid var(--border-subtle);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.stat {
  padding-block: clamp(40px, 6vw, 72px);
  padding-inline: 16px;
}

.stat + .stat {
  border-left: 1px solid var(--border-subtle);
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  margin-top: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ============================================================
   SERVICES (cards grid)
   ============================================================ */
.section-head {
  max-width: 60ch;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.section-head h2 {
  margin-bottom: 22px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}

.card {
  background: var(--bg-card);
  padding: clamp(28px, 4vw, 44px);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  transition: background .4s var(--ease);
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .4s var(--ease);
}

.card:hover {
  background: #181818;
}

.card:hover::after {
  border-color: var(--border-accent);
}

.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  margin-bottom: auto;
  color: var(--accent-light);
}

.card__icon svg { width: 22px; height: 22px; }

.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.card__desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.card__num {
  position: absolute;
  top: clamp(28px, 4vw, 44px);
  right: clamp(28px, 4vw, 44px);
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 8px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--text-secondary);
  padding-inline: clamp(24px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  white-space: nowrap;
  transition: color .3s var(--ease);
}

.marquee__item::after {
  content: "●";
  font-size: 0.5em;
  color: var(--accent-primary);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   CASE TEASER / FEATURED CARD
   ============================================================ */
.feature {
  position: relative;
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(123, 53, 217, 0.16), transparent 55%),
    var(--bg-secondary);
  padding: clamp(36px, 6vw, 80px);
  border-radius: 4px;
  overflow: hidden;
  display: block;
  transition: border-color .4s var(--ease);
}

.feature:hover {
  border-color: var(--border-accent);
}

.feature__tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid var(--border-accent);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.feature h3 {
  max-width: 22ch;
  margin-bottom: 28px;
}

.feature__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--accent-light);
}

.feature__link .arrow {
  transition: transform .35s var(--ease);
}

.feature:hover .feature__link .arrow {
  transform: translateX(6px);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 50% 60%, var(--glow-purple), transparent 70%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 36ch;
  margin-inline: auto;
}

.cta h2 {
  margin-bottom: 24px;
}

.cta .lead {
  margin-inline: auto;
  margin-bottom: 40px;
}

/* ============================================================
   SERVICES PAGE — alternating rows
   ============================================================ */
.srow {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 90px);
  border-top: 1px solid var(--border-subtle);
}

.srow:last-of-type {
  border-bottom: 1px solid var(--border-subtle);
}

.srow__index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-muted);
}

.srow__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(123, 53, 217, 0.22), transparent 60%),
    var(--bg-card);
  display: grid;
  place-items: center;
}

.srow:nth-child(even) .srow__media {
  background:
    radial-gradient(120% 120% at 80% 90%, rgba(155, 89, 245, 0.22), transparent 60%),
    var(--bg-card);
}

.srow:nth-child(even) {
  direction: rtl;
}

.srow:nth-child(even) > * {
  direction: ltr;
}

.srow__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 18px;
}

.srow__desc {
  color: var(--text-secondary);
  max-width: 50ch;
  font-size: 1.02rem;
}

/* ============================================================
   WORK PAGE — case grid
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.case {
  position: relative;
  background:
    radial-gradient(130% 130% at 100% 0%, rgba(123, 53, 217, 0.10), transparent 55%),
    var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 48px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}

.case:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.case__tag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: auto;
}

.case__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-top: 40px;
}

.case__headline {
  color: var(--text-secondary);
  margin-top: 14px;
  max-width: 36ch;
}

.case__metric {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.case__metric strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--accent-light);
}

.case__metric span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact-aside .lead {
  margin-bottom: 40px;
}

.contact-detail {
  border-top: 1px solid var(--border-subtle);
  padding-block: 22px;
}

.contact-detail__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-detail a,
.contact-detail p {
  font-size: 1.05rem;
  color: var(--text-primary);
  transition: color .3s var(--ease);
}

.contact-detail a:hover {
  color: var(--accent-light);
}

.form {
  display: grid;
  gap: 26px;
}

.field {
  display: grid;
  gap: 10px;
}

.field label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 15px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--border-accent);
  background: #181818;
}

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

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

/* radio toggle */
.toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 4px;
  width: fit-content;
}

.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle label {
  padding: 9px 26px;
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
  margin: 0;
}

.toggle input:checked + label {
  background: var(--accent-primary);
  color: #fff;
}

.form__status {
  font-size: 0.9rem;
  color: var(--accent-light);
  min-height: 1.2em;
}

/* ============================================================
   INTRO OVERLAY (first visit)
   ============================================================ */
body.intro-lock {
  overflow: hidden;
  height: 100vh;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(123, 53, 217, 0.10), transparent 70%),
    #050505;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}

.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  animation: intro-in .9s var(--ease) .15s forwards;
  perspective: 1000px;
}

.intro.is-hidden .intro__inner {
  transform: translateY(-26px) scale(1.02);
  opacity: 0;
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}

.intro__logo {
  width: clamp(110px, 18vw, 185px);
  height: auto;
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.8))
    drop-shadow(0 0 34px rgba(123, 53, 217, 0.35));
  transform-style: preserve-3d;
  animation: intro-spin 2.8s var(--ease) infinite;
}

.intro__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  background: linear-gradient(180deg, #f5f5f5, #9a9a9a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro__bar {
  width: 64px;
  height: 1px;
  background: var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.intro__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
  transform: translateX(-100%);
  animation: intro-sweep 1.6s var(--ease) .3s infinite;
}

@keyframes intro-in {
  to { opacity: 1; transform: none; }
}

@keyframes intro-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@keyframes intro-sweep {
  to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .intro__inner { animation: none; opacity: 1; transform: none; }
  .intro__logo { animation: none; }
  .intro__bar::after { animation: none; }
}

/* ============================================================
   WORLD MAP — markets
   ============================================================ */
.map-section {
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.map-section__glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 110vw);
  height: 500px;
  background: radial-gradient(circle, var(--glow-purple) 0%, transparent 68%);
  pointer-events: none;
}

.map-head {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
  position: relative;
  z-index: 1;
}

.map-head .eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent-primary);
}

.map-head .eyebrow {
  justify-content: center;
}

.map-head h2 {
  margin-top: 6px;
}

.world-map {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  display: block;
}

.world-map .dot {
  fill: #262626;
}

.world-map .market {
  fill: var(--accent-light);
  filter: drop-shadow(0 0 6px var(--accent-primary));
  transform-box: fill-box;
  transform-origin: center;
  animation: market-pulse 2.6s var(--ease) infinite;
}

.world-map .market-ring {
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 1;
  opacity: 0.5;
}

.world-map .link-line {
  stroke: rgba(123, 53, 217, 0.35);
  stroke-width: 1;
}

.world-map .map-label {
  fill: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  pointer-events: none;
}

/* Capital labels get unreadable on small screens — show dots only,
   the legend below covers the markets list. */
@media (max-width: 760px) {
  .world-map .map-label { display: none; }
}

@keyframes market-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.25); }
}

.map-legend {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin-top: clamp(32px, 4vw, 48px);
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 9px 16px;
  border-radius: 100px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}

.map-legend span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 8px var(--accent-primary);
}

.map-legend span:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: clamp(56px, 8vw, 96px) 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: clamp(48px, 8vw, 80px);
}

.footer__brand .brand {
  margin-bottom: 20px;
}

.footer__tag {
  color: var(--text-secondary);
  max-width: 30ch;
}

.footer__col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.footer__col a {
  display: block;
  color: var(--text-secondary);
  padding-block: 7px;
  transition: color .3s var(--ease);
}

.footer__col a:hover {
  color: var(--text-primary);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease),
    background .25s var(--ease), opacity .25s var(--ease);
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-accent);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease),
    border-color .3s var(--ease), opacity .3s var(--ease);
}

body.cursor-active .cursor-ring {
  width: 60px;
  height: 60px;
  border-color: var(--accent-light);
  background: rgba(123, 53, 217, 0.06);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(20px);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .5s var(--ease), opacity .4s var(--ease);
  }

  body.menu-open .nav__links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link { font-size: 1.1rem; }

  .nav__toggle { display: block; }

  .contact-grid,
  .srow {
    grid-template-columns: 1fr;
  }

  .srow:nth-child(even) { direction: ltr; }

  .srow__media { order: -1; }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

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

  .stat + .stat {
    border-left: 0;
    border-top: 1px solid var(--border-subtle);
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Hide custom cursor on touch / small screens */
@media (hover: none), (max-width: 880px) {
  .cursor-dot,
  .cursor-ring { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none; }
}
