:root {
  --ink: #1f2130;
  --muted: #6d6d79;
  --navy: #253052;
  --navy-deep: #171e36;
  --cream: #f8f4ec;
  --paper: #fffdf8;
  --rose: #d7797f;
  --rose-soft: #f5dfe0;
  --gold: #d8ae58;
  --line: #e2dcd1;
  --shadow: 0 20px 55px rgba(32, 35, 54, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  width: min(1200px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.025em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--navy);
  font-family: Georgia, serif;
  font-size: 16px;
  transform: rotate(-3deg);
}

.header-link {
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.header-link:hover { text-decoration: underline; text-underline-offset: 4px; }
main { overflow: hidden; }

.hero {
  width: min(1200px, calc(100% - 40px));
  min-height: 450px;
  margin: 16px auto 36px;
  padding: clamp(38px, 6vw, 76px);
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 17%, rgba(255,255,255,.1) 0 2px, transparent 3px),
    linear-gradient(140deg, var(--navy-deep), var(--navy) 68%, #3f4e79);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(290px, .78fr);
  align-items: center;
  gap: 50px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -110px;
  top: -120px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #f3c6c9; }
.eyebrow.coral { color: var(--rose); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.035em;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .98;
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.82);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts span {
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  font-size: 13px;
  font-weight: 700;
}

.card-stack { min-height: 300px; position: relative; }
.greeting-card {
  position: absolute;
  z-index: 2;
  width: 180px;
  height: 236px;
  left: 50%;
  top: 50%;
  padding: 42px 22px;
  border-radius: 8px;
  color: var(--navy-deep);
  background: #fff9ee;
  box-shadow: 0 25px 45px rgba(0,0,0,.22);
  transform: translate(-48%, -50%) rotate(5deg);
  text-align: center;
}

.greeting-card span {
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.05;
  font-style: italic;
}

.greeting-card i { display: block; margin-top: 24px; color: var(--rose); font-style: normal; font-size: 28px; }
.envelope { position: absolute; border-radius: 7px; }
.envelope-back {
  z-index: 1;
  width: 225px;
  height: 150px;
  left: 20%;
  top: 20%;
  background: var(--rose);
  transform: rotate(-12deg);
  box-shadow: 0 18px 36px rgba(0,0,0,.16);
}
.envelope-back::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 50% 58%, 100% 0);
  background: #ecaeb1;
}
.envelope-front {
  z-index: 3;
  width: 230px;
  height: 132px;
  left: 38%;
  top: 54%;
  overflow: hidden;
  background: #e5c477;
  transform: rotate(10deg);
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
}
.envelope-front::before, .envelope-front::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  top: 26px;
  background: #f0d58e;
  transform: rotate(45deg);
}
.envelope-front::before { left: -84px; }
.envelope-front::after { right: -84px; }
.spark { position: absolute; color: #f3c6c9; font-size: 28px; }
.spark-a { right: 12%; top: 5%; }
.spark-b { left: 12%; bottom: 3%; font-size: 18px; }

.finder {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 30px;
}

.finder-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(38, 40, 60, .07);
}

.finder-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.finder-heading h2, .results-heading h2, .decision-help h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.06;
}

.clear-button {
  padding: 6px 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.filters label > span {
  display: block;
  margin: 0 0 8px 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .045em;
  text-transform: uppercase;
}

select {
  width: 100%;
  height: 52px;
  padding: 0 42px 0 15px;
  border: 1px solid #d9d2c7;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 680;
}

select:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(215,121,127,.45);
  outline-offset: 3px;
}

.quick-picks {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.quick-picks > span { margin-right: 3px; color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.quick-picks button {
  padding: 8px 12px;
  border: 1px solid #ddd5ca;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}
.quick-picks button:hover { border-color: var(--rose); background: var(--rose-soft); }

.results-heading {
  padding: 52px 2px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.results-heading h2 { font-size: clamp(34px, 4vw, 55px); }
.results-heading p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); line-height: 1.5; }
.results-heading strong { color: var(--ink); }

.surprise-button, .load-more {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  white-space: nowrap;
}
.surprise-button { padding: 12px 17px; color: var(--navy-deep); background: var(--rose-soft); }
.load-more { margin-top: 30px; padding: 14px 24px; color: #fff; background: var(--navy); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 19px;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(36,40,60,.12); }
.product-image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0ebe2;
  position: relative;
}
.product-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .35s ease;
}
.product-card:hover .product-image { transform: scale(1.035); }
.match-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23,30,54,.93);
  font-size: 11px;
  font-weight: 850;
}
.product-body { padding: 20px; display: flex; flex: 1; flex-direction: column; }
.product-meta {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
}
.product-price { color: var(--navy); font-size: 16px; letter-spacing: 0; }
.product-title { margin: 0 0 10px; font-size: 21px; line-height: 1.2; }
.product-guidance { margin-bottom: 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.product-link {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
}
.product-link:hover { color: var(--rose); }
.load-row { text-align: center; }

.empty-state {
  grid-column: 1 / -1;
  padding: 58px 24px;
  border: 1px dashed #cac1b5;
  border-radius: 20px;
  color: var(--muted);
  background: rgba(255,255,255,.45);
  text-align: center;
}
.empty-state h3 { margin: 0 0 8px; color: var(--ink); font-size: 28px; }

.decision-help {
  width: min(1200px, calc(100% - 40px));
  margin: 50px auto 72px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 26px;
  color: #fff;
  background: var(--rose);
  display: grid;
  grid-template-columns: 1.05fr 1fr auto;
  align-items: center;
  gap: 36px;
}
.decision-help h2 { max-width: 520px; }
.decision-help > p { margin: 0; color: rgba(255,255,255,.9); line-height: 1.65; }
.decision-help a {
  padding: 14px 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy-deep);
  text-decoration: none;
  font-weight: 850;
  white-space: nowrap;
}

footer {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
footer p { margin: 0; }
footer a { color: var(--navy); font-weight: 850; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; }
  .card-stack { display: none; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decision-help { grid-template-columns: 1fr 1fr; }
  .decision-help a { grid-column: 1 / -1; width: fit-content; }
}

@media (max-width: 620px) {
  .site-header, .hero, .finder, .decision-help, footer { width: min(100% - 24px, 1200px); }
  .site-header { min-height: 66px; }
  .header-link { font-size: 12px; }
  .hero { min-height: 0; margin-top: 8px; padding: 37px 25px; border-radius: 23px; }
  h1 { font-size: 43px; }
  .hero-facts { gap: 7px; }
  .hero-facts span { padding: 7px 9px; font-size: 11px; }
  .finder { padding-top: 24px; }
  .finder-panel { border-radius: 20px; }
  .finder-heading { align-items: center; }
  .finder-heading h2 { font-size: 31px; }
  .filters, .product-grid, .decision-help { grid-template-columns: 1fr; }
  .results-heading { align-items: flex-start; flex-direction: column; padding-top: 40px; }
  .surprise-button { width: 100%; }
  .decision-help a { grid-column: auto; width: 100%; text-align: center; }
  footer { flex-direction: column; gap: 10px; }
}

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