:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --line: #e6e6e6;
  --soft: #f4f4f2;
  --accent: #1a1a1a;
  --max: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 8px; background: var(--bg); padding: 6px 10px; }

.site-header,
main,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.brand { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }

/* Hamburger: a hidden checkbox + label, shown only on phones (see the
   media query at the bottom). No JavaScript. */
.nav-toggle, .nav-button { display: none; }

.site-header nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-header nav a { text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.site-header nav a:hover { color: var(--text); }

main { padding-top: 40px; padding-bottom: 64px; min-height: 60vh; }

h1, h2, h3, .brand {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 1.15; margin: 0 0 16px; }
h2 { font-size: 2rem; line-height: 1.25; margin: 40px 0 16px; }
h3 { font-size: 1.4rem; margin: 28px 0 8px; }

main > section + section { margin-top: 88px; }
main > section > h2 { margin: 0 0 28px; }

/* Home page bands: the content keeps the page width, the background colour
   runs edge to edge (the shadow paints it, the clip-path stops it from
   spilling above and below). */
main > section.band {
  margin-top: 0;
  padding: 80px 0;
  background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
}
.band-a { --band: #fff; }
.band-b { --band: #f7f4ef; }
.band-c { --band: #fdfcfa; }
.band .review { background: #fff; border-color: transparent; }
main:has(> section.band:last-child) { padding-bottom: 0; }

/* Hero: the photo runs edge to edge; .hero-inner keeps the text on the
   same margins as the header. */
main:has(> .hero) { padding-top: 0; }
.hero-banner {
  position: relative;
  margin: 0 calc(50% - 50vw);
  background: var(--soft) center / cover no-repeat;
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  max-width: var(--max);
  min-height: clamp(420px, 62vh, 640px);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) 20px 28px;
}
.hero-text h1 { max-width: 640px; }
.hero-text p { max-width: 520px; margin: 0; font-size: 1.15rem; color: var(--muted); }
.hero-banner.has-image, .hero-banner.has-image .hero-text p { color: #fff; }
/* Darker on the left where the text sits, lighter on the right so the
   picture still shows. */
.hero-banner.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.12) 100%);
}
.hero-note { margin: 0; font-size: 0.85rem; color: var(--muted); }
.hero-banner.has-image .hero-note { color: rgba(255, 255, 255, 0.78); }

.section-intro { margin: -12px 0 28px; color: var(--muted); }

.faq { max-width: 760px; }
.page-faq { margin-top: 56px; }
.page-faq h2 { margin: 0 0 12px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { padding: 18px 28px 18px 0; cursor: pointer; font-weight: 500; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.3rem; color: var(--muted); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 20px; color: var(--muted); }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.review { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 8px; }
.review .stars { color: #f5a623; font-size: 1.2rem; letter-spacing: 3px; margin-bottom: 10px; }
.review blockquote { margin: 0; }
.review figcaption { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }

.page-head { max-width: 720px; margin-bottom: 28px; }
.page-head p { color: var(--muted); }

.prose { max-width: 720px; }
.prose a { text-underline-offset: 3px; }
.crumb { margin: 0 0 8px; font-size: 0.9rem; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.card-image { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.card-image.contain { object-fit: contain; background: #fff; }
.card-title { font-weight: 600; margin-top: 16px; line-height: 1.35; }
.labels { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.labels li { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.78rem; color: var(--muted); white-space: nowrap; }

.placeholder { background: var(--soft); border-radius: 6px; }

.badge {
  display: inline-block;
  align-self: flex-start;
  margin: 0;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted);
}

.empty { color: var(--muted); }

.closing { max-width: 720px; text-align: center; margin-left: auto; margin-right: auto; color: var(--muted); }
.closing p { margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}
.chip:hover { border-color: var(--accent); }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-image { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.product-info .badge { margin-bottom: 16px; }
.found-in { color: var(--muted); font-size: 0.95rem; margin-top: 24px; }

.post-image { width: 100%; border-radius: 6px; margin: 8px 0 24px; }

.post-list { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.post-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.post-list a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.post-list a:hover { text-decoration: underline; }
.post-list p { margin: 4px 0 0; color: var(--muted); }

.site-footer {
  padding-top: 36px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer p { margin: 0; }
.site-footer .footer-note {
  margin-bottom: 6px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text);
}
.site-footer .footer-tagline { margin-bottom: 28px; color: #a3a3a3; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 12px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.site-footer .copyright { margin-top: 28px; font-size: 0.8rem; }

@media (max-width: 720px) {
  .site-header { position: relative; }
  .nav-toggle { display: block; position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
  .nav-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    cursor: pointer;
  }
  .nav-button span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  .nav-toggle:focus-visible + .nav-button { outline: 2px solid var(--text); outline-offset: 2px; }
  .nav-toggle:checked + .nav-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-button span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; padding-top: 8px; }
  .nav-toggle:checked ~ nav { display: flex; }
  .site-header nav a { padding: 12px 0; font-size: 1.05rem; border-top: 1px solid var(--line); }
  .hero-banner.has-image::before { background: rgba(0, 0, 0, 0.58); }
  main > section + section { margin-top: 64px; }
  main > section.band { padding: 56px 0; }
  .hero-inner { min-height: 440px; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
