/* Raes Papertown — hand-painted watercolor postcards
   Palette pulled from Reese's own paintings: lupine blush, pumpkin, duckling butter,
   sage stripes, lavender, and the brown of her pen. */

:root {
  --ink: #4A2E22;
  --ink-soft: #7A5A4A;
  --paper: #FFFCF6;
  --blush: #F6DDD5;
  --blush-deep: #E9A79B;
  --pumpkin: #E07A3F;
  --rust: #A8461A;
  --butter: #F4CD55;
  --sage: #A9B78C;
  --sage-deep: #5E6E45;
  --lavender: #BCA5CF;
  --sky: #A3C1D4;

  --font-display: "Caprasimo", "Cooper Black", Georgia, serif;
  --font-hand: "Gaegu", "Comic Sans MS", cursive;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-card: 5% / 7.5%;      /* landscape card corners, matches the cut-outs */
  --radius-card-tall: 7.5% / 5%; /* portrait */
  --shadow-card: 0 1px 1px rgba(74, 46, 34, .10), 0 6px 14px -4px rgba(74, 46, 34, .28);
  --shadow-lift: 0 2px 2px rgba(74, 46, 34, .10), 0 18px 30px -10px rgba(74, 46, 34, .38);
  --scallop: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h, 64px) + 20px); background: var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  padding-top: var(--nav-h, 64px); /* room for the fixed header */
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* watercolor-paper grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .28 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--rust); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.05; }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--rust);
  margin: 0 0 .5rem;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  letter-spacing: -.01em;
  color: var(--ink);
}
h3 { font-family: var(--font-display); font-size: 1.45rem; }
.tagline {
  display: inline-block;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.3em;
  color: var(--rust);
  white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--rust);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .8em 1.35em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 3px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { color: var(--btn-fg); transform: translate(-1px, -2px); box-shadow: 4px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn svg { width: 1.2em; height: 1.2em; }
.btn-ghost { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn-small { font-size: .9rem; padding: .6em 1.05em; box-shadow: 2px 3px 0 var(--ink); }
.btn-small:hover { box-shadow: 3px 4px 0 var(--ink); }
.btn-ig { --btn-bg: var(--butter); --btn-fg: var(--ink); }

/* ---------- nav ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: calc(.7rem + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) .7rem max(var(--gutter), env(safe-area-inset-left));
  background: var(--paper);
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-nav.is-scrolled { border-bottom-color: var(--ink); box-shadow: 0 6px 18px -12px rgba(74, 46, 34, .5); }
.brand {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand-daisy { width: 34px; height: 34px; color: var(--ink); transition: transform .6s ease; }
.brand:hover .brand-daisy { transform: rotate(120deg); }
.nav-links { display: flex; gap: 1.2rem; }
.nav-request { display: none; }
.nav-links a {
  font-weight: 700;
  font-size: .98rem;
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--butter), var(--butter));
  background-size: 0 40%;
  background-position: 0 88%;
  background-repeat: no-repeat;
  transition: background-size .25s ease;
}
.nav-links a:hover { background-size: 100% 40%; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .45rem;
  padding: .5rem .8rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 800;
  font-size: .9rem;
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 3px; }
.nav-toggle-bars span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.site-nav.is-open .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-nav.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(55% 45% at 12% 18%, rgba(244, 205, 85, .30), transparent 70%),
    radial-gradient(45% 55% at 92% 26%, rgba(224, 122, 63, .20), transparent 72%),
    radial-gradient(70% 55% at 55% 105%, rgba(169, 183, 140, .32), transparent 70%),
    radial-gradient(40% 40% at 70% 70%, rgba(188, 165, 207, .25), transparent 70%),
    var(--blush);
}
/* scalloped bottom edge, like a deckled card border */
.hero::after,
.request::before,
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--scallop);
  background: radial-gradient(circle at 50% 0, var(--edge) calc(var(--scallop) - .5px), transparent var(--scallop)) repeat-x;
  background-size: calc(var(--scallop) * 2) var(--scallop);
}
.hero::after { --edge: var(--blush); bottom: calc(var(--scallop) * -1); z-index: 2; }

/* the clothesline — falls back to a simple row without JS */
.clothesline {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem var(--gutter) 0;
  min-height: 240px;
}
.clothesline .twine { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.clothesline .twine path {
  fill: none;
  stroke: #9A7656;
  stroke-width: 2.4;
  stroke-dasharray: 7 2;
  stroke-linecap: round;
}
.peg {
  --w: 170px;
  position: relative;
  width: var(--w);
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.clothesline.is-ready { display: block; padding: 0; min-height: 0; }
.clothesline.is-ready .peg {
  position: absolute;
  transform: rotate(var(--r, 0deg));
  transform-origin: 50% 0;
}
.peg .drop { display: block; }
.peg .swing {
  position: relative;
  display: block;
  transform-origin: 50% 0;
}
.peg img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.peg.is-portrait img { aspect-ratio: 2 / 3; border-radius: var(--radius-card-tall); }
.peg .pin {
  position: absolute;
  top: -26px;
  left: 50%;
  width: 15px;
  height: 40px;
  transform: translateX(-50%);
  z-index: 2;
  filter: drop-shadow(1px 2px 1px rgba(74, 46, 34, .3));
}
.peg:hover img, .peg:focus-visible img { transform: translateY(4px) rotate(-1.5deg); box-shadow: var(--shadow-lift); }
.peg:focus-visible { outline: none; }
.peg:focus-visible img { outline: 3px solid var(--rust); outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .clothesline.is-ready .peg .drop {
    animation: peg-drop .9s cubic-bezier(.25, 1.5, .45, 1) both;
    animation-delay: calc(var(--i) * 110ms + 150ms);
  }
  .clothesline.is-ready .peg .swing {
    animation: peg-sway calc(3.8s + var(--i) * .41s) ease-in-out infinite alternate;
    animation-delay: calc(var(--i) * -0.7s);
  }
}
@keyframes peg-drop {
  from { opacity: 0; transform: translateY(-46px) rotate(-7deg); }
  to { opacity: 1; transform: none; }
}
@keyframes peg-sway {
  from { transform: rotate(-1.8deg); }
  to { transform: rotate(1.8deg); }
}

.hero-sign {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.25rem) var(--gutter) 0;
}
.rainbow {
  position: absolute;
  right: calc(var(--gutter) - 10px);
  bottom: -8px;
  width: clamp(220px, 34vw, 430px);
  opacity: .9;
  pointer-events: none;
}
.hero-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.2vw, 6.6rem);
  line-height: .93;
  letter-spacing: -.015em;
  max-width: 11ch;
  margin-bottom: 1.4rem;
}
.or-keep {
  display: inline-block;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: .62em;
  color: var(--rust);
  letter-spacing: 0;
  transform: rotate(-5deg) translateY(-.08em);
  margin-left: .1em;
}
.lede { position: relative; max-width: 37rem; font-size: 1.15rem; margin-bottom: 1.6rem; }
.hero-actions { position: relative; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-main, .hero-aside { position: relative; }
.hero-give {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.3rem;
  padding: .55rem 1rem .55rem .7rem;
  border: 2px dashed rgba(74, 46, 34, .45);
  border-radius: 14px;
  background: rgba(255, 252, 246, .7);
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.hero-give svg { flex: none; width: 26px; height: 26px; color: var(--ink); }
.hero-give strong { color: var(--rust); }
.hero-give:hover { color: var(--ink); border-color: var(--rust); background: var(--paper); }

@media (min-width: 981px) {
  .hero-sign {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: end;
  }
  .hero-main { container-type: inline-size; }
  /* "Tiny paintings" is ~7.4em wide in Caprasimo: keep it on one line */
  .hero-title { font-size: clamp(3.2rem, 13cqi, 5.6rem); max-width: none; margin-bottom: 0; }
  .hero-aside { padding-bottom: .6rem; }
  .lede { font-size: 1.12rem; }
  .rainbow { left: auto; right: calc(var(--gutter) + 10px); top: auto; bottom: -92px; width: 190px; z-index: 0; }
}

/* ---------- ribbon / marquee ---------- */
.ribbon {
  position: relative;
  z-index: 3;
  overflow: hidden;
  margin: 1.6rem -2vw 0;
  background: var(--butter);
  border-block: 2px solid var(--ink);
  transform: rotate(-1.3deg);
}
.ribbon-track {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: max-content;
  padding: .6rem 0;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  white-space: nowrap;
}
.ribbon-track svg { width: 26px; height: 26px; color: var(--ink); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon-track { animation: ribbon-scroll 48s linear infinite; }
}
@keyframes ribbon-scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-lede { font-size: 1.12rem; color: var(--ink-soft); margin: .9rem 0 0; }

/* ---------- card box ---------- */
.tabs {
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  padding: 6px 4px 0;
  margin: 0 -4px;
  border-bottom: 2px solid var(--ink);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  position: relative;
  top: 2px;
  padding: .45rem 1rem .35rem;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: var(--tab);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  cursor: pointer;
  transform: translateY(5px);
  transition: transform .15s ease;
}
.tab:hover { transform: translateY(1px); }
.tab[aria-pressed="true"] {
  transform: translateY(0);
  background: var(--paper);
  z-index: 1;
  box-shadow: 0 2px 0 var(--paper);
}
.tab:focus-visible { outline-offset: -5px; }
.tab .count { font-family: var(--font-body); font-size: .72rem; font-weight: 800; color: var(--ink-soft); vertical-align: .2em; }

.card-grid {
  list-style: none;
  margin: 0;
  padding: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2.4rem 1.8rem;
}
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tile[hidden] { display: none; }
.card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(190px, 17vw, 230px);
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.card-btn:focus-visible { outline: none; }
.card-face {
  --tilt: 0deg;
  --tape: rgba(244, 205, 85, .78);
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transform: rotate(var(--tilt));
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile.is-portrait .card-face { width: auto; height: 100%; aspect-ratio: 2 / 3; border-radius: var(--radius-card-tall); }
.card-face { min-width: 0; flex: none; }
.card-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
/* washi tape */
.card-face::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 66px;
  height: 22px;
  translate: -50% 0;
  rotate: -2deg;
  background: var(--tape);
  clip-path: polygon(0 8%, 6% 0, 12% 10%, 18% 0, 82% 0, 88% 10%, 94% 0, 100% 8%, 100% 92%, 94% 100%, 88% 90%, 82% 100%, 18% 100%, 12% 90%, 6% 100%, 0 92%);
  z-index: 1;
}
.tile:nth-child(4n+2) .card-face { --tape: rgba(233, 167, 155, .75); }
.tile:nth-child(4n+3) .card-face { --tape: rgba(169, 183, 140, .78); }
.tile:nth-child(4n+4) .card-face { --tape: rgba(188, 165, 207, .78); }
.card-btn:hover .card-face,
.card-btn:focus-visible .card-face { transform: translateY(-6px) scale(1.03); box-shadow: var(--shadow-lift); }
.card-btn:focus-visible .card-face { outline: 3px solid var(--rust); outline-offset: 4px; }
.tile-title { font-family: var(--font-hand); font-weight: 700; font-size: 1.35rem; line-height: 1.1; margin: 1rem 0 0; }
.tile-sub { font-size: .82rem; color: var(--ink-soft); margin: .2rem 0 0; }

@media (prefers-reduced-motion: no-preference) {
  .tile.is-entering { animation: tile-in .45s ease both; }
}
@keyframes tile-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.more-note {
  margin: 3.5rem 0 0;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--ink-soft);
}
.note-arrow { color: var(--rust); font-family: var(--font-body); margin-right: .3rem; }

/* ---------- painted stripe backgrounds (like her card washes) ---------- */
.fall, .custom { overflow: hidden; }
.fall::before, .custom::before {
  content: "";
  position: absolute;
  inset: -30px;
  pointer-events: none;
  filter: url(#wobble);
}
.fall::before {
  background: repeating-linear-gradient(180deg, rgba(224, 122, 63, .16) 0 40px, transparent 40px 96px);
}
.custom::before {
  background: repeating-linear-gradient(90deg, rgba(169, 183, 140, .30) 0 46px, transparent 46px 118px);
}
.fall > .wrap, .custom > .wrap { position: relative; }

/* ---------- fall ---------- */
.fall { background: #FFF5EA; border-block: 2px solid var(--ink); }
.fall-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.fall-copy p:not(.eyebrow) { font-size: 1.12rem; max-width: 30rem; margin: 1rem 0 1.8rem; }
.fan { position: relative; aspect-ratio: 1.35 / 1; }
.fan-card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 54%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  transform: rotate(var(--r));
  transition: transform .3s ease;
}
.fan-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.fan-card:hover, .fan-card:focus-visible { transform: rotate(0deg) scale(1.06); z-index: 2; }
.fan-card:hover img { box-shadow: var(--shadow-lift); }
.fan-card:focus-visible { outline: none; }
.fan-card:focus-visible img { outline: 3px solid var(--rust); outline-offset: 3px; }

/* ---------- custom ---------- */
.custom { background: #F7F8EF; }
.custom-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.custom-quote {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  line-height: 1.15;
  color: var(--sage-deep);
  margin: 1rem 0 2.5rem;
  max-width: 30rem;
}
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1.6rem; }
.steps li { counter-increment: step; position: relative; padding-left: 4.4rem; min-height: 3.4rem; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -.15rem;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--butter);
  font-family: var(--font-display);
  font-size: 1.5rem;
  box-shadow: 2px 3px 0 var(--ink);
}
.steps li:nth-child(2)::before { background: var(--blush); }
.steps li:nth-child(3)::before { background: var(--sage); }
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* paper price tag hanging on a string: an ink layer and a paper layer, both cut to the tag shape,
   so the outline follows the angled corners and the shadow isn't clipped */
.price-tag {
  --cut: 46px;
  position: relative;
  isolation: isolate;
  margin-top: 3rem;
  padding: 3.4rem 2rem 2rem;
  text-align: center;
  transform: rotate(3deg);
  filter: drop-shadow(4px 6px 0 var(--ink));
}
.price-tag::before,
.price-tag::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 0 0 18px 18px;
}
.price-tag::before {
  inset: 0;
  background: var(--ink);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut));
}
.price-tag::after {
  inset: 2px;
  background: var(--paper);
  border-radius: 0 0 16px 16px;
  clip-path: polygon(calc(var(--cut) - 1.2px) 0, calc(100% - var(--cut) + 1.2px) 0, 100% calc(var(--cut) - 1.2px), 100% 100%, 0 100%, 0 calc(var(--cut) - 1.2px));
}
.tag-hole {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  width: 18px;
  height: 18px;
  translate: -50% 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #F7F8EF;
}
.tag-label { font-family: var(--font-hand); font-weight: 700; font-size: 1.45rem; line-height: 1.1; margin: 0 0 .4rem; color: var(--rust); }
.tag-price { font-family: var(--font-hand); font-size: 1.5rem; line-height: 1.15; margin: 0; }
.tag-price strong { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; color: var(--ink); margin-right: .15rem; }
.tag-small { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin: .6rem 0 0; }
.price-tag hr { border: 0; border-top: 2px dashed var(--ink-soft); margin: 1.4rem 0; opacity: .6; }
.tag-ask { font-size: 1rem; margin-bottom: 1rem; }
.tag-give { font-family: var(--font-hand); font-weight: 700; font-size: 1.15rem; line-height: 1.2; color: var(--sage-deep); margin: 0 auto 1.2rem; max-width: 15rem; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.polaroids { position: relative; min-height: 560px; }
.polaroid {
  position: absolute;
  margin: 0;
  padding: 12px 12px 0;
  background: #fff;
  box-shadow: var(--shadow-lift);
}
.polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.polaroid figcaption { font-family: var(--font-hand); font-weight: 700; font-size: 1.25rem; line-height: 1.1; padding: .7rem .2rem .9rem; text-align: center; }
.polaroid::before { /* tape */
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 90px;
  height: 26px;
  translate: -50% 0;
  background: rgba(233, 167, 155, .72);
  rotate: 4deg;
}
.polaroid-booth { width: 58%; left: 0; top: 0; rotate: -3.5deg; }
.polaroid-booth img { object-position: 50% 62%; }
.polaroid-fruit { width: 46%; right: 0; bottom: 0; rotate: 5deg; }
.polaroid-fruit::before { background: rgba(169, 183, 140, .8); rotate: -5deg; }
.about-copy p:not(.eyebrow):not(.sticky-note):not(.signoff) { font-size: 1.12rem; }
.about-copy h2 { margin-bottom: 1.3rem; }
.sticky-note {
  display: inline-block;
  max-width: 22rem;
  margin: .6rem 0 1.6rem;
  padding: 1rem 1.2rem;
  background: var(--butter);
  font-family: var(--font-hand);
  font-size: 1.35rem;
  line-height: 1.2;
  transform: rotate(-2deg);
  box-shadow: 2px 8px 14px -8px rgba(74, 46, 34, .55);
}
.sticky-note strong { font-weight: 700; }
.signoff { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin: 0; }
.signature { font-family: var(--font-display); font-size: 2.2rem; color: var(--rust); transform: rotate(-4deg); display: inline-block; }

/* ---------- giving back ---------- */
.giving { padding-top: 0; }
.giving-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 2.75rem);
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: #FFF5EA;
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 5px 6px 0 var(--ink);
}
.giving-card::before { /* tape */
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 110px;
  height: 26px;
  translate: -50% 0;
  rotate: -2deg;
  background: rgba(233, 167, 155, .8);
}
.giving-icon { width: clamp(84px, 11vw, 120px); height: auto; color: var(--ink); }
.giving-copy h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: .9rem; }
.giving-copy p:not(.eyebrow) { font-size: 1.1rem; max-width: 38rem; }
.giving-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.tag-give a, .sticky-note a { color: inherit; font-weight: 700; }
.tag-give a:hover, .sticky-note a:hover { color: var(--rust); }

@media (max-width: 720px) {
  .giving-card { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .giving-icon { width: 72px; }
}

/* ---------- request ---------- */
.request {
  background:
    radial-gradient(50% 45% at 85% 20%, rgba(244, 205, 85, .28), transparent 70%),
    radial-gradient(55% 50% at 10% 85%, rgba(169, 183, 140, .30), transparent 70%),
    var(--blush);
}
.request::before { --edge: var(--paper); top: 0; }
.request .section-head { max-width: 48rem; margin-inline: auto; text-align: center; }

.postcard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 2px minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.8rem);
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 2px 2px rgba(74, 46, 34, .08), 0 28px 50px -24px rgba(74, 46, 34, .55);
}
.pc-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .3em;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.pc-divider { background: repeating-linear-gradient(180deg, var(--ink-soft) 0 10px, transparent 10px 16px); opacity: .5; }
.pc-address { display: flex; flex-direction: column; gap: 1rem; }
.pc-top { display: flex; justify-content: flex-end; align-items: flex-start; gap: .4rem; margin-bottom: .6rem; }
.postmark { width: 104px; height: 104px; color: var(--rust); opacity: .7; rotate: -14deg; margin-top: 18px; margin-right: -26px; font-family: var(--font-body); font-weight: 800; }
.stamp {
  width: 96px;
  padding: 8px;
  background: #fff;
  rotate: 3deg;
  filter: drop-shadow(0 2px 3px rgba(74, 46, 34, .35));
  /* perforated edge: solid middle, punched holes only in the padding */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    radial-gradient(circle 4px, transparent 97%, #000 100%) -5px -5px / 10px 10px round;
  mask:
    linear-gradient(#000 0 0) content-box,
    radial-gradient(circle 4px, transparent 97%, #000 100%) -5px -5px / 10px 10px round;
}
.stamp img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1.1rem; }
.pc-address .field { margin-bottom: 0; }
.field-label { font-family: var(--font-hand); font-weight: 700; font-size: 1.3rem; line-height: 1.1; }
.field-label em { font-style: normal; font-weight: 400; font-size: .85em; color: var(--ink-soft); }
.field-qty { max-width: 9rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .65rem .8rem;
  border: 2px solid rgba(74, 46, 34, .35);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.5; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%234A2E22' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.4rem;
}
.field-line input {
  padding: .45rem .1rem;
  border: 0;
  border-bottom: 2px solid rgba(74, 46, 34, .45);
  border-radius: 0;
  background: transparent;
  font-size: 1.05rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(168, 70, 26, .18); }
.field-line input:focus { box-shadow: 0 2px 0 0 var(--rust); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { font-size: .85rem; font-weight: 700; color: #B3261E; }
.btn-send { margin-top: auto; justify-content: center; font-size: 1.02rem; }

.request-result {
  max-width: 980px;
  margin: 1.8rem auto 0;
  padding: 1.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 5px 0 var(--ink);
}
.result-status { font-family: var(--font-hand); font-weight: 700; font-size: 1.45rem; line-height: 1.2; color: var(--sage-deep); }
.result-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.dm-note { text-align: center; margin: 2.2rem 0 0; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 4rem 0 calc(2rem + env(safe-area-inset-bottom));
}
.site-footer::before { --edge: var(--blush); top: 0; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-brand { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--butter); margin: 0; line-height: 1; }
.footer-tag { font-family: var(--font-hand); font-size: 1.35rem; margin: .4rem 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a, .footer-ig { color: var(--paper); font-weight: 700; text-decoration: none; }
.footer-links a:hover, .footer-ig:hover { color: var(--butter); }
.footer-ig { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border: 2px solid var(--paper); border-radius: 999px; }
.footer-ig svg { width: 20px; height: 20px; }
.copyright { margin-top: 2.5rem; font-size: .85rem; color: rgba(255, 252, 246, .65); }
.site-footer :focus-visible { outline-color: var(--butter); }

/* ---------- lightbox ---------- */
.lightbox {
  width: min(940px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 8px 0 var(--ink);
  overflow: auto;
}
.lightbox::backdrop { background: rgba(74, 46, 34, .55); backdrop-filter: blur(3px); }
.lb-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; }
.lb-figure { margin: 0; padding: clamp(1.25rem, 4vw, 2.5rem); background: var(--blush); display: grid; place-items: center; min-height: 100%; }
.lb-figure img { max-width: 100%; max-height: min(62dvh, 560px); filter: drop-shadow(0 2px 2px rgba(74, 46, 34, .12)) drop-shadow(0 16px 22px rgba(74, 46, 34, .3)); }
.lb-info { padding: 2rem 1.75rem; }
.lb-count { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .6rem; }
.lb-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; margin-bottom: .5rem; }
.lb-sub { font-family: var(--font-hand); font-weight: 700; font-size: 1.35rem; color: var(--rust); }
.lb-sub:empty { display: none; }
.lb-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.lb-nav { display: flex; gap: .5rem; }
.lb-arrow, .lb-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease;
}
.lb-arrow:hover, .lb-close:hover { background: var(--butter); }
.lb-close { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 1.6rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: .5rem var(--gutter) 1rem;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 14px 24px -16px rgba(74, 46, 34, .55);
  }
  .site-nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: .85rem 0; font-size: 1.1rem; border-bottom: 1px dashed rgba(74, 46, 34, .25); background: none; }
  .nav-links a:last-child { border-bottom: 0; }
  .fall-grid, .custom-grid, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .fan { max-width: 560px; width: 100%; margin: 0 auto; }
  .price-tag { max-width: 340px; margin: 0 auto; }
  .polaroids { max-width: 520px; width: 100%; margin: 0 auto; min-height: 0; aspect-ratio: 1 / 1.08; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  /* fall cards: a tidy 2x2 grid on phones instead of an overlapping pile */
  .fan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; aspect-ratio: auto; }
  .fan-card { position: static; width: auto; transform: rotate(calc(var(--r) * .4)); }
  .polaroids { aspect-ratio: 1 / 1.18; }
  .polaroid-booth { width: 57%; }
  .polaroid-fruit { width: 40%; }
  .polaroid figcaption { font-size: 1.05rem; }
  .brand { font-size: 1.2rem; }
  .brand-daisy { width: 28px; height: 28px; }
  .rainbow { width: 150px; opacity: .6; bottom: auto; top: 1.9rem; right: var(--gutter); }
  .hero-sign { padding-top: .75rem; }
  .hero-title { max-width: none; }
  .postcard { grid-template-columns: minmax(0, 1fr); }
  .pc-divider { height: 2px; background: repeating-linear-gradient(90deg, var(--ink-soft) 0 10px, transparent 10px 16px); }
  .pc-top { order: -1; }
  .pc-address { gap: 1.1rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .card-btn { height: clamp(130px, 38vw, 190px); }
  .tile-title { font-size: 1.15rem; }
  .tab { font-size: 1.15rem; padding: .4rem .8rem .3rem; }
  .lb-inner { grid-template-columns: minmax(0, 1fr); }
  .lb-info { padding: 1.4rem 1.25rem 1.5rem; }
  .lb-figure { padding-top: 3.5rem; }
}

@media (max-width: 560px) {
  .site-nav { gap: .75rem; }
  .nav-cta { display: none; }
  .nav-links .nav-request { display: block; color: var(--rust); }
}

@media (max-width: 420px) {
}
