/* ==========================================================================
   v3 Design System — Kinetic Luxury & Interactive Motion (MotionSites / Aceternity / React Bits)
   Rich atmospheric depth, 3D perspective tilt, live canvas mesh, opposing scroll
   parallax filmstrip, animated live motion graphics, and interactive configurator.
   ========================================================================== */

:root {
  --bg-0: #090b11;
  --bg-1: #0e121b;
  --bg-2: #141926;
  --glass: rgba(18, 23, 35, 0.72);
  --glass-hover: rgba(25, 32, 49, 0.88);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --ink: #f6f7fb;
  --ink-2: rgba(246, 247, 251, 0.72);
  --ink-3: rgba(246, 247, 251, 0.48);

  --gold: #e8c07d;
  --gold-bright: #f6e2b3;
  --gold-dim: rgba(232, 192, 125, 0.14);
  --sapphire: #4f7cff;
  --sapphire-dim: rgba(79, 124, 255, 0.16);
  --emerald: #3cd09c;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 74px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

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

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4, p, figure, ul, ol {
  margin: 0;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 120;
  background: var(--gold);
  color: var(--bg-0);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { left: 12px; }

.shell {
  width: min(1340px, calc(100% - 48px));
  margin-inline: auto;
}

/* Custom Interactive Cursor Halo */
.cursor-halo {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(232, 192, 125, 0.45);
  background: rgba(232, 192, 125, 0.05);
  pointer-events: none;
  z-index: 100;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}
.cursor-halo.visible { opacity: 1; }
.cursor-halo.active {
  width: 54px;
  height: 54px;
  border-color: var(--gold);
  background: rgba(232, 192, 125, 0.12);
}

/* Typography */
h1, h2, h3 {
  letter-spacing: -0.032em;
  font-weight: 700;
  line-height: 1.08;
}
h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.45rem);
}
h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  line-height: 1.2;
}
.serif-it {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 192, 125, 0.3);
  background: rgba(232, 192, 125, 0.08);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
}
.badge-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

/* Buttons & Icons */
.icon-arrow {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: inline-block;
  transition: transform 0.28s var(--ease);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background-color 0.22s ease, border-color 0.22s ease;
}
.btn:hover .icon-arrow,
.text-link:hover .icon-arrow {
  transform: translateX(4px);
}
.btn-sm { padding: 10px 18px; font-size: 0.86rem; }
.btn-full { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #090b11;
  border-top: 1.5px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 28px rgba(232, 192, 125, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* Command Palette Trigger & Frosted Spotlight Modal */
.cmd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-2);
  font-size: 0.84rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.cmd-trigger:hover {
  border-color: rgba(232, 192, 125, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}
.cmd-trigger svg { width: 15px; height: 15px; }
.cmd-trigger kbd,
.cmd-input-row kbd {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--ink-3);
}

.cmd-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(64px, 12vh, 130px) 16px 24px;
}
.cmd-modal[hidden] { display: none; }
.cmd-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.72);
  backdrop-filter: blur(10px);
}
.cmd-dialog {
  position: relative;
  z-index: 1;
  width: min(580px, 100%);
  border-radius: var(--radius-md);
  background: rgba(16, 20, 31, 0.96);
  border: 1px solid var(--border-strong);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  animation: fade-rise 0.22s var(--ease);
}
.cmd-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.cmd-input-row svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.cmd-input-row input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 0.98rem;
}
.cmd-input-row input:focus { outline: none; }
.cmd-results {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  display: grid;
  gap: 4px;
}
.cmd-item {
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  transition: background-color 0.16s ease;
}
.cmd-item:hover,
.cmd-item:focus-visible {
  background: rgba(232, 192, 125, 0.12);
}
.cmd-item small {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.45) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease);
}
.btn-gold:hover::after {
  transform: translateX(120%);
}
.btn-gold:hover {
  box-shadow: 0 12px 34px rgba(232, 192, 125, 0.34);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
  color: var(--ink);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.text-link:hover {
  color: var(--gold-bright);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 11, 17, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.read-beam {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--sapphire), var(--gold));
  transform: scaleX(var(--read, 0));
  transform-origin: left;
  pointer-events: none;
}
.header-bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.brand-wordmark {
  font-family: 'Cormorant Garamond', var(--font-serif), Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.72rem;
  line-height: 1;
  letter-spacing: 0.03em;
  background: linear-gradient(115deg, #f6e2b3 0%, #e8c07d 38%, #ffffff 56%, #e8c07d 78%, #c79a52 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(232, 192, 125, 0.22));
  transition: background-position 0.6s var(--ease), filter 0.3s ease;
}
.brand:hover .brand-wordmark {
  background-position: 100% center;
  filter: drop-shadow(0 4px 18px rgba(232, 192, 125, 0.42));
}
.brand-orb {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(232, 192, 125, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.28s var(--ease), border-color 0.25s ease;
}
.brand:hover .brand-orb {
  transform: scale(1.05);
  border-color: var(--gold);
}
.brand-orb img,
.brand-orb svg { width: 100%; height: 100%; object-fit: contain; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.primary-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.primary-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}
.primary-nav a[aria-current="page"] {
  color: var(--bg-0);
  background: var(--gold);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 600;
}
.menu-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 14px;
}
.menu-bars i {
  display: block;
  height: 1.6px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-bars i:first-child { transform: translateY(2.8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars i:last-child { transform: translateY(-2.8px) rotate(-45deg); }

.mobile-sheet {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 39;
}
.mobile-sheet[hidden] { display: none; }
.mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}
.mobile-panel {
  position: relative;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border-strong);
  padding: 20px 24px 28px;
}
.mobile-nav {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}
.mobile-nav a {
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
}
.mobile-nav a[aria-current="page"] {
  background: var(--gold-dim);
  color: var(--gold);
}

/* ==========================================================================
   Cinematic Hero with Live Interactive Canvas + 3D Perspective Card Stage
   ========================================================================== */

.hero {
  position: relative;
  min-height: clamp(640px, 88vh, 880px);
  display: flex;
  align-items: center;
  padding: clamp(48px, 6vw, 88px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(75% 70% at 50% 45%, transparent 25%, var(--bg-0) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(2.85rem, 5.4vw, 4.95rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.hero-title .line-clip {
  display: block;
  overflow: hidden;
}
.hero-title .line-clip > span {
  display: inline-block;
  animation: clip-up 0.85s var(--ease) both;
  animation-delay: var(--d, 0ms);
}
@keyframes clip-up {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* 3D Rotating Word Flipper (Aceternity FlipWords / React Bits RotatingText) */
.flip-wrap {
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  height: 1.15em;
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  padding-right: 6px;
}
.flip-word {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(65%) rotateX(-55deg);
  filter: blur(6px);
  transition: transform 0.65s var(--ease), opacity 0.55s ease, filter 0.55s ease;
}
.flip-word.active {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  filter: blur(0);
}
.flip-word.exit {
  opacity: 0;
  transform: translateY(-65%) rotateX(55deg);
  filter: blur(6px);
}

.hero-lead {
  margin-top: 22px;
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 50ch;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-live-stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.stat-glass {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.stat-glass strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-glass span {
  font-size: 0.78rem;
  color: var(--ink-2);
}

/* 3D Perspective Interactive Photo Deck */
.hero-stage-wrap {
  perspective: 1200px;
}
.hero-stage {
  position: relative;
  aspect-ratio: 4 / 4.25;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(232, 192, 125, 0.12);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(232, 192, 125, 0.16), transparent 60%);
  pointer-events: none;
}
.stage-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.85s ease, transform 6.2s linear;
}
.stage-slide.active {
  opacity: 1;
  transform: scale(1);
}
.stage-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(9, 11, 17, 0.18) 0%, rgba(9, 11, 17, 0.1) 46%, rgba(9, 11, 17, 0.9) 100%);
  pointer-events: none;
}

/* Floating Glass Telemetry Badge inside 3D Stage */
.stage-float-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(9, 11, 17, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink);
}
.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
  animation: pulse-dot 1.8s infinite;
}

.stage-hud {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  display: grid;
  gap: 14px;
}
.stage-hud-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.stage-cap-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 4px;
}
.stage-cap-title {
  font-size: 1rem;
  font-weight: 600;
}
.stage-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.stage-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(9, 11, 17, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.stage-btn:hover {
  background: var(--gold);
  color: var(--bg-0);
  border-color: var(--gold);
}
.stage-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.stage-seg {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  border: 0;
  padding: 0;
  overflow: hidden;
}
.stage-seg i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
}
.stage-seg.done i { width: 100%; }
.stage-seg.active i { animation: seg-fill 5.2s linear forwards; }
@keyframes seg-fill {
  from { width: 0%; }
  to { width: 100%; }
}

/* ==========================================================================
   Scroll-Driven Dual-Track Opposing Parallax Photo Wall (10 Unique Scenes)
   ========================================================================== */

.reel-section {
  padding: 48px 0 60px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.reel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.reel-tracks {
  display: grid;
  gap: 16px;
}
.reel-track {
  display: flex;
  gap: 16px;
  will-change: transform;
  padding-inline: 24px;
}
.reel-card {
  position: relative;
  flex: 0 0 clamp(290px, 27vw, 410px);
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color 0.25s ease, box-shadow 0.3s ease;
}
.reel-card:hover {
  border-color: rgba(232, 192, 125, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.48);
}
.reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}
.reel-card:hover img {
  transform: scale(1.07);
}
.reel-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(9, 11, 17, 0.9));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}
.reel-card figcaption em {
  font-style: normal;
  color: var(--ink);
}
.reel-card figcaption span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold);
  white-space: nowrap;
}

/* ==========================================================================
   Sections & 3D Tilt Spotlight Cards (React Bits TiltedCard + Aceternity Spotlight)
   ========================================================================== */

.section {
  padding: clamp(64px, 8vw, 112px) 0;
  position: relative;
}
.section-alt {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}
.section-head-copy {
  max-width: 680px;
}
.section-head-copy h2 { margin-top: 14px; }
.section-head-copy p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 1.04rem;
}

.tilt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tilt-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out, border-color 0.25s ease, box-shadow 0.3s ease;
}
.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 192, 125, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.tilt-card:hover {
  border-color: rgba(232, 192, 125, 0.42);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.tilt-card:hover::before {
  opacity: 1;
}

.tilt-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.tilt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.tilt-card:hover .tilt-photo img {
  transform: scale(1.07);
}
.tilt-num {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(9, 11, 17, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
}

.tilt-body {
  position: relative;
  z-index: 3;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.tilt-body p {
  color: var(--ink-2);
  font-size: 0.94rem;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tag-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--ink-2);
}
.tilt-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ghost-action {
  background: transparent;
  border: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 0.2s ease;
}
.ghost-action:hover { color: var(--gold); }

/* ==========================================================================
   Commerce & Customer Growth — Tracing Beam + Live Motion Visualizer (Remotion/HyperFrames feel)
   ========================================================================== */

.pill-switcher {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}
.pill-slider {
  position: absolute;
  top: 6px;
  left: 6px;
  height: calc(100% - 12px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  transition: transform 0.36s var(--ease), width 0.36s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.pill-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.22s ease;
}
.pill-btn .p-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  opacity: 0.7;
}
.pill-btn[aria-selected="true"],
.pill-btn[aria-pressed="true"] {
  color: var(--bg-0);
}

.commerce-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
  animation: fade-rise 0.4s var(--ease);
}
.commerce-left-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}
.commerce-example-card {
  margin-top: auto;
  border-radius: var(--radius-md);
  background: rgba(232, 192, 125, 0.06);
  border: 1px solid rgba(232, 192, 125, 0.22);
  padding: 18px 20px;
  display: grid;
  gap: 8px;
}
.commerce-example-card p {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.55;
}
@keyframes fade-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Aceternity-style Tracing Beam Timeline */
.beam-list {
  position: relative;
  padding-left: 36px;
  display: grid;
  gap: 14px;
}
.beam-track {
  position: absolute;
  left: 11px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}
.beam-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--beam-pct, 25%);
  background: linear-gradient(180deg, var(--sapphire), var(--gold));
  box-shadow: 0 0 14px rgba(232, 192, 125, 0.6);
  transition: height 0.45s var(--ease);
}

.beam-step {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.beam-step::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid rgba(255, 255, 255, 0.28);
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.beam-step.open {
  border-color: rgba(232, 192, 125, 0.42);
  background: var(--glass-hover);
}
.beam-step.open::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 14px var(--gold);
}

.beam-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.beam-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
}
.beam-title {
  font-weight: 600;
  font-size: 1.02rem;
  flex: 1;
}
.beam-plus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  transition: transform 0.3s var(--ease), background-color 0.2s ease, color 0.2s ease;
}
.beam-step.open .beam-plus {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--bg-0);
  border-color: var(--gold);
}
.beam-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease);
}
.beam-step.open .beam-body {
  grid-template-rows: 1fr;
}
.beam-body-inner { overflow: hidden; }
.beam-body-inner p {
  padding: 0 20px 18px 46px;
  color: var(--ink-2);
  font-size: 0.93rem;
}

/* Live Motion Visualizer Stage (Video/GIF-like crisp animated vector graphics) */
.visualizer-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 28, 44, 0.92) 0%, rgba(12, 16, 26, 0.96) 100%);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.viz-screen {
  position: relative;
  height: 270px;
  background: radial-gradient(80% 90% at 50% 25%, rgba(79, 124, 255, 0.18), transparent 70%), #0a0d15;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.viz-screen svg {
  width: 100%;
  height: 100%;
}
.viz-badge {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(9, 11, 17, 0.78);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold);
}
.viz-info {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.viz-info p {
  color: var(--ink-2);
  font-size: 0.94rem;
}
.viz-metric-bar {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(79, 124, 255, 0.1);
  border: 1px solid rgba(79, 124, 255, 0.25);
  font-size: 0.86rem;
}
.viz-metric-bar strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--sapphire);
  margin-bottom: 4px;
  text-transform: uppercase;
}

/* Motion Graphics Keyframes */
.dash-flow {
  stroke-dasharray: 6 6;
  animation: dash-move 1.8s linear infinite;
}
@keyframes dash-move {
  to { stroke-dashoffset: -24; }
}
.wave-bar {
  transform-box: fill-box;
  transform-origin: center;
  animation: eq-bounce 1.2s ease-in-out infinite alternate;
  animation-delay: var(--wd, 0ms);
}
@keyframes eq-bounce {
  from { transform: scaleY(0.28); opacity: 0.55; }
  to { transform: scaleY(1); opacity: 1; }
}
.orbit-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: ring-pulse 2.4s ease-out infinite;
}
@keyframes ring-pulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* ==========================================================================
   Interactive Scope & Timeline Configurator (High-Interactivity!)
   ========================================================================== */

.config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.config-controls {
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--border);
  padding: clamp(24px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 26px;
  height: 100%;
}
.config-group-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.goal-cards {
  display: grid;
  gap: 10px;
}
.goal-btn {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.22s var(--ease);
}
.goal-btn:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
}
.goal-btn[aria-pressed="true"] {
  background: rgba(232, 192, 125, 0.11);
  border-color: var(--gold);
}
.goal-btn strong {
  display: block;
  font-size: 1rem;
}
.goal-btn span {
  font-size: 0.84rem;
  color: var(--ink-2);
}

.scale-pills,
.addon-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.toggle-chip {
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.2s ease;
}
.toggle-chip:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}
.toggle-chip[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-0);
  font-weight: 600;
}

.config-output {
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(25, 32, 50, 0.92), rgba(13, 17, 27, 0.96));
  border: 1px solid rgba(232, 192, 125, 0.34);
  padding: clamp(26px, 3.5vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}
.config-prep-box {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--ink-2);
}
.timeline-visual {
  display: grid;
  gap: 10px;
}
.phase-bar-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 0.82rem;
}
.phase-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.phase-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sapphire), var(--gold));
  transition: width 0.5s var(--ease), margin-left 0.5s var(--ease);
}

/* ==========================================================================
   Guides, Directory & Subpages
   ========================================================================== */

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.guide-card {
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--ease), border-color 0.22s ease;
}
.guide-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 192, 125, 0.4);
}
.guide-card p { color: var(--ink-2); font-size: 0.93rem; }
.guide-card .text-link { margin-top: auto; padding-top: 10px; }

.page-hero {
  padding: clamp(44px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(60% 80% at 85% 20%, rgba(79, 124, 255, 0.14), transparent 65%), var(--bg-1);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.page-hero.no-photo .page-hero-grid { grid-template-columns: 1fr; }
.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin-bottom: 18px;
  font-size: 0.8rem;
}
.breadcrumb-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-weight: 500;
  transition: color 0.2s ease;
}
.breadcrumb-nav a:hover {
  color: var(--gold);
}
.breadcrumb-nav svg {
  width: 13px;
  height: 13px;
  opacity: 0.85;
}
.breadcrumb-sep {
  color: var(--ink-3);
  font-size: 0.75rem;
  user-select: none;
}
.breadcrumb-current {
  color: var(--gold-bright);
  font-weight: 600;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  margin-top: 12px;
}
.page-hero p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 1.06rem;
  max-width: 58ch;
}
.page-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-strong);
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.filter-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(9, 11, 17, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.filter-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.search-bar input {
  flex: 1;
  min-width: 240px;
  max-width: 460px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}
.search-bar input:focus {
  outline: none;
  border-color: var(--gold);
}

.split-2 {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.glass-panel {
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 26px;
}
.glass-panel p,
.glass-panel li { color: var(--ink-2); font-size: 0.95rem; }
.glass-panel ul { padding-left: 18px; display: grid; gap: 8px; margin-top: 10px; }

/* Rich Subpage Components (v6) */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.sticky-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: grid;
  gap: 18px;
}
.meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.meta-pill-box {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.meta-pill-box strong {
  display: block;
  font-size: 1rem;
  color: var(--gold-bright);
  margin-top: 4px;
}
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--glass);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
  font-size: 0.9rem;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.03);
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td { color: var(--ink-2); }
.compare-table td strong { color: var(--ink); }

.guide-thumb {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 6px;
}
.guide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.guide-card:hover .guide-thumb img { transform: scale(1.06); }

.checklist-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(60, 208, 156, 0.07);
  border: 1px solid rgba(60, 208, 156, 0.22);
}
.pitfall-box {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(232, 192, 125, 0.07);
  border: 1px solid rgba(232, 192, 125, 0.22);
}
.tag-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(232, 192, 125, 0.09);
  border: 1px solid rgba(232, 192, 125, 0.34);
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.2s ease, transform 0.2s var(--ease);
}
.tag-link:hover {
  background: rgba(232, 192, 125, 0.2);
  transform: translateY(-1px);
}
.phase-bar-row {
  display: grid;
  grid-template-columns: 145px 1fr 48px;
  gap: 12px;
  align-items: center;
  font-size: 0.82rem;
}

/* ==========================================================================
   Footer & Slide-Over Drawer
   ========================================================================== */

.site-footer {
  background: #06070c;
  border-top: 1px solid var(--border);
  padding: clamp(56px, 7vw, 96px) 0 36px;
}
.footer-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-hero h2 {
  margin-top: 14px;
  max-width: 17ch;
}
.footer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 1fr 1fr;
  gap: 36px;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}
.footer-desc,
.footer-meta {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 0.9rem;
  max-width: 38ch;
}
.footer-hubs {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
}
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-grid a {
  font-size: 0.92rem;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--ink-3);
}

/* Monumental Artistic Metallic-Gradient Legal Signature */
.footer-signature {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(232, 192, 125, 0.14);
  text-align: center;
  overflow: hidden;
}
.footer-signature-text {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.65rem, 3.6vw, 3.35rem);
  letter-spacing: 0.035em;
  line-height: 1.15;
  background: linear-gradient(
    110deg,
    rgba(232, 192, 125, 0.35) 0%,
    #f6e2b3 24%,
    #e8c07d 45%,
    #7ea2ff 68%,
    #f6e2b3 84%,
    rgba(232, 192, 125, 0.35) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 26px rgba(232, 192, 125, 0.16));
  animation: gold-shimmer 9s linear infinite;
}
@keyframes gold-shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 220% center; }
}

/* Forms & Drawer */
.enquiry-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}
.field select option {
  background: var(--bg-1);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.context-box {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  border: 1px solid rgba(232, 192, 125, 0.35);
  font-size: 0.86rem;
  color: var(--gold-bright);
}
.status-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(60, 208, 156, 0.1);
  border: 1px solid rgba(60, 208, 156, 0.35);
  display: grid;
  gap: 12px;
}
.status-card h3 { font-size: 1.15rem; color: var(--emerald); }
.status-card p { font-size: 0.88rem; color: var(--ink-2); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
}
.drawer[hidden] { display: none; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}
.drawer-panel {
  position: relative;
  z-index: 1;
  width: min(490px, 100%);
  height: 100%;
  background: var(--bg-1);
  border-left: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  animation: drawer-slide 0.35s var(--ease);
}
@keyframes drawer-slide {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.drawer-head {
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.drawer-head h2 { font-size: 1.45rem; margin-top: 4px; }
.icon-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-close:hover { background: var(--gold); color: var(--bg-0); }
.icon-close svg { width: 16px; height: 16px; }
.drawer-body {
  padding: 24px 26px 34px;
  overflow-y: auto;
  flex: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1040px) {
  .hero-grid,
  .commerce-grid,
  .config-grid,
  .page-hero-grid,
  .split-2 {
    grid-template-columns: 1fr;
  }
  .tilt-grid,
  .guides-grid,
  .grid-4,
  .grid-2,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sticky-aside { position: static; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .shell { width: calc(100% - 32px); }
  .primary-nav,
  .header-actions .btn,
  .cursor-halo {
    display: none !important;
  }
  .brand { font-size: 0.95rem; white-space: nowrap; }
  .header-bar { gap: 10px; }
  .cmd-trigger { padding: 8px 10px; }
  .cmd-trigger span,
  .cmd-trigger kbd { display: none; }
  .menu-toggle { display: inline-flex; flex-shrink: 0; }
  .hero-live-stats,
  .tilt-grid,
  .guides-grid,
  .grid-4,
  .grid-2,
  .meta-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .pill-switcher { border-radius: var(--radius-md); width: 100%; }
  .pill-slider { display: none; }
  .pill-btn[aria-selected="true"],
  .pill-btn[aria-pressed="true"] {
    background: var(--gold);
  }
}

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