:root {
  --bg: #f3f1ef;
  --bg-card: #ffffff;
  --ink: #303030;
  --ink-soft: #555555;
  --ink-muted: #8a8a8a;
  --accent: #868364;
  --accent-deep: #6e6b50;
  --accent-soft: #aaa78a;
  --rule: #e3e0db;
  --rule-soft: #ebe8e3;
  --display: 'Editors Note', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Work Sans', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
  --mono-caps: 'Source Code Pro', 'Work Sans', monospace;
}

@font-face {
  font-family: 'Editors Note';
  src: url('/assets/fonts/editorsnote-thin.woff2') format('woff2'),
       url('/assets/fonts/editorsnote-thin.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Editors Note';
  src: url('/assets/fonts/editorsnote-thin-italic.woff2') format('woff2'),
       url('/assets/fonts/editorsnote-thin-italic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--ink); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 36px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 36px; }

/* Caps style for buttons + small labels */
.caps {
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

/* Header */
header.site {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.site-links {
  display: flex;
  gap: 28px;
}
.site-links a {
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--ink-soft);
}
.site-links a:hover { color: var(--accent-deep); }

/* Hero */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: var(--bg);
}
.hero .kicker {
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 32px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 32px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero p.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Section */
section {
  padding: 80px 0;
}
.section-head {
  margin-bottom: 56px;
  text-align: center;
}
.section-head .eyebrow {
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 18px;
  color: var(--ink);
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head p {
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(134, 131, 100, 0.22);
  border-color: var(--accent-soft);
}
.product-card .card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rule-soft);
}
.product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.product-card:hover .card-image img {
  transform: scale(1.03);
}
.product-card .card-body {
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card .cat {
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 16px;
}
.product-card h3 {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 14px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.product-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}
.product-card .count {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 14px;
  font-style: italic;
}
.product-card .arrow {
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.product-card .arrow::after {
  content: "92";
  transition: transform 0.3s ease;
}
.product-card:hover .arrow::after {
  transform: translateX(6px);
}
.product-card a.cover {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Featured quote */
.featured-quote {
  background: var(--bg-card);
  padding: 90px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.featured-quote .votes-flourish {
  font-family: var(--display);
  font-style: italic;
  font-size: 30px;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}
.featured-quote .votes-flourish em {
  font-style: italic;
}
.featured-quote blockquote {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.3;
  font-weight: 300;
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto 28px;
  font-style: normal;
  letter-spacing: -0.005em;
}
.featured-quote .cite {
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--accent-deep);
}

/* Product page hero */
.product-hero {
  padding: 80px 0 60px;
  background: var(--bg);
}
.product-hero .crumbs {
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.product-hero .crumbs a { color: var(--accent-deep); }
.product-hero h1 {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  color: var(--ink);
}
.product-hero .desc {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 36px;
}
.product-hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}
.product-hero .meta div { color: var(--ink-soft); }
.product-hero .meta strong {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  color: var(--ink);
  font-weight: 300;
  margin-bottom: 4px;
}
.product-hero .meta a.shop-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--accent-deep);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
}
.product-hero .meta a.shop-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* Product image */
.product-image {
  max-width: 880px;
  margin: 0 auto 60px;
  padding: 0 36px;
}
.product-image img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--rule);
}

/* Testimonials */
.testimonials-section {
  padding: 40px 0 100px;
}
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  padding: 52px 60px;
  margin-bottom: 28px;
  position: relative;
}
.testimonial::before {
  content: "C";
  position: absolute;
  top: 24px;
  left: 32px;
  font-family: var(--display);
  font-size: 110px;
  color: var(--rule);
  line-height: 1;
  font-style: italic;
}
.testimonial-content { position: relative; z-index: 1; }
.testimonial-quote {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 28px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.005em;
}
.testimonial-full {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.testimonial-full p { margin-bottom: 14px; }
.testimonial-full p:last-child { margin-bottom: 0; }
.testimonial-meta {
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.testimonial-author {
  font-family: var(--display);
  font-size: 26px;
  color: var(--ink);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author .headshot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--rule-soft);
  border: 1px solid var(--rule);
}
.testimonial-author .headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-author .author-text {
  display: flex;
  flex-direction: column;
}
.testimonial-author .biz {
  display: block;
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  color: var(--ink-muted);
  margin-top: 8px;
}
.testimonial-links {
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  display: flex;
  gap: 20px;
}
.testimonial-links a {
  color: var(--accent-deep);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}
.testimonial-links a:hover { border-color: var(--accent); color: var(--ink); }
.stars {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 4px;
  margin-bottom: 18px;
  display: block;
}

/* Expand/collapse */
details.testimonial-detail summary {
  cursor: pointer;
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--accent-deep);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
}
details.testimonial-detail summary::-webkit-details-marker { display: none; }
details.testimonial-detail summary::after {
  content: "+";
  font-size: 18px;
  line-height: 1;
}
details.testimonial-detail[open] summary::after { content: "3"; }
details.testimonial-detail .testimonial-full { margin-top: 24px; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 90px 40px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
}
.empty-state h3 {
  font-family: var(--display);
  font-size: 36px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 300;
}
.empty-state p {
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 auto;
  font-size: 15px;
}

/* Footer */
footer.site {
  padding: 80px 0 60px;
  background: var(--accent);
  color: var(--bg);
  text-align: center;
}
footer.site .footer-mark {
  margin-bottom: 14px;
}
footer.site .footer-mark img {
  height: 36px;
  width: auto;
  /* SVG is dark by default; filter inverts to cream */
  filter: brightness(0) invert(1) opacity(0.95);
  display: inline-block;
}
footer.site .footer-tag {
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  margin-bottom: 32px;
  opacity: 0.85;
}
footer.site a { color: var(--bg); opacity: 0.85; }
footer.site a:hover { opacity: 1; }
footer.site .footer-links {
  font-family: var(--mono-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
footer.site .small {
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 22px; }
  .hero { padding: 60px 0 50px; }
  section { padding: 56px 0; }
  .testimonial { padding: 36px 28px; }
  .testimonial::before { top: 14px; left: 16px; font-size: 70px; }
  .testimonial-quote { font-size: 22px; }
  .testimonial-author { font-size: 22px; }
  .product-image { padding: 0 22px; }
  .site-nav { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-links { flex-wrap: wrap; gap: 18px; }
  .product-hero .meta { gap: 24px; }
}