/* ==========================================================================
   Clean Deep Graphite & Kinetic Motion System
   ========================================================================== */
:root {
  --bg: #0E1013;
  --bg-elevated: #14171C;
  --bg-panel: #1A1E25;
  --bg-input: #0F1115;
  --ink: #F8FAFC;
  --ink-muted: #9BA3B0;
  --ink-dim: #69717F;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent-ice: #93C5FD;

  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --radius: 18px;
}

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

/* Guarantee HTML [hidden] always beats flex/grid rules */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Strict text copy protection */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Allow typing inside form inputs only */
input,
textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  pointer-events: none;
}

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 10px 16px;
  background: #FFFFFF;
  color: #0E1013;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

/* Top Scroll Progress Line */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 300;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #60A5FA 0%, #FFFFFF 60%, #93C5FD 100%);
  pointer-events: none;
}

/* Ambient Soft Pointer Aura */
.cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.07) 0%, rgba(255, 255, 255, 0.02) 38%, transparent 70%);
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 400ms ease;
}

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

.container {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.65rem, 5.4vw, 4.75rem);
  font-weight: 700;
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.1;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

/* ==========================================================================
   Spotlight Cards (Dynamic Graphite Light Under Cursor)
   ========================================================================== */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.08),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
  z-index: 2;
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* ==========================================================================
   Buttons & Shine / Magnetic Feel
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  will-change: transform;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 240ms ease, transform 220ms var(--ease-expo);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.87rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
}

.btn-white {
  background: #F8FAFC;
  color: #0E1013;
  box-shadow: 0 8px 28px -10px rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
  background: #FFFFFF;
  box-shadow: 0 12px 36px -8px rgba(147, 197, 253, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -120%;
  width: 60%;
  height: 140%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.65) 50%, transparent 80%);
  transform: skewX(-18deg);
  transition: left 620ms var(--ease-expo);
  pointer-events: none;
}

.btn-shine:hover::after {
  left: 150%;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(14, 16, 19, 0.72);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background-color 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(14, 16, 19, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.13);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  color: var(--ink);
}

.brand-monogram {
  display: inline-flex;
  transition: transform 280ms var(--ease-expo);
}

.brand:hover .brand-monogram {
  transform: scale(1.06);
}

.brand-monogram-dot {
  transition: filter 240ms ease;
}

.brand:hover .brand-monogram-dot {
  filter: drop-shadow(0 0 6px rgba(147, 197, 253, 0.95));
}

.brand-wordmark {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FFFFFF;
}

.brand-wordmark span {
  font-weight: 600;
  color: var(--ink-muted);
}

.brand-footer .brand-wordmark {
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  position: relative;
  font-size: 0.9rem;
  color: var(--ink-muted);
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: #FFFFFF;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease-expo);
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  width: 16px;
  height: 1.5px;
  background: #FFFFFF;
  display: block;
  transition: transform 220ms var(--ease-expo);
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(3.2px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-3.2px) rotate(-45deg);
}

.mobile-menu {
  background: #12151A;
  border-top: 1px solid var(--line);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 16px 0 24px;
}

.mobile-menu-inner a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink);
}

/* ==========================================================================
   Hero + Three.js Flowing Silk-Wave Scene
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding-top: 72px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 68% 42%, #1C212B 0%, #12151A 52%, #0E1013 100%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 16, 19, 0.88) 0%, rgba(14, 16, 19, 0.45) 45%, rgba(14, 16, 19, 0.04) 100%),
    linear-gradient(180deg, rgba(14, 16, 19, 0.28) 0%, transparent 22%, rgba(14, 16, 19, 0.96) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 84px 0 48px;
  gap: 64px;
}

.hero-content {
  max-width: 650px;
  margin-block: auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.line-reveal {
  display: block;
  opacity: 0;
  transform: translateY(108%);
  animation: lineSlideUp 920ms var(--ease-expo) forwards;
  animation-delay: var(--d, 0s);
}

.line-muted {
  color: rgba(248, 250, 252, 0.58);
}

.hero-anim {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeSlideUp 820ms var(--ease-expo) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes lineSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-lead {
  max-width: 45ch;
  font-size: 1.12rem;
  line-height: 1.62;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 26px;
  gap: 24px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.metric span {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Scroll-Triggered Stagger Reveals
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition: opacity 760ms var(--ease-expo), transform 820ms var(--ease-expo);
  transition-delay: calc(var(--stagger, 0) * 90ms);
}

.reveal.is-inview {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   Shared Sections
   ========================================================================== */
.section {
  position: relative;
  z-index: 2;
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-header {
  max-width: 620px;
  margin-bottom: 50px;
}

.section-header p {
  margin-top: 14px;
  font-size: 1.04rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Showcase: Live Desktop + Phone Preview Stage with Thumbnail Strip
   ========================================================================== */
.showcase-section {
  overflow: hidden;
}

.sc {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.sc-main {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 48px;
  align-items: center;
}

/* Project info column */
.sc-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sc-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}

.sc-counter span:first-child {
  color: var(--ink);
}

.sc-counter i {
  width: 34px;
  height: 1px;
  background: var(--line-strong);
}

.sc-niche {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-ice);
}

.sc-brand {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.sc-desc {
  margin: 16px 0 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  min-height: calc(1.6em * 4);
}

.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.sc-tags li {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  color: var(--ink);
}

.sc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.sc-nav {
  display: flex;
  gap: 8px;
  margin-top: 30px;
}

.sc-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.sc-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Devices: desktop browser with an overlapping phone */
.sc-devices {
  position: relative;
  padding: 0 64px 44px 0;
}

.sc-devices::before {
  content: "";
  position: absolute;
  inset: 10% 6% 4% 12%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(96, 165, 250, 0.22), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.sc-desktop {
  display: block;
  border-radius: 16px;
  background: #14171D;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transition: border-color 240ms ease, transform 360ms var(--ease-expo);
}

.sc-desktop:hover {
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-4px);
}

.sc-screen {
  position: relative;
  overflow: hidden;
  background: #0B0D10;
}

#scDesktopScreen {
  aspect-ratio: 16 / 10;
}

#scPhoneScreen {
  aspect-ratio: 390 / 844;
  border-radius: 22px;
}

/* The iframe renders the page at real device width and is scaled down to fit */
.sc-screen iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  transform: scale(var(--fit, 0.5));
  transform-origin: 0 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

#scDesktopScreen iframe {
  width: 1280px;
  height: 800px;
}

#scPhoneScreen iframe {
  width: 390px;
  height: 844px;
}

/* Loading state: soft shimmer while the next preview loads */
.sc-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%) 0 0 / 220% 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.sc-screen.is-loading iframe {
  opacity: 0;
  transition-duration: 160ms;
}

.sc-screen.is-loading::after {
  opacity: 1;
  animation: scShimmer 1.3s linear infinite;
}

@keyframes scShimmer {
  to {
    background-position: -220% 0;
  }
}

.sc-hover-chip {
  position: absolute;
  left: 50%;
  bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(14, 16, 19, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 240ms ease, transform 300ms var(--ease-expo);
  pointer-events: none;
}

.sc-desktop:hover .sc-hover-chip,
.sc-desktop:focus-visible .sc-hover-chip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.sc-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 23%;
  min-width: 108px;
  max-width: 200px;
  padding: 7px;
  border-radius: 30px;
  background: #0A0B0E;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.95), inset 0 0 0 2px #1C2027;
}

.sc-phone-notch {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 2;
  width: 30%;
  height: 9px;
  border-radius: 999px;
  background: #0A0B0E;
  transform: translateX(-50%);
}

/* Thumbnail strip with autoplay progress */
.sc-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.sc-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink-muted);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 240ms ease, border-color 240ms ease, transform 300ms var(--ease-expo);
}

.sc-thumb:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

.sc-thumb.is-active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--ink);
}

.sc-thumb:focus-visible {
  outline: 2px solid var(--accent-ice);
  outline-offset: 2px;
}

.sc-thumb-view {
  position: relative;
  display: block;
  aspect-ratio: 490 / 294;
  overflow: hidden;
  pointer-events: none;
}

.sc-thumb-inner {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 490px;
  transform: scale(var(--fit, 0.3));
  transform-origin: 0 0;
}

.sc-thumb-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px 10px;
  font-size: 0.74rem;
}

.sc-thumb-meta b {
  overflow: hidden;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sc-thumb-meta span {
  flex-shrink: 0;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--accent-ice);
}

.sc-thumb-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent-ice);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  opacity: 0;
}

.sc-thumb.is-active .sc-thumb-bar {
  opacity: 1;
}

.sf-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  background: #111318;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-dots {
  display: inline-flex;
  gap: 5px;
}

.sf-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.sf-url-pill {
  padding: 2px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: #9BA3B0;
}

.sf-zone {
  font-size: 0.68rem;
  font-weight: 700;
  color: #93C5FD;
}

/* Miniature Website Viewport (fixed 16:10 real webpage proportions) */
.mw {
  position: relative;
  height: 294px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
}

.mw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  font-size: 0.68rem;
  z-index: 2;
}

.mw-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.mw-links {
  display: flex;
  gap: 12px;
  opacity: 0.72;
}

.mw-nav-cta {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 600;
}

.mw-h {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.mw-p {
  font-size: 0.71rem;
  line-height: 1.42;
}

.mw-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 600;
  width: fit-content;
}

/* --- 1. AUTO: Dark Full-Bleed Automotive Photo --- */
.mw-auto {
  background: #0B0E14;
  color: #FFFFFF;
}

.mw-auto .mw-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
}

.mw-auto .mw-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 11, 18, 0.92) 0%, rgba(8, 11, 18, 0.56) 58%, rgba(8, 11, 18, 0.18) 100%);
}

.mw-auto .mw-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mw-auto .mw-nav-cta {
  background: #2563EB;
  color: #FFFFFF;
}

.mw-auto .mw-body {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 20px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mw-auto .mw-h {
  font-size: 1.24rem;
  max-width: 17ch;
}

.mw-auto .mw-p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 30ch;
  margin-top: 6px;
}

.mw-auto .mw-btn {
  background: #2563EB;
  color: #FFFFFF;
  margin-top: 10px;
}

.mw-auto-bar {
  display: flex;
  gap: 18px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: fit-content;
  font-size: 0.66rem;
}

.mw-auto-bar b {
  display: block;
  font-size: 0.76rem;
}

.mw-auto-bar span {
  color: #94A3B8;
}

/* --- 2. CLINIC: Figma-Style White Dot-Canvas & Selection Frame --- */
.mw-clinic {
  background-color: #FFFFFF;
  background-image: radial-gradient(#D5D9E2 1px, transparent 1px);
  background-size: 16px 16px;
  color: #111111;
}

.mw-clinic .mw-nav {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1.5px solid #111111;
}

.mw-clinic .mw-brand {
  color: #111111;
}

.mw-clinic .mw-nav-cta {
  background: #0ACF83;
  color: #07261A;
  border: 1.5px solid #111111;
  box-shadow: 2px 2px 0 #111111;
}

.mw-clinic .mw-split {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  padding: 18px;
  align-items: center;
}

.mw-clinic .mw-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1.5px solid #111111;
  background: #FFFFFF;
  color: #111111;
  font-size: 0.62rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mw-clinic .mw-h {
  font-size: 1.12rem;
  color: #111111;
}

.mw-figma-hl {
  display: inline-block;
  padding: 0 5px;
  border: 1.5px solid #0D99FF;
  background: rgba(13, 153, 255, 0.08);
  color: #111111;
}

.mw-clinic .mw-p {
  color: #475569;
  margin-top: 6px;
}

.mw-clinic .mw-btn {
  background: #0ACF83;
  color: #07261A;
  border: 1.5px solid #111111;
  box-shadow: 2px 2px 0 #111111;
  border-radius: 8px;
  margin-top: 12px;
}

.mw-clinic-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid #0D99FF;
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.16);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mw-clinic-card-head {
  font-size: 0.7rem;
  font-weight: 700;
  color: #111111;
}

.mw-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.mw-slots span {
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  font-size: 0.65rem;
  font-weight: 700;
  color: #111111;
}

.mw-slots span.is-hot {
  background: #0ACF83;
  border-color: #111111;
  color: #07261A;
}

.mw-clinic-doc {
  padding-top: 8px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  font-size: 0.64rem;
  color: #64748B;
}

.mw-clinic-doc b {
  color: #059669;
}

/* --- 3. BARBER: Split Warm Espresso & Gold + Real Interior Photo --- */
.mw-barber {
  background: #14110E;
  color: #F5EFE6;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.mw-barber-left {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mw-barber .mw-brand {
  color: #D4A359;
  letter-spacing: 0.04em;
}

.mw-barber .mw-h {
  font-size: 1.18rem;
  color: #FAF6F0;
}

.mw-barber-prices {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(212, 163, 89, 0.24);
  font-size: 0.68rem;
}

.mw-barber-prices div {
  display: flex;
  justify-content: space-between;
  color: #D6CFC5;
}

.mw-barber-prices b {
  color: #D4A359;
}

.mw-barber .mw-btn {
  background: #D4A359;
  color: #14110E;
  border-radius: 6px;
}

.mw-barber-photo {
  position: relative;
  overflow: hidden;
}

.mw-barber-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- 4. LAW: Editorial Stone-Paper Swiss Website --- */
.mw-law {
  background: #F3F1EC;
  color: #14161A;
}

.mw-law .mw-nav {
  border-bottom: 1px solid #D8D4CB;
}

.mw-law .mw-nav-cta {
  background: #14161A;
  color: #FFFFFF;
  border-radius: 4px;
}

.mw-law-body {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mw-law .mw-h {
  font-size: 1.24rem;
  max-width: 22ch;
}

.mw-law .mw-p {
  color: #52565E;
  max-width: 38ch;
  margin-top: 6px;
}

.mw-law-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #D8D4CB;
  padding-top: 10px;
  gap: 10px;
  font-size: 0.66rem;
}

.mw-law-cols b {
  display: block;
  font-size: 0.78rem;
  color: #14161A;
}

.mw-law-cols span {
  color: #636872;
}

/* --- 5. INTERIOR: Light Architectural White + Sunlit Photo --- */
.mw-interior {
  background: #FFFFFF;
  color: #111317;
}

.mw-interior .mw-nav {
  background: #FFFFFF;
  border-bottom: 1px solid #ECEEF2;
}

.mw-interior .mw-nav-cta {
  background: #111317;
  color: #FFFFFF;
}

.mw-interior-stage {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.mw-interior-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mw-interior-float {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.mw-interior-float .mw-h {
  font-size: 0.96rem;
  color: #111317;
}

.mw-interior-float .mw-p {
  color: #525866;
  font-size: 0.66rem;
  margin-top: 2px;
}

.mw-interior-float .mw-btn {
  background: #111317;
  color: #FFFFFF;
  flex-shrink: 0;
}

/* --- 6. LOGISTICS: Deep Navy B2B with Route Map SVG --- */
.mw-cargo {
  background: linear-gradient(135deg, #091326 0%, #0F2042 100%);
  color: #F8FAFC;
}

.mw-cargo .mw-nav {
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.mw-cargo .mw-brand {
  color: #38BDF8;
}

.mw-cargo .mw-nav-cta {
  background: #38BDF8;
  color: #091326;
}

.mw-cargo-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 12px;
  padding: 16px 18px;
  align-items: center;
}

.mw-cargo .mw-h {
  font-size: 1.14rem;
}

.mw-cargo .mw-p {
  color: #94A3B8;
  margin-top: 6px;
}

.mw-cargo .mw-btn {
  background: #38BDF8;
  color: #091326;
  margin-top: 12px;
}

.mw-route-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mw-route-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.64rem;
  color: #38BDF8;
  font-weight: 600;
}

.mw-route-cities {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  color: #E2E8F0;
  font-weight: 600;
}

/* --- 7. CONSULTING: Figma-Style White Dot-Canvas & Bold Color Blocks --- */
.mw-corp {
  background-color: #FFFFFF;
  background-image: radial-gradient(#D5D9E2 1px, transparent 1px);
  background-size: 16px 16px;
  color: #111111;
}

.mw-corp .mw-nav {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1.5px solid #111111;
}

.mw-corp .mw-brand {
  color: #111111;
}

.mw-corp .mw-nav-cta {
  background: #0D99FF;
  color: #FFFFFF;
  border: 1.5px solid #111111;
  box-shadow: 2px 2px 0 #111111;
  border-radius: 7px;
}

.mw-corp-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  padding: 18px;
  align-items: center;
}

.mw-corp .mw-h {
  font-size: 1.12rem;
  color: #111111;
}

.mw-corp .mw-p {
  color: #475569;
  margin-top: 6px;
}

.mw-corp .mw-btn {
  background: #A259FF;
  color: #FFFFFF;
  border: 1.5px solid #111111;
  box-shadow: 2px 2px 0 #111111;
  border-radius: 8px;
  margin-top: 12px;
}

.mw-chart-card {
  background: #FFFFFF;
  border: 1.5px solid #111111;
  box-shadow: 4px 4px 0 #111111;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mw-chart-kpi {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.mw-chart-kpi b {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #0D99FF;
}

.mw-chart-kpi span {
  font-size: 0.64rem;
  color: #525866;
}

.mw-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 76px;
  padding-top: 8px;
}

.mw-bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: #E2E8F0;
  border: 1.2px solid #111111;
}

.mw-bars i.is-hi {
  background: #0D99FF;
}

/* --- 8. FITNESS: Bold Matte Carbon & Electric Lime Studio --- */
.mw-fit {
  background: #0D0E10;
  color: #FFFFFF;
}

.mw-fit .mw-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mw-fit .mw-brand {
  color: #C4F82A;
}

.mw-fit .mw-nav-cta {
  background: #C4F82A;
  color: #0D0E10;
}

.mw-fit-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 14px;
  padding: 18px;
  align-items: center;
}

.mw-fit .mw-h {
  font-size: 1.2rem;
}

.mw-fit .mw-p {
  color: #9CA3AF;
  margin-top: 6px;
}

.mw-fit .mw-btn {
  background: #C4F82A;
  color: #0D0E10;
  margin-top: 12px;
}

.mw-schedule {
  background: #16181D;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mw-sched-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.66rem;
}

.mw-sched-row b {
  color: #C4F82A;
}

/* ==========================================================================
   Included Ledger (Kinetic Hover Glide)
   ========================================================================== */
.included-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.included-header p {
  max-width: 44ch;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.ledger {
  display: flex;
  flex-direction: column;
}

.ledger-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  gap: 32px;
  padding: 30px 18px;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: background-color 240ms ease;
}

.ledger-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: linear-gradient(180deg, #93C5FD, #FFFFFF);
  transform: scaleY(0);
  transition: transform 280ms var(--ease-expo);
}

.ledger-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.ledger-row:hover::before {
  transform: scaleY(1);
}

.ledger-row:last-child {
  border-bottom: 1px solid var(--line);
}

.ledger-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: #FFFFFF;
  transition: transform 280ms var(--ease-expo);
}

.ledger-row:hover .ledger-title {
  transform: translateX(8px);
}

.ledger-desc {
  color: var(--ink-muted);
  font-size: 0.98rem;
  max-width: 60ch;
}

.ledger-desc strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* ==========================================================================
   Volume Calculator & Domains
   ========================================================================== */
.volume-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.minimal-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 240ms ease;
}

.minimal-box:hover {
  border-color: var(--line-strong);
}

.calc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.calc-head strong {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: #FFFFFF;
}

.range-input {
  width: 100%;
  accent-color: #FFFFFF;
  cursor: pointer;
}

.calc-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.num-caption {
  display: block;
  font-size: 0.84rem;
  color: var(--ink-dim);
  margin-bottom: 6px;
}

.num-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.calc-numbers strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.total-accent {
  color: var(--accent-ice);
}

.calc-numbers s {
  color: var(--ink-dim);
  font-size: 0.98rem;
}

.calc-note {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.zone-status {
  font-size: 0.86rem;
  color: var(--accent-ice);
  font-weight: 500;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.zone-btn {
  padding: 16px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-muted);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 200ms var(--ease-expo);
}

.zone-btn:hover {
  border-color: var(--line-strong);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.zone-btn.is-selected {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #0E1013;
}

.zone-desc {
  margin-top: auto;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Advanced Formats (Machined Graphite Glass Bento)
   ========================================================================== */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.format-cell {
  padding: 28px 26px 32px;
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: border-color 240ms ease, background-color 240ms ease, transform 320ms var(--ease-expo), box-shadow 260ms ease;
}

.format-cell:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.025) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 22px 44px -22px rgba(0, 0, 0, 0.85);
  transform: translateY(-5px);
}

.format-cell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.format-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-dim);
}

.format-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--ink-muted);
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, transform 260ms var(--ease-expo);
}

.format-cell:hover .format-badge {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #0E1013;
  transform: rotate(45deg);
}

.format-cell p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  flex: 1;
}

/* ==========================================================================
   Pillars & Direct Contact
   ========================================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 84px;
  margin-bottom: 84px;
  border-bottom: 1px solid var(--line);
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 34ch;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-left p {
  font-size: 1.04rem;
  color: var(--ink-muted);
  max-width: 42ch;
}

.direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.minimal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
}

.summary-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(147, 197, 253, 0.12);
  border: 1px solid rgba(147, 197, 253, 0.25);
  font-size: 0.88rem;
  color: #E2E8F0;
}

.summary-chip button {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-size: 1.15rem;
  cursor: pointer;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.input-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-input);
  color: #FFFFFF;
  font-size: 0.96rem;
  transition: border-color 180ms ease, box-shadow 200ms ease;
}

.input-group input:focus {
  outline: none;
  border-color: var(--accent-ice);
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.14);
}

.form-err {
  font-size: 0.88rem;
  color: #FCA5A5;
}

.form-done {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: lsPageIn 340ms var(--ease-expo);
}

.form-done pre {
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-input);
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.9rem;
  white-space: pre-wrap;
  color: #E5E7EB;
}

.done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.text-link {
  align-self: flex-start;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  text-decoration: underline;
  cursor: pointer;
}

/* ==========================================================================
   Footer, Modal & Toast
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--ink-dim);
  font-size: 0.88rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 12, 16, 0.9);
  backdrop-filter: blur(14px);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 220ms ease;
}

.modal-backdrop[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-shell {
  width: min(1320px, 100%);
  max-height: calc(100vh - 40px);
  background: #12151B;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalScale 320ms var(--ease-expo);
}

@keyframes modalScale {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: #0F1116;
}

.modal-actions {
  display: flex;
  gap: 10px;
}

.modal-body {
  overflow-y: auto;
  padding: 20px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 600;
  padding: 12px 20px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #0E1013;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
  animation: lsPageIn 280ms var(--ease-expo);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .sc-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .sc-devices {
    order: -1;
  }

  .sc-desc {
    min-height: 0;
  }

  .sc-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .sc-strip::-webkit-scrollbar {
    display: none;
  }

  .sc-thumb {
    flex: 0 0 150px;
    scroll-snap-align: center;
  }

  .formats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-nav,
  .header-right .btn {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

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

  .ledger-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 12px;
  }

  .ls-strip,
  .ls-contacts-split {
    grid-template-columns: 1fr;
  }

  .ls-strip-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .section {
    padding: 76px 0;
  }

  .cursor-aura {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .hero-inner {
    padding: 52px 0 32px;
  }

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

  .sc-devices {
    padding: 0 36px 30px 0;
  }

  .sc-phone {
    padding: 5px;
    border-radius: 22px;
  }

  #scPhoneScreen {
    border-radius: 17px;
  }

  .sc-actions .btn {
    flex: 1 1 auto;
  }

  .mw-links {
    display: none;
  }

  .minimal-box,
  .minimal-form {
    padding: 24px 20px;
  }
}

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