@font-face{font-family:'Angeline Vintage';src:url('../fonts/Angeline-Vintage-Demo.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Dusty Erasers';src:url('../fonts/DustyErasers.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Patrick+Hand&family=Permanent+Marker&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root{--chalk:#f7f2e6;--chalk-soft:#d9d8ca;--muted:#b9b9ab;--paper:#eee7d8;--dark:#171b19;--board:#202522;--sage:#c5cdb2;--orange:#d89b73;--line:rgba(247,242,230,.18)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--board);color:var(--chalk);font-family:'Dusty Erasers',sans-serif;line-height:1.55;background-image:radial-gradient(ellipse at 15% 12%,rgba(255,255,255,.035),transparent 34%),radial-gradient(ellipse at 78% 62%,rgba(255,255,255,.025),transparent 38%),repeating-linear-gradient(2deg,transparent 0,transparent 5px,rgba(255,255,255,.008) 6px,transparent 7px)}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.site-header{min-height:86px;padding:0 clamp(20px,6vw,90px);display:flex;align-items:center;justify-content:space-between;background:#171b19;color:var(--chalk);border-bottom:1px dashed rgba(255,255,255,.25);position:relative;z-index:3}
.brand{display:flex;gap:12px;align-items:center}.brand-mark{font-size:32px;color:var(--sage)}.brand strong{display:block;font-family:'Angeline Vintage',cursive;font-size:27px;font-weight:400;line-height:1.1;letter-spacing:.2px}.brand small{display:block;font-family:'Dusty Erasers',sans-serif;font-size:9px;text-transform:uppercase;letter-spacing:2px;color:#c6c8bd;margin-top:5px}
.main-nav{display:flex;gap:clamp(16px,3vw,38px);font-family:'Dusty Erasers',sans-serif;font-size:11px;color:#e0dfd5}.main-nav a{border-bottom:1px solid transparent}.main-nav a:hover{border-bottom-color:var(--sage);color:var(--sage)}.menu-toggle{display:none;background:none;color:var(--chalk);border:1px dashed #a1a697;border-radius:3px;padding:7px 10px;font-family:'Dusty Erasers',sans-serif}
.hero{min-height:580px;background-color:#202522;background-image:radial-gradient(ellipse at 20% 30%,rgba(255,255,255,.06),transparent 38%),radial-gradient(ellipse at 80% 70%,rgba(255,255,255,.035),transparent 42%),repeating-linear-gradient(5deg,transparent 0,transparent 7px,rgba(255,255,255,.012) 8px,transparent 9px);color:var(--chalk);padding:clamp(58px,9vw,115px) clamp(24px,12vw,170px);position:relative;overflow:hidden;display:flex;align-items:center}
.hero:after{content:"";position:absolute;inset:18px;border:1px dashed rgba(255,255,255,.25);pointer-events:none}
.hero-copy{max-width:560px;position:relative;z-index:1}.eyebrow,.section-kicker{text-transform:uppercase;letter-spacing:2px;font-size:13px;font-weight:400;font-family:'Dusty Erasers',sans-serif}.eyebrow{color:var(--sage);margin:0 0 18px}.hero h1{font-family:'Angeline Vintage',cursive;font-size:clamp(58px,8vw,98px);line-height:.98;letter-spacing:-1px;margin:0 0 26px;font-weight:400;text-shadow:1px 1px rgba(255,255,255,.12)}.hero h1 em{font-style:normal;color:var(--sage);font-family:'Dusty Erasers',sans-serif;font-size:1.08em;text-decoration:underline;text-decoration-style:wavy;text-decoration-thickness:2px;text-underline-offset:7px}.hero-intro{max-width:420px;color:#e0dfd4;font-size:20px;line-height:1.5;margin:0 0 30px}.button{display:inline-flex;gap:25px;align-items:center;padding:10px 17px;font-size:16px;border:1px solid var(--chalk);border-radius:2px;transform:rotate(-1deg)}.button-light{background:transparent;color:var(--chalk)}.button-light:hover{background:var(--chalk);color:var(--dark)}.hero-note{position:absolute;right:clamp(45px,13vw,190px);top:24%;width:185px;transform:rotate(7deg);text-align:center;color:#eee8d8;font-family:'Dusty Erasers',sans-serif;border:1px dashed rgba(255,255,255,.35);padding:13px 10px 15px}.hero-note p{font-size:27px;line-height:1.05;margin:8px 0}.hero-note small{font-size:17px}.note-star{font-size:27px;color:var(--orange)}.note-line{display:block;width:70px;border-top:1px solid #b4b9a8;margin:13px auto}.hero-doodle{position:absolute;color:rgba(236,235,220,.36);font-family:'Dusty Erasers',sans-serif}.doodle-one{right:8%;top:10%;font-size:65px}.doodle-two{right:13%;bottom:13%;font-size:90px;transform:rotate(-20deg)}
.section-wrap{padding-left:clamp(24px,9vw,130px);padding-right:clamp(24px,9vw,130px)}.intro{text-align:center;padding-top:75px;padding-bottom:68px;max-width:950px;margin:auto;position:relative}.intro:before,.intro:after{content:"✳";position:absolute;color:#aeb8a0;font-size:25px;top:100px}.intro:before{left:15%}.intro:after{right:15%}.section-kicker{color:var(--sage);font-size:15px}.intro h2,.section-heading h2,.about-copy h2,.book-inner h2{font-family:'Angeline Vintage',cursive;font-size:clamp(31px,4vw,46px);line-height:1.2;margin:12px 0 18px;letter-spacing:0;font-weight:400}.intro p{max-width:650px;margin:0 auto;color:#d4d4c8;font-size:19px}
.categories{padding-top:15px;padding-bottom:85px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:28px}.section-heading h2{margin-bottom:0}.text-link{font-size:16px;white-space:nowrap;border-bottom:1px dashed var(--sage)}.text-link:hover{color:var(--sage)}.text-link span{font-size:20px;margin-left:8px}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.category-card{border:1px dashed rgba(246,241,230,.65);background-color:#242a26;background-size:cover;background-position:center;background-repeat:no-repeat;color:var(--chalk);padding:22px 15px 20px;text-align:left;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;min-height:185px;transition:transform .2s,border-color .2s;transform:rotate(-.5deg);position:relative;isolation:isolate;overflow:hidden;text-shadow:0 2px 5px rgba(0,0,0,.9)}.category-card:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,16,14,.08) 0%,rgba(12,16,14,.12) 35%,rgba(12,16,14,.88) 100%);z-index:-1}.category-card[data-category="Nibbles"]{background-image:url('../images/category-nibbles.jpg')}.category-card[data-category="Fishy Fings"]{background-image:url('../images/category-fishy-fings.jpg')}.category-card[data-category="Nosh"]{background-image:url('../images/category-nosh.jpg')}.category-card[data-category="Pudding"]{background-image:url('../images/category-pudding.jpg')}.category-card[data-category="Stuff"]{background-image:url('../images/category-stuff.jpg')}.category-card:nth-child(even){transform:rotate(.6deg)}.category-card:hover{transform:translateY(-4px) rotate(0);border-color:var(--sage);filter:brightness(1.08)}.category-symbol{display:none;font-family:'Dusty Erasers',sans-serif;color:var(--sage);font-size:31px;margin-bottom:12px}.category-card>span:nth-child(2){font-family:'Angeline Vintage',cursive;font-size:22px}.category-card small{font-size:15px;color:#c7c8bb;margin-top:5px}
.recipes-section{background:#191e1b;padding-top:75px;padding-bottom:80px;border-top:1px dashed rgba(255,255,255,.2);border-bottom:1px dashed rgba(255,255,255,.2)}.search-box{display:flex;align-items:center;gap:9px;border:1px dashed #858b7e;background:rgba(255,255,255,.04);padding:8px 13px;min-width:220px}.search-box span{font-size:25px;color:var(--sage)}.search-box input{border:0;outline:0;background:transparent;color:var(--chalk);width:100%;font-size:15px}.search-box input::placeholder{color:#b7b9ac}.filter-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 25px}.filter-chip{border:1px solid #737b6c;border-radius:2px;background:transparent;padding:6px 13px;font-size:15px;color:#e2e0d4;cursor:pointer}.filter-chip.active,.filter-chip:hover{background:var(--chalk);border-color:var(--chalk);color:#202522}.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.recipe-card{background:#e7dfce;color:#252823;border:5px solid #f8f3e7;outline:1px solid #b7b19f;display:flex;flex-direction:column;min-height:250px;box-shadow:0 5px 14px rgba(0,0,0,.22);transform:rotate(-1deg);position:relative}.recipe-card:nth-child(3n+2){transform:rotate(1.2deg)}.recipe-card:before{content:"";position:absolute;z-index:2;top:-12px;left:calc(50% - 34px);width:68px;height:19px;background:rgba(218,195,142,.72);border-left:1px solid rgba(120,100,60,.18);border-right:1px solid rgba(120,100,60,.18);transform:rotate(-3deg)}.recipe-photo{height:150px;background:linear-gradient(135deg,#b8c2a6,#e4d5b8);display:flex;align-items:center;justify-content:center;color:#45503e;font-family:'Dusty Erasers',sans-serif;font-size:20px;position:relative;overflow:hidden}.recipe-photo img{width:100%;height:100%;object-fit:cover}.recipe-photo .photo-doodle{font-size:48px;opacity:.65}.recipe-info{padding:14px 16px 17px}.recipe-category{font-size:13px;text-transform:uppercase;letter-spacing:1.5px;color:#69785c}.recipe-info h3{font-family:'Angeline Vintage',cursive;font-size:23px;line-height:1.2;margin:5px 0 7px;font-weight:400}.recipe-info p{font-size:16px;color:#5e6258;margin:0}.empty-state{padding:24px 0;color:#e5e2d7}.content-note{font-size:14px;color:#bfc1b4;margin:25px 0 0}
.about-section{display:grid;grid-template-columns:minmax(200px,.8fr) 1.2fr;gap:clamp(40px,9vw,130px);align-items:center;padding-top:90px;padding-bottom:95px}.about-art{width:100%;aspect-ratio:4/3;min-height:0;background:#d8d5c5;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;color:#6f8063;border:7px solid #f7f0df;outline:1px solid #9b9d8e;transform:rotate(-2deg);box-shadow:0 8px 18px rgba(0,0,0,.25)}.betty-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 38%;}.betty-photo-caption{display:none;}.art-big{font-family:'Dusty Erasers',sans-serif;font-size:250px;line-height:1;font-weight:400;opacity:.24}.art-small{position:absolute;font-family:'Dusty Erasers',sans-serif;font-size:30px;line-height:1.05;transform:rotate(-8deg);text-align:center;color:#46553f}.art-spark{position:absolute;right:20%;top:18%;font-size:38px}.betty-photo-caption .art-big{font-size:120px}.betty-photo-caption .art-small{font-size:22px}.betty-photo-caption .art-spark{font-size:25px}.about-copy p{font-size:19px;color:#d4d4c8;max-width:550px}.about-copy .text-link{display:inline-block;margin-top:12px}
.book-section{background:#151917;color:var(--chalk);padding:48px clamp(24px,9vw,130px);border-top:1px dashed rgba(255,255,255,.2)}.book-inner{display:flex;align-items:center;gap:25px;max-width:1000px;margin:auto}.book-icon{font-size:35px;color:var(--sage);border:1px dashed #9da58f;width:65px;height:65px;display:grid;place-items:center;flex-shrink:0}.book-inner .section-kicker{color:var(--sage)}.book-inner h2{font-size:30px;margin:7px 0}.book-inner p{font-size:17px;color:#d0d2c7;margin:0;max-width:550px}.book-stamp{margin-left:auto;flex-shrink:0;border:1px dashed #9ba58f;border-radius:50%;width:86px;height:86px;display:grid;place-content:center;text-align:center;transform:rotate(10deg);font-family:'Dusty Erasers',sans-serif;font-size:17px;color:#d8dfce}
.site-footer{background:#111513;color:#c9cabe;display:flex;justify-content:space-between;align-items:center;padding:24px clamp(24px,6vw,90px);font-size:14px}.footer-brand{font-family:'Dusty Erasers',sans-serif;font-size:23px;color:#f4f1e8}.site-footer a:last-child{color:#c4cfb2}
@media(max-width:850px){.hero-note{right:8%;opacity:.8}.category-grid{grid-template-columns:repeat(3,1fr)}.recipe-grid{grid-template-columns:repeat(2,1fr)}.about-section{gap:35px}.book-stamp{display:none}}
@media(max-width:600px){.site-header{min-height:72px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:71px;left:0;right:0;padding:18px 24px;background:#171b19;flex-direction:column;gap:15px;border-top:1px dashed #72796b}.main-nav.open{display:flex}.hero{min-height:500px;padding-top:65px;padding-bottom:75px}.hero:after{inset:10px}.hero-note{right:24px;top:auto;bottom:18px;transform:rotate(4deg) scale(.75);transform-origin:right bottom;opacity:.7}.hero h1{font-size:60px}.hero-intro{max-width:300px;font-size:18px}.doodle-one{right:10%;top:6%;font-size:40px}.doodle-two{display:none}.intro{padding-top:60px;padding-bottom:55px}.intro:before{left:5%;top:85px}.intro:after{right:5%;top:85px}.intro p{font-size:17px}.section-heading{align-items:flex-start;flex-direction:column}.categories{padding-bottom:60px}.category-grid{grid-template-columns:repeat(2,1fr);gap:10px}.category-card{min-height:130px;padding:16px 13px}.recipes-section{padding-top:55px;padding-bottom:60px}.search-box{width:100%}.recipe-grid{grid-template-columns:1fr;gap:22px}.recipe-card,.recipe-card:nth-child(3n+2){transform:rotate(-.4deg)}.recipe-photo{height:175px}.about-section{grid-template-columns:1fr;padding-top:60px;padding-bottom:65px}.about-art{min-height:0;max-width:400px;width:90%;aspect-ratio:4/3;margin:auto}.betty-photo-caption{width:46%;height:44%}.betty-photo-caption .art-big{font-size:85px}.betty-photo-caption .art-small{font-size:16px}.betty-photo-caption .art-spark{font-size:20px}.art-big{font-size:180px}.book-inner{align-items:flex-start}.book-icon{width:48px;height:48px;font-size:26px}.book-inner h2{font-size:25px}.site-footer{flex-wrap:wrap;gap:12px}.site-footer span{order:3;width:100%}}

.amazon-button{margin-top:17px;font-size:15px}.amazon-button:hover{background:var(--chalk);color:var(--dark)}

/* Recipe details dialog */
.recipe-card { cursor:pointer; }
.recipe-card:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.recipe-open { display:inline-block; margin-top:12px; font-size:.9rem; text-decoration:underline; text-underline-offset:3px; }
.recipe-dialog { width:min(900px, calc(100% - 28px)); max-height:88vh; overflow:auto; border:1px solid #d2c7ad; padding:clamp(24px,5vw,48px); background:#f7f0df; color:#24251f; }
.recipe-dialog::backdrop { background:rgba(15,17,14,.78); }
.recipe-dialog h2 { margin:.2em 0; font-size:clamp(2rem,5vw,3.4rem); }
.recipe-dialog h3 { margin:0 0 12px; }
.dialog-close { float:right; border:0; background:transparent; font-size:2rem; cursor:pointer; line-height:1; }
.dialog-description { font-size:1.1rem; }
.dialog-columns { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:32px; margin-top:26px; }
.dialog-columns li { margin:0 0 10px; padding-left:3px; }
.recipe-note { border-left:3px solid currentColor; padding:10px 14px; margin-top:22px; }
.dialog-foot { margin-top:26px; opacity:.75; font-size:.9rem; }
@media(max-width:650px){.dialog-columns{grid-template-columns:1fr;gap:18px}.recipe-dialog{padding:22px}}

/* Temporary recipe images: replace the SVG files in images/recipe-placeholders with your own photos, keeping the filenames. */
.dialog-recipe-image{display:block;width:100%;max-height:300px;object-fit:cover;border:4px solid #e7dfce;margin:18px 0 12px}
/* Remove decorative stars and doodles */
.hero::after,
.hero-doodle,
.section-kicker::before,
.section-kicker::after {
  display: none !important;
  content: none !important;
}
.section-kicker {
  position: relative;
}

.section-kicker::before,
.section-kicker::after {
  display: none !important;
  content: none !important;
}
