:root {
  --bg-canvas: #FAF9F7;
  --bg-surface: #FFFFFF;
  --bg-stone: #F2EFEA;
  --border-line: #E5E0D8;
  --text-ink: #1C1816;
  --text-muted: #59504C;
  --accent: #9B2643;
  --accent-hover: #7C1D35;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Strict 3-size body scale */
  --text-heading: 1.5rem;
  --text-body: 0.9375rem;
  --text-sm: 0.8125rem;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: var(--text-body);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-display {
  font-family: 'Fraunces', Georgia, serif;
}

/* Type scale utilities */
.t-hero-display {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.375rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.hero-scrim {
  background: linear-gradient(
    to top,
    rgba(28, 24, 22, 0.84) 0%,
    rgba(28, 24, 22, 0.42) 50%,
    rgba(28, 24, 22, 0.08) 100%
  );
}

.t-display {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.125rem, 3.8vw, 3.125rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.t-wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.125rem, 4.2vw, 1.375rem);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.t-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: var(--text-heading);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.t-body {
  font-size: var(--text-body);
  line-height: 1.55;
}

.t-sm {
  font-size: var(--text-sm);
  line-height: 1.45;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Explicit calibrated transitions */
.tr-color {
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.tr-transform {
  transition: transform 220ms var(--ease-out);
}

.tr-opacity {
  transition: opacity 200ms var(--ease-out);
}

.tr-toast {
  transition: opacity 200ms var(--ease-out), transform 220ms var(--ease-out);
}

/* Active navigation link underline */
.nav-link {
  position: relative;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--text-ink);
}

.nav-link.is-active {
  color: var(--text-ink);
  font-weight: 600;
}

.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background-color: var(--accent);
}

/* Product image subtle zoom */
.product-card:hover .product-img {
  transform: scale(1.03);
}

/* Clean native select formatting (prevents double arrows across browsers) */
select.shop-select {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Page fade-in */
@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-enter {
  animation: pageFade 220ms var(--ease-out) forwards;
}

/* Details accordion chevron */
details[open] .faq-chevron {
  transform: rotate(180deg);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .page-enter {
    animation: none;
  }
  .tr-color,
  .tr-transform,
  .tr-opacity,
  .tr-toast,
  .product-img,
  .faq-chevron {
    transition: none !important;
  }
  .product-card:hover .product-img {
    transform: none;
  }
}
