:root {
  --red: #b92722;
  --cream: #fff4d9;
  --gold: #f6d48f;
  --ink: #382e27;
  --green: #174e42;
  --line: #ded6c5;
}

*, *::before, *::after { box-sizing: border-box; }

h1, h2, p, figure, ul { margin: 0; }

button {
  margin: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: inherit;
}

img, svg { vertical-align: middle; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
  margin: 0;
  background: #fffcf4;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

button, a, summary { -webkit-tap-highlight-color: transparent; }

.brand img { width: 230px; max-width: 100%; height: auto; }

.eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 20px;
}

.button {
  display: inline-block;
  text-align: center;
  line-height: 1.4;
  padding: 15px 25px;
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  transition: transform .2s,box-shadow .2s;
}

.button:hover { transform: translateY(-3px); box-shadow: 0 7px 16px #0002; }

.cream { background: var(--cream); color: var(--red); }

.red { background: var(--red); color: var(--cream); }

.section { padding: 90px 7%; scroll-margin-top: 15px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 38px;
  gap: 30px;
}

.section .eyebrow { color: var(--red); }

h2 { font-size: clamp(30px, calc(28px + 1.1vw), 44px); line-height: 1.5; letter-spacing: -1px; }

.section-heading>p { color: #776f60; line-height: 1.9; }

.hero-desc, .section-heading > p, .reviews-lead, .faq-lead, .cta-lead { font-size: 18px; }

.cta { background: #f4eee1; text-align: center; }
#cta-title br, .cta-lead br { display: none; }
.cta-lead { margin: 20px 0 30px; color: #776f60; }

footer {
  padding: 38px 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}

footer > div { min-width: 0; }
.footer-brand p { margin-top: 12px; color: #887b69; }
.footer-meta { margin-left: auto; text-align: right; }
.footer-meta p { font-size: 13px; letter-spacing: 1px; color: #938672; }
.footer-meta a { display: inline-block; margin-top: 12px; }

.section > * { min-width: 0; }

.hero {
  isolation: isolate;
  color: var(--cream);
  background-color: #b7231e;
  background-image: radial-gradient(ellipse 65% 85% at 50% 78%, #f2b566 0%, #e5793a 22%, #ce402b 48%, #a92425 74%, #811c26 100%);
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
  padding-top: 60px;
}

.hero .eyebrow {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 1.5rem;
  padding: .625rem 1.25rem;
  color: #8e201c;
  background: linear-gradient(110deg, #ffe8b7, #f6d48f);
  line-height: 1.6;
  letter-spacing: .14em;
  transform: rotate(-1.5deg);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 5.125rem);
  line-height: 1.3;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}

.hero h1 span { display: inline-block; color: #ffe3a1; }

.hero-desc { max-width: 38rem; margin: 1.25rem auto 1.5rem; line-height: 1.8; }

.hero .button { max-width: 100%; }

.hero-illustration { margin-top: calc(60px - 19.0411vw); overflow: hidden; pointer-events: none; }

.hero-scene { display: grid; width: 100%; aspect-ratio: 1460 / 768; }

.hero-scene > img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
}

.hero-scene-background { transform: translateY(var(--hero-depth-offset, 0px)); }

/* Keep the foreground above the transformed background, including during scrolling. */
.hero-scene-foreground { align-self: end; z-index: 1; }

.welcome-confetti {
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  pointer-events: none;
}

.welcome-confetti-piece {
  position: absolute;
  top: 0;
  width: 8px;
  height: 15px;
  border-radius: 2px;
}

.ticker {
  overflow: hidden;
  padding: 16px 0;
  background: var(--green);
  color: var(--cream);
}

.ticker-track {
  display: flex;
  width: max-content;
  font-size: 21px;
  letter-spacing: 3px;
  animation: ticker-loop var(--ticker-duration, 30s) linear infinite;
}

.ticker-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  white-space: nowrap;
}

.ticker-group b { color: var(--gold); font-weight: 400; }

@keyframes ticker-loop {
  to { transform: translateX(-50%); }
}

h1, h2 { font-family: 'Noto Serif SC', serif; font-weight: 700; }

:focus, :focus-within, :focus-visible { outline: none; }

button:focus-visible, a:focus-visible, summary:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 7vw, 110px); }
.faq-lead {
  margin-top: 24px;
  line-height: 1.8;
  color: #796650;
}

.faq details { overflow: hidden; border-bottom: 1px solid var(--line); }

.faq summary {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 32px 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  line-height: 1.7;
}

.faq summary::-webkit-details-marker { display: none; }

.faq-number { padding-top: 4px; color: #a17c52; font-size: 13px; }

.faq summary::after {
  content: '+';
  position: absolute;
  top: 24px;
  right: 0;
  color: var(--red);
  font-size: 22px;
}

.faq details:first-child summary { padding-top: 0; }

.faq details:first-child summary::after { top: 0; }

.faq details[open] summary::after { content: '-'; }

.faq details[open] summary { color: var(--red); }

.faq details p {
  margin: 0 32px 24px 42px;
  line-height: 1.9;
  color: #62554a;
}

[hidden] { display: none !important; }

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-bottom: 15px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.catalog-filters { display: flex; flex-wrap: wrap; gap: 3px; }

.catalog-filters button {
  white-space: nowrap;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: #76634e;
}

.catalog-filters button[aria-pressed="true"] {
  color: var(--red);
  background: #fff0e6;
  font-weight: 700;
}

.catalog-status { margin-left: auto; color: #796650; font-size: 13px; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  padding: 0;
  list-style: none;
}

.catalog-image { width: 100%; height: auto; margin-bottom: 5px; border: 1px solid var(--line); }

.catalog-open { display: block; width: 100%; border: 0; background: transparent; cursor: zoom-in; }
.catalog-open:focus-visible { box-shadow: 0 0 0 2px var(--line); }
.catalog-preview {
  width: min(900px, calc(100% - 40px));
  height: 90vh;
  max-height: none;
  padding: 60px 24px 24px;
  border: 0;
  background: transparent;
  color: var(--cream);
}
.catalog-preview[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; }
.catalog-preview::backdrop { background: #241d18b3; }
#catalog-preview-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
#catalog-preview-caption { text-align: center; }
.catalog-preview-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--cream);
}
.catalog-preview-close:focus-visible { background: #ffffff1a; }
.catalog-preview-open { overflow: hidden; }

.catalog-caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-weight: 700; }
.catalog-caption a { color: var(--red); font-size: 13px; font-weight: 400; }

.catalog-more { display: block; width: fit-content; margin: 36px auto 0; }

.catalog-empty { margin: 24px 0; text-align: center; color: #796650; }

.catalog-note { margin-top: 24px; font-size: 13px; color: #8b6b46; text-align: center; }

.catalog-back { display: block; width: fit-content; margin: 16px auto 0; color: var(--red); }

.reviews {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.8fr);
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
  background: #f4eee1;
}

/* Isolate the decorative character behind content, above the section background. */
.reviews-watermark {
  position: absolute;
  left: -.08em;
  bottom: -.16em;
  z-index: -1;
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(260px, 32vw, 560px);
  font-weight: 700;
  line-height: 1;
  color: #b9272210;
  pointer-events: none;
  user-select: none;
  transform: rotate(-12deg);
}

.reviews-intro h2 { margin-bottom: 24px; line-height: 1.45; }

.reviews-lead { color: #68594b; }

.reviews-disclaimer { margin-top: 32px; font-size: 13px; color: #7e6b58; }

.review-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  padding: 0;
  list-style: none;
}

.review-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 44%;
  min-width: 0;
  scroll-snap-align: start;
  background: #fffcf6;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.review-card img { display: block; width: 100%; height: auto; }

.review-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 18px 20px;
}

.review-card figcaption small { color: #85705c; font-size: 13px; }

.review-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.review-navigation > span { color: #78634f; font-size: 13px; }

.review-navigation button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--red);
}

.review-navigation button svg { width: 20px; height: 20px; }

.review-navigation button:disabled { opacity: .3; cursor: default; }

.review-navigation button:focus-visible { background: #fff8ed; }

.review-track:focus-visible { box-shadow: inset 0 -2px var(--red); }

.review-track.is-dragging { cursor: grabbing; user-select: none; }

.review-track.is-dragging, .review-track.is-animating { scroll-snap-type: none; }

@media (min-width: 1600px) {
  .section { padding-left: max(7%,calc((100vw - 1360px)/2)); padding-right: max(7%,calc((100vw - 1360px)/2)); }
}

@media (max-width: 1100px) {
  footer { flex-direction: column; align-items: center; text-align: center; }

  .footer-meta { margin-left: 0; text-align: center; }

  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .section { padding-left: 5%; padding-right: 5%; }

  .hero-copy { width: min(100% - 3rem, 44rem); }

  .hero h1 { font-size: clamp(2.5rem, 5.8vw, 4rem); }

  .reviews { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .reviews-intro h2 br { display: none; }

  .reviews-watermark { top: -.16em; right: -.08em; bottom: auto; left: auto; }

  .review-track { gap: 16px; }
}

@media (max-width: 760px) {
  #faq-title br, #catalog-title br { display: none; }

  .catalog-preview { inset: 0; width: 100%; max-width: none; height: 100%; margin: 0; padding: 60px 0 20px; }

  .button { padding: 13px 19px; }

  .section { padding-left: 6%; padding-right: 6%; }

  .section-heading { display: block; margin-bottom: 28px; }

  .section-heading>p { margin-top: 16px; }

  h2 { letter-spacing: -.5px; }

  .eyebrow { margin-bottom: 15px; }

  footer { padding: 28px 6%; gap: 22px; }

  .hero-copy { width: calc(100% - 2.5rem); }

  .hero h1 { font-size: clamp(2.125rem, 8.5vw, 3.5rem); letter-spacing: 0; }

  .hero .eyebrow { letter-spacing: .1em; padding-inline: .875rem; }

  .hero-desc { max-width: 28rem; margin-top: 1rem; }

  .hero .button { padding: .875rem 1.125rem; }

  .hero-illustration { margin-top: calc(60px - 34.274vw); }

  .hero-scene { width: 180%; margin-left: -40%; }

  .ticker { padding: 12px 0; }

  .ticker-track { font-size: 16px; }

  .ticker-group { gap: 24px; padding-right: 24px; }

  .faq { grid-template-columns: minmax(0, 1fr); }

  .reviews { gap: 24px; }

  .reviews-intro h2 { margin-bottom: 12px; }

  .reviews-disclaimer { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *:before, *:after { animation: none!important; transition: none!important; }
}

@media (max-width: 570px) {
  #catalog-title br, #faq-title br, #cta-title br, .cta-lead br, .reviews-intro h2 br { display: revert; }

  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .faq summary {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    font-size: 16px;
    padding-right: 24px;
  }

  .faq details p { margin-left: 34px; margin-right: 24px; }

  .catalog-status { flex-basis: 100%; }

  .review-card { flex-basis: 84%; }
}

@media (max-width: 360px) {
  .hero-copy { width: calc(100% - 2rem); }
}

@media (hover: hover) {
  .review-navigation button:not(:disabled):hover { background: var(--red); color: #fff; }
}
