/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg-deep: #06101f;
  --bg-mid: #0c1a2e;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8edf7;
  --text-muted: #8b9ab8;
  --text-dim: #5c6b88;

  --amber: #d4af37;
  --amber-glow: rgba(212, 175, 55, 0.35);
  --rose: #f472b6;
  --rose-glow: rgba(244, 114, 182, 0.3);
  --violet: #818cf8;
  --violet-glow: rgba(129, 140, 248, 0.3);
  --teal: #14b8a6;
  --teal-glow: rgba(20, 184, 166, 0.35);

  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 72px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

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

svg {
  display: block;
  flex-shrink: 0;
}

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

ul { list-style: none; margin: 0; padding: 0; }

button, input { font: inherit; }

main {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

/* ── Skip link ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--amber);
  color: var(--bg-deep);
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ── Decorative scene ───────────────────────────────────── */
.scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.scene__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, var(--amber-glow), transparent 55%),
    radial-gradient(ellipse 50% 45% at 85% 15%, var(--violet-glow), transparent 50%),
    radial-gradient(ellipse 55% 50% at 70% 80%, var(--teal-glow), transparent 55%),
    radial-gradient(ellipse 40% 35% at 30% 75%, var(--rose-glow), transparent 50%);
  animation: meshShift 18s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, 3%) scale(1.05); }
}

.scene__grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

.scene__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 12s var(--ease) infinite alternate;
}
.scene__orb--1 {
  width: 340px; height: 340px;
  top: -8%; right: 10%;
  background: var(--amber);
  opacity: 0.12;
}
.scene__orb--2 {
  width: 280px; height: 280px;
  bottom: 15%; left: -5%;
  background: var(--teal);
  opacity: 0.1;
  animation-delay: -4s;
}
.scene__orb--3 {
  width: 200px; height: 200px;
  top: 45%; right: 35%;
  background: var(--violet);
  opacity: 0.08;
  animation-delay: -7s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20px, -30px); }
}

.scene__rings {
  position: absolute;
  width: min(50vw, 420px);
  top: 10%;
  left: 72%;
  opacity: 0.42;
  contain: layout paint style;
  pointer-events: none;
  transform: translateX(-50%);
  animation: ringSpin 48s linear infinite;
}

@keyframes ringSpin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

.scene__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.5rem 1.25rem 0;
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.6rem 1rem 0.6rem 0.85rem;
  background: rgba(7, 11, 20, 0.65);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  display: block;
  width: 36px;
  height: 36px;
  max-width: none;
}

.nav__links {
  display: flex;
  gap: 1rem;
  margin-left: 0.5rem;
  flex-wrap: wrap;
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

@media (min-width: 768px) {
  .nav__links { gap: 1.75rem; }
  .nav__links a { font-size: 0.9rem; }
  .nav__pill { display: inline-flex; }
}

#logout-btn[hidden],
#login-open[hidden] {
  display: none !important;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.97); }

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.04);
}

.btn--solid {
  background: linear-gradient(135deg, var(--amber), #d97706);
  color: var(--bg-deep);
  box-shadow: 0 4px 24px var(--amber-glow);
}
.btn--solid:hover {
  box-shadow: 0 6px 32px var(--amber-glow);
}

.btn--full { width: 100%; }

/* ── Typography helpers ─────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--teal); }

.section-head {
  max-width: var(--max);
  margin: 0 auto 1.25rem;
  padding: 0;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}
.section-title--invert { color: #fff; }

.section-sub {
  margin: 0;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  padding: 0 1.25rem;
  margin-bottom: 4rem;
}

.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr minmax(300px, 1fr);
    gap: 2.5rem;
    align-items: center;
  }

  .scene__rings {
    top: 11%;
    left: 74%;
    width: min(38vw, 400px);
  }
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
}

.hero__logo {
  display: block;
  width: min(100%, 340px);
  height: auto;
  max-width: none;
}

.hero__title-sans {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.hero__lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 0 1.75rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s;
}
.chip:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
}
.chip--amber { border-color: rgba(245,158,11,0.35); color: #fcd34d; }
.chip--rose { border-color: rgba(244,114,182,0.35); color: #fbcfe8; }
.chip--violet { border-color: rgba(129,140,248,0.35); color: #c7d2fe; }
.chip--teal { border-color: rgba(20,184,166,0.35); color: #99f6e4; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__stat-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: inherit;
  transition: opacity 0.2s;
}
.hero__stat-link:hover { opacity: 0.85; }

.hero__stats strong {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}

.hero__stats span {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* Hero visual objects */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(280px, 42vw, 400px);
  padding: 0.5rem clamp(0.25rem, 2vw, 1.5rem) 1rem 0;
}

.hero__stage {
  --orbit-radius: clamp(108px, 24vw, 152px);
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  margin: 0;
  transform: translateX(clamp(0.75rem, 4vw, 2.75rem));
}

.hero__bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__globe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54%;
  z-index: 1;
  opacity: 0.94;
  contain: layout paint style;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: globeSpin 32s linear infinite;
}
.hero__globe svg {
  width: 100%;
  height: auto;
  pointer-events: none;
}

@keyframes globeSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.bubble {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  contain: layout paint style;
  transform:
    rotate(var(--orbit-angle))
    translateX(var(--orbit-radius))
    rotate(calc(-1 * var(--orbit-angle)))
    translate(-50%, -50%);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.bubble::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 22%;
  width: 28%;
  height: 22%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(1px);
}

.bubble--1 {
  --orbit-angle: -90deg;
  width: 48px; height: 48px;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.55), rgba(245,158,11,0.15) 38%, rgba(245,158,11,0.55) 100%);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.45);
  animation: bubblePulseA 7s -0.5s alternate infinite;
}

.bubble--2 {
  --orbit-angle: -54deg;
  --orbit-radius: calc(var(--orbit-radius) + 10px);
  width: 22px; height: 22px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.6), rgba(244,114,182,0.5) 100%);
  box-shadow: 0 0 18px rgba(244, 114, 182, 0.5);
  animation: bubblePulseB 5.5s -1.2s alternate infinite;
}

.bubble--3 {
  --orbit-angle: -18deg;
  width: 36px; height: 36px;
  background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.5), rgba(129,140,248,0.55) 100%);
  box-shadow: 0 0 24px rgba(129, 140, 248, 0.42);
  animation: bubblePulseC 8.5s -2s alternate infinite;
}

.bubble--4 {
  --orbit-angle: 18deg;
  --orbit-radius: calc(var(--orbit-radius) + 8px);
  width: 14px; height: 14px;
  background: radial-gradient(circle at 35% 30%, #fff, rgba(20,184,166,0.75) 100%);
  box-shadow: 0 0 14px rgba(20, 184, 166, 0.55);
  animation: bubblePulseD 4.2s -0.8s alternate infinite;
}

.bubble--5 {
  --orbit-angle: 54deg;
  width: 42px; height: 42px;
  background: radial-gradient(circle at 30% 26%, rgba(255,255,255,0.52), rgba(56,189,248,0.35) 45%, rgba(14,165,233,0.6) 100%);
  box-shadow: 0 0 26px rgba(56, 189, 248, 0.4);
  animation: bubblePulseE 9s -3.5s alternate infinite;
}

.bubble--6 {
  --orbit-angle: 90deg;
  --orbit-radius: calc(var(--orbit-radius) + 12px);
  width: 18px; height: 18px;
  background: radial-gradient(circle at 32% 28%, #fff, rgba(251,146,60,0.7) 100%);
  box-shadow: 0 0 16px rgba(251, 146, 60, 0.5);
  animation: bubblePulseB 6.2s -4s alternate infinite;
}

.bubble--7 {
  --orbit-angle: 126deg;
  width: 28px; height: 28px;
  background: radial-gradient(circle at 28% 24%, rgba(255,255,255,0.55), rgba(167,139,250,0.55) 100%);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.45);
  animation: bubblePulseC 6.8s -1.8s alternate infinite;
}

.bubble--8 {
  --orbit-angle: 162deg;
  --orbit-radius: calc(var(--orbit-radius) + 6px);
  width: 10px; height: 10px;
  background: radial-gradient(circle at 35% 30%, #fff, rgba(52,211,153,0.8) 100%);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.5);
  animation: bubblePulseD 3.8s -2.6s alternate infinite;
}

.bubble--9 {
  --orbit-angle: 198deg;
  width: 26px; height: 26px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.58), rgba(236,72,153,0.55) 100%);
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.42);
  animation: bubblePulseA 5.8s -3.2s alternate infinite;
}

.bubble--10 {
  --orbit-angle: 234deg;
  --orbit-radius: calc(var(--orbit-radius) + 10px);
  width: 32px; height: 32px;
  background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.5), rgba(45,212,191,0.5) 100%);
  box-shadow: 0 0 22px rgba(45, 212, 191, 0.4);
  animation: bubblePulseE 7.4s -0.3s alternate infinite;
}

@keyframes bubblePulseA {
  0% { scale: 1; }
  50% { scale: 1.1; }
  100% { scale: 0.94; }
}

@keyframes bubblePulseB {
  0% { scale: 1; }
  50% { scale: 1.12; }
  100% { scale: 0.9; }
}

@keyframes bubblePulseC {
  0% { scale: 1; }
  50% { scale: 1.06; }
  100% { scale: 0.95; }
}

@keyframes bubblePulseD {
  0% { scale: 1; }
  100% { scale: 1.18; }
}

@keyframes bubblePulseE {
  0% { scale: 1; }
  35% { scale: 1.06; }
  70% { scale: 0.92; }
  100% { scale: 1.08; }
}

/* ── Brands showcase ───────────────────────────────────── */
.brands, .staff {
  position: relative;
  z-index: 1;
  padding: 0 1.25rem 5rem;
}

.brands__wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(155deg, rgba(16, 42, 74, 0.55), rgba(6, 16, 31, 0.92)),
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(212, 175, 55, 0.12), transparent 55%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.brands__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.35rem;
}

.brands__head .section-sub { max-width: 48ch; }

.brands__emblem {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  opacity: 0.95;
  filter: drop-shadow(0 8px 20px rgba(212, 175, 55, 0.25));
}

.brands__showcase {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .brands__showcase { grid-template-columns: repeat(2, 1fr); }
}

.brand-tile {
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.brand-tile__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(5, 10, 20, 0.65);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.25s, box-shadow 0.3s;
}

.brand-tile__link:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

.brand-tile__visual {
  position: relative;
  min-height: 148px;
  padding: 0.85rem 1rem;
  background-color: #0c1a2e;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.brand-tile__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.brand-tile__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.brand-tile--dark .brand-tile__shade {
  background: linear-gradient(180deg, rgba(6, 16, 31, 0.25) 0%, rgba(6, 16, 31, 0.88) 100%);
}

.brand-tile--light .brand-tile__shade {
  background: linear-gradient(180deg, rgba(249, 246, 242, 0.1) 0%, rgba(249, 246, 242, 0.9) 100%);
}

.brand-tile--amber .brand-tile__visual {
  background-color: #0c1a2e;
  background-image: url("/brand/preview-properties.svg");
}

.brand-tile--rose .brand-tile__visual {
  background-color: #f3e8e2;
  background-image: url("/brand/preview-beauty.svg");
}

.brand-tile--violet .brand-tile__visual {
  background-color: #1e1b4b;
  background-image: url("/brand/preview-shop.svg");
}

.brand-tile--teal .brand-tile__visual {
  background-color: #0c4a6e;
  background-image: url("/brand/preview-cloud.svg");
}

.brand-tile--cloud .brand-tile__visual {
  background-color: #0c4a6e;
  background-image: url("/brand/preview-cloud.svg");
}

.brand-tile--cloud .brand-tile__shade {
  background: linear-gradient(180deg, rgba(8, 47, 73, 0.15), rgba(8, 47, 73, 0.8));
}

.brand-tile__visual-top,
.brand-tile__visual-copy {
  position: relative;
  z-index: 2;
}

.brand-tile__visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.brand-tile__host {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tile--light .brand-tile__host { color: rgba(30, 26, 24, 0.65); }

.brand-tile__badge {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.brand-tile--amber .brand-tile__badge { border-color: rgba(212, 175, 55, 0.45); color: #fde68a; }
.brand-tile--rose .brand-tile__badge { border-color: rgba(244, 114, 182, 0.4); color: #fbcfe8; }
.brand-tile--violet .brand-tile__badge { border-color: rgba(129, 140, 248, 0.4); color: #ddd6fe; }
.brand-tile--teal .brand-tile__badge { border-color: rgba(20, 184, 166, 0.4); color: #99f6e4; }

.brand-tile__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.brand-tile--light .brand-tile__eyebrow { color: #5c6b5e; }
.brand-tile--cloud .brand-tile__eyebrow { color: #99f6e4; }

.brand-tile__headline {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-tile--light .brand-tile__headline { color: #1e1a18; }

.brand-tile__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
}

.brand-tile__title {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-tile__text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.brand-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--amber), #b8891d);
  transition: transform 0.2s var(--ease);
}

.brand-tile__cta svg {
  width: 14px;
  height: 14px;
  max-width: none;
}
.brand-tile__link:hover .brand-tile__cta { transform: translateX(2px); }

.tool-card__arrow svg {
  width: 18px;
  height: 18px;
  max-width: none;
}

.hero__globe svg,
.scene__rings {
  max-width: 100%;
  height: auto;
}

.bento {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}

/* ── Staff tool cards ───────────────────────────────────── */
.tool-card {
  border-radius: var(--radius);
  min-height: 160px;
}

.tool-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.tool-card__link:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.tool-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 0.85rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}
.tool-card__icon svg { width: 20px; height: 20px; }
.tool-card--teal .tool-card__icon { color: var(--teal); }

.tool-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}

.tool-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.tool-card__text {
  margin: 0;
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tool-card__arrow {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
  color: var(--text-dim);
}
.tool-card__arrow svg { width: 18px; height: 18px; }

/* ── About ──────────────────────────────────────────────── */
.about {
  position: relative;
  z-index: 1;
  padding: 0 1.25rem 5rem;
}

.about__panel {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 2rem;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(145deg, rgba(20,184,166,0.12), rgba(99,102,241,0.08));
  border: 1px solid var(--border);
  overflow: hidden;
}

.about__object {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.about__object--left {
  width: 200px; height: 200px;
  top: -60px; left: -40px;
  background: var(--teal);
  opacity: 0.2;
}
.about__object--right {
  width: 260px; height: 260px;
  bottom: -80px; right: -60px;
  background: var(--amber);
  opacity: 0.15;
}

.about__content {
  position: relative;
  max-width: 640px;
}

.about__text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
  line-height: 1.7;
}

.about__values {
  display: grid;
  gap: 0.85rem;
}
.about__values li {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(7,11,20,0.5);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.about__values strong { color: var(--text); }

.about__cta {
  margin-top: 1.5rem;
  display: inline-flex;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
}

.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.footer__brand {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
  letter-spacing: -0.02em;
}

.footer__tag {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer__contact {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer__contact a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  align-items: center;
}
.footer__links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--text); }

.footer__meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ── Login modal ────────────────────────────────────────── */
.login-modal[hidden] { display: none !important; }

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.75);
  backdrop-filter: blur(8px);
}

.login-modal__dialog {
  position: relative;
  width: min(100%, 400px);
  padding: 2rem;
  background: var(--bg-mid);
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.login-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.login-modal__close:hover { color: var(--text); background: rgba(255,255,255,0.1); }

.login-modal__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.login-modal__sub {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.login-oauth__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #fff;
  color: #1a1a1a;
  transition: box-shadow 0.2s;
}
.login-oauth__btn:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.2); }

.login-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  color: var(--text-dim);
  font-size: 0.8rem;
}
.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.login-form { display: grid; gap: 1rem; }

.login-form__field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.login-form__field input {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.login-form__field input:focus { border-color: var(--amber); }

.login-form__error {
  margin: 0;
  font-size: 0.85rem;
  color: #fca5a5;
}

@media (max-width: 767px) {
  .nav__inner {
    gap: 0.65rem;
    padding: 0.5rem 0.7rem;
  }

  .nav__logo-img {
    width: 32px;
    height: 32px;
  }

  .nav__actions {
    gap: 0.35rem;
    min-width: 0;
  }

  .nav__actions .btn {
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .hero {
    margin-bottom: 2rem;
  }

  .hero__grid {
    gap: 1.25rem;
  }

  .hero__visual {
    min-height: 260px;
    justify-content: center;
    padding: 0.25rem 0 0.5rem;
  }

  .hero__stage {
    width: min(100%, 300px);
    --orbit-radius: clamp(92px, 28vw, 118px);
    transform: translateX(clamp(0.5rem, 6vw, 1.75rem));
  }

  .hero__globe {
    width: 52%;
  }

  .scene__rings {
    width: min(72vw, 280px);
    left: 50%;
    top: 8%;
    opacity: 0.28;
  }

  .brands__wrap {
    padding: 1.15rem;
  }

  .brands__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .brands__emblem {
    width: 48px;
    height: 48px;
  }

  .brand-tile__visual {
    min-height: 132px;
  }

  .brand-tile__footer {
    flex-wrap: wrap;
  }

  .brand-tile__cta {
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .nav__actions .btn--ghost:not(#logout-btn) {
    padding-inline: 0.55rem;
  }

  #logout-btn {
    padding-inline: 0.65rem;
  }

  .hero__stats {
    gap: 1rem 1.35rem;
  }

  .hero__stats strong {
    font-size: 1.4rem;
  }
}

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

.scene.is-paused *,
.hero__visual.is-paused * {
  animation-play-state: paused !important;
}
