/* ─── Tokens ─────────────────────────────────────────────── */

:root {
  /* Color — Committed strategy: warm charcoal + one saturated citrus accent */
  --color-bg:        oklch(97% 0.008 80);       /* warm off-white */
  --color-surface:   oklch(100% 0.005 80);      /* near-white cards */
  --color-ink:       oklch(18% 0.015 260);      /* deep blue-tinted dark */
  --color-ink-mid:   oklch(42% 0.015 250);      /* secondary text */
  --color-ink-dim:   oklch(60% 0.012 250);      /* tertiary / muted */
  --color-accent:    oklch(62% 0.19 60);        /* amber-orange, the committed hue */
  --color-accent-hi: oklch(70% 0.17 60);        /* hover lightened */
  --color-accent-lo: oklch(54% 0.21 60);        /* pressed darkened */
  --color-border:    oklch(88% 0.008 80);       /* subtle warm border */
  --color-border-strong: oklch(78% 0.012 260);

  /* Typography */
  --font-display: 'Cabinet Grotesk', 'Arial Black', sans-serif;
  --font-body:    'Satoshi', 'Helvetica Neue', Arial, sans-serif;

  /* Type scale — perfect fourth (1.333) */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  clamp(2.5rem, 6vw + 0.5rem, 4.5rem);
  --text-hero: clamp(3.5rem, 9vw + 1rem, 7rem);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --max-content: 1100px;
  --max-prose: 68ch;

  /* Elevation */
  --shadow-sm: 0 1px 3px oklch(18% 0.015 260 / 0.06), 0 1px 2px oklch(18% 0.015 260 / 0.04);
  --shadow-md: 0 4px 12px oklch(18% 0.015 260 / 0.08), 0 2px 4px oklch(18% 0.015 260 / 0.05);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
}


/* ─── Reset & Base ───────────────────────────────────────── */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-bg);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  text-wrap: balance;
  font-family: var(--font-display);
}

p {
  text-wrap: pretty;
}


/* ─── Header ─────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: oklch(97% 0.008 80 / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

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

.wordmark {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  transition: color var(--duration-fast) var(--ease-out);
}

.wordmark:hover {
  color: var(--color-accent);
}

.header-nav {
  display: flex;
  gap: var(--space-5);
}

.header-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ink-mid);
  transition: color var(--duration-fast) var(--ease-out);
}

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


/* ─── Hero ───────────────────────────────────────────────── */

.hero {
  padding: var(--space-10) var(--space-6) var(--space-9);
}

.hero-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  position: relative;
}

/* Accent slash — the committed-color load-bearing element */
.hero-inner::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -40px;
  width: 6px;
  height: calc(100% + 40px);
  background: var(--color-accent);
  border-radius: 3px;
  opacity: 0.7;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  padding-left: var(--space-5);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--color-ink);
  margin-bottom: var(--space-6);
  padding-left: var(--space-5);
}

.hero-sub {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-ink-mid);
  max-width: 52ch;
  padding-left: var(--space-5);
}


/* ─── Products ───────────────────────────────────────────── */

.products {
  padding: var(--space-9) var(--space-6);
  border-top: 1px solid var(--color-border);
}

.products-inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-dim);
  margin-bottom: var(--space-7);
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-8) var(--space-8);
  max-width: 680px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card.featured {
  border-color: var(--color-border-strong);
}

.product-meta {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.product-tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-ink-mid);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: var(--space-1) var(--space-3);
  letter-spacing: 0.03em;
}

.product-name {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-ink);
  margin-bottom: var(--space-4);
}

.product-desc {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-ink-mid);
  max-width: 56ch;
  margin-bottom: var(--space-6);
}

.product-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}


/* ─── Buttons ────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: oklch(98% 0.005 80);
  background: var(--color-accent);
  border: none;
  border-radius: 8px;
  padding: 10px var(--space-5);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
  letter-spacing: 0.01em;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--color-accent-hi);
  transform: translateY(-1px);
}

.btn-primary:active {
  background: var(--color-accent-lo);
  transform: translateY(0);
}


/* ─── Values ─────────────────────────────────────────────── */

.values {
  padding: var(--space-9) var(--space-6);
  background: var(--color-ink);
}

.values-inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.values .section-label {
  color: oklch(55% 0.012 250);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-7) var(--space-8);
}

.value-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: oklch(93% 0.008 80);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.value-item p {
  font-size: var(--text-base);
  line-height: 1.65;
  color: oklch(65% 0.012 250);
  max-width: 42ch;
}


/* ─── Contact ────────────────────────────────────────────── */

.contact {
  padding: var(--space-9) var(--space-6);
  border-top: 1px solid var(--color-border);
}

.contact-inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.contact h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  margin-bottom: var(--space-3);
}

.contact p {
  font-size: var(--text-base);
  color: var(--color-ink-mid);
  margin-bottom: var(--space-5);
}


/* ─── Footer ─────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) var(--space-6);
}

.footer-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin-right: auto;
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-ink-dim);
}

.footer-links {
  display: flex;
  gap: var(--space-5);
}

.footer-links a {
  font-size: var(--text-xs);
  color: var(--color-ink-dim);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--color-ink-mid);
}


/* ─── Page-load entrance animation ──────────────────────── */

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  animation: slide-up 0.5s var(--ease-out) 0.05s both;
}

.hero-headline {
  animation: slide-up 0.6s var(--ease-out) 0.12s both;
}

.hero-sub {
  animation: slide-up 0.6s var(--ease-out) 0.2s both;
}


/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 640px) {
  .hero {
    padding: var(--space-9) var(--space-5) var(--space-7);
  }

  .hero-inner::before {
    left: -20px;
  }

  .eyebrow,
  .hero-headline,
  .hero-sub {
    padding-left: var(--space-4);
  }

  .product-card {
    padding: var(--space-6);
  }

  .products,
  .values,
  .contact {
    padding-inline: var(--space-5);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .footer-brand {
    margin-right: 0;
  }

  .header-inner {
    padding-inline: var(--space-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow,
  .hero-headline,
  .hero-sub {
    animation: none;
  }

  .product-card:hover,
  .btn-primary:hover {
    transform: none;
  }
}
