/* Violet's Bakery: shared styles */
@font-face{font-family:'Caveat';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/caveat-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Caveat';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/caveat-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'Patrick Hand';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/patrick-hand-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/playfair-display-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/playfair-display-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/playfair-display-latin-700-normal.woff2') format('woff2');}

:root{
  --plum:#4a2464;
  --violet:#7b4a9e;
  --violet-mid:#9a6bb8;
  --lilac:#c9a8de;
  --lilac-soft:#e8dcf2;
  --cream:#f8f3ec;
  --cream-deep:#f1e9db;
  --paper:#fbf7f0;
  --ink:#3a2340;
  --gold:#c79b3a;
  --focus:#7b4a9e;
  --header-h:70px;
}
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;overflow-x:clip;-webkit-text-size-adjust:100%;}
body{
  margin:0; background:var(--cream); color:var(--ink);
  font-family:'Playfair Display', Georgia, serif; overflow-x:clip;
}
/* fixed paper texture (a pseudo element, because fixed backgrounds jitter on iPhones) */
body::before{
  content:""; position:fixed; inset:0; z-index:-1;
  background:url('images/bg-texture-cream.webp') center/cover;
}
.script{font-family:'Caveat',cursive;}
.hand{font-family:'Patrick Hand',cursive;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;height:auto;}
figure{margin:0;}
h1,h2,h3{text-wrap:balance;}

.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}
.skip{
  position:absolute; left:12px; top:-60px; z-index:100; background:var(--plum); color:#fff;
  padding:10px 18px; border-radius:0 0 12px 12px; font-weight:700; transition:top .15s ease;
}
.skip:focus{top:0;}
:focus-visible{outline:3px solid var(--focus); outline-offset:3px; border-radius:4px;}
.cta-band :focus-visible{outline-color:var(--lilac);}
main:focus{outline:none;}
.nowrap{white-space:nowrap;}

/* ---------- HEADER ---------- */
header.site-header{
  position:sticky; top:0; z-index:50; background:transparent;
  transition:background-color .3s ease, box-shadow .3s ease;
}
header.site-header.scrolled{
  background:rgba(248,243,236,.93); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  box-shadow:0 8px 24px -10px rgba(74,36,100,.18);
}
/* home page: the hero slides up underneath the header so the page reads as one piece */
body.home header.site-header{margin-bottom:calc(var(--header-h) * -1);}
body:not(.home) header.site-header{background:rgba(248,243,236,.94); box-shadow:0 8px 24px -12px rgba(74,36,100,.15);}
.nav-wrap{
  max-width:1180px; margin:0 auto; padding:0 24px; height:var(--header-h); display:flex; align-items:center;
  justify-content:space-between; gap:16px;
}
.logo{display:flex; align-items:center; height:40px;}
.logo img{width:auto; height:100%; max-width:220px; object-fit:contain;}
nav.links{display:flex; gap:28px; font-size:1rem; font-weight:600; letter-spacing:.02em; white-space:nowrap;}
nav.links a{position:relative; padding:6px 0; color:var(--plum);}
nav.links a:hover{color:var(--violet);}
.nav-cta{
  display:inline-flex; align-items:center; gap:7px; color:var(--plum); padding:8px 4px; font-weight:600;
  font-size:.95rem; white-space:nowrap; border-bottom:1.5px solid transparent; transition:border-color .2s ease,color .2s ease;
}
.nav-cta svg{width:17px;height:17px;}
.nav-cta:hover{color:var(--violet); border-color:var(--violet);}
.menu-toggle{
  display:none; background:none; border:0; color:var(--plum); cursor:pointer; width:44px; height:44px;
  align-items:center; justify-content:center; border-radius:10px;
}
.menu-toggle svg{width:28px;height:28px;}
.menu-toggle .x{display:none;}
.menu-toggle[aria-expanded="true"] .bars{display:none;}
.menu-toggle[aria-expanded="true"] .x{display:block;}
@media (max-width:900px){
  nav.links{
    position:absolute; top:100%; left:0; right:0; background:var(--paper); flex-direction:column; gap:0;
    padding:6px 24px 12px; border-bottom:2px solid var(--lilac); visibility:hidden; opacity:0;
    transform:translateY(-8px); transition:opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  nav.links.open{visibility:visible; opacity:1; transform:none; transition-delay:0s;}
  nav.links a{padding:14px 0; border-bottom:1px solid var(--lilac-soft);}
  .menu-toggle{display:inline-flex;}
  .nav-cta{display:none;}
}

/* ---------- scroll reveal ---------- */
.reveal{opacity:0; transform:translateY(14px); transition:opacity .4s ease, transform .4s ease;}
.reveal-in{opacity:1; transform:translateY(0);}

/* ---------- HERO (full bleed, picture never cropped top or bottom) ---------- */
.hero{position:relative; width:100%; height:clamp(600px,100vh,940px); height:clamp(600px,100svh,940px); overflow:hidden; display:flex; align-items:center;}
.hero-bg{position:absolute; inset:0; z-index:0;}
.hero-bg picture{display:block; height:100%;}
.hero-bg img{
  position:absolute; right:0; top:0; height:100%; width:auto; max-width:none; display:block;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18%); mask-image:linear-gradient(90deg,transparent 0,#000 18%);
}
.hero-scrim{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(100deg, var(--cream) 0%, rgba(248,243,236,.94) 30%, rgba(248,243,236,.5) 48%, rgba(248,243,236,.06) 64%, transparent 78%);
}
.hero-inner{position:relative; z-index:2; width:100%; max-width:1400px; margin:0 auto; padding:calc(var(--header-h) + 20px) 24px 70px;}
.hero-inner > div{max-width:560px;}
.hero-tag{
  display:inline-flex; align-items:center; background:var(--lilac-soft); color:var(--plum);
  font-family:'Patrick Hand',cursive; font-size:1rem; padding:6px 16px; border-radius:20px;
  border:1.5px dashed var(--violet-mid); margin-bottom:18px;
}
.hero h1{font-size:3.6rem; line-height:1.05; margin:0 0 6px; color:var(--plum); font-weight:700;}
.hero h1 .script{font-size:1.25em; color:var(--violet); display:block;}
.hero p.lede{font-size:1.2rem; color:var(--ink); max-width:460px; margin:18px 0 28px; line-height:1.55;}
/* small laptops and sideways tablets: keep the words clear of Violet's picture */
@media (min-width:901px) and (max-width:1180px){
  .hero-inner > div{max-width:min(520px,45vw);}
  .hero h1{font-size:clamp(2.5rem,4.6vw,3.6rem);}
  .hero p.lede{font-size:1.08rem;}
  .hero-scrim{background:linear-gradient(100deg, var(--cream) 0%, rgba(248,243,236,.97) 40%, rgba(248,243,236,.72) 52%, rgba(248,243,236,.12) 66%, transparent 80%);}
}
/* phones and upright tablets: picture first, words underneath. Sideways phones keep the side by side layout. */
@media (max-width:640px), (max-width:900px) and (min-height:521px){
  .hero{display:block; height:auto; min-height:0;}
  .hero-bg{position:relative; inset:auto; width:100%; max-width:640px; margin:0 auto; aspect-ratio:925/1172; max-height:62svh;}
  .hero-bg picture{height:100%;}
  .hero-bg img{position:static; width:100%; height:100%; object-fit:cover; object-position:center top; -webkit-mask-image:none; mask-image:none;}
  .hero-bg::after{content:""; position:absolute; inset:auto 0 0 0; height:26%; background:linear-gradient(180deg, transparent, var(--cream));}
  .hero-scrim{display:none;}
  .hero-inner{padding:0 24px 64px; margin-top:-34px; position:relative;}
  .hero-inner > div{max-width:100%;}
  .hero h1{font-size:2.9rem;}
}
@media (min-width:641px) and (max-width:900px) and (min-height:521px){
  .hero-bg{-webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent); mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);}
  .hero-inner{text-align:center;}
  .hero p.lede{margin-left:auto; margin-right:auto;}
  .hero .btn-row{justify-content:center;}
}
@media (min-width:641px) and (max-width:900px) and (max-height:520px){
  .hero{height:auto; min-height:max(100svh,420px);}
  .hero-inner{padding:84px 24px 40px;}
  .hero-tag{display:none;}
  .hero-inner > div{max-width:46vw;}
  .hero h1{font-size:2.1rem;}
  .hero p.lede{font-size:1rem; margin:10px 0 18px;}
}
@media (max-width:420px){ .hero h1{font-size:2.5rem;} }

.btn-row{display:flex; gap:16px; flex-wrap:wrap;}
.btn-row.center{justify-content:center;}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:13px 26px; border-radius:30px;
  font-weight:700; font-size:1rem; font-family:'Playfair Display',serif; cursor:pointer; min-height:48px;
  transition:transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s ease, background .22s ease;
}
.btn svg{width:20px; height:20px; flex:none;}
.btn-primary{background:var(--violet); color:#fff; box-shadow:0 4px 0 var(--plum);}
.btn-primary:hover{transform:translateY(-3px); box-shadow:0 6px 0 var(--plum);}
.btn-outline{border:2px solid var(--violet); color:var(--plum); background:transparent;}
.btn-outline:hover{background:var(--lilac-soft); transform:translateY(-3px);}
.btn, .nav-cta, nav.links a, .tab-btn{cursor:url('images/cursor-cake-arrow.png') 22 7, pointer;}

/* ---------- torn paper and stitching dividers (always edge to edge) ---------- */
.tear{
  position:relative; z-index:3; width:100%; height:clamp(64px,9.8vw,170px);
  background:url('images/torn-edge-bottom.webp') center bottom/100% 100% no-repeat;
  margin-bottom:calc(clamp(64px,9.8vw,170px) * -.24); pointer-events:none;
}
.tear.over-hero{margin-top:calc(clamp(64px,9.8vw,170px) * -.62);}
.stitch{
  width:100%; height:clamp(22px,3.3vw,64px); background:var(--paper) url('images/stitching-divider.webp') center/100% 100% no-repeat;
}

/* ---------- sections ---------- */
section{position:relative; z-index:1;}
section[id]{scroll-margin-top:var(--header-h);}
.section-inner{max-width:1180px; margin:0 auto; padding:70px 24px;}
.center{text-align:center;}
.kicker{font-family:'Patrick Hand',cursive; color:var(--violet); font-size:1.1rem; display:block; margin-bottom:6px;}
h2.section-title{font-size:2.4rem; color:var(--plum); margin:0 0 34px; font-weight:700; line-height:1.15;}
h2.section-title .script{color:var(--violet); font-size:1.15em;}

/* features */
.features{background:var(--lilac-soft) url('images/bg-texture-lilac.webp') center/cover;}
.features .section-inner{padding-top:96px;}
.feat-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
@media (max-width:760px){.feat-grid{grid-template-columns:repeat(2,1fr); gap:20px 14px;}}
.feat-card{
  background:var(--paper); border:2px solid var(--violet-mid); border-radius:16px; padding:26px 18px;
  text-align:center; position:relative; transition:transform .25s ease, box-shadow .25s ease;
}
.feat-card:nth-child(odd){transform:rotate(-1deg);}
.feat-card:nth-child(even){transform:rotate(1deg);}
.feat-card:hover{box-shadow:0 10px 20px rgba(74,36,100,.14);}
.feat-card svg{width:44px;height:44px; margin-bottom:12px; color:var(--violet);}
.feat-card h3{margin:0 0 6px; font-size:1.08rem; color:var(--plum);}
.feat-card p{margin:0; font-size:.98rem; color:var(--ink); font-family:'Patrick Hand',cursive;}
.feat-card .pin-mini{position:absolute; top:-14px; left:50%; transform:translateX(-50%); width:22px; height:26px;}

/* cakes */
.cakes{background:var(--paper);}
.plaque{
  position:relative; max-width:760px; margin:0 auto 6px; aspect-ratio:1536/810;
  background:url('images/cakes-plaque.webp') center/100% 100% no-repeat;
  display:flex; flex-direction:column; align-items:center; justify-content:center; padding:6% 16% 20%;
}
.plaque h2.section-title{margin:0; font-size:clamp(1.8rem,3.4vw,2.4rem);}
@media (max-width:700px){
  .plaque{background:none; aspect-ratio:auto; padding:0; margin-bottom:18px;}
}
.tabs{display:flex; gap:10px 12px; flex-wrap:wrap; justify-content:center; margin:0 auto 26px;}
.tab-btn{
  padding:10px 20px; border-radius:24px; border:2px solid var(--violet-mid); background:var(--paper);
  font-family:'Patrick Hand',cursive; font-size:1.05rem; color:var(--plum); min-height:44px;
}
.tab-btn[aria-selected="true"]{background:var(--violet); color:#fff; border-color:var(--violet);}
.ingredient-row{max-width:760px; margin:0 auto 22px; opacity:.92;}
.ingredient-row img{width:100%;}
.allergy-note{
  max-width:760px; margin:0 auto 34px; padding:12px 18px; background:var(--lilac-soft); border-radius:14px;
  border:1.5px dashed var(--violet-mid); font-family:'Patrick Hand',cursive; font-size:1.05rem; color:var(--plum); text-align:center;
}
.allergy-note a{text-decoration:underline; text-underline-offset:3px; font-weight:700;}
.cake-panel{display:none;}
.cake-panel.active{display:grid; grid-template-columns:repeat(4,1fr); gap:34px 26px; align-items:stretch; text-align:left;}
@media (max-width:980px){.cake-panel.active{grid-template-columns:repeat(2,1fr);}}
@media (max-width:540px){.cake-panel.active{grid-template-columns:1fr; max-width:420px; margin:0 auto;}}
.cake-card{
  background:var(--paper); border-radius:18px; position:relative; border:2px solid var(--lilac);
  display:flex; flex-direction:column; transition:transform .2s ease, box-shadow .2s ease;
}
.cake-card:nth-child(3n+1){transform:rotate(-1.4deg);}
.cake-card:nth-child(3n+2){transform:rotate(.8deg);}
.cake-card:nth-child(3n){transform:rotate(-.5deg);}
.cake-card:hover{transform:translateY(-6px) rotate(0deg)!important; box-shadow:0 14px 26px rgba(74,36,100,.18); z-index:5;}
.photo-wrap{position:relative; overflow:hidden; border-radius:16px 16px 0 0; background:var(--lilac-soft); aspect-ratio:3/4;}
.photo-wrap img{width:100%; height:100%; object-fit:cover; display:block;}
.photo-wrap.art{display:flex; align-items:center; justify-content:center;}
.photo-wrap.art img{width:82%; height:auto; object-fit:contain;}
.cake-card .pin-corner{position:absolute; top:-14px; left:16px; width:26px; height:30px; z-index:3;}
.cake-card .bow-corner{position:absolute; top:-18px; right:10px; width:56px; height:auto; z-index:3;}
.cake-card.text-card .photo-wrap{aspect-ratio:auto; padding:34px 20px 8px; background:none;}
.cake-card.text-card .photo-wrap img{width:150px; max-width:70%;}

/* special diets panel */
.diet-intro{grid-column:1/-1; max-width:760px; margin:0 auto 10px; text-align:center; font-size:1.08rem; line-height:1.65;}
.diet-caution{grid-column:1/-1; max-width:760px; margin:10px auto 0; text-align:left; padding:14px 18px; background:var(--lilac-soft); border-left:4px solid var(--violet); border-radius:6px; font-size:1rem; line-height:1.6;}
.diet-caution a{text-decoration:underline; text-underline-offset:3px; font-weight:700; color:var(--plum);}

/* full gallery */
.cake-panel.gallery.active{grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:16px; max-width:none;}
@media (max-width:540px){.cake-panel.gallery.active{grid-template-columns:repeat(2,1fr); gap:10px; max-width:none;}}
.cake-panel.gallery.diet.active{grid-template-columns:repeat(4,1fr); max-width:860px; margin:0 auto;}
@media (max-width:640px){.cake-panel.gallery.diet.active{grid-template-columns:repeat(2,1fr);}}
.gallery-intro{grid-column:1/-1; text-align:center; font-family:'Patrick Hand',cursive; font-size:1.1rem; color:var(--plum); margin:0 0 4px;}
.g-item{
  display:block; padding:0; border:2px solid var(--lilac); border-radius:14px; overflow:hidden; background:var(--lilac-soft);
  aspect-ratio:1/1; cursor:zoom-in; transition:transform .2s ease, box-shadow .2s ease;
}
.g-item img{width:100%; height:100%; object-fit:cover; display:block;}
.g-item:hover{transform:translateY(-4px); box-shadow:0 12px 22px rgba(74,36,100,.18);}

/* photo viewer */
dialog.viewer{
  border:0; padding:0; background:transparent; max-width:100vw; max-height:100vh; width:100vw; height:100vh; height:100dvh;
  margin:0; overflow:hidden;
}
dialog.viewer::backdrop{background:rgba(42,20,58,.9);}
.viewer-inner{position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:56px 12px 20px;}
.viewer-inner img{max-width:min(100%,900px); max-height:calc(100% - 60px); width:auto; height:auto; border-radius:12px; background:var(--lilac-soft);}
.viewer-cap{color:#fff; font-family:'Patrick Hand',cursive; font-size:1.15rem; margin:12px 0 0; text-align:center;}
.viewer-btn{
  position:absolute; width:48px; height:48px; border-radius:50%; border:2px solid rgba(255,255,255,.7); background:rgba(74,36,100,.75);
  color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.viewer-btn svg{width:22px; height:22px;}
.viewer-btn:focus-visible{outline-color:#fff;}
.viewer-close{top:10px; right:12px;}
.viewer-prev{left:12px; top:50%; transform:translateY(-50%);}
.viewer-next{right:12px; top:50%; transform:translateY(-50%);}
.cake-card .info{padding:16px 16px 20px; flex:1; display:flex; flex-direction:column;}
.cake-card .info h3{margin:0 0 4px; font-size:1.12rem; color:var(--plum);}
.cake-card .info p{margin:0; font-size:1rem; color:var(--ink); line-height:1.4; font-family:'Patrick Hand',cursive;}
.cake-card .tag{display:inline-block; margin-top:auto; padding-top:10px; font-size:.76rem; font-weight:700; letter-spacing:.04em; color:var(--violet); text-transform:uppercase;}

/* about */
#about{padding-top:0;}
.about-grid{display:grid; grid-template-columns:.85fr 1.15fr; gap:60px; align-items:center;}
@media (max-width:820px){
  .about-grid{grid-template-columns:1fr; gap:44px;}
  .about-grid .about-photo{max-width:290px;}
  .about-grid .backdrop-slot{inset:-3% -5% -3% -5%;}
}
.about-photo{position:relative; width:100%; max-width:340px; margin:0 auto;}
.portrait-stage{position:relative; z-index:2; width:100%; transform:rotate(-3deg);}
.backdrop-slot{position:absolute; inset:-5% -7% -5% -7%; z-index:1;}
.backdrop-slot img{width:100%; height:100%; object-fit:fill;}
.portrait-slot{position:relative; width:100%; aspect-ratio:1024/1536; z-index:2;}
.portrait-slot img{width:100%; height:100%; object-fit:contain;}
.portrait-stage figcaption{
  position:relative; z-index:3; text-align:center; margin-top:22px; padding-bottom:10px;
  font-family:'Caveat',cursive; font-size:1.4rem; color:var(--plum);
}
.about-ribbon{position:absolute; top:-26px; right:-10px; width:110px; z-index:4; transform:rotate(-10deg);}
.about-text p{font-size:1.06rem; line-height:1.7; margin:0 0 16px;}
.about-text .signature{font-family:'Caveat',cursive; font-size:1.8rem; color:var(--violet); margin-top:10px;}
.about-text h2.section-title{margin-bottom:22px;}

/* custom orders band */
.cta-band{background:var(--plum); color:var(--cream); text-align:center; position:relative; overflow:hidden;}
.cta-band .section-inner{position:relative; z-index:1; padding:84px 24px;}
.cta-art{position:absolute; left:50%; bottom:0; transform:translateX(-50%); width:min(960px,96%); height:auto; opacity:.13; z-index:0; pointer-events:none;}
.cta-band .kicker{color:var(--lilac);}
.cta-band h2{font-size:2.2rem; margin:0 0 12px; font-weight:700; line-height:1.2;}
.cta-band .script{color:var(--lilac); font-size:1.2em;}
.cta-band p.lead{font-family:'Patrick Hand',cursive; font-size:1.2rem; margin:0 auto 34px; color:var(--lilac-soft); max-width:680px;}
.steps{list-style:none; margin:0 auto 38px; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:22px; max-width:1000px; text-align:left;}
.steps li{background:rgba(255,255,255,.07); border:1.5px dashed rgba(201,168,222,.65); border-radius:16px; padding:22px 20px;}
.steps .num{
  display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:50%;
  background:var(--gold); color:var(--plum); font-weight:700; font-size:1.1rem; margin-bottom:12px;
}
.steps h3{margin:0 0 6px; font-size:1.15rem; color:#fff;}
.steps p{margin:0; font-family:'Patrick Hand',cursive; font-size:1.05rem; line-height:1.45; color:var(--lilac-soft);}
.cta-band .btn-primary{background:var(--gold); box-shadow:0 4px 0 #8f6e1f; color:var(--plum);}
.cta-band .fine{font-family:'Patrick Hand',cursive; font-size:1rem; color:var(--lilac-soft); margin:22px auto 0; max-width:620px;}
.cta-band .fine a{text-decoration:underline; text-underline-offset:3px; color:#fff;}
@media (max-width:820px){
  .steps{grid-template-columns:1fr; max-width:520px;}
  .cta-band .section-inner{padding:60px 24px;}
  .cta-band h2{font-size:1.9rem;}
}

/* contact */
.contact{background:var(--paper);}
.contact .lede{font-size:1.15rem; max-width:560px; margin:0 auto 30px;}
.contact .allergy-note{margin-top:30px; margin-bottom:0;}
.privacy-line{font-family:'Patrick Hand',cursive; font-size:1rem; color:var(--ink); max-width:600px; margin:18px auto 0;}
.privacy-line a{text-decoration:underline; text-underline-offset:3px; color:var(--plum); font-weight:700;}

/* footer */
footer.site-footer{background:var(--cream-deep); padding:50px 24px 30px; border-top:2px solid var(--lilac); position:relative; z-index:1;}
.footer-inner{max-width:1180px; margin:0 auto; display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:36px;}
@media (max-width:980px){.footer-inner{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.footer-inner{grid-template-columns:1fr;}}
.footer-inner h2{color:var(--plum); font-size:1.1rem; margin:0 0 12px; font-family:'Patrick Hand',cursive; font-weight:400;}
.footer-inner p{margin:0 0 4px;}
.footer-inner p, .footer-inner a{font-size:.96rem; color:var(--ink); line-height:1.7;}
.footer-inner a{display:inline-block; padding:3px 0;}
.footer-inner a:hover{color:var(--violet); text-decoration:underline;}
.footer-inner .flogo{font-family:'Caveat',cursive; font-size:2rem; color:var(--plum); margin-bottom:8px; display:block;}
.footer-doodle{width:min(240px,70%); margin-bottom:8px;}
.footer-inner svg{width:16px; height:16px; vertical-align:-2px; margin-right:6px;}
.footer-bottom{
  max-width:1180px; margin:34px auto 0; padding-top:20px; border-top:1px dashed var(--violet-mid);
  text-align:center; font-family:'Patrick Hand',cursive; font-size:.95rem; color:var(--plum);
}
.footer-bottom p{margin:0 0 4px;}

/* legal and 404 pages */
.legal{max-width:780px; margin:0 auto; padding:56px 24px 80px;}
.legal h1{font-size:2.4rem; color:var(--plum); margin:0 0 8px; line-height:1.15;}
.legal .updated{font-family:'Patrick Hand',cursive; color:var(--violet); font-size:1.1rem; margin:0 0 30px;}
.legal h2{font-size:1.4rem; color:var(--plum); margin:34px 0 8px;}
.legal p, .legal li{font-size:1.05rem; line-height:1.7;}
.legal ul{padding-left:1.3em;}
.legal a{color:var(--violet); text-decoration:underline; text-underline-offset:3px;}
.legal .box{background:var(--lilac-soft); border-left:4px solid var(--violet); padding:12px 16px; border-radius:6px; margin:18px 0;}
.legal table{border-collapse:collapse; width:100%; margin:12px 0 20px; font-size:1rem;}
.legal th, .legal td{border:1px solid var(--lilac); padding:9px 12px; text-align:left; vertical-align:top;}
.legal th{background:var(--lilac-soft); color:var(--plum);}
.notfound{text-align:center; padding:110px 24px;}
.notfound h1{font-size:3rem; color:var(--plum); margin:0 0 10px;}
.notfound p{font-size:1.2rem; margin:0 0 26px;}

/* decorative wiggle */
.wiggle{display:inline-flex; animation:wiggle 2.6s ease-in-out infinite;}
@keyframes wiggle{0%,100%{transform:rotate(-4deg);}50%{transform:rotate(4deg);}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation:none!important; transition:none!important;}
  .g-item:hover, .cake-card:hover, .btn:hover{transform:none!important;}
  .reveal{opacity:1; transform:none;}
}
