:root {
  --paper: #FFFFFF;
  --mist: #F1F4F2;
  --line: #D9E1DD;
  --ink: #12332B;
  --ink-soft: #4E625C;
  --sticker: #FFD23F;
  --sticker-edge: #E9B800;
  --focus: #2F6FED;

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --measure: 38rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  font-optical-sizing: auto;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 7vw, 4.25rem); }
h2 { font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header and footer */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.brand-tag { width: 30px; height: 30px; transform: rotate(-12deg); }
.site-head nav { display: flex; gap: 1.25rem; font-weight: 600; }
.site-head nav a { text-decoration: none; }
.site-head nav a:hover { text-decoration: underline; }

.site-foot {
  margin-top: 5rem; padding: 2.5rem var(--gutter) 3rem;
  background: var(--ink); color: #E4ECE8;
  display: grid; gap: 1.25rem;
}
.foot-note { max-width: var(--measure); font-size: .95rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-weight: 600; }
.copy { font-size: .875rem; opacity: .7; }

/* Buttons */
.btn {
  display: inline-block; align-self: flex-start;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 600; padding: .8rem 1.3rem; border-radius: 999px;
  transition: background-color .15s;
}
.btn:hover { background: #1D4A3F; }
.btn-big { font-size: 1.125rem; padding: 1rem 1.6rem; justify-self: start; }

/* The price sticker: the one loud element on the site */
.sticker {
  position: absolute; right: .75rem; top: .75rem;
  display: grid; place-items: center;
  min-width: 4.6rem; padding: .55rem .8rem .55rem 1.35rem;
  background: var(--sticker); color: var(--ink);
  font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; line-height: 1;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 14% 100%, 0 50%);
  border-radius: 4px;
  transform: rotate(-6deg);
  box-shadow: inset 0 -3px 0 var(--sticker-edge);
}
.sticker::before {
  content: ""; position: absolute; left: .5rem; top: 50%;
  width: .45rem; height: .45rem; margin-top: -.225rem;
  border-radius: 50%; background: var(--paper);
}

/* Home hero */
.hero {
  display: grid; gap: 2.5rem; align-items: center;
  padding: clamp(2.5rem, 7vw, 5.5rem) var(--gutter) clamp(2rem, 5vw, 4rem);
  max-width: 76rem; margin: 0 auto;
}
.hero h1 { font-size: clamp(3rem, 11vw, 6.5rem); line-height: .92; letter-spacing: -0.045em; }
.hero-copy { display: grid; gap: 1.5rem; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: var(--measure); }
.hero-stack { list-style: none; margin: 0; padding: 0; position: relative; height: clamp(300px, 70vw, 460px); }
.hero-stack li {
  position: absolute; width: 58%; aspect-ratio: 1;
  background: var(--paper); padding: .6rem; border-radius: var(--radius);
  border: 1px solid var(--line);
  transform: rotate(var(--r));
}
.hero-stack li img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.hero-stack li:nth-child(1) { left: 0; top: 4%; z-index: 1; }
.hero-stack li:nth-child(1) .sticker { right: auto; left: .75rem; }
.hero-stack li:nth-child(2) { left: 40%; top: 0; z-index: 2; }
.hero-stack li:nth-child(3) { left: 20%; top: 34%; z-index: 3; }
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.05fr 1fr; }
}

/* Home guide cards */
.guides, .how { max-width: 76rem; margin: 0 auto; padding: 2.5rem var(--gutter) 0; }
.guides h2, .how h2 { margin-bottom: 1.5rem; }
.guide-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.guide-card { display: grid; gap: .6rem; text-decoration: none; }
.guide-card-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--mist); }
.guide-card-photos img { width: 100%; height: 100%; object-fit: cover; }
.guide-card-photos img:first-child { grid-row: span 2; }
.guide-card-title { font-weight: 800; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.02em; }
.guide-card:hover .guide-card-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.guide-card-meta { color: var(--ink-soft); }

.how { padding-top: 4rem; }
.how-grid { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.how-grid p { border-top: 3px solid var(--ink); padding-top: .9rem; }

/* Gift guide */
.guide { max-width: 64rem; margin: 0 auto; padding: 0 var(--gutter); }
.guide-head { display: grid; gap: 1rem; padding: clamp(2rem, 6vw, 4rem) 0 1rem; max-width: 44rem; }
.crumbs { font-weight: 600; font-size: .95rem; }
.disclosure {
  font-size: .95rem; background: var(--mist); border-radius: 10px; padding: .75rem 1rem;
}
.checked { font-size: .9rem; color: var(--ink-soft); }
.chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
  position: sticky; top: 0; z-index: 4; padding: .75rem 0;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
}
.chips a {
  text-decoration: none; font-weight: 600;
  padding: .4rem .9rem; border-radius: 999px; border: 1.5px solid var(--ink);
}
.chips a:hover { background: var(--ink); color: #fff; }

.tier { padding-top: 2.5rem; scroll-margin-top: 3.5rem; }
.tier > h2 { padding-bottom: .75rem; border-bottom: 3px solid var(--ink); }

.gift {
  display: grid; gap: 1.25rem;
  padding: 2rem 0; border-bottom: 1px solid var(--line);
  scroll-margin-top: 4rem;
}
.gift-photo { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--mist); aspect-ratio: 1; }
.gift-photo img { width: 100%; height: 100%; object-fit: cover; }
.gift-text { display: flex; flex-direction: column; gap: .75rem; max-width: var(--measure); }
.gift-for { font-weight: 600; color: var(--ink-soft); }
.proof { font-size: .95rem; color: var(--ink-soft); }
.gift-text .btn { margin-top: .4rem; }
@media (min-width: 720px) {
  .gift { grid-template-columns: minmax(0, 23rem) 1fr; gap: 2.25rem; align-items: center; }
}

.tips { margin-top: 3rem; padding: 1.75rem; background: var(--mist); border-radius: var(--radius); max-width: 44rem; }
.tips h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.tips ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }

/* Text pages */
.prose { max-width: var(--measure); margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) var(--gutter) 0; display: grid; gap: 1.1rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1rem; }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.guide-list { list-style: none; padding: 0 !important; }
.guide-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.2rem; }
.guide-list span { color: var(--ink-soft); font-weight: 400; font-size: 1rem; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.more { margin-top: 3rem; max-width: 44rem; }
.more h2 { font-size: 1.5rem; }
