/**
 * Lashary Softwares — dark app directory theme
 * Carbon surfaces, clear type and a mint accent for a focused software-store feel.
 */

:root {
  color-scheme: dark;
  --bg-obsidian: #0b100d; --bg-charcoal: #111813; --bg-espresso: #17211b; --bg-surface-elevated: #1c2820; --bg-input: #101712;
  --text-ivory: #eef7f0; --text-stone: #bdcbbf; --text-dim: #91a197; --text-dark: #0b100d;
  --copper: #7bd7a3; --copper-glow: rgba(123,215,163,.20); --copper-subtle: rgba(123,215,163,.10); --copper-hover: #96e8b8; --copper-deep: #3b8f63;
  --amber: #a8edc3; --amber-subtle: rgba(168,237,195,.12); --amber-glow: rgba(168,237,195,.22);
  --line-subtle: rgba(238,247,240,.08); --line-copper: rgba(123,215,163,.24); --line-strong: rgba(238,247,240,.17);
  --warm-bg: #101712; --warm-surface: #17211b; --warm-text: #eef7f0; --warm-lead: #c7d6ca; --warm-muted: #9eafa3; --warm-line: rgba(123,215,163,.16); --warm-accent: #7bd7a3;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif; --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container-max: 1280px; --container-narrow: 880px;
  --radius-xs: 4px; --radius-sm: 8px; --radius-md: 14px; --radius-lg: 20px; --radius-xl: 28px; --radius-full: 9999px;
  --shadow-warm-sm: 0 2px 8px rgba(0,0,0,.22); --shadow-warm-md: 0 12px 28px rgba(0,0,0,.30); --shadow-warm-lg: 0 24px 58px rgba(0,0,0,.40);
  --shadow-hardware: 0 28px 60px rgba(0,0,0,.45); --shadow-device: 0 16px 40px rgba(0,0,0,.36);
  --ease-out-expo: cubic-bezier(.16,1,.3,1); --ease-in-out: cubic-bezier(.65,0,.35,1); --transition-fast: .18s ease; --transition-smooth: .35s var(--ease-out-expo);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg-obsidian: #f5f8f5; --bg-charcoal: #eaf0eb; --bg-espresso: #ffffff; --bg-surface-elevated: #ffffff; --bg-input: #ffffff;
  --text-ivory: #17231b; --text-stone: #405247; --text-dim: #5f7165; --text-dark: #ffffff;
  --copper: #26784e; --copper-glow: rgba(38,120,78,.16); --copper-subtle: rgba(38,120,78,.08); --copper-hover: #1e6842; --copper-deep: #185438;
  --amber: #397f59; --amber-subtle: rgba(57,127,89,.10); --amber-glow: rgba(57,127,89,.18);
  --line-subtle: rgba(23,35,27,.10); --line-copper: rgba(38,120,78,.22); --line-strong: rgba(23,35,27,.18);
  --warm-bg: #f5f8f5; --warm-surface: #eaf0eb; --warm-text: #17231b; --warm-lead: #34483a; --warm-muted: #5f7165; --warm-line: rgba(38,120,78,.16); --warm-accent: #26784e;
  --shadow-warm-sm: 0 2px 8px rgba(23,35,27,.06); --shadow-warm-md: 0 12px 28px rgba(23,35,27,.10); --shadow-warm-lg: 0 24px 58px rgba(23,35,27,.14);
  --shadow-hardware: 0 28px 60px rgba(23,35,27,.18); --shadow-device: 0 16px 40px rgba(23,35,27,.14);
}


/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ============================================================
   TOPBAR & MEGA-MENU NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 19, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-subtle);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.1875rem;
}

.brand-glyph-wrap {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: rgba(20, 19, 16, 0.85);
  border: 1px solid var(--line-copper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.brand-logo:hover .brand-glyph-wrap {
  transform: scale(1.05);
  border-color: var(--amber);
}

.brand-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-glyph {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--bg-espresso) 0%, var(--bg-charcoal) 100%);
  border: 1px solid var(--copper);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(195, 141, 101, 0.2);
}

.brand-text {
  color: var(--text-ivory);
}

.brand-text span {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--copper);
  font-size: 1.25rem;
  margin-left: 0.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-stone);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-ivory);
  background: rgba(245, 240, 231, 0.05);
}

.nav-link svg.caret {
  width: 0.85rem;
  height: 0.85rem;
  stroke-width: 2.5;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg.caret {
  transform: rotate(180deg);
}

/* Mega-Menu Dropdown */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 680px;
  background: var(--bg-charcoal);
  border: 1px solid var(--line-copper);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-hardware);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out-expo), transform 0.2s var(--ease-out-expo), visibility 0.2s;
  z-index: 120;
}

.nav-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.mega-column h4 {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.875rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line-subtle);
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.mega-item:hover {
  background: rgba(245, 240, 231, 0.04);
}

.mega-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-xs);
  background: var(--bg-espresso);
  border: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
  font-size: 1rem;
}

.mega-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-ivory);
  margin-bottom: 0.15rem;
}

.mega-desc {
  font-size: 0.8125rem;
  color: var(--text-stone);
  line-height: 1.4;
}

.mega-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.mega-footer-link {
  color: var(--copper);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mega-footer-link:hover {
  color: var(--amber);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.45rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--copper);
  color: #141310;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(195, 141, 101, 0.28);
}

.btn-primary:hover {
  background: var(--copper-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(195, 141, 101, 0.38);
}

.btn-secondary {
  background: var(--bg-espresso);
  color: var(--text-ivory);
  border: 1px solid var(--line-copper);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--copper);
  color: #FFF;
}

.btn-amber {
  background: var(--amber);
  color: #141310;
  font-weight: 700;
}

.btn-amber:hover {
  background: #F0CF85;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-ivory);
}

.btn-outline:hover {
  border-color: var(--copper);
  background: rgba(195, 141, 101, 0.06);
}

/* Mobile Burger */
.burger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-ivory);
  cursor: pointer;
  padding: 0.5rem;
}

/* ============================================================
   HERO SECTION — ASYMMETRIC CINEMATIC COMPOSITION
   ============================================================ */
.hero-editorial {
  position: relative;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  background: radial-gradient(ellipse 65% 55% at 50% 0%, rgba(195, 141, 101, 0.09) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-grid > div {
  min-width: 0;
  max-width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-espresso);
  border: 1px solid var(--line-copper);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 1.5rem;
  max-width: 100%;
  flex-wrap: wrap;
}

.hero-headline {
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-ivory);
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-break: normal;
}

.hero-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--copper);
  letter-spacing: -0.01em;
  margin-right: 0.1em;
}

.hero-subhead {
  font-size: 1.1875rem;
  color: var(--text-stone);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-proof span::before {
  content: "●";
  color: var(--amber);
  font-size: 0.65rem;
}

/* Layered Hardware Mockup Visual Stage */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-desktop-window {
  width: 100%;
  background: var(--bg-charcoal);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-copper);
  box-shadow: var(--shadow-hardware);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-smooth);
}

.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-espresso);
  border-bottom: 1px solid var(--line-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-stone);
}

.window-dots {
  display: flex;
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}

.dot-red { background: #FF5F56; }
.dot-amber { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.window-address {
  background: rgba(20, 19, 16, 0.6);
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-subtle);
  color: var(--copper);
  font-size: 0.6875rem;
  max-width: 58%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-viewport {
  position: relative;
  background: #0E0D0B;
  overflow: hidden;
}

.window-viewport img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 14px;
  background: #111;
  border-radius: var(--radius-full);
  z-index: 20;
}

.phone-screen {
  width: 100%;
  background: #1A1815;
  display: flex;
  flex-direction: column;
}

.phone-screen img {
  width: 100%;
  height: auto;
}

/* ============================================================
   PRODUCT SHOWCASE — ALTERNATING EDITORIAL SECTIONS
   ============================================================ */
.section-editorial {
  padding: 6rem 0;
  border-top: 1px solid var(--line-subtle);
}

.section-editorial.alt-bg {
  background: var(--bg-charcoal);
}

.split-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.split-product > * {
  min-width: 0;
  max-width: 100%;
}

.split-product.reverse {
  grid-template-columns: 1fr 1fr;
}

.split-product.reverse .split-content {
  order: 2;
}

.split-product.reverse .split-visual {
  order: 1;
}

.split-content .eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: 0.75rem;
}

.split-content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-ivory);
  margin-bottom: 1.25rem;
}

.split-content h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--copper);
}

.split-content .lead {
  font-size: 1.125rem;
  color: var(--text-stone);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.feature-check-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-stone);
}

.feature-check-list li b {
  color: var(--text-ivory);
}

.feature-check-list li svg {
  color: var(--amber);
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ============================================================
   CONTRAST EDITORIAL SECTION — WARM IVORY SURFACE
   ============================================================ */
.sec--warm-editorial {
  background-color: var(--warm-bg);
  color: var(--warm-text);
  padding: 6.5rem 0;
  border-top: 1px solid rgba(74, 32, 18, 0.18);
  border-bottom: 1px solid rgba(74, 32, 18, 0.18);
}

.sec--warm-editorial h2, .sec--warm-editorial h3 {
  color: var(--warm-text);
}

.sec--warm-editorial h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--warm-accent);
}

.sec--warm-editorial p.lead {
  color: var(--warm-lead);
  font-size: 1.1875rem;
  line-height: 1.65;
}

.sec--warm-editorial .eyebrow {
  color: var(--warm-accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Feature Comparison Table */
.cmp-table-container {
  margin-top: 2.5rem;
  background: #FFF;
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  width: 100%;
  box-shadow: 0 10px 30px -5px rgba(74, 32, 18, 0.08);
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  text-align: left;
}

.cmp-table th, .cmp-table td {
  padding: 1.1rem 1.25rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--warm-line);
}

.cmp-table thead th {
  background: rgba(74, 32, 18, 0.04);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--warm-text);
  letter-spacing: 0.02em;
}

.cmp-table tbody th {
  font-weight: 600;
  color: var(--warm-text);
  width: 28%;
}

.cmp-table tbody td {
  color: var(--warm-muted);
}

.cmp-table .col-lashary {
  background: rgba(124, 58, 38, 0.08);
  border-left: 1px solid rgba(124, 58, 38, 0.2);
  border-right: 1px solid rgba(124, 58, 38, 0.2);
  font-weight: 600;
  color: var(--warm-accent);
}

.cmp-table thead .col-lashary {
  color: #5C2314;
  font-weight: 800;
}

/* ============================================================
   STICKY SCROLL-STORYTELLING SECTION (GSAP / Pinned)
   ============================================================ */
.scroll-story-section {
  padding: 5rem 0;
  position: relative;
}

.story-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.story-header .eyebrow {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.story-header h2 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.story-header h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--copper);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.story-grid > * {
  min-width: 0;
  max-width: 100%;
}

.story-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.story-step-card {
  padding: 2rem;
  background: var(--bg-charcoal);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.story-step-card.active, .story-step-card:hover {
  border-color: var(--copper);
  background: var(--bg-espresso);
  box-shadow: var(--shadow-warm-md);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.story-step-card h3 {
  font-size: 1.25rem;
  color: var(--text-ivory);
  margin-bottom: 0.5rem;
}

.story-step-card p {
  color: var(--text-stone);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.story-sticky-viewport {
  position: sticky;
  top: 7rem;
}

/* ============================================================
   GAMES & 3D SIMULATIONS SHOWCASE
   ============================================================ */
.games-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.game-card {
  background: var(--bg-charcoal);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-warm-md);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--copper);
}

.game-media-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  background: #000;
  overflow: hidden;
}

.game-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.game-card:hover .game-media-wrap img {
  transform: scale(1.05);
}

.game-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.65rem;
  background: rgba(20, 19, 16, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-copper);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--amber);
}

.game-content {
  padding: 1.75rem;
}

.game-content h3 {
  font-size: 1.35rem;
  color: var(--text-ivory);
  margin-bottom: 0.6rem;
}

.game-content p {
  font-size: 0.9375rem;
  color: var(--text-stone);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.game-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 0.2rem 0.55rem;
  background: var(--bg-espresso);
  border-radius: var(--radius-xs);
  color: var(--text-stone);
}

/* Engineering Disciplines Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-3 > * {
  min-width: 0;
  max-width: 100%;
}

/* ============================================================
   DEVELOPER TOOLS INTERACTIVE CARDS
   ============================================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.tool-product-card {
  background: var(--bg-charcoal);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.tool-product-card:hover {
  border-color: var(--copper);
  background: var(--bg-espresso);
}

.tool-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--amber);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0E0D0B;
  border-top: 1px solid var(--line-subtle);
  padding: 5rem 0 2.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-stone);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--text-ivory);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Mobile Sticky Conversion Bar */
.mobile-sticky-bar {
  display: none;
}

/* ============================================================
   RESPONSIVE DESIGN (Breakpoints: 992px, 768px, 480px)
   ============================================================ */
@media (max-width: 992px) {
  .hero-grid, .split-product, .split-product.reverse, .story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .split-product.reverse .split-content {
    order: 1;
  }
  .split-product.reverse .split-visual {
    order: 2;
  }

  .story-sticky-viewport {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .mega-dropdown {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .burger-btn {
    display: block;
  }

  .tools-grid, .games-gallery-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .cmp-table-container {
    overflow-x: auto;
  }
  .cmp-table {
    min-width: 580px;
  }
}

@media (max-width: 768px) {
  .btn-demo-pill {
    display: none;
  }

  .nav-actions {
    gap: 0.5rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-header .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header-inner {
    height: 4.25rem;
    gap: 0.75rem;
  }

  .brand-text {
    font-size: 1.05rem;
  }

  .brand-glyph-wrap {
    width: 2rem;
    height: 2rem;
    padding: 2px;
  }

  .brand-glyph {
    width: 2rem;
    height: 2rem;
    font-size: 1.15rem;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero-editorial {
    padding: 2.75rem 0 2.5rem;
  }

  .hero-eyebrow {
    font-size: 0.6875rem;
    padding: 0.25rem 0.65rem;
    line-height: 1.4;
  }

  .hero-headline {
    font-size: clamp(2rem, 7.8vw, 2.35rem);
    line-height: 1.12;
  }

  .hero-subhead {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .window-titlebar {
    padding: 0.5rem 0.75rem;
    font-size: 0.6875rem;
  }

  .window-address {
    max-width: 48%;
    font-size: 0.625rem;
  }

  .window-titlebar > div:last-child {
    font-size: 0.625rem;
    white-space: nowrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cmp-table {
    min-width: 480px;
  }

  body {
    padding-bottom: 3.75rem;
  }

  /* Mobile bottom bar */
  .mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 19, 16, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-copper);
    padding: 0.65rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
  }
}

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

/* Lashary redesign: warm product catalog, theme-aware and mobile-first */
html { background: var(--bg-obsidian); color: var(--text-ivory); font-family: var(--font-sans); }
body { margin: 0; min-height: 100vh; background: var(--bg-obsidian); color: var(--text-ivory); }
button, a { -webkit-tap-highlight-color: transparent; } button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 200; left: 1rem; top: 1rem; padding: .7rem 1rem; border-radius: 8px; background: var(--bg-surface-elevated); color: var(--text-ivory); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg-obsidian) 92%, transparent); border-bottom: 1px solid var(--line-subtle); backdrop-filter: blur(16px); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: var(--shadow-warm-sm); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand-logo { display: inline-flex; align-items: center; gap: .65rem; flex: 0 0 auto; }
.brand-icon-img { width: 40px; height: 40px; border-radius: 12px; object-fit: contain; }
.brand-text { font-size: 1.04rem; font-weight: 700; letter-spacing: -.035em; color: var(--text-ivory); white-space: nowrap; }
.brand-text strong { color: var(--copper); font-weight: 700; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem,1.5vw,1.5rem); }
.nav-link { position: relative; padding: .5rem 0; color: var(--text-stone); font-size: .89rem; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--text-ivory); }
.nav-link.active::after { content: ""; position: absolute; bottom: .05rem; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--copper); }
.nav-actions { display: flex; align-items: center; gap: .7rem; }
.theme-toggle, .burger-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--text-ivory); background: var(--bg-surface-elevated); transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.theme-toggle:hover, .burger-btn:hover { border-color: var(--copper); transform: translateY(-1px); }
.theme-toggle svg, .burger-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.burger-btn { display: none; } .mobile-drawer { display: none; } .mobile-drawer[hidden] { display: none; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .72rem 1.15rem; border: 1px solid transparent; border-radius: 12px; font: 650 .93rem/1.2 var(--font-sans); transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); } .btn-primary { background: var(--copper); color: #0b100d; box-shadow: 0 8px 20px var(--copper-glow); }
.btn-primary:hover { background: var(--copper-hover); color: #0b100d; } .btn-secondary { color: var(--text-ivory); background: var(--bg-surface-elevated); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--copper); background: var(--bg-charcoal); }
.home-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(3.5rem,7vw,6.5rem) 0 clamp(4rem,8vw,7rem); background: radial-gradient(ellipse at 80% 12%,var(--copper-subtle),transparent 40%),linear-gradient(180deg,var(--bg-obsidian),var(--warm-bg)); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; gap: clamp(2rem,5vw,5rem); position: relative; z-index: 1; }
.home-hero-copy { max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.1rem; color: var(--copper); font-size: .78rem; font-weight: 750; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-dot,.live-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 4px var(--copper-subtle); }
.home-hero h1,.page-hero h1 { max-width: 740px; margin: 0; color: var(--text-ivory); font-size: clamp(2.8rem,5.8vw,5rem); font-weight: 760; letter-spacing: -.065em; line-height: .99; text-wrap: balance; }
.home-hero h1 em { color: var(--copper); font-family: var(--font-serif); font-size: 1.04em; font-weight: 400; letter-spacing: -.04em; }
.hero-intro { max-width: 550px; margin: 1.4rem 0 1.75rem; color: var(--text-stone); font-size: clamp(1rem,1.4vw,1.15rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; } .hero-note { display: flex; align-items: center; gap: .7rem; margin-top: 1.8rem; color: var(--text-dim); font-size: .88rem; }
.hero-note__mark { display: inline-grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--line-copper); border-radius: 9px; color: var(--copper); font-weight: 800; }
.hero-product { margin: 0; perspective: 1400px; }
.hero-product__frame { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 20px; background: #191b18; box-shadow: var(--shadow-hardware); transform: perspective(1400px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transition: transform .32s ease, box-shadow .32s ease; }
.hero-product__frame img { width: 100%; height: auto; aspect-ratio: 1.58; object-fit: cover; object-position: center; }
.hero-product__caption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 2.5rem 1.2rem 1.1rem; color: #fff; background: linear-gradient(transparent,rgba(12,13,11,.9)); }
.hero-product__caption div { display: grid; gap: .2rem; } .caption-kicker { color: #dfc9b8; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-product__caption strong { font-size: 1.06rem; } .status-pill { padding: .35rem .6rem; border: 1px solid rgba(255,255,255,.30); border-radius: 999px; background: rgba(24,24,21,.66); color: #fff; font-size: .73rem; white-space: nowrap; }
.hero-product__note { display: flex; align-items: center; gap: .6rem; margin: .9rem .15rem 0; color: var(--text-dim); font-size: .82rem; }
.hero-product__note .live-dot { width: 7px; height: 7px; flex-basis: 7px; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-subtle); }
.home-hero--apps { overflow: hidden; }
.apps-home-art { position: relative; display: grid; place-items: center; min-height: 350px; isolation: isolate; }
.apps-home-art__orbit { position: absolute; z-index: -1; border: 1px solid var(--line-copper); border-radius: 50%; opacity: .55; }
.apps-home-art__orbit--outer { width: min(30rem,88vw); aspect-ratio: 1; }
.apps-home-art__orbit--inner { width: min(22rem,66vw); aspect-ratio: 1; border-style: dashed; opacity: .3; }
.apps-home-art__tile { display: grid; place-items: center; width: clamp(150px,24vw,225px); aspect-ratio: 1; padding: .85rem; border: 1px solid var(--line-strong); border-radius: 34px; background: var(--bg-surface-elevated); box-shadow: var(--shadow-hardware); transform: rotate(-7deg); }
.apps-home-art__tile img { width: 100%; height: 100%; border-radius: 25px; object-fit: cover; }
.apps-home-art__tag { position: absolute; padding: .55rem .75rem; border: 1px solid var(--line-subtle); border-radius: 999px; background: var(--bg-surface-elevated); box-shadow: var(--shadow-warm-sm); color: var(--text-ivory); font: 700 .65rem var(--font-mono); letter-spacing: .14em; }
.apps-home-art__tag--top { top: 16%; right: 5%; transform: rotate(6deg); }
.apps-home-art__tag--bottom { bottom: 15%; left: 4%; transform: rotate(-5deg); }
.apps-home-art__spark { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 7px var(--copper-subtle); }
.apps-home-art__spark--one { top: 26%; left: 17%; }
.apps-home-art__spark--two { right: 19%; bottom: 23%; width: 6px; height: 6px; }
.hero-orbit { position: absolute; z-index: -1; width: 25rem; height: 25rem; border: 1px solid var(--line-copper); border-radius: 50%; opacity: .35; pointer-events: none; }
.hero-orbit--one { right: -10rem; top: -10rem; } .hero-orbit--two { left: -19rem; bottom: -22rem; width: 38rem; height: 38rem; }
.section-block { padding: clamp(3.8rem,7vw,6.2rem) 0; } .section-block--tint { background: var(--warm-bg); border-block: 1px solid var(--line-subtle); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.section-heading h2,.studio-note h2,.apps-feature h2 { margin: 0; color: var(--text-ivory); font-size: clamp(1.9rem,3.5vw,3.1rem); letter-spacing: -.05em; line-height: 1.08; text-wrap: balance; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--copper); font-weight: 700; } .text-link:hover { color: var(--copper-hover); }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; }
.project-card,.app-card,.about-panel,.service-card,.feature-card { min-width: 0; overflow: hidden; border: 1px solid var(--line-subtle); border-radius: 18px; background: var(--bg-surface-elevated); box-shadow: var(--shadow-warm-sm); transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.project-card:hover,.app-card:hover { transform: translateY(-4px); border-color: var(--line-copper); box-shadow: var(--shadow-warm-md); }
.project-card__visual { display: grid; place-items: center; min-height: 190px; overflow: hidden; background: var(--bg-charcoal); }
.project-card__visual img { width: 100%; height: 215px; object-fit: cover; transition: transform .4s ease; } .project-card:hover .project-card__visual img { transform: scale(1.035); }
.project-monogram { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; color: var(--copper); background: var(--copper-subtle); border: 1px solid var(--line-copper); font-size: 1.2rem; font-weight: 800; }
.project-card__body { padding: 1.2rem; } .project-card__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem .8rem; color: var(--text-dim); font-size: .72rem; line-height: 1.4; }
.project-card__meta span:last-child { color: var(--copper); font-weight: 650; } .project-card h2,.project-card h3 { margin: .65rem 0 .5rem; color: var(--text-ivory); font-size: 1.23rem; letter-spacing: -.035em; line-height: 1.2; }
.project-card p { min-height: 3.2em; margin: 0 0 1rem; color: var(--text-stone); font-size: .91rem; line-height: 1.6; }
.apps-feature__inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: clamp(1.2rem,4vw,3.5rem); }
.apps-feature__art { width: clamp(110px,15vw,190px); padding: .5rem; border: 1px solid var(--line-subtle); border-radius: 26px; background: var(--bg-surface-elevated); box-shadow: var(--shadow-warm-md); }
.apps-feature__art img { width: 100%; border-radius: 20px; } .apps-feature__copy { max-width: 650px; }
.apps-feature__copy p:not(.eyebrow) { max-width: 600px; margin: .85rem 0 1.2rem; color: var(--text-stone); line-height: 1.7; }
.apps-feature__count { display: grid; gap: .1rem; justify-items: end; color: var(--text-dim); } .apps-feature__count span { color: var(--copper); font-size: 3rem; font-weight: 700; letter-spacing: -.07em; }
.apps-feature__count small { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.studio-note__inner { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 2rem; } .studio-note__inner>p { margin: 0; max-width: 570px; color: var(--text-stone); line-height: 1.7; }
.page-hero { padding: clamp(3.5rem,8vw,6rem) 0 2.5rem; background: radial-gradient(ellipse at 80% 10%,var(--copper-subtle),transparent 45%); }
.page-hero__inner { max-width: var(--container-narrow); } .page-hero h1 { font-size: clamp(2.5rem,5vw,4.4rem); }
.page-hero__inner>p:last-child { max-width: 760px; margin: 1.15rem 0 0; color: var(--text-stone); font-size: 1.08rem; line-height: 1.7; }
.app-grid { display: grid; gap: 1rem; } .app-card { display: grid; grid-template-columns: 104px minmax(0,1fr); align-items: start; gap: 1.2rem; padding: 1.2rem; }
.app-card[hidden] { display: none; }
.app-card__icon { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 22px; background: var(--bg-charcoal); } .app-card__icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.app-card__content h2 { margin: .6rem 0 .35rem; color: var(--text-ivory); font-size: 1.35rem; } .app-card__content>p { margin: 0; color: var(--text-stone); line-height: 1.6; }
.app-details { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 1rem 0; } .app-details div { display: grid; gap: .2rem; }
.app-details dt { color: var(--text-dim); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; } .app-details dd { margin: 0; color: var(--text-ivory); font-size: .88rem; }
.app-details code { overflow-wrap: anywhere; font-family: var(--font-mono); } .release-note { display: inline-block; color: var(--text-dim); font-size: .82rem; }
.app-card__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .85rem; }
.app-card__actions .btn { font-size: .84rem; }
.app-search-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.app-search { display: block; flex: 1 1 28rem; max-width: 42rem; }
.app-search input { width: 100%; min-height: 50px; padding: .75rem 1rem; border: 1px solid var(--line-strong); border-radius: 12px; outline: none; background: var(--bg-surface-elevated); color: var(--text-ivory); font: inherit; }
.app-search input:focus-visible { border-color: var(--copper); box-shadow: 0 0 0 3px var(--copper-subtle); }
.app-search__count { margin: 0; color: var(--text-dim); font-size: .84rem; white-space: nowrap; }
.app-empty-state { padding-block: 1.5rem; color: var(--text-stone); }
.app-empty-state[hidden] { display: none; }
.app-pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.2rem 0; padding-block: 1rem; border-top: 1px solid var(--line-subtle); color: var(--text-dim); font-size: .85rem; }
.app-pagination>div { display: flex; flex-wrap: wrap; gap: .65rem; }
.app-pagination .btn { font-size: .82rem; }
.portfolio-note { margin-top: 1.25rem; color: var(--text-dim); font-size: .88rem; }
.catalog-note { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line-subtle); border-radius: 14px; background: var(--bg-surface-elevated); }
.catalog-note p { margin: 0; color: var(--text-stone); } .catalog-note--wide { max-width: var(--container-max); margin-inline: auto; } .catalog-note>span { color: var(--text-dim); font-size: .84rem; }
.about-grid,.service-grid,.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; } .about-panel,.service-card,.feature-card { padding: 1.45rem; }
.about-panel__number,.service-number,.feature-number { display: block; margin-bottom: 1.2rem; color: var(--copper); font: 700 .78rem var(--font-mono); }
.about-panel h2,.service-card h2,.feature-card h2 { margin: 0 0 .65rem; font-size: 1.15rem; letter-spacing: -.03em; } .about-panel p,.service-card p,.feature-card p { margin: 0; color: var(--text-stone); font-size: .92rem; line-height: 1.65; }
.contact-honest,.product-placeholder { max-width: 780px; padding: clamp(1.5rem,5vw,3rem); border: 1px solid var(--line-subtle); border-radius: 18px; background: var(--bg-surface-elevated); }
.contact-honest h2 { margin: 0 0 .75rem; font-size: 1.5rem; } .contact-honest p,.product-placeholder p { color: var(--text-stone); line-height: 1.7; }
.product-preview { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; background: #191b18; box-shadow: var(--shadow-hardware); } .product-preview img { display: block; width: 100%; height: auto; }
.product-preview__caption { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; color: var(--text-stone); font-size: .82rem; } .product-preview__caption strong { color: var(--copper); font-weight: 650; }
.legal-copy { max-width: 780px; color: var(--text-stone); line-height: 1.75; } .legal-copy h2 { margin: 2rem 0 .55rem; color: var(--text-ivory); font-size: 1.25rem; } .legal-copy h2:first-child { margin-top: 0; } .legal-copy p { margin: 0 0 1rem; }
.site-footer { padding: 3.2rem 0 1.2rem; background: var(--bg-charcoal); border-top: 1px solid var(--line-subtle); }
.footer-main { display: grid; grid-template-columns: 1.7fr repeat(3,1fr); gap: 2rem; padding-bottom: 2.2rem; } .footer-brand p { max-width: 380px; margin: 1rem 0 0; color: var(--text-stone); font-size: .9rem; line-height: 1.65; }
.footer-column { display: grid; align-content: start; gap: .7rem; } .footer-column h2 { margin: .35rem 0 .25rem; color: var(--text-ivory); font-size: .87rem; }
.footer-column a { color: var(--text-stone); font-size: .86rem; } .footer-column a:hover { color: var(--copper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line-subtle); color: var(--text-dim); font-size: .78rem; }
.motion-ready [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s ease,transform .55s ease; }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1020px) { .nav-links { gap: .8rem; } .nav-link { font-size: .82rem; } .header-cta { display: none; } }
@media (max-width: 820px) {
  .nav-links { display: none; } .burger-btn { display: inline-grid; }
  .mobile-drawer:not([hidden]) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; padding: .5rem 1.25rem 1.2rem; border-top: 1px solid var(--line-subtle); background: var(--bg-obsidian); }
  .mobile-nav-link { min-height: 46px; display: flex; align-items: center; padding: .7rem .8rem; border-radius: 10px; color: var(--text-stone); background: var(--bg-surface-elevated); font-weight: 600; }
  .mobile-nav-link.active,.mobile-nav-link:hover { color: var(--copper); }
  .home-hero-grid { grid-template-columns: 1fr; } .home-hero-copy { max-width: 720px; } .hero-product { max-width: 800px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-note__inner { grid-template-columns: 1fr 1.2fr; } .studio-note__inner .text-link { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .container { padding-left: 1.1rem; padding-right: 1.1rem; } .header-inner { min-height: 66px; gap: .55rem; }
  .brand-icon-img { width: 35px; height: 35px; } .brand-text { font-size: .96rem; } .nav-actions { gap: .45rem; }
  .home-hero { padding-top: 3rem; } .home-hero h1 { font-size: clamp(2.2rem,10vw,3rem); }
  .apps-home-art { min-height: 260px; } .apps-home-art__tag--top { right: 0; } .apps-home-art__tag--bottom { left: 0; }
  .hero-actions { display: grid; grid-template-columns: 1fr; } .hero-actions .btn { width: 100%; }
  .hero-product__caption { align-items: start; flex-direction: column; padding: 2rem .8rem .8rem; } .status-pill { font-size: .68rem; }
  .section-heading { align-items: start; flex-direction: column; } .project-grid,.about-grid,.service-grid,.feature-grid { grid-template-columns: 1fr; }
  .project-card__visual { min-height: 180px; } .project-card__visual img { height: 200px; }
  .apps-feature__inner { grid-template-columns: 82px minmax(0,1fr); } .apps-feature__art { width: 82px; padding: .25rem; border-radius: 18px; } .apps-feature__art img { border-radius: 15px; }
  .apps-feature__count { display: none; } .studio-note__inner { grid-template-columns: 1fr; gap: 1rem; }
  .app-card { grid-template-columns: 68px minmax(0,1fr); gap: .85rem; padding: .9rem; } .app-card__icon { width: 64px; height: 64px; border-radius: 16px; }
  .app-card__actions { display: grid; grid-template-columns: 1fr; } .app-card__actions .btn { width: 100%; }
  .app-details { gap: .8rem 1.2rem; } .catalog-note { align-items: start; flex-direction: column; }
  .app-search-row { align-items: stretch; flex-direction: column; gap: .55rem; } .app-search { flex-basis: auto; max-width: none; }
  .app-pagination { align-items: stretch; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; } .footer-brand { grid-column: 1 / -1; } .footer-bottom { flex-direction: column; }
  .product-preview__caption { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .motion-ready [data-reveal] { opacity: 1; transform: none; } .hero-product__frame { transform: none; }
}

/* Dark app-store layout */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  clip-path: inset(50%) !important;
}
.store-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6.25rem) 0;
  border-bottom: 1px solid var(--line-subtle);
  background:
    radial-gradient(ellipse at 79% 42%, rgba(123,215,163,.12), transparent 34%),
    linear-gradient(135deg, var(--bg-obsidian), var(--bg-charcoal));
}
.store-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: radial-gradient(rgba(238,247,240,.13) .7px, transparent .7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 15%, #000 100%);
}
.store-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.store-hero__copy { max-width: 690px; }
.store-hero .eyebrow { color: var(--copper); }
.store-hero__divider { color: var(--text-dim); padding: 0 .35rem; }
.store-hero h1 {
  max-width: 700px;
  margin: .75rem 0 1.1rem;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.065em;
}
.store-hero h1 span { color: var(--copper); }
.store-hero__intro {
  max-width: 590px;
  color: var(--text-stone);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}
.store-search {
  display: flex;
  align-items: center;
  gap: .45rem;
  max-width: 590px;
  min-height: 62px;
  margin-top: 1.8rem;
  padding: .4rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-surface-elevated) 90%, transparent);
  box-shadow: 0 14px 38px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.04);
}
.store-search input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: .6rem .8rem;
  border: 0;
  outline: 0;
  color: var(--text-ivory);
  background: transparent;
  font: inherit;
}
.store-search input::placeholder { color: var(--text-dim); opacity: 1; }
.store-search:focus-within { border-color: var(--copper); box-shadow: 0 0 0 3px var(--copper-subtle), 0 14px 38px rgba(0,0,0,.2); }
.store-search__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 10px;
  color: #0b100d;
  background: var(--copper);
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.store-search__button:hover { background: var(--copper-hover); transform: translateY(-1px); }
.store-search__button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.store-hero__hint { margin: .65rem 0 0; color: var(--text-dim); font-size: .85rem; }
.store-hero__links { display: flex; flex-wrap: wrap; gap: .75rem 1.4rem; margin-top: 1.4rem; }
.store-hero__links a { color: var(--text-stone); font-size: .92rem; font-weight: 600; }
.store-hero__links a:hover { color: var(--copper); }
.store-hero__links span { color: var(--copper); margin-left: .2rem; }
.store-hero__visual { position: relative; min-height: 370px; display: grid; place-items: center; perspective: 1000px; }
.store-hero__glow {
  position: absolute;
  width: min(82%, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,215,163,.18), rgba(123,215,163,.05) 48%, transparent 72%);
  filter: blur(4px);
}
.store-feature-card {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 1.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--bg-surface-elevated) 96%, white 4%), var(--bg-charcoal));
  box-shadow: 0 34px 72px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.06);
  transform: perspective(1000px) rotateY(var(--tilt-y, -4deg)) rotateX(var(--tilt-x, 1deg));
  transition: transform .25s ease, border-color .25s ease;
}
.store-feature-card:hover { border-color: var(--line-copper); }
.store-feature-card__top, .store-feature-card__details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.store-feature-card__top { margin-bottom: 1.5rem; color: var(--text-dim); font: 700 .68rem var(--font-mono); letter-spacing: .08em; }
.store-pill {
  padding: .28rem .55rem;
  border: 1px solid var(--line-copper);
  border-radius: 999px;
  color: var(--copper);
  background: var(--copper-subtle);
}
.store-feature-card__app { display: grid; grid-template-columns: 88px minmax(0,1fr); align-items: center; gap: 1rem; }
.store-feature-card__app img { width: 88px; height: 88px; object-fit: cover; border: 1px solid var(--line-subtle); border-radius: 20px; box-shadow: var(--shadow-device); }
.store-feature-card__label { margin: 0 0 .35rem; color: var(--copper); font: 700 .68rem var(--font-mono); letter-spacing: .08em; }
.store-feature-card__app h2 { margin: 0; color: var(--text-ivory); font-size: 1.12rem; line-height: 1.3; }
.store-feature-card__app p:last-child { margin: .3rem 0 0; color: var(--text-stone); font-size: .86rem; }
.store-feature-card__details { margin-top: 1.1rem; padding-top: .85rem; border-top: 1px solid var(--line-subtle); color: var(--text-dim); font-size: .82rem; }
.store-feature-card__details strong { color: var(--text-stone); font-weight: 600; text-align: right; }
.store-feature-card__link { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2rem; padding: .8rem 0 0; border-top: 1px solid var(--line-subtle); color: var(--copper); font-weight: 700; }
.store-float-card {
  position: absolute;
  z-index: 2;
  right: -1rem;
  bottom: .55rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg-surface-elevated);
  box-shadow: var(--shadow-warm-md);
}
.store-float-card__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #0b100d; background: var(--copper); font-weight: 800; }
.store-float-card strong, .store-float-card small { display: block; }
.store-float-card strong { color: var(--text-ivory); font-size: .78rem; }
.store-float-card small { margin-top: .1rem; color: var(--text-dim); font-size: .7rem; }
.store-listing { padding-top: clamp(3rem, 5vw, 4.5rem); }
.store-listing .section-heading { margin-bottom: 1.6rem; }
.store-listing h2, .store-directories h2 { letter-spacing: -.04em; }
.store-directories { padding-top: 1rem; }
.directory-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.directory-card {
  display: block;
  min-height: 210px;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line-subtle);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--bg-charcoal), var(--bg-espresso));
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.directory-card:hover { border-color: var(--line-copper); transform: translateY(-3px); box-shadow: var(--shadow-warm-md); }
.directory-card__top { display: flex; justify-content: space-between; color: var(--copper); font: 700 .7rem var(--font-mono); letter-spacing: .08em; }
.directory-card h3 { margin: 1.2rem 0 .35rem; color: var(--text-ivory); font-size: 1.5rem; letter-spacing: -.03em; }
.directory-card p { max-width: 440px; color: var(--text-stone); }
.store-about-link { margin: 1.4rem 0 0; color: var(--text-dim); font-size: .9rem; }
.store-about-link .text-link { color: var(--copper); }
.page-hero--store { background: radial-gradient(ellipse at 80% 25%, rgba(123,215,163,.10), transparent 35%), var(--bg-charcoal); }
.page-hero--store h1 { letter-spacing: -.05em; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.app-card { border: 1px solid var(--line-subtle); border-radius: 18px; background: var(--bg-charcoal); box-shadow: var(--shadow-warm-sm); }
.app-card:hover { border-color: var(--line-copper); box-shadow: var(--shadow-warm-md); }
.app-card__icon { overflow: hidden; }
.app-card__content .project-card__meta span:first-child { color: var(--copper); }
.app-card__content .project-card__meta span:last-child { max-width: 100%; color: var(--text-dim); text-align: right; overflow-wrap: anywhere; }
.app-card__content h2 { letter-spacing: -.025em; }
.app-details dt { color: var(--text-dim); }
.app-details dd { color: var(--text-stone); }
.release-note { color: var(--text-dim); }
.app-search input { background: var(--bg-input); }
.software-directory .project-card { border-color: var(--line-subtle); background: var(--bg-charcoal); }
.software-directory .project-card__meta span:first-child { color: var(--copper); }
.software-directory .project-card__visual { background: var(--bg-espresso); }
.software-directory .project-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.software-directory .project-card__body h2 { color: var(--text-ivory); }
.software-directory .project-card__body > p { color: var(--text-stone); }

@media (max-width: 820px) {
  .store-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .store-hero__visual { min-height: 330px; }
  .store-feature-card { transform: none; }
  .store-float-card { right: 0; }
}
@media (max-width: 600px) {
  .store-hero { padding: 3.2rem 0 2.7rem; }
  .store-hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .store-search { align-items: stretch; }
  .store-search__button { padding: 0 .85rem; }
  .store-search__button span { display: none; }
  .store-search__button svg { width: 20px; height: 20px; }
  .store-hero__visual { min-height: 300px; }
  .store-feature-card { padding: 1.05rem; border-radius: 18px; }
  .store-feature-card__app { grid-template-columns: 72px minmax(0,1fr); gap: .75rem; }
  .store-feature-card__app img { width: 72px; height: 72px; border-radius: 16px; }
  .store-feature-card__app h2 { font-size: 1rem; }
  .store-float-card { right: -.25rem; bottom: -.25rem; padding: .65rem .75rem; }
  .directory-card-grid, .app-grid { grid-template-columns: 1fr; }
  .directory-card { min-height: 175px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-feature-card { transform: none; }
}
