/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FAFAF8;
  --bg-alt: #F3F1EC;
  --ink: #111009;
  --ink-2: #3D3A30;
  --ink-3: #7A7568;
  --ink-4: #B0AA9E;
  --accent: #1A1916;
  --gold: #C8922A;
  --gold-light: #E8B84B;
  --border: #E5E2DB;
  --border-strong: #D0CBBE;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Geist', system-ui, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --max: 1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Nav ──────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo span {
  font-weight: 300;
  color: var(--ink-2);
}

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

.nav-links a {
  font-size: 0.875rem;
  color: var(--ink-2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--ink) !important;
  color: var(--bg) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.875rem !important;
  font-weight: 500;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--ink-2) !important; }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px 100px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink-3);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 700px;
}

.hero-headline em {
  font-style: italic;
  color: var(--ink-2);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--ink-3);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: #2A2820; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink-2);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.9375rem;
  border: 1px solid var(--border-strong);
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.stat-num {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--ink-4);
  margin-top: 4px;
}

.stat-div {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ─── Section Base ─────────────────────────────────────────── */
.section-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1rem;
  color: var(--ink-3);
  max-width: 480px;
}

/* ─── Products ─────────────────────────────────────────────── */
.products {
  padding: 80px 0 100px;
}

.products-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  box-shadow: 0 8px 40px rgba(17, 16, 9, 0.08);
  transform: translateY(-2px);
}

.product-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #FFFDF8 0%, #FFF9ED 100%);
}

.product-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(200, 146, 42, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.product-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.product-card.featured .product-badge {
  color: var(--gold);
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
}

.product-card.featured .product-icon {
  background: rgba(200, 146, 42, 0.1);
  color: var(--gold);
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.product-tagline {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  margin-top: -4px;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.65;
  flex: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tags span {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-alt);
  color: var(--ink-3);
  border: 1px solid var(--border);
}

.product-card.featured .product-tags span {
  background: rgba(200, 146, 42, 0.08);
  border-color: rgba(200, 146, 42, 0.2);
  color: var(--gold);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.product-status {
  font-size: 0.75rem;
  font-weight: 500;
}

.product-status.active { color: #22c55e; }

.product-market {
  font-size: 0.75rem;
  color: var(--ink-4);
}

/* ─── About ────────────────────────────────────────────────── */
.about {
  background: var(--ink);
  color: #F0EDE5;
  padding: 100px 0;
}

.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about .section-tag { color: var(--gold-light); }

.about h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  margin-top: 12px;
}

.about p {
  color: #9A9080;
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-values {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  color: var(--gold-light);
  font-size: 0.75rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.value strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #E8E3D8;
  margin-bottom: 2px;
}

.value span {
  font-size: 0.8125rem;
  color: #6A6258;
  line-height: 1.5;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 60px;
}

.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid #222018;
  border-radius: 12px;
  background: #141210;
  transition: border-color 0.2s;
}

.about-card:hover { border-color: #3A3428; }

.about-card-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.about-card span:last-child {
  font-size: 0.875rem;
  color: #7A7268;
}

/* ─── Tech ─────────────────────────────────────────────────── */
.tech {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.tech-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-item {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  background: #fff;
  transition: border-color 0.15s;
}

.tech-item:hover { border-color: var(--border-strong); }

/* ─── Contact ──────────────────────────────────────────────── */
.contact {
  padding: 100px 0 120px;
  border-top: 1px solid var(--border);
}

.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  max-width: 600px;
  text-align: center;
}

.contact-inner .section-tag { display: block; text-align: center; margin-bottom: 16px; }

.contact-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact-inner p {
  font-size: 1rem;
  color: var(--ink-3);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: 24px;
}

.contact-email:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.contact-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--ink-4);
  margin-bottom: 0 !important;
}

/* ─── Footer ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.footer-logo span { font-weight: 300; color: var(--ink-3); }

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--ink-3);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--ink); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--ink-4);
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { gap: 20px; }
  .nav-links a:not(.nav-cta) { display: none; }

  .hero { padding: 60px 20px 80px; }
  .hero-stats { gap: 20px; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual { padding-top: 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

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

  .section-header { padding: 0 20px; }
  .products-grid, .tech-grid, .about-inner, .contact-inner, .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}
