/* Jai Traders. Type system and layout follow the Nohaya home page:
   Archivo (heavy, slightly condensed, uppercase) for display lines,
   Caveat for handwritten notes, Geist for everything else. */

:root {
  --bg: #ffffff;
  --paper: #fbf9f6;
  --tint: #f6f3ee;
  --ink: #0b0f19;
  --text: #0f172a;
  --muted: #475569;
  --soft: #64748b;
  --line: #e2e8f0;
  --dark: #0b0f19;

  --accent: #ea580c;
  --accent-2: #f59e0b;
  --grad: linear-gradient(90deg, #7c2d12 0%, #c2410c 38%, #f97316 74%, #fbbf24 100%);
  --grad-dark: linear-gradient(90deg, #fdba74 0%, #fbbf24 100%);
  --wa: #22c55e;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Archivo", "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  --site: 85rem;
  --gutter: 16px;
  --header-h: 72px;
  --radius: 28px;
  --shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.28);
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
svg use { pointer-events: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: var(--site);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------- Typography */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 90;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}

.grad--dark { background-image: var(--grad-dark); }

.hand {
  font-family: var(--font-hand);
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--soft);
}
.eyebrow span { width: 12px; height: 1px; background: currentColor; }
.eyebrow--dark { color: rgba(255, 255, 255, 0.6); }

.eyebrow-lg {
  display: block;
  max-width: 17rem;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--soft);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #475569;
}
.chip--dark { border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.7); }

.h2 {
  margin-top: 20px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.sub {
  margin-top: 14px;
  max-width: 36rem;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--soft);
}

.lead {
  margin-top: 24px;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}
.lead strong { color: var(--ink); font-weight: 600; }

.text-link {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-decoration: underline;
  text-decoration-color: #cbd5e1;
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.text-link:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* -------------------------------------------------------------- Buttons */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 24px 6px 6px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 14px 30px -14px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.9);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(226, 232, 240, 0.9); }

.pill-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  box-shadow: 0 8px 18px -6px rgba(234, 88, 12, 0.7);
}
.pill-icon svg { width: 17px; height: 17px; transition: transform 0.25s; }
.pill:hover .pill-icon svg { transform: rotate(-10deg) scale(1.08); }
.pill-icon--wa { background: linear-gradient(135deg, #4ade80, #16a34a); box-shadow: 0 8px 18px -6px rgba(22, 163, 74, 0.7); }

.pill--sm { padding: 4px 16px 4px 4px; gap: 8px; font-size: 13px; }
.pill--sm .pill-icon { width: 32px; height: 32px; }
.pill--sm .pill-icon svg { width: 14px; height: 14px; }
.pill--light { box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6); }
.pill--wa { justify-content: center; }

/* --------------------------------------------------------------- Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-variation-settings: "wdth" 90;
  color: var(--ink);
}
.brand-sub { margin-top: 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--soft); }
.brand--light .brand-name { color: #fff; }
.brand--light .brand-sub { color: rgba(255, 255, 255, 0.5); }

.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; color: #334155; }
.nav a { position: relative; padding: 6px 0; transition: color 0.2s; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.25);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a::after { display: none; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .menu-btn {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 1px var(--line);
    cursor: pointer;
  }
  .menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

@media (max-width: 520px) {
  .header-cta .pill--sm .pill-label { display: none; }
  .header-cta .pill--sm { padding: 4px; }
  .brand-sub { display: none; }
}

/* ------------------------------------------------------------ 3D story */

.story { --bar-h: 84px; position: relative; height: 480vh; background: var(--paper); }
.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.story-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 45% at 74% 22%, rgba(253, 186, 116, 0.42), transparent 70%),
    radial-gradient(38% 34% at 8% 82%, rgba(199, 210, 254, 0.5), transparent 70%),
    radial-gradient(30% 30% at 92% 88%, rgba(254, 215, 170, 0.35), transparent 70%);
}
.story-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.story-canvas.is-ready { opacity: 1; }

.story-copy {
  position: relative;
  height: 100%;
  pointer-events: none;
}
.panel {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(var(--header-h) + (100% - var(--header-h) - var(--bar-h)) / 2);
  max-width: 34rem;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform;
}
.panel.is-on { visibility: visible; pointer-events: auto; }
.panel--hero { opacity: 1; }

.hero-title {
  display: block;
  margin-top: 24px;
  font-size: clamp(2.6rem, min(7vw, 11.5vh), 6.2rem);
  color: var(--ink);
}
.hero-title > span { display: block; }

.panel-title {
  margin-top: 20px;
  font-size: clamp(2.4rem, min(5.6vw, 10vh), 5rem);
  color: var(--ink);
}
.panel-title .grad { display: block; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 34px; }

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--soft);
}
.scroll-mouse {
  position: relative;
  width: 22px;
  height: 34px;
  border: 1.6px solid #94a3b8;
  border-radius: 12px;
}
.scroll-mouse span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--accent);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.hand-note {
  position: absolute;
  top: 17%;
  right: 6%;
  z-index: 2;
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.02;
  color: #57534e;
  transform: rotate(-6deg);
  pointer-events: none;
}
.hand-note svg { width: 64px; height: 40px; margin: 6px 0 0 40px; color: #a8a29e; transform: scaleX(-1); }

.story-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 249, 246, 0.94) 0%, rgba(251, 249, 246, 0.78) 30%, rgba(251, 249, 246, 0) 50%);
  pointer-events: none;
}

.story-bar {
  position: absolute;
  left: var(--gutter);
  right: calc(var(--gutter) + 84px);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 24px;
}
@media (min-width: 1408px) {
  .story-bar { left: calc((100vw - var(--site)) / 2 + var(--gutter)); }
}
.story-steps { display: flex; gap: 22px; }
.story-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  white-space: nowrap;
  color: #a8a29e;
  transition: color 0.3s;
}
.story-steps b { font-weight: 700; color: #d6d3d1; transition: color 0.3s; }
.story-steps li.is-active { color: var(--ink); }
.story-steps li.is-active b { color: var(--accent); }
.rail-track { position: relative; flex: 1; height: 2px; min-width: 60px; border-radius: 2px; background: #e7e1d6; overflow: hidden; }
.rail-fill {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #f97316, #fbbf24);
  transform: scaleX(0);
  transform-origin: left;
}

.skip-story {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  transition: color 0.2s, background 0.2s;
}
.skip-story svg { width: 14px; height: 14px; }
.skip-story:hover { color: var(--ink); background: #fff; }

.story-end-anchor { position: absolute; bottom: 100vh; }

@media (max-width: 1100px) {
  .story-steps { display: none; }
}
@media (max-height: 820px) {
  .scroll-hint { display: none; }
}
@media (min-aspect-ratio: 21/20) and (max-height: 760px) {
  .eyebrow-lg { display: none; }
  .hero-title { margin-top: 0; }
  .panel-title { margin-top: 12px; }
  .lead { margin-top: 16px; }
  .cta-row { margin-top: 22px; }
}
@media (min-aspect-ratio: 21/20) and (max-height: 560px) {
  .lead { display: none; }
}

/* Portrait / small screens: copy on top, scene below. */
@media (max-aspect-ratio: 21/20) {
  .panel {
    top: calc(var(--header-h) + 8px);
    transform: none;
    max-width: 30rem;
  }
  .story-veil {
    background: linear-gradient(180deg, var(--paper) 0%, rgba(251, 249, 246, 0.9) 34%, rgba(251, 249, 246, 0) 58%);
  }
  .hero-title { margin-top: 14px; font-size: clamp(2.9rem, 13vw, 4.6rem); }
  .panel-title { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .lead { margin-top: 14px; font-size: 0.95rem; }
  .cta-row { margin-top: 20px; }
  .scroll-hint { display: none; }
  .hand-note { display: none; }
  .story-bar { right: var(--gutter); bottom: calc(84px + env(safe-area-inset-bottom)); }
}

@media (max-aspect-ratio: 21/20) and (max-height: 700px) {
  .eyebrow-lg { display: none; }
  .lead { display: none; }
}

/* WebGL unavailable: show just the intro, no long scroll. */
.no-3d .story { height: auto; }
.no-3d .story-sticky { position: relative; height: auto; min-height: 100svh; }
.no-3d .story-copy { min-height: 100svh; }
.no-3d .panel:not(.panel--hero),
.no-3d .story-bar { display: none; }

/* ------------------------------------------------------------- Marquee */

.marquee {
  overflow: hidden;
  padding: 22px 0;
  background: var(--dark);
  color: #fff;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 90;
}
.marquee i { font-style: normal; color: var(--accent-2); font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ Sections */

.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--tint); }
.section--flush { padding-top: 0; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .sub { margin-inline: auto; }
.section-head--left { align-items: flex-start; text-align: left; margin-bottom: 36px; }

/* Reveal */
[data-rise] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
[data-rise].in { opacity: 1; transform: none; }
.no-js [data-rise] { opacity: 1; transform: none; }

/* Tilt cards */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s, opacity 0.8s;
}
.tilt.in { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tilt.is-hover { transition: transform 0.12s linear, box-shadow 0.4s; }

/* -------------------------------------------------------------- Offer */

.offer-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .offer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

.offer-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow), 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.offer-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(199, 210, 254, 0.55), transparent);
  pointer-events: none;
}
.offer-card--paid {
  color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, #3b1d0b 0%, var(--dark) 55%);
}
.offer-card--paid::before { background: radial-gradient(closest-side, rgba(249, 115, 22, 0.45), transparent); }
.offer-card > * { position: relative; }
.offer-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #fbbf24, #ea580c);
  box-shadow: 0 16px 30px -12px rgba(234, 88, 12, 0.8);
  transform: translateZ(40px);
}
.offer-badge--free { background: linear-gradient(135deg, #64748b, #0b0f19); box-shadow: 0 16px 30px -12px rgba(15, 23, 42, 0.6); }
.offer-kicker { margin-top: 28px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--soft); }
.offer-card--paid .offer-kicker { color: rgba(255, 255, 255, 0.55); }
.offer-title { margin: 10px 0 16px; font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.offer-card p { color: var(--muted); max-width: 30rem; }
.offer-card--paid p { color: rgba(255, 255, 255, 0.72); }
.offer-card strong { color: inherit; }
.offer-card--paid strong { color: #fdba74; }
.ticks { display: grid; gap: 10px; margin-top: 24px; font-size: 14px; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks svg { width: 20px; height: 20px; padding: 3px; flex: none; border-radius: 50%; color: #fff; background: var(--accent); }
.offer-foot { margin-top: 36px; text-align: center; color: var(--muted); }
.offer-foot .hand { display: block; font-size: 28px; color: var(--ink); transform: rotate(-2deg); }

/* ------------------------------------------------------------ Services */

.svc-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.svc {
  position: relative;
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 50px -32px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.05);
}
.svc:hover { box-shadow: 0 36px 60px -30px rgba(234, 88, 12, 0.35), 0 0 0 1px rgba(234, 88, 12, 0.15); }
.svc-num { position: absolute; top: 26px; right: 28px; font-size: 12px; font-weight: 700; letter-spacing: 0.15em; color: #cbd5e1; }
.svc-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  color: var(--accent);
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  box-shadow: inset 0 0 0 1px rgba(234, 88, 12, 0.12);
  transform: translateZ(30px);
}
.svc-icon svg { width: 32px; height: 32px; }
.svc h3 { margin-top: 24px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.svc p { margin-top: 8px; font-size: 15px; color: var(--soft); }

/* --------------------------------------------------------- Scrap cubes */

.metal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .metal-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.metal {
  padding: 28px 22px 26px;
  border-radius: var(--radius);
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}
.metal:hover { box-shadow: 0 30px 50px -30px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(15, 23, 42, 0.08); }
.metal h3 { margin-top: 36px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); text-transform: uppercase; letter-spacing: -0.02em; font-variation-settings: "wdth" 90; line-height: 1; color: var(--ink); }
.metal p { margin-top: 8px; font-size: 14px; color: var(--soft); }

.cube-stage {
  --s: clamp(64px, 12vw, 92px);
  position: relative;
  width: var(--s);
  height: var(--s);
  margin: 16px auto 0;
  perspective: 600px;
}
.cube-stage::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -38%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 23, 42, 0.22), transparent);
}
.cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: spin 14s linear infinite;
}
.metal:hover .cube { animation-duration: 4s; }
.cube i {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 2px, rgba(0, 0, 0, 0.04) 2px 5px),
    linear-gradient(160deg, var(--m1), var(--m2) 55%, var(--m3));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), inset 0 -10px 20px rgba(0, 0, 0, 0.15);
}
.cube i:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); filter: brightness(0.7); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); filter: brightness(0.85); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(0.8); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); filter: brightness(1.12); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(0.6); }
@keyframes spin {
  from { transform: rotateX(-22deg) rotateY(0deg); }
  to { transform: rotateX(-22deg) rotateY(360deg); }
}

/* -------------------------------------------------------- Scrap buying */

/* clip, not hidden: hidden would make .buy a scroll container and break the sticky pin. */
.buy { padding: 0; overflow: clip; color: #fff; background: var(--dark); }
.buy-pin { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.buy-pin::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 50% at 92% 8%, rgba(249, 115, 22, 0.22), transparent 70%),
    radial-gradient(35% 45% at 0% 100%, rgba(99, 102, 241, 0.16), transparent 70%);
  pointer-events: none;
}

/* Scroll-driven, like the hero: the pin holds the section on screen while the
   track scrolls past, and that scroll plays the scene. main.js sets --pin-top
   so the scene sits centred in the visible area even when the pin is taller
   than the viewport. */
.buy.is-live .buy-pin {
  position: sticky;
  top: var(--pin-top, 0px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 24px) 0 40px;
}
.buy.is-live .buy-track { height: 170vh; }
/* Keep the whole scene within short viewports (scene height is 0.74 × width). */
@media (min-width: 1000px) {
  .buy.is-live .buy-stage { width: 100%; max-width: calc((100svh - var(--header-h) - 48px) / 0.74); justify-self: center; }
}
.buy-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .buy-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }

.buy-title { margin-top: 22px; font-size: clamp(2.6rem, 5vw, 4.4rem); }
.buy-title .grad { display: block; }
.buy .sub { color: rgba(255, 255, 255, 0.65); }
.buy .cta-row { margin-top: 32px; }
.text-link--light { color: rgba(255, 255, 255, 0.8); text-decoration-color: rgba(255, 255, 255, 0.3); }
.text-link--light:hover { color: #fff; text-decoration-color: #fff; }

.buy-steps { display: grid; gap: 6px; margin-top: 32px; }
.buy-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 16px;
  padding: 14px 18px;
  border-radius: 18px;
  transition: opacity 0.45s, background 0.45s, box-shadow 0.45s;
}
.buy-step-num {
  grid-row: span 2;
  font-size: 30px;
  line-height: 1;
  background: var(--grad-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.buy-steps h3 { font-size: 17px; font-weight: 700; line-height: 1.3; color: #fff; }
.buy-steps p { font-size: 14.5px; color: rgba(255, 255, 255, 0.6); }
.buy.is-live .buy-steps li { opacity: 0.42; }
.buy.is-live .buy-steps li.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* The scene is sized in container units so it scales as one drawing. */
.buy-stage { container: scene / inline-size; }
.scene {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.74;
  border-radius: 32px;
  background:
    radial-gradient(60% 50% at 32% 82%, rgba(249, 115, 22, 0.18), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 6cqw 6cqw,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 6cqw 6cqw,
    #141a26;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.floor {
  position: absolute;
  inset: auto 0 0;
  height: 8cqw;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.readout {
  position: absolute;
  z-index: 3;
  left: 5cqw;
  top: 5cqw;
  width: 56cqw;
  padding: 2.2cqw 2.8cqw 2.4cqw;
  border-radius: 3cqw;
  background: linear-gradient(180deg, #0b0f19, #121826);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2cqw 4cqw -2cqw rgba(0, 0, 0, 0.7);
}
.readout-head {
  display: flex;
  justify-content: space-between;
  font-size: max(9px, 1.7cqw);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.readout-state { display: inline-flex; align-items: center; gap: 0.9cqw; }
.readout-state b { font-weight: 600; }
.readout-state i { width: max(6px, 1.2cqw); aspect-ratio: 1; border-radius: 50%; background: #4ade80; box-shadow: 0 0 1.4cqw #4ade80; }
.readout-state.is-busy i { background: #fbbf24; box-shadow: 0 0 1.4cqw #fbbf24; animation: blink 0.5s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.readout-num { display: flex; align-items: baseline; gap: 1.6cqw; margin-top: 1.2cqw; line-height: 1; }
.readout-digits {
  display: grid;
  font-size: 10cqw;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.readout-digits > span { grid-area: 1 / 1; text-align: right; }
.readout-ghost { color: rgba(251, 191, 36, 0.07); }
.readout-val { color: #fbbf24; text-shadow: 0 0 2.4cqw rgba(251, 191, 36, 0.55); }
.readout-unit { font-size: 3cqw; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

.scale { position: absolute; z-index: 1; left: 5cqw; bottom: 5.5cqw; width: 58cqw; }
.scale::after {
  content: "";
  position: absolute;
  left: -4cqw;
  right: -4cqw;
  bottom: -2.6cqw;
  height: 3.4cqw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent);
}
.scale-top { position: relative; z-index: 1; }
.pile { position: absolute; left: 0; right: 0; bottom: 100%; }
.piece {
  position: absolute;
  left: calc(var(--x) * 1cqw);
  bottom: calc(var(--y) * 1cqw);
  width: calc(var(--w) * 1cqw);
  rotate: var(--r, 0deg);
  filter: drop-shadow(0 0.8cqw 0.8cqw rgba(0, 0, 0, 0.45));
}
.piece svg { width: 100%; height: auto; overflow: visible; }
.buy.is-live .piece { opacity: 0; }
.plate {
  height: 3.4cqw;
  border-radius: 1cqw;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07) 0 0.5cqw, transparent 0.5cqw 1.6cqw),
    linear-gradient(180deg, #5b6472, #2b313b);
  box-shadow: inset 0 0.3cqw 0 rgba(255, 255, 255, 0.25), 0 1cqw 2cqw -1cqw rgba(0, 0, 0, 0.6);
}
.scale-base {
  position: relative;
  z-index: 1;
  height: 2.2cqw;
  margin: 0 2cqw;
  border-radius: 0 0 0.8cqw 0.8cqw;
  background: repeating-linear-gradient(135deg, #f59e0b 0 2cqw, #111827 2cqw 4cqw);
  opacity: 0.9;
}
.puff {
  position: absolute;
  width: 6cqw;
  height: 3cqw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 211, 209, 0.55), transparent);
  pointer-events: none;
}

.slip { position: absolute; z-index: 2; right: 5cqw; top: 5cqw; width: 31cqw; }
.slip-slot {
  position: relative;
  z-index: 1;
  height: 2cqw;
  border-radius: 1cqw;
  background: #0b0f19;
  box-shadow: inset 0 0.4cqw 0.6cqw rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.slip-paper {
  position: relative;
  margin: -1cqw 1.4cqw 0;
  padding: 3cqw 2.2cqw calc(3.4cqw + max(28px, 6.4cqw));
  font-size: max(10px, 2.1cqw);
  line-height: 1.75;
  color: #1c1917;
  background: #fffdf7;
  box-shadow: 0 2cqw 3cqw -1.5cqw rgba(0, 0, 0, 0.6);
}
.slip-paper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 6px;
  background:
    linear-gradient(135deg, #fffdf7 33.33%, transparent 33.33%) 0 0 / 8px 8px,
    linear-gradient(225deg, #fffdf7 33.33%, transparent 33.33%) 0 0 / 8px 8px;
}
.slip-head {
  padding-bottom: 0.6em;
  border-bottom: 1px dashed #a8a29e;
  font-family: var(--font-display);
  font-size: 1.25em;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  font-variation-settings: "wdth" 90;
}
.slip-head span {
  display: block;
  margin-top: 0.4em;
  font-family: var(--font-sans);
  font-size: 0.56em;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #78716c;
}
.slip-rows { margin-top: 0.4em; }
.slip-row { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.4s ease, opacity 0.4s ease; }
.slip-row.on { grid-template-rows: 1fr; opacity: 1; }
.slip-row > div { display: flex; align-items: baseline; gap: 0.4em; overflow: hidden; white-space: nowrap; }
.slip-row i { flex: 1; min-width: 0.5em; border-bottom: 1px dotted #a8a29e; }
.slip-row b { font-weight: 700; font-variant-numeric: tabular-nums; }
.slip-total > div { margin-top: 0.3em; border-top: 1px dashed #a8a29e; font-weight: 800; }
.slip-total i { border: 0; }
.slip-stamp {
  position: absolute;
  left: 50%;
  bottom: 2cqw;
  translate: -50% 0;
  padding: 0.05em 0.4em;
  border: 0.12em solid currentColor;
  border-radius: 0.18em;
  font-family: var(--font-display);
  font-size: max(18px, 4.6cqw);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ea580c;
  background: rgba(255, 253, 247, 0.35);
  opacity: 0;
  transform: rotate(-14deg) scale(2.4);
}
.slip-stamp.on { opacity: 0.9; transform: rotate(-14deg) scale(1); }

/* Phone-width scene: taller stage, wider slip. */
@container scene (max-width: 480px) {
  .scene { aspect-ratio: 1 / 1.05; border-radius: 24px; }
  .slip { right: 4cqw; width: 41cqw; }
  .slip-paper { margin-inline: 1cqw; padding-inline: 1.8cqw; }
  .readout { width: 50cqw; }
}

/* ------------------------------------------------------------- Process */

.steps { display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.step {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.step-num {
  display: inline-block;
  font-size: 64px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { margin-top: 18px; font-size: 19px; font-weight: 700; color: var(--ink); }
.step p { margin-top: 8px; font-size: 15px; color: var(--soft); }
@media (min-width: 1100px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 58px;
    right: -16px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fdba74;
    border-right: 2px solid #fdba74;
    transform: rotate(45deg);
  }
}

/* -------------------------------------------------------------- Why us */

.why { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .why { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.why-stat { position: relative; }
.why-year { display: block; font-size: clamp(5rem, 13vw, 10rem); color: var(--ink); }
.why-hand { display: inline-block; margin-bottom: 8px; font-size: 28px; color: #78716c; transform: rotate(-4deg); }
.why-grid { display: grid; gap: 14px; }
@media (min-width: 600px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-item { padding: 24px; border-radius: 22px; background: var(--tint); }
.why-item h3 { font-size: 17px; font-weight: 700; color: var(--ink); }
.why-item h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
.why-item p { margin-top: 6px; font-size: 14.5px; color: var(--soft); }

/* ----------------------------------------------------------------- FAQ */

.faq { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .faq { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.faq-item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  background: var(--tint);
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; font-size: 15px; color: var(--soft); }

/* ----------------------------------------------------------- Companies */

.company-band {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(249, 115, 22, 0.35), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 14px, transparent 14px 28px),
    #141a26;
}
@media (min-width: 900px) { .company-band { grid-template-columns: 1fr auto; } }
.company-band .h2 { color: #fff; max-width: 44rem; }
.company-band .grad { background-image: var(--grad-dark); }
.company-band .sub { color: rgba(255, 255, 255, 0.65); }
.company-band::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: repeating-linear-gradient(135deg, #f59e0b 0 16px, #111827 16px 32px);
  opacity: 0.85;
}

/* ------------------------------------------------------------- Contact */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 80px);
  border-radius: 40px;
  color: #fff;
  background: var(--dark);
}
.cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 55% at 85% 20%, rgba(249, 115, 22, 0.28), transparent 70%),
    radial-gradient(35% 45% at 5% 100%, rgba(99, 102, 241, 0.22), transparent 70%);
  pointer-events: none;
}
.cta-grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 1000px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.cta-title { margin-top: 22px; font-size: clamp(2.7rem, 5.2vw, 4.6rem); }
.cta-links { display: grid; gap: 4px; margin-top: 36px; }
.cta-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 6px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}
.cta-links a:hover { color: #fff; }
.cta-links svg { width: 18px; height: 18px; color: #fdba74; }

.cta-right { display: flex; flex-direction: column; align-items: center; gap: 40px; }
@media (min-width: 1000px) { .cta-right { align-items: flex-end; } }

.orb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: clamp(144px, 16vw, 176px);
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #3b1504;
  background: radial-gradient(circle at 30% 25%, #fef3c7 0%, #fbbf24 35%, #ea580c 100%);
  box-shadow: 0 0 80px -12px rgba(249, 115, 22, 0.75);
  transition: transform 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.orb svg { width: 20px; height: 20px; transition: transform 0.3s; }
.orb:hover { box-shadow: 0 0 110px -10px rgba(249, 115, 22, 0.9); }
.orb:hover svg { transform: translateX(4px); }
.orb-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(251, 191, 36, 0.35);
  animation: ring 3.2s ease-out infinite;
  pointer-events: none;
}
.orb-ring--2 { animation-delay: 1.6s; }
@keyframes ring {
  from { transform: scale(0.9); opacity: 1; }
  to { transform: scale(1.35); opacity: 0; }
}

.quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.quote-title { grid-column: 1 / -1; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.6); }
.quote label { display: grid; gap: 6px; }
.quote label > span { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.quote .full { grid-column: 1 / -1; }
.quote input,
.quote select,
.quote textarea {
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-radius: 14px;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  outline: none;
  transition: box-shadow 0.2s, background 0.2s;
}
.quote select option { color: var(--ink); }
.quote textarea { resize: vertical; min-height: 84px; }
.quote input::placeholder,
.quote textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.quote input:focus,
.quote select:focus,
.quote textarea:focus { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1.5px #fb923c; }
.quote .is-invalid { box-shadow: inset 0 0 0 1.5px #f87171; }
.quote button { margin-top: 6px; }
.quote-note { min-height: 1em; font-size: 13px; color: #fca5a5; }
@media (max-width: 520px) { .quote { grid-template-columns: 1fr; padding: 18px; } }

.visit {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
@media (min-width: 900px) { .visit { grid-template-columns: 0.8fr 1.2fr; } }
.visit-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--tint);
}
.visit-title { margin: 18px 0 14px; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--ink); }
.visit-addr { display: flex; gap: 10px; margin-bottom: 18px; color: var(--muted); }
.visit-addr svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent); }
.visit-map { overflow: hidden; min-height: 280px; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08); }
.visit-map iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* -------------------------------------------------------------- Footer */

.footer { padding: 64px 0 28px; color: rgba(255, 255, 255, 0.6); background: var(--dark); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-grid a:not(.brand) { display: block; padding: 4px 0; font-size: 14px; transition: color 0.2s; }
.footer-grid a:not(.brand):hover { color: #fff; }
.footer-about { margin-top: 16px; max-width: 22rem; font-size: 14px; }
.footer-h { margin-bottom: 10px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: rgba(255, 255, 255, 0.4); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

/* ------------------------------------------------------ Floating contact */

.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #4ade80, #16a34a);
  box-shadow: 0 18px 30px -10px rgba(22, 163, 74, 0.65);
  transition: transform 0.25s;
}
.fab svg { width: 28px; height: 28px; }
.fab:hover { transform: scale(1.07); }

.mobile-bar { display: none; }

@media (max-width: 760px) {
  .fab { display: none; }
  .mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #fb923c, #ea580c);
  }
  .mobile-bar a.is-wa { background: linear-gradient(135deg, #4ade80, #16a34a); }
  .mobile-bar svg { width: 18px; height: 18px; }
  .footer { padding-bottom: 96px; }
}

/* ------------------------------------------------------- Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track,
  .cube,
  .orb-ring,
  .readout-state i,
  .scroll-mouse span { animation: none; }
  [data-rise] { transition: none; opacity: 1; transform: none; }
}
