/* pixie.recipes: the Cookbook look (warm food brand, serif, stickers, waves). */
:root {
  color-scheme: light;
  --f-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-c2: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-hand: 'Caveat', 'Segoe Print', cursive;
  --c2-cream: #FFF3DF; --c2-butter: #F8DC97; --c2-tomato: #DD4F33; --c2-sage: #C3D59E; --c2-cocoa: #3A2418; --c2-pink: #F4BCB1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--f-body); -webkit-font-smoothing: antialiased; background: var(--c2-cream); color: var(--c2-cocoa); overflow-x: hidden; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--c2-cocoa); color: var(--c2-cream); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
@supports (animation-timeline: view()) {
  .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
}
@keyframes rise { from { transform: translateY(36px); opacity: 0.4; } to { transform: none; opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Photo frame */
.ph { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 120px; }
.ph.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 23px; border: 0; font-weight: 600; font-size: 15px; white-space: nowrap; text-decoration: none; }
.btn-main { background: var(--c2-cocoa); color: var(--c2-cream); }
.btn-alt { background: var(--c2-tomato); color: #FFF; }
.btn[disabled] { opacity: .7; cursor: progress; }
.kw { display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.kw svg { flex: none; opacity: .5; }

/* ===================== COOKBOOK ===================== */
.c2 { color: var(--c2-cocoa); overflow-x: clip; }
.c2 .ph { background: linear-gradient(135deg, #E9A273, #B9603E); border-radius: 50%; }
.c2-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-c2); font-weight: 800; font-size: 26px; text-decoration: none; }
.brand svg { color: var(--c2-tomato); }
.c2-nav nav { display: flex; gap: 22px; font-size: 14.5px; font-weight: 500; }
.c2-nav nav a { text-decoration: none; }
.c2-nav nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.c2-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding: 30px 0 70px; }
.c2 h1 { font-family: var(--f-c2); font-weight: 800; font-size: clamp(50px, 7.4vw, 108px); line-height: .92; letter-spacing: -0.02em; }
.c2 h1 em { font-style: italic; font-weight: 600; color: var(--c2-tomato); }
.c2-search { position: relative; margin-top: 30px; max-width: 460px; }
.c2-search .kw { border: 2px solid var(--c2-cocoa); border-radius: 30px; height: 58px; background: #FFF; font-size: 18px; color: var(--c2-cocoa); }
.c2-search svg.scrib { position: absolute; left: 50px; top: 18px; width: 140px; height: 24px; overflow: visible; pointer-events: none; }
.c2-search svg.scrib path { stroke: var(--c2-tomato); stroke-width: 4; fill: none; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 0; animation: scrib 5s ease-in-out infinite; }
@keyframes scrib { 0%, 12% { stroke-dashoffset: 260; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 260; } }
.hand { font-family: var(--f-hand); font-size: 26px; line-height: 1.1; color: var(--c2-tomato); }
.c2-why { margin-top: 14px; display: flex; align-items: flex-start; gap: 14px; }
.c2-why .bub { position: relative; padding: 14px 18px; border-radius: 22px 22px 22px 6px; background: var(--c2-cocoa); color: var(--c2-cream); font-size: 17px; line-height: 1.4; max-width: 380px; transform: rotate(-1.5deg); }
.c2 .lede { margin-top: 24px; font-size: 18px; line-height: 1.55; max-width: 44ch; }
.c2-ctas { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.c2-plate { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.c2-plate .blob { position: absolute; inset: 0; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; background: var(--c2-pink); animation: spin 40s linear infinite; }
.c2-plate .ph { position: absolute; inset: 9%; box-shadow: 0 30px 60px -30px rgba(58,36,24,.6); }
.sticker { position: absolute; z-index: 2; padding: 12px 16px; border-radius: 16px; background: #FFF; color: var(--c2-cocoa); box-shadow: 0 10px 24px -12px rgba(58,36,24,.5); font-size: 14px; line-height: 1.35; animation: bob 6s ease-in-out infinite; }
.sticker b { display: block; font-family: var(--f-c2); font-size: 16px; }
.wavy { display: block; width: 100%; height: 60px; }
.c2-band { padding: 30px 0 90px; }
.c2-band.sage { background: var(--c2-sage); }
.c2-band.butter { background: var(--c2-butter); }
.c2-band.pink { background: var(--c2-pink); }
.c2 h2 { font-family: var(--f-c2); font-weight: 800; font-size: clamp(38px, 5.4vw, 74px); line-height: .98; letter-spacing: -0.015em; }
.c2 h2 em { font-style: italic; font-weight: 600; color: var(--c2-tomato); }
.c2-k { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.c2-p { font-size: 18px; line-height: 1.55; max-width: 50ch; margin-top: 16px; }

.fan { margin-top: 50px; display: flex; justify-content: center; gap: 0; flex-wrap: wrap; padding: 10px 0 20px; }
.fcard { width: 280px; max-width: 100%; margin: 0 -10px; padding: 22px; border-radius: 22px; background: var(--c2-cream); color: var(--c2-cocoa); border: 2px solid var(--c2-cocoa); box-shadow: 0 16px 30px -18px rgba(58,36,24,.6); display: flex; flex-direction: column; gap: 12px; text-align: left; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.fcard:nth-child(1) { transform: rotate(-6deg) translateY(10px); }
.fcard:nth-child(2) { transform: rotate(1deg); z-index: 2; background: #FFF; }
.fcard:nth-child(3) { transform: rotate(7deg) translateY(14px); }
.fcard:hover, .fcard:focus-visible { transform: rotate(0) translateY(-10px); z-index: 3; }
.fcard .tag { align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: var(--c2-cocoa); color: var(--c2-cream); font-size: 12.5px; font-weight: 600; }
.fcard q { font-family: var(--f-c2); font-weight: 600; font-size: 20px; line-height: 1.25; quotes: "\201C" "\201D"; }
.fcard .what { padding-top: 12px; border-top: 2px dashed rgba(58,36,24,.3); font-size: 14.5px; line-height: 1.45; }
.fcard .what b { color: var(--c2-tomato); }

.ribbon { overflow: hidden; background: var(--c2-tomato); color: #FFF; padding: 14px 0; transform: rotate(-1.2deg); margin: -10px 0; position: relative; z-index: 3; }
.ribbon .track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--f-c2); font-size: 22px; font-weight: 600; white-space: nowrap; }
.ribbon .track span::after { content: "✦"; margin-left: 40px; opacity: .7; }

.c2-meet { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.c2-chat { position: relative; padding: 18px; border-radius: 30px; background: #FFF; border: 2px solid var(--c2-cocoa); box-shadow: 10px 10px 0 var(--c2-cocoa); min-height: 320px; display: flex; flex-direction: column; justify-content: center; }
.tape { position: absolute; width: 110px; height: 30px; background: rgba(248,220,151,.85); top: -14px; left: 40px; transform: rotate(-6deg); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.tape.r { left: auto; right: 40px; transform: rotate(5deg); }
.demo-fallback { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 16px; text-align: center; font-size: 17px; }
.demo-fallback svg { color: var(--c2-tomato); }
.demo-slot:has(.pixmoto-pixie-banner) .demo-fallback { display: none; }
.note { position: absolute; z-index: 3; font-family: var(--f-hand); font-size: 24px; color: var(--c2-tomato); line-height: 1.05; }

.c2-points { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.c2-points div { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 16px; line-height: 1.5; }
.c2-points i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--c2-cocoa); color: var(--c2-cream); font-family: var(--f-c2); font-weight: 800; font-size: 18px; }
.c2-points b { display: block; font-family: var(--f-c2); font-size: 19px; }

.path { margin: 50px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; }
.path::before { content: ""; position: absolute; left: 6%; right: 6%; top: 46px; border-top: 3px dashed var(--c2-cocoa); opacity: .35; }
.stop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.stop i { width: 92px; height: 92px; border-radius: 50%; background: var(--c2-cream); border: 2px solid var(--c2-cocoa); display: grid; place-items: center; font-style: normal; color: var(--c2-tomato); transition: transform .3s; }
.stop:hover i { transform: rotate(-8deg) scale(1.06); }
.stop b { font-family: var(--f-c2); font-size: 22px; }
.stop span { font-size: 14.5px; line-height: 1.45; max-width: 22ch; }

.stamps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.stamp { padding: 26px; border-radius: 28px; background: var(--c2-cream); border: 2px solid var(--c2-cocoa); display: flex; flex-direction: column; gap: 10px; }
.stamp .seal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--c2-tomato); color: #FFF; transform: rotate(-10deg); font-family: var(--f-c2); font-weight: 800; font-size: 13px; text-align: center; line-height: 1; }
.stamp h3 { font-family: var(--f-c2); font-size: 22px; }
.stamp p { font-size: 15.5px; line-height: 1.5; }

/* Register */
.c2-reg { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.reg { position: relative; padding: 34px 30px; border-radius: 10px; background: #FFF; border: 2px solid var(--c2-cocoa); background-image: repeating-linear-gradient(180deg, transparent 0 35px, rgba(221,79,51,.15) 35px 36px); box-shadow: 10px 10px 0 var(--c2-tomato); transform: rotate(-1deg); }
.reg h3 { font-family: var(--f-c2); font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.reg form { display: grid; gap: 12px; }
.reg .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.reg label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; }
.reg input { height: 48px; padding: 0 14px; border-radius: 12px; font-size: 15px; font-weight: 400; border: 2px solid var(--c2-cocoa); background: var(--c2-cream); color: var(--c2-cocoa); }
.reg fieldset { border: 0; margin: 0; padding: 0; }
.reg legend { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.reg .who { display: flex; gap: 8px; flex-wrap: wrap; }
.reg .who label { flex-direction: row; align-items: center; gap: 8px; padding: 0 14px; height: 46px; border-radius: 23px; cursor: pointer; font-weight: 500; border: 2px solid var(--c2-cocoa); background: var(--c2-cream); }
.reg .who input { width: 18px; height: 18px; padding: 0; margin: 0; accent-color: var(--c2-tomato); }
.reg .btn { width: 100%; }
.reg .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.reg .err { font-size: 12.5px; font-weight: 600; color: var(--c2-tomato); }
.reg .err:empty { display: none; }
.reg .form-err { font-size: 14px; }
.reg input[aria-invalid="true"] { border-color: var(--c2-tomato); box-shadow: 0 0 0 1px var(--c2-tomato); }
.reg .fine { font-size: 13px; line-height: 1.45; opacity: .8; }
.reg .done { display: none; flex-direction: column; gap: 8px; }
.reg .done b { font: 800 28px var(--f-c2); }
.reg.sent form { display: none; }
.reg.sent .done { display: flex; }

/* Footer */
.c2-foot { background: var(--c2-cocoa); color: var(--c2-cream); padding: 50px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.c2-foot .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.c2-foot .big { font-family: var(--f-c2); font-weight: 800; font-size: clamp(64px, 12vw, 160px); line-height: .85; color: var(--c2-butter); }
.foot-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 14px; }
.foot-meta nav { display: flex; gap: 18px; }
.foot-meta a { text-underline-offset: 3px; }
.foot-meta > span { opacity: .8; }
.foot-meta > span a { text-decoration: none; }

/* Floating Pixie button */
.pixie-btn { position: fixed; z-index: 57; right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; border: 0; border-radius: 50%; background: #FFF; color: #000; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(20,32,43,.55), 0 0 0 1px rgba(20,32,43,.08); }

@media (max-width: 900px) {
  .c2-hero, .c2-meet, .c2-reg, .stamps { grid-template-columns: minmax(0, 1fr); }
  .path { grid-template-columns: minmax(0, 1fr); } .path::before { display: none; }
  .stop { flex-direction: row; text-align: left; } .stop i { width: 64px; height: 64px; flex: none; }
  .c2-nav nav { display: none; }
  .fcard { margin: 8px 0; }
  .note { display: none; }
  .foot-meta { align-items: flex-start; }
}
@media (max-width: 620px) {
  .reg .row { grid-template-columns: minmax(0, 1fr); }
  .c2-nav .btn { height: 40px; padding: 0 14px; font-size: 14px; }
  .reg { padding: 26px 18px; transform: none; box-shadow: 6px 6px 0 var(--c2-tomato); }
  .sticker { font-size: 13px; padding: 10px 12px; }
  .c2-why { flex-direction: column; gap: 8px; }
  .c2-why .hand br { display: none; }
}

.notfound { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding-top: 40px; padding-bottom: 40px; }

/* About page */
.about { max-width: 760px; padding: 40px 0 90px; }
.about h1 { margin-top: 14px; }
.about h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 48px; }
.about .c2-p { max-width: none; }
.about ul { margin: 16px 0 0; padding-left: 22px; font-size: 18px; line-height: 1.55; }
.about li + li { margin-top: 10px; }
.about a:not(.btn) { color: inherit; text-underline-offset: 3px; }

/* Questions: index cards on the cream band */
.qas { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 40px; }
.qas > .qa { flex: 0 1 calc((100% - 36px) / 3); min-width: 0; }
.qa { padding: 24px; border-radius: 22px; background: #FFF; border: 2px solid var(--c2-cocoa); box-shadow: 6px 6px 0 var(--c2-cocoa); display: flex; flex-direction: column; gap: 10px; }
.qa h3 { font-family: var(--f-c2); font-weight: 800; font-size: 22px; line-height: 1.15; }
.qa p { font-size: 16px; line-height: 1.55; }
@media (max-width: 980px) { .qas > .qa { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 640px) { .qas > .qa { flex-basis: 100%; } }
