:root {
  --bg: #0a0a12;
  --bg-soft: #12121d;
  --surface: #18182a;
  --surface-hover: #1f1f33;
  --ink: #f0f0f5;
  --ink-soft: #9999b0;
  --ink-faint: #5a5a78;
  --primary: #7c5cff;
  --primary-soft: #a78bfa;
  --accent: #00d4aa;
  --pink: #ff5cb8;
  --warn: #fbbf24;
  --border: rgba(255,255,255,.06);
  --border-hover: rgba(255,255,255,.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: all .2s; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

/* Background */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}
.orb1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.4), transparent 70%);
  top: -200px; left: -200px;
}
.orb2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 92, 184, 0.25), transparent 70%);
  top: 30%; right: -200px;
}
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 18, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.3px;
}
.brand-mark {
  color: var(--primary-soft);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.nav-right { display: flex; gap: 16px; align-items: center; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  padding: 6px 14px 6px 10px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: 100px;
  color: var(--accent);
}
.status-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.2);
}
.contact-btn {
  font-size: 13px;
  padding: 8px 16px;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  color: var(--ink);
}
.contact-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Hero */
.hero {
  padding: 100px 0 140px;
  text-align: center;
}
.hero-meta {
  display: inline-flex; gap: 12px; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-soft);
}
.hero-label { letter-spacing: 1px; }
.hero-sep { color: var(--ink-faint); }

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -3.5px;
  margin-bottom: 36px;
}
.hero-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--primary-soft), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -2px;
}

.hero-sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 660px;
  margin: 0 auto 48px;
  line-height: 1.55;
}

.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 80px;
}
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
  border-radius: 100px;
  font-size: 15px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.3);
  transition: all .2s;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 92, 255, 0.5);
}
.cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: 100px;
  font-size: 15px; font-weight: 500;
  transition: all .2s;
}
.cta-ghost:hover { border-color: var(--primary); background: var(--surface-hover); }

.stats {
  display: flex; gap: 64px; justify-content: center; flex-wrap: wrap;
  padding-top: 60px;
  border-top: 1px solid var(--border);
  max-width: 720px; margin: 0 auto;
}
.stats div { text-align: center; }
.stats strong {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-size: 44px;
  font-weight: 400;
  background: linear-gradient(135deg, var(--primary-soft), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -1px;
  line-height: 1;
}
.stats span {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px;
  display: block;
}

/* Section labels */
.section-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--primary-soft);
  padding: 5px 12px;
  background: rgba(124, 92, 255, 0.1);
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
section h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -1.5px;
}
section h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--primary-soft);
}

/* Works */
.works { padding: 100px 0; }
.works-head {
  text-align: center;
  margin-bottom: 56px;
}
.works-head h2 { margin-bottom: 32px; }

.filters {
  display: inline-flex; gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
}
.filter {
  padding: 8px 18px;
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  border-radius: 100px;
  transition: all .15s;
}
.filter:hover { color: var(--ink); }
.filter.active {
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  background: var(--surface-hover);
}
.card.hide { display: none; }

.card-preview {
  aspect-ratio: 16/10;
  border-radius: 10px;
  background: var(--bg);
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

.card-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-faint);
}
.card-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.tag-simple { background: rgba(0, 212, 170, 0.15); color: var(--accent); }
.tag-medium { background: rgba(251, 191, 36, 0.15); color: var(--warn); }
.tag-complex { background: rgba(255, 92, 184, 0.15); color: var(--pink); }

.card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  flex: 1;
}
.card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.card-stack {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.5px;
}
.card-arrow {
  font-size: 16px;
  color: var(--ink-soft);
  transition: all .2s;
}
.card:hover .card-arrow { color: var(--primary-soft); transform: translate(2px, -2px); }

/* === MINI PREVIEWS === */
/* Each .mini-N is a stylized SVG-like preview of its page */

.mini-1 {
  width: 100%; height: 100%;
  background: #faf8f4;
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 14px;
  gap: 14px;
}
.m1-bar { grid-column: 1/-1; height: 4px; background: #1e3a5f; border-radius: 2px; opacity: 0.4; }
.m1-text { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.m1-eyebrow { width: 40%; height: 6px; background: #c9a961; border-radius: 2px; }
.m1-h { width: 90%; height: 10px; background: #1e3a5f; border-radius: 2px; }
.m1-h:nth-child(3) { width: 70%; }
.m1-p { width: 80%; height: 4px; background: #5a6478; border-radius: 2px; margin-top: 4px; }
.m1-btns { display: flex; gap: 4px; margin-top: 4px; }
.m1-btns i { display: block; width: 30px; height: 12px; background: #1e3a5f; border-radius: 2px; }
.m1-btns i:nth-child(2) { background: transparent; border: 1px solid #1e3a5f; }
.m1-photo {
  background: linear-gradient(135deg, #c9a961, #1e3a5f);
  border-radius: 4px;
  align-self: center;
  width: 100%;
  aspect-ratio: 4/5;
  max-height: 100%;
}

.mini-2 {
  width: 100%; height: 100%;
  background: #0e0e10;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 16px;
  gap: 12px;
}
.m2-title { width: 70%; height: 20px; background: linear-gradient(90deg, #f0ede4, #ff5722); border-radius: 2px; }
.m2-cd { display: flex; gap: 4px; }
.m2-cd i {
  display: block; width: 28px; height: 28px;
  background: #161618;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 2px;
  position: relative;
}
.m2-cd i::after {
  content: "";
  position: absolute; top: 8px; left: 6px; right: 6px;
  height: 6px;
  background: #ff5722;
  border-radius: 1px;
}

.mini-3 {
  width: 100%; height: 100%;
  background: #f4ede1;
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.m3-tabs { display: flex; gap: 2px; justify-content: center; margin-bottom: 6px; }
.m3-tabs i { display: block; width: 30px; height: 14px; background: #faf5ea; border-radius: 100px; }
.m3-tabs i.on { background: #2a1f17; }
.m3-dish {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0;
  border-bottom: 1px dashed #d9cdba;
}
.m3-dish span { display: block; width: 60%; height: 6px; background: #2a1f17; border-radius: 2px; }
.m3-dish b { display: block; width: 30px; height: 8px; background: #8a3a1f; border-radius: 2px; }

.mini-4 {
  width: 100%; height: 100%;
  background: #ebe7e0;
  padding: 10px;
}
.m4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  height: 100%;
}
.m4-grid div {
  background: linear-gradient(135deg, #b85a3c, #6b6862);
  border-radius: 2px;
  filter: grayscale(0.7);
}
.m4-grid div:nth-child(2) { aspect-ratio: 1; align-self: start; }
.m4-grid div:nth-child(3) { background: linear-gradient(135deg, #1a1a1a, #b85a3c); }
.m4-grid div:nth-child(5) { background: linear-gradient(135deg, #6b6862, #1a1a1a); }
.m4-grid div:nth-child(6) { background: linear-gradient(135deg, #b85a3c, #1a1a1a); }

.mini-5 {
  width: 100%; height: 100%;
  background: #fdfcf9;
  padding: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.m5-mast {
  height: 20px;
  background: #1a1a1a;
  border-radius: 2px;
  position: relative;
}
.m5-mast::after {
  content: "P";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  color: #b3271d;
  font-weight: 900;
  font-size: 14px;
}
.m5-cats { height: 4px; background: #e4e1d9; border-radius: 1px; }
.m5-feat { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; flex: 1; }
.m5-img { background: linear-gradient(135deg, #b3271d, #f4ede0); border-radius: 2px; }
.m5-txt { display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.m5-txt span { display: block; height: 6px; background: #1a1a1a; border-radius: 1px; }
.m5-txt span:nth-child(2) { width: 80%; }
.m5-txt span:nth-child(3) { width: 60%; background: #b3271d; }

.mini-6 {
  width: 100%; height: 100%;
  background: #f7f4ef;
  padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.m6-prod {
  background: white;
  border-radius: 4px;
  padding: 6px;
  display: flex; flex-direction: column; gap: 3px;
  border: 1px solid #e8e2d6;
}
.m6-prod div {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #4a2c2a, #c4805a);
  border-radius: 2px;
}
.m6-prod span { display: block; width: 80%; height: 4px; background: #1c1814; border-radius: 1px; }
.m6-prod b { display: block; width: 40%; height: 5px; background: #4a2c2a; border-radius: 1px; }

.mini-7 {
  width: 100%; height: 100%;
  background: #0a0a14;
  padding: 14px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  position: relative;
}
.mini-7::before {
  content: "";
  position: absolute; top: -50px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.4), transparent 60%);
  filter: blur(40px);
}
.m7-h { width: 70%; height: 12px; background: linear-gradient(135deg, #7c5cff, #ff5cb8); border-radius: 2px; z-index: 1; }
.m7-h2 { width: 50%; height: 6px; background: #9a9ab0; border-radius: 1px; z-index: 1; }
.m7-plans { display: flex; gap: 6px; margin-top: 8px; z-index: 1; }
.m7-plans div { width: 38px; height: 50px; background: #1a1a2e; border: 1px solid rgba(255,255,255,.08); border-radius: 4px; }
.m7-plans div.active { border-color: #7c5cff; background: linear-gradient(180deg, rgba(124, 92, 255, 0.2), transparent); transform: scale(1.05); }

.mini-8 {
  width: 100%; height: 100%;
  background: #0d0d12;
  display: grid; grid-template-columns: 30px 1fr;
}
.m8-side { background: #131318; border-right: 1px solid rgba(255,255,255,.06); }
.m8-main { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.m8-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.m8-kpis i { display: block; aspect-ratio: 1.6; background: #1a1a22; border: 1px solid rgba(255,255,255,.06); border-radius: 3px; }
.m8-kpis i:nth-child(1) { background: linear-gradient(135deg, #1a1a22, rgba(124, 92, 255, 0.15)); }
.m8-kpis i:nth-child(2) { background: linear-gradient(135deg, #1a1a22, rgba(0, 212, 170, 0.15)); }
.m8-chart {
  flex: 1;
  background: #1a1a22;
  border-radius: 3px;
  padding: 6px;
  color: #7c5cff;
}
.m8-chart svg { width: 100%; height: 100%; }

.mini-9 {
  width: 100%; height: 100%;
  background: #f5f5f7;
  padding: 8px;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.m9-col {
  background: #ebebef;
  border-radius: 4px;
  padding: 6px;
  display: flex; flex-direction: column; gap: 4px;
}
.m9-col > span {
  display: block; height: 4px;
  background: #4f46e5;
  width: 50%;
  border-radius: 1px;
  margin-bottom: 2px;
}
.m9-col i {
  display: block; height: 14px;
  background: white;
  border-radius: 2px;
  border-left: 2px solid #3b82f6;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.m9-col:nth-child(2) i { border-left-color: #f59e0b; }
.m9-col:nth-child(3) i { border-left-color: #10b981; }

/* === HOW === */
.how { padding: 100px 0; border-top: 1px solid var(--border); }
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}
.how-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.how-items article {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.how-items strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-soft);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.how-items p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* === CTA === */
.cta-final {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(124, 92, 255, 0.2), transparent 70%);
  filter: blur(60px);
  z-index: 0;
}
.cta-inner { position: relative; z-index: 2; }
.cta-final h2 { margin-bottom: 12px; }
.cta-final p { color: var(--ink-soft); font-size: 17px; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  font-size: 13px;
}
.footer strong { display: block; font-size: 14px; }
.footer span { color: var(--ink-soft); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer-credit {
  text-align: right;
  color: var(--ink-faint);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .nav-right .status-pill { display: none; }
  .stats { gap: 32px; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-items { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-credit { text-align: center; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 80px; }
  .stats { gap: 24px; }
  .stats strong { font-size: 32px; }
}

/* Why SIR */
.why-sir {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-stat {
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all .25s;
}
.why-stat:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-4px);
}
.why-stat strong {
  display: block;
  font-family: "Instrument Serif", serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-soft), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.why-stat span {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-weight: 600;
}
.why-stat p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-stat strong { font-size: 48px; }
}

/* Mobile polish */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .nav-inner { padding: 14px 18px; }
  .hero { padding: 48px 0 64px; }
  .hero-meta { font-size: 10px; padding: 6px 12px; gap: 8px; }
  .hero-title { font-size: 42px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 16px; margin-bottom: 32px; }
  .hero-actions { margin-bottom: 48px; }
  .cta { padding: 14px 22px; font-size: 14px; }
  .stats { padding-top: 32px; gap: 20px; }
  .stats strong { font-size: 28px; }
  .stats span { font-size: 10px; }
  .works { padding: 60px 0; }
  .works-head { margin-bottom: 36px; }
  .works-head h2 { font-size: 26px; margin-bottom: 20px; }
  .filters { padding: 3px; }
  .filter { padding: 7px 14px; font-size: 12px; }
  .why-sir { padding: 60px 0; }
  .how { padding: 60px 0; }
  section h2 { font-size: 26px; }
  .card h3 { font-size: 16px; }
  .card p { font-size: 12px; }
  .card-foot { padding-top: 10px; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 36px; }
}
