/* ============================================================
   Vazcooez — design tokens
   ============================================================ */
:root {
  --bg: #FBFAF7;
  --bg-alt: #F3F1EA;
  --ink: #1F1D1A;
  --ink-soft: #3A3733;
  --muted: #6B6862;
  --line: #E5E1D8;
  --accent: #C26A3E;
  --accent-soft: #F4E4D7;
  --accent-ink: #8A4421;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(31, 29, 26, 0.04);
  --shadow-md: 0 4px 24px -8px rgba(31, 29, 26, 0.10);

  --maxw: 1120px;
  --maxw-narrow: 720px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
}

/* ============================================================
   Reset + base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-ink); }
ul { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--ink-soft); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: 0.5rem 1rem; border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container.narrow { max-width: var(--maxw-narrow); }
.container.center { text-align: center; }

.section { padding: var(--space-6) 0; }
.section-alt { background: var(--bg-alt); }

/* ============================================================
   Typography
   ============================================================ */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.4em 0 0.6em;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.8em;
  color: var(--ink);
  font-variation-settings: "opsz" 48;
}
h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
}
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-mark { color: var(--accent); }
.nav-menu {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav-menu a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a[aria-current="page"] { color: var(--accent-ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  gap: 4px;
  flex-direction: column;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-split { padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero-copy { min-width: 0; }
.hero-figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.02);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(251,250,247,0.10), transparent 60%),
    linear-gradient(180deg, rgba(31,29,26,0.00) 60%, rgba(31,29,26,0.08));
  pointer-events: none;
}

/* ============================================================
   Image band (full-bleed editorial break)
   ============================================================ */
.image-band {
  display: block;
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  margin: 0;
}
.image-band img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.02);
}

/* ============================================================
   CTAs
   ============================================================ */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  transition: transform 0.06s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-ink);
  color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ============================================================
   Word list (our values)
   ============================================================ */
.word-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 2rem;
}
.word-list li {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  padding: 0.45rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
}
.word-list.compact li {
  font-size: 1rem;
  padding: 0.35rem 0.75rem;
}

/* ============================================================
   Card grids
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.section-alt .card { background: var(--bg); }
.card p { color: var(--ink-soft); margin: 0; }

/* ============================================================
   Product card
   ============================================================ */
.product-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  margin: 2.5rem 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.product-card-body { padding: 2.25rem 2.25rem 2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.product-card-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.015em;
  margin: 0.2em 0 0.4em;
}
.product-card-body p { color: var(--ink-soft); margin: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.link-arrow {
  margin-top: 1.25rem;
  color: var(--accent-ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.product-card-visual {
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-left: 1px solid var(--line);
}
.mock {
  width: 100%;
  max-width: 340px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
}
.mock-caption {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.25rem;
}
.mock-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
}
.mock-row:last-child { border-bottom: 0; }
.mock-row .arrow { color: var(--accent); }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.dot-a { background: #C26A3E; }
.dot-b { background: #6B8E7F; }
.dot-c { background: #8E6AC2; }

/* ============================================================
   Steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  counter-reset: step;
}
.steps li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.steps li h3 { margin-bottom: 0.4em; }
.steps li p { color: var(--ink-soft); margin: 0; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  margin-top: var(--space-5);
  padding: var(--space-5) 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.9rem;
}
.footer-list li { margin-bottom: 0.5rem; }
.footer-list a {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.footer-list a:hover { color: var(--ink); }
.footer-list.social { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }
.footer-list.social li { margin: 0; }
.footer-base {
  margin-top: var(--space-4);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.dot-sep { margin: 0 0.35rem; color: var(--line); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
  }
  .nav-menu a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .nav-menu a:last-child { border-bottom: 0; }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .product-card { grid-template-columns: 1fr; }
  .product-card-visual { border-left: 0; border-top: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-figure { aspect-ratio: 16 / 11; max-height: 380px; }
  .image-band, .image-band img { max-height: 280px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section { padding: var(--space-5) 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
