/* Elsies preview. A warm bakery in Elsie's mauve: sprinkle paper, rounded friendly type, and bakes
   drawn in CSS because there are no bake photos yet. The story page (/elsie/) is the quiet one. */
:root {
  --mauve: #936d8a;
  --mauve-deep: #6f4d67;
  --plum: #3a2535;
  --mute: #6d5a68;
  --cream: #fdf8f3;
  --blush: #f7e7ee;
  --lilac: #ece2f0;
  --butter: #fbe7ae;
  --line: #e8dbe3;
  --white: #fff;
  --f-disp: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --f-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-story: 'Newsreader', Georgia, 'Times New Roman', serif;
  --wrap: 1180px;
  --gut: clamp(18px, 4vw, 48px);
  --r: 14px;
  --r-s: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--plum); font: 400 18px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--mauve-deep); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
section[id] { scroll-margin-top: 84px; }

.h-xl { font: 600 clamp(46px, 7vw, 104px)/0.96 var(--f-disp); letter-spacing: -0.015em; }
.h-l { font: 600 clamp(34px, 4.6vw, 62px)/1.02 var(--f-disp); letter-spacing: -0.01em; }
.h-m { font: 600 clamp(24px, 2.4vw, 30px)/1.15 var(--f-disp); }
.kicker { font: 700 14px/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mauve-deep); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--mute); max-width: 52ch; text-wrap: balance; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: var(--r-s); border: 2px solid var(--mauve-deep); background: var(--mauve-deep); color: #fff; font: 700 17px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.15s, background 0.2s, color 0.2s; }
.btn:hover { background: var(--plum); border-color: var(--plum); }
.btn:active { transform: translateY(1px); }
.btn--line { background: transparent; color: var(--mauve-deep); }
.btn--line:hover { background: var(--mauve-deep); color: #fff; border-color: var(--mauve-deep); }
.btn--white { background: #fff; border-color: #fff; color: var(--mauve-deep); }
.btn--white:hover { background: var(--butter); border-color: var(--butter); color: var(--plum); }
.link { font-weight: 800; color: var(--mauve-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* header */
.head { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.brand { margin-right: auto; display: block; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 24px; }
.nav a { font: 700 16px/1 var(--f-body); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--mauve); }
.nav .why { color: var(--mauve-deep); }
.menu { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff; color: var(--plum); cursor: pointer; }
@media (max-width: 940px) {
  .menu { display: inline-grid; place-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 0; background: #fff; padding: 4px var(--gut) 14px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .brand img { height: 34px; }
}

/* hero */
.hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url(/img/sprinkles.webp) 0 0 / 620px auto; opacity: 0.55; mask-image: linear-gradient(100deg, transparent 0%, transparent 38%, #000 78%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero h1 span { color: var(--mauve); }
.hero .lead { margin-top: 24px; }
.hero-pic { position: relative; }
.hero-pic img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--r); border: 8px solid #fff; box-shadow: 0 30px 60px -28px rgba(58, 37, 53, 0.55); transform: rotate(2deg); }
.hero-pic figcaption { position: absolute; left: -14px; bottom: 26px; background: var(--mauve-deep); color: #fff; font: 600 17px/1.25 var(--f-disp); padding: 12px 16px; border-radius: var(--r-s); transform: rotate(-3deg); box-shadow: 0 14px 26px -14px rgba(58, 37, 53, 0.7); max-width: 240px; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } .hero-pic figcaption { left: 8px; } .hero::before { mask-image: linear-gradient(180deg, transparent 30%, #000 90%); } }

/* sections */
.sec { padding: clamp(60px, 8vw, 110px) 0; }
.sec-head { margin-bottom: clamp(28px, 4vw, 46px); }
.sec-head .kicker { margin-bottom: 14px; }
.sec-head .lead { margin-top: 14px; }

/* ways in: a plain list, big names */
.ways { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--plum); }
.ways a { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto; gap: 10px 30px; align-items: center; padding: clamp(18px, 2.4vw, 28px) 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding 0.25s, background 0.25s; }
.ways a:hover { padding-left: 16px; background: var(--blush); }
.ways b { font: 600 clamp(26px, 3.2vw, 42px)/1.05 var(--f-disp); color: var(--mauve-deep); }
.ways span { color: var(--mute); }
.ways i { font-style: normal; font: 600 26px/1 var(--f-disp); color: var(--mauve); transition: transform 0.25s; }
.ways a:hover i { transform: translateX(6px); }
@media (max-width: 760px) { .ways a { grid-template-columns: 1fr auto; } .ways span { grid-column: 1; grid-row: 2; } .ways i { grid-row: 1 / span 2; } }

/* match day */
.match { background: var(--mauve-deep); color: #fff; position: relative; }
.match .kicker { color: var(--butter); }
.match .lead { color: rgba(255, 255, 255, 0.86); }
.match-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.match-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.stalls { list-style: none; margin: 30px 0 0; padding: 0; }
.stalls li { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.26); }
.stalls li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.26); }
.stalls h3 { font: 600 24px/1.15 var(--f-disp); color: var(--butter); }
.stalls p { margin-top: 6px; color: rgba(255, 255, 255, 0.88); }
@media (max-width: 860px) { .match-in { grid-template-columns: 1fr; } }

/* grab and go + vans */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.place { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 8px; }
.place h3 { font: 600 28px/1.1 var(--f-disp); color: var(--mauve-deep); }
.place p { color: var(--mute); }
.place .link { margin-top: auto; padding-top: 14px; align-self: flex-start; }
.vans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(26px, 4vw, 44px); }
.van { background: var(--lilac); border-radius: var(--r); padding: clamp(20px, 2.6vw, 30px); }
.van h3 { font: 600 26px/1 var(--f-disp); color: var(--mauve-deep); }
.van ul { list-style: none; margin: 14px 0 0; padding: 0; }
.van li { padding: 9px 0; border-top: 1px solid rgba(111, 77, 103, 0.22); font-weight: 600; }
.note { margin-top: 26px; padding: 20px 24px; background: #fff; border-left: 6px solid var(--mauve); border-radius: var(--r-s); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.note p { max-width: 56ch; }
@media (max-width: 860px) { .places, .vans { grid-template-columns: 1fr; } }

/* sweet treats: slices drawn in CSS */
.treats { background: var(--blush); position: relative; overflow: hidden; }
.treats::before { content: ""; position: absolute; inset: 0; background: url(/img/sprinkles.webp) 0 0 / 620px auto; opacity: 0.35; }
.treats .wrap { position: relative; }
.treats-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.days { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.days div { background: #fff; border-radius: var(--r-s); padding: 14px 18px; border: 1px solid var(--line); }
.days b { display: block; font: 600 22px/1 var(--f-disp); color: var(--mauve-deep); }
.days span { font-size: 15px; color: var(--mute); }
.slices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.slice { background: #fff; border-radius: var(--r); padding: 18px 18px 20px; border: 1px solid var(--line); transition: transform 0.25s; }
.slice:hover { transform: translateY(-5px) rotate(-1deg); }
.slice-art { height: 96px; border-radius: 8px; overflow: hidden; display: grid; grid-template-rows: 34% 26% 40%; box-shadow: 0 10px 18px -12px rgba(58, 37, 53, 0.6); }
.slice-art i:nth-child(1) { background: var(--top); position: relative; }
.slice-art i:nth-child(1)::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dot) 3.4px, transparent 4px); background-size: 22px 16px; background-position: 6px 4px; }
.slice-art i:nth-child(2) { background: linear-gradient(#d99a3a, #c9822b); }
.slice-art i:nth-child(3) { background: linear-gradient(#f3dcae, #e8c98d); background-size: 100% 100%; }
.slice h3 { font: 600 20px/1.15 var(--f-disp); margin-top: 16px; }
.slice p { color: var(--mauve-deep); font-weight: 800; margin-top: 4px; }
@media (max-width: 960px) { .treats-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .slices { grid-template-columns: 1fr 1fr; } }

/* catering */
.cater { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.cater-head { position: sticky; top: 110px; }
.occ { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--plum); }
.occ li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px 26px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.occ h3 { font: 600 24px/1.15 var(--f-disp); color: var(--mauve-deep); }
.occ p { color: var(--mute); }
@media (max-width: 860px) { .cater { grid-template-columns: 1fr; } .cater-head { position: static; } .occ li { grid-template-columns: 1fr; } }

/* wholesale band */
.whole { background: var(--butter); border-radius: var(--r); padding: clamp(26px, 4vw, 52px); display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.whole p { margin-top: 12px; max-width: 58ch; }
@media (max-width: 760px) { .whole { grid-template-columns: 1fr; } }

/* why we do it (home) */
.why-sec { background: #fff; border-block: 1px solid var(--line); }
.why-in { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.why-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; border-radius: var(--r); }
.why-pic figcaption { margin-top: 12px; font: 400 16px/1.4 var(--f-story); font-style: italic; color: var(--mute); }
.why-in blockquote { margin: 22px 0 0; font: 400 clamp(21px, 2.1vw, 27px)/1.5 var(--f-story); color: var(--plum); }
.goals { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: g; }
.goals li { position: relative; padding: 16px 0 16px 54px; border-top: 1px solid var(--line); counter-increment: g; font-weight: 600; }
.goals li::before { content: counter(g); position: absolute; left: 0; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--mauve-deep); color: #fff; display: grid; place-items: center; font: 600 18px/1 var(--f-disp); }
@media (max-width: 860px) { .why-in { grid-template-columns: 1fr; } .why-pic { max-width: 340px; } }

/* footer */
.foot { background: var(--plum); color: rgba(255, 255, 255, 0.82); padding: clamp(44px, 6vw, 76px) 0 28px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; }
.foot h4 { margin: 0 0 12px; font: 700 13px/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--butter); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .big { font: 600 30px/1.1 var(--f-disp); color: #fff; }
.sub { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; max-width: 420px; }
.sub input { min-height: 52px; border-radius: var(--r-s); border: 0; padding: 0 16px; font: inherit; min-width: 0; }
.sub-note { margin-top: 10px; min-height: 1.4em; color: var(--butter); font-weight: 700; }
.legal { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 820px) { .foot-in { grid-template-columns: 1fr; } }

/* ---------- Elsie's page: quiet, nothing to sell ---------- */
.story-page { background: #fffdfb; }
.story-head { padding: clamp(40px, 7vw, 90px) 0 0; text-align: center; }
.story-head .kicker { color: var(--mauve); }
.story-head h1 { font: 400 clamp(40px, 6vw, 76px)/1.05 var(--f-story); margin-top: 18px; letter-spacing: -0.01em; }
.story-head p { margin-top: 14px; font: 400 20px/1.4 var(--f-story); font-style: italic; color: var(--mute); }
.story-photo { width: min(560px, 100% - var(--gut) * 2); margin: clamp(34px, 5vw, 60px) auto 0; }
.story-photo img { width: 100%; border-radius: var(--r); box-shadow: 0 40px 80px -40px rgba(58, 37, 53, 0.5); }
.story { width: min(680px, 100% - var(--gut) * 2); margin: 0 auto; padding: clamp(40px, 6vw, 76px) 0 clamp(60px, 8vw, 110px); font: 400 clamp(19px, 1.7vw, 22px)/1.75 var(--f-story); }
.story h2 { font: 500 clamp(26px, 3vw, 36px)/1.2 var(--f-story); color: var(--mauve-deep); margin: clamp(44px, 6vw, 70px) 0 18px; }
.story h2:first-child { margin-top: 0; }
.story p + p { margin-top: 1.1em; }
.story ul { margin: 1.1em 0; padding: 0; list-style: none; }
.story li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--line); }
.story li:last-child { border-bottom: 1px solid var(--line); }
.story li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 9px; height: 9px; border-radius: 50%; background: var(--mauve); }
.story .vow { margin-top: 1.4em; font: 500 clamp(26px, 3.2vw, 38px)/1.3 var(--f-story); font-style: italic; color: var(--mauve-deep); text-wrap: balance; }
.signs { margin-top: clamp(44px, 6vw, 70px); padding-top: clamp(30px, 4vw, 44px); border-top: 2px solid var(--plum); }
.signs img { width: 100%; border-radius: var(--r-s); margin-top: 20px; }
.signs small { display: block; margin-top: 12px; font: 400 15px/1.5 var(--f-body); color: var(--mute); }
.back { display: inline-block; margin-top: clamp(40px, 5vw, 60px); font: 700 17px/1 var(--f-body); }

/* reveal */
.js-rv .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.js-rv .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .js-rv .rv { opacity: 1; transform: none; } }
.stalls p, .place p, .goals li, .occ p, .van li, .note p, .whole p, .slice h3 { text-wrap: balance; }
.hero-pic figcaption { max-width: none; white-space: nowrap; }
.match-pic img { aspect-ratio: 5 / 6; object-position: 22% 30%; }
.match-in { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
@media (max-width: 860px) { .match-in { grid-template-columns: 1fr; } .match-pic img { aspect-ratio: 4 / 3; } }
.story-head p.kicker { font: 700 14px/1 var(--f-body); font-style: normal; margin-top: 0; }
.signs p { text-wrap: balance; }
.why-in blockquote { text-wrap: balance; }

/* v2: photography */
.hero-pic img { aspect-ratio: 4 / 3.2; }
.match-pic { position: relative; padding-bottom: 12%; }
.match-pic .kiosk { width: 88%; aspect-ratio: 5 / 5.4; object-fit: cover; object-position: 22% 30%; border-radius: var(--r); }
.match-pic .food { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); border: 6px solid var(--mauve-deep); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6); }
.places { grid-template-columns: 1.15fr 1fr 1fr; }
.place-pic { width: 100%; height: 100%; min-height: 220px; object-fit: cover; border-radius: var(--r); }
.box-pic { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 55%; border-radius: var(--r); border: 6px solid #fff; margin-bottom: 16px; box-shadow: 0 24px 40px -26px rgba(58, 37, 53, 0.5); }
.tea-pic { width: 100%; max-width: 420px; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r); margin-top: 34px; }
@media (max-width: 860px) {
  .match-pic .kiosk { aspect-ratio: 4 / 3; }
  .places { grid-template-columns: 1fr; }
  .place-pic { aspect-ratio: 16 / 9; min-height: 0; }
  .tea-pic { max-width: none; aspect-ratio: 4 / 3; }
}
.match-pic .kiosk { object-position: 34% 30%; }
.tea-pic { aspect-ratio: 16 / 10.5; object-position: 50% 62%; }
.occ li { padding: 30px 0; }
.cater-head { position: static; }
@media (max-width: 860px) { .occ li { padding: 22px 0; } }

/* phone polish: comfortable tap targets */
@media (max-width: 860px) {
  .link { display: inline-block; padding: 10px 0; text-underline-offset: 6px; }
  .foot ul { gap: 0; }
  .foot li a { display: inline-block; padding: 10px 0; }
  .foot li { line-height: 1.4; }
  .foot li:not(:has(a)) { padding: 10px 0; }
  .foot-in { gap: 30px; }
  .sub .btn { padding: 0 20px; }
  .story-page .head .link { padding: 12px 0; }
  .back { padding: 12px 0; }
}
@media (max-width: 860px) { p .link, small .link { display: inline; padding: 0; } }
