/* ============================================================
   GWENDOLYN LEE CAKERY
   "Creating custom tiers of joy!"
   A candy-shop bakery in Beech Grove, Indiana
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  /* surfaces — bright white shop walls */
  --paper:        #fffdf8;
  --paper-soft:   #ffffff;
  --paper-deep:   #f8f1e7;
  --paper-warm:   #fbf3e8;

  /* ink — warm dark, not harsh */
  --ink:          #2b2025;
  --ink-soft:     #5a4a50;
  --ink-mute:     #8e7c82;

  /* brand pink, from the logo */
  --pink:         #c4677c;
  --pink-dk:      #a44d62;
  --pink-soft:    #f6dde2;

  /* the sprinkle palette — the walls of the shop */
  --butter:       #f4d774;    /* yellow pendant + chair */
  --mint:         #b8dcc8;    /* sage pendant */
  --sky:          #b8d4e3;    /* sprinkle */
  --lavender:     #d5bce8;    /* sprinkle */
  --coral:        #f5a6a4;    /* sprinkle */
  --teal:         #6cb5a7;    /* turquoise counter */
  --cherry:       #c83d52;    /* the cherry on the logo */

  /* rules */
  --rule:         rgba(43, 32, 37, 0.16);
  --rule-soft:    rgba(43, 32, 37, 0.07);

  /* type families */
  --serif:   "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script:  "Caveat", "Kalam", "Brush Script MT", cursive;

  /* layout */
  --max:    1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* scale */
  --t-xs:    0.75rem;
  --t-sm:    0.875rem;
  --t-base:  1rem;
  --t-md:    1.15rem;
  --t-lg:    1.5rem;
  --t-xl:    2.25rem;
  --t-2xl:   clamp(2.5rem, 5vw, 4rem);
  --t-display: clamp(3.5rem, 10vw, 9rem);
  --t-script:  clamp(2.5rem, 7vw, 6rem);
}

/* ---------- skip-to-content for keyboard users ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--pink);
  color: white;
  padding: 0.75rem 1.25rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--t-sm);
  border-radius: 8px;
  z-index: 1000;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

/* ---------- base ---------- */
body {
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--pink); color: white; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.02em; }
h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }

.script { font-family: var(--script); font-weight: 500; line-height: 0.95; }
.ital { font-style: italic; color: var(--pink); }
.cherry { color: var(--cherry); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--pink);
  padding: 0.4rem 0.8rem;
  background: var(--pink-soft);
  border-radius: 999px;
}
.eyebrow.mint   { color: #486b5d; background: var(--mint); }
.eyebrow.butter { color: #7a5e1f; background: var(--butter); }
.eyebrow.sky    { color: #3e6379; background: var(--sky); }
.eyebrow.lav    { color: #5e447a; background: var(--lavender); }

.drop-cap::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  float: left;
  font-size: 5.2em;
  line-height: 0.82;
  padding: 0.08em 0.12em 0 0;
  color: var(--pink);
}

/* ---------- layout primitives ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }

/* the checkerboard rule, a candy-shop nod */
.check-rule {
  height: 18px;
  background-image:
    linear-gradient(45deg, var(--ink) 25%, transparent 25%),
    linear-gradient(-45deg, var(--ink) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--ink) 75%),
    linear-gradient(-45deg, transparent 75%, var(--ink) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
  margin-block: clamp(3rem, 6vw, 5rem);
  opacity: 0.85;
}
.check-rule.thin { height: 12px; background-size: 12px 12px; background-position: 0 0, 0 6px, 6px -6px, -6px 0; }

/* sprinkle confetti — scattered colorful marks like the wall decals */
.sprinkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.sprinkles span {
  position: absolute;
  width: 22px;
  height: 6px;
  border-radius: 3px;
  transform-origin: center;
  opacity: 0.85;
}
/* larger sprinkles inside hero */
.sprinkles.lg span { width: 28px; height: 7px; border-radius: 4px; }
/* keep child content above sprinkles */
.sprinkle-host { position: relative; }
.sprinkle-host > *:not(.sprinkles) { position: relative; z-index: 1; }

/* ---------- masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
}
.masthead-meta {
  font-family: var(--sans);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  font-weight: 500;
}
.masthead-meta.right { text-align: right; }
.masthead-logo {
  display: block;
  height: clamp(56px, 7vw, 84px);
  width: auto;
  margin-inline: auto;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.masthead-logo:hover { transform: scale(1.04) rotate(-1deg); }

.nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: 0.4rem 0 0.9rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--sans);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
}
.nav a { position: relative; padding-bottom: 3px; color: var(--ink-soft); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--pink); }
.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- hero ---------- */
.hero {
  padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 6vw, 4rem);
  position: relative;
}
.hero-tag {
  text-align: center;
  font-family: var(--script);
  color: var(--pink);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  transform: rotate(-2deg);
  margin-bottom: 0.5rem;
}
.hero-title {
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-display);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 auto;
  max-width: 14ch;
}
.hero-title .joy {
  font-style: italic;
  color: var(--pink);
  position: relative;
  display: inline-block;
}
.hero-title .joy::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: 4px;
  height: 12px;
  background: var(--butter);
  z-index: -1;
  border-radius: 12px;
  transform: rotate(-0.5deg);
  opacity: 0.6;
}
.hero-bang {
  display: inline-block;
  color: var(--cherry);
  font-family: var(--serif);
  font-style: italic;
}
.hero-lede {
  max-width: 38rem;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.45;
  color: var(--ink-soft);
}

/* hero photo strip — like a bakery case display */
.case-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 1.2vw, 1rem);
  margin-top: clamp(3rem, 6vw, 4rem);
}
.case-strip figure {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: 10px;
  box-shadow: 0 6px 18px -8px rgba(43,32,37,0.25);
  position: relative;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.case-strip figure:nth-child(odd)  { transform: rotate(-1.2deg); }
.case-strip figure:nth-child(even) { transform: rotate(1.2deg); margin-top: 1.5rem; }
.case-strip figure:hover { transform: rotate(0) translateY(-6px); }
.case-strip img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- featured plate / split ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 5rem);
}
.feature-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: 14px;
  box-shadow: 0 10px 30px -12px rgba(43,32,37,0.3);
  position: relative;
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.feature-img:hover img { transform: scale(1.04); }
.feature h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.5rem;
}
.feature p { font-size: var(--t-md); line-height: 1.6; color: var(--ink-soft); max-width: 40ch; }
.feature-cap {
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  font-weight: 500;
}

/* ---------- section header — friendly, not magazine ---------- */
.section-head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head .eyebrow { margin-bottom: 0.75rem; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.section-head h2 em { color: var(--pink); font-style: italic; }
.section-head .sub {
  max-width: 36rem;
  margin: 1rem auto 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: var(--t-md);
}

/* ---------- polaroid grid (home recent work) ---------- */
.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.polaroid {
  background: white;
  padding: 12px 12px 56px;
  box-shadow: 0 8px 22px -10px rgba(43,32,37,0.3);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  position: relative;
}
.polaroid:nth-child(3n+1) { transform: rotate(-2deg); }
.polaroid:nth-child(3n+2) { transform: rotate(1deg); }
.polaroid:nth-child(3n)   { transform: rotate(-0.5deg); margin-top: 1.5rem; }
.polaroid:hover { transform: rotate(0) translateY(-6px) scale(1.02); z-index: 5; }
.polaroid-img { aspect-ratio: 1; overflow: hidden; background: var(--paper-deep); }
.polaroid-img img { width: 100%; height: 100%; object-fit: cover; }
.polaroid-cap {
  position: absolute;
  inset: auto 0 12px 0;
  text-align: center;
  font-family: var(--script);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  background: var(--pink);
  color: white;
  border-radius: 999px;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 6px 16px -6px rgba(196,103,124,0.6);
}
.btn:hover { background: var(--pink-dk); transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(196,103,124,0.7); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: none;
}
.btn.ghost:hover { background: var(--ink); color: white; }

/* ---------- pull quote ---------- */
.pull {
  padding: clamp(3rem, 8vw, 6rem) 0;
  text-align: center;
  position: relative;
}
.pull blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 0 auto;
  color: var(--ink);
}
.pull blockquote::before { content: "\201C"; color: var(--pink); font-size: 1.1em; line-height: 0; vertical-align: -0.05em; padding-right: 0.05em; }
.pull blockquote::after  { content: "\201D"; color: var(--pink); font-size: 1.1em; line-height: 0; vertical-align: -0.4em; padding-left: 0.05em; }
.pull cite {
  display: block;
  margin-top: 2rem;
  font-family: var(--script);
  font-style: normal;
  font-size: 1.5rem;
  color: var(--pink);
}

/* ---------- receipt (hours) ---------- */
.receipt {
  background: var(--paper-soft);
  border: 1.5px solid var(--ink);
  padding: 2rem;
  font-family: var(--sans);
  font-size: var(--t-sm);
  line-height: 1.65;
  position: relative;
  border-radius: 4px;
  box-shadow: 0 10px 24px -12px rgba(43,32,37,0.25);
}
.receipt::before, .receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background:
    linear-gradient(45deg, transparent 33.333%, var(--paper-soft) 33.333%, var(--paper-soft) 66.667%, transparent 66.667%),
    linear-gradient(-45deg, transparent 33.333%, var(--paper-soft) 33.333%, var(--paper-soft) 66.667%, transparent 66.667%);
  background-size: 14px 28px;
}
.receipt::before { top: -10px; }
.receipt::after  { bottom: -10px; transform: scaleY(-1); }
.receipt h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: var(--t-lg);
  text-align: center;
  margin-bottom: 0.25rem;
}
.receipt .receipt-sub {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--t-xs);
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--rule);
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.25rem;
}
.receipt-row .label { text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-mute); font-weight: 600; font-size: var(--t-xs); }
.receipt-row .value { font-weight: 600; font-variant-numeric: tabular-nums; }
.receipt-row.is-closed .value { color: var(--ink-mute); font-style: italic; font-weight: 400; }
.receipt-row.is-open  .value { color: var(--pink-dk); }
.receipt-foot {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--rule);
  text-align: center;
  text-transform: uppercase;
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  font-weight: 600;
}

/* ---------- contact slab ---------- */
.contact-slab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3rem, 8vw, 5rem);
  align-items: center;
}
.contact-slab .lead {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.contact-slab .lead .pink { color: var(--pink); font-style: italic; }

/* ---------- footer ---------- */
.foot {
  margin-top: 4rem;
  position: relative;
  background: var(--paper-warm);
  padding-block: 3.5rem 2rem;
  border-top: 1.5px solid var(--rule);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.foot-grid h4 {
  font-family: var(--sans);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--pink);
  margin-bottom: 0.85rem;
  font-weight: 700;
}
.foot-grid p, .foot-grid a { font-size: var(--t-sm); line-height: 1.65; color: var(--ink-soft); }
.foot-grid a { display: block; transition: color .2s; }
.foot-grid a:hover { color: var(--pink); }
.foot-sig {
  font-family: var(--script);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  color: var(--pink);
  text-align: center;
  margin: 2rem 0;
  transform: rotate(-2deg);
}
.foot-fine {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* ---------- about page essay ---------- */
.essay {
  max-width: 38rem;
  margin: 0 auto;
  padding-block: clamp(3rem, 8vw, 5rem);
  font-size: var(--t-md);
  line-height: 1.7;
  color: var(--ink-soft);
}
.essay h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
  text-align: center;
}
.essay h1 em { color: var(--pink); font-style: italic; }
.essay .essay-meta {
  text-align: center;
  font-family: var(--sans);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
}
.essay p { margin-bottom: 1.25rem; }
.essay p + p { text-indent: 1.5em; }
.essay p.lede { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--ink); margin-bottom: 2rem; text-indent: 0; }
.essay-byline {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-family: var(--script);
  font-size: 1.75rem;
  color: var(--pink);
}

/* ---------- menu page ---------- */
.tasting { padding-block: clamp(2rem, 6vw, 4rem); }
.tasting-head { text-align: center; margin-bottom: clamp(3rem, 7vw, 5rem); }
.tasting-head .eyebrow { margin-bottom: 1rem; }
.tasting-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.tasting-head h1 em { font-style: italic; color: var(--pink); }
.tasting-head .note {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.tasting-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 64rem;
  margin: 0 auto;
}
.tasting-section {
  background: white;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 4px 18px -10px rgba(43,32,37,0.15);
  border: 1px solid var(--rule-soft);
}
.tasting-section h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.tasting-section h3 .chip {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--pink-soft);
  color: var(--pink-dk);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  margin-left: auto;
}
.tasting-section .seasonal-note {
  font-family: var(--sans);
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cherry);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.tasting-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1.5rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.5;
  counter-reset: item;
}
.tasting-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--ink-soft);
}
.tasting-list li::before {
  content: "•";
  color: var(--pink);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: middle;
}
.tasting-list.single-col { grid-template-columns: 1fr; }

/* ---------- "step inside" shop feature ---------- */
.shop-feature { padding-block: clamp(3rem, 7vw, 5rem); }
.shop-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-top: clamp(2rem, 5vw, 3rem);
}
.shop-grid figure {
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper-deep);
  box-shadow: 0 10px 26px -14px rgba(43,32,37,0.3);
  position: relative;
}
.shop-grid figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.shop-grid figure:hover img { transform: scale(1.04); }
.shop-grid .big { grid-row: span 2; aspect-ratio: 5 / 4; }
.shop-grid .sm  { aspect-ratio: 5 / 4; }
.shop-grid figcaption {
  position: absolute; left: 14px; bottom: 12px;
  background: white; color: var(--ink);
  font-family: var(--script);
  font-size: 1.4rem; line-height: 1;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  box-shadow: 0 3px 12px -4px rgba(43,32,37,0.3);
}

/* ---------- About-page portrait ---------- */
.portrait {
  max-width: 24rem;
  margin: 0 auto 2.5rem;
  position: relative;
}
.portrait .portrait-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper-deep);
  box-shadow: 0 12px 32px -14px rgba(43,32,37,0.35);
}
.portrait .portrait-img img { width: 100%; height: 100%; object-fit: cover; }
.portrait .portrait-cap {
  position: absolute;
  bottom: -14px; right: -8px;
  background: var(--pink); color: white;
  font-family: var(--script); font-size: 1.6rem; line-height: 1;
  padding: 0.55rem 1rem; border-radius: 999px;
  transform: rotate(-3deg);
  box-shadow: 0 4px 14px -4px rgba(196,103,124,0.6);
}

@media (max-width: 700px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-grid .big { grid-row: auto; aspect-ratio: 4 / 3; }
}

/* ---------- gallery ---------- */
.gallery-head { text-align: center; padding-block: clamp(3rem, 6vw, 4rem); }
.gallery-head .eyebrow { margin-bottom: 1rem; }
.gallery-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.gallery-head h1 em { font-style: italic; color: var(--pink); }
.gallery-head .meta {
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.gallery-filters {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.gallery-filters button {
  font-family: var(--sans);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  transition: all .25s;
}
.gallery-filters button:hover { color: var(--pink); border-color: var(--pink); }
.gallery-filters button.is-active { background: var(--pink); border-color: var(--pink); color: white; }

.masonry {
  column-count: 4;
  column-gap: clamp(0.5rem, 1.2vw, 1rem);
}
.masonry figure {
  break-inside: avoid;
  margin-bottom: clamp(0.5rem, 1.2vw, 1rem);
  background: var(--paper-deep);
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 4px 14px -8px rgba(43,32,37,0.2);
}
.masonry img {
  width: 100%;
  height: auto;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(to top, rgba(43,32,37,0.82), transparent);
  color: white;
  font-family: var(--script);
  font-size: 1.3rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.masonry figure:hover figcaption { opacity: 1; transform: translateY(0); }
.masonry [data-cat] { display: block; }
.masonry [hidden] { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .masthead-inner { grid-template-columns: 1fr; text-align: center; }
  .masthead-meta { display: none; }
  .nav { gap: 1.1rem; flex-wrap: wrap; }
  .case-strip { grid-template-columns: repeat(2, 1fr); }
  .feature, .contact-slab, .tasting-grid, .polaroid-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-img { aspect-ratio: 1 / 1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .masonry { column-count: 2; }
  .tasting-list { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .foot-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 1; }
  .case-strip { grid-template-columns: repeat(2, 1fr); }
  .case-strip figure:nth-child(even) { margin-top: 0.75rem; }
}

/* ---------- live "OPEN NOW" badge ---------- */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.open-badge.is-open    { color: #2c6e3f; }
.open-badge.is-closed  { color: var(--ink-mute); }
.open-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}
.open-badge .dot-open {
  background: #4caf6a;
  box-shadow: 0 0 0 0 rgba(76, 175, 106, 0.6);
  animation: pulse 2s infinite;
}
.open-badge .dot-closed { background: var(--pink); opacity: 0.7; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(76, 175, 106, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(76, 175, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 106, 0); }
}

/* ---------- cake servings calculator ---------- */
.calc {
  max-width: 36rem;
  margin: clamp(2rem, 5vw, 3rem) auto;
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px -12px rgba(43,32,37,0.2);
  border: 1px solid var(--rule-soft);
  position: relative;
  overflow: hidden;
}
.calc::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--butter), var(--mint), var(--sky), var(--lavender), var(--pink));
}
.calc h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}
.calc .calc-sub {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.calc .calc-input {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--paper-warm);
  border-radius: 999px;
  padding: 0.4rem 0.6rem 0.4rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1.5px solid transparent;
  transition: border-color .2s;
}
.calc .calc-input:focus-within { border-color: var(--pink); background: white; }
.calc .calc-input label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--t-sm);
  color: var(--ink-soft);
  white-space: nowrap;
}
.calc .calc-input input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  padding: 0.4rem 0.5rem;
  outline: none;
  text-align: right;
  -moz-appearance: textfield;
}
.calc .calc-input input::-webkit-outer-spin-button,
.calc .calc-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc .calc-input span.unit {
  font-family: var(--sans);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  font-weight: 600;
  padding-right: 0.75rem;
}
.calc-out {
  text-align: center;
  min-height: 5rem;
  display: flex; align-items: center; justify-content: center;
}
.calc-out .muted { color: var(--ink-mute); font-family: var(--serif); font-style: italic; }
.calc-rec { animation: calcIn .4s cubic-bezier(.2,.7,.2,1); }
.calc-eyebrow {
  font-family: var(--sans);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--pink);
}
.calc-size {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.015em;
  margin-top: 0.4rem;
  color: var(--ink);
}
.calc-note {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}
@keyframes calcIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- cake builder ---------- */
.builder {
  position: relative;
  background:
    radial-gradient(60% 80% at 50% 0%, var(--pink-soft) 0%, transparent 70%),
    white;
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin: clamp(2rem, 5vw, 3rem) auto;
  max-width: 64rem;
  box-shadow: 0 14px 36px -16px rgba(43,32,37,0.22);
  border: 1px solid var(--rule-soft);
  overflow: hidden;
}
.builder::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg,
    var(--coral), var(--butter), var(--mint),
    var(--sky), var(--lavender), var(--pink));
}
.builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.builder-header { margin-bottom: 1.5rem; }
.builder-header .eyebrow { margin-bottom: 0.6rem; }
.builder-header h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.builder-header h2 em { color: var(--pink); font-style: italic; }
.builder-header p {
  margin-top: 0.5rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* preview side */
.builder-preview {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cake-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(43,32,37,0.12));
}
.cake-body, .filling-body {
  transition: fill .45s cubic-bezier(.2,.7,.2,1);
}

/* recipe summary card */
.builder-recipe {
  margin-top: 1.25rem;
  background: var(--paper-warm);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  width: 100%;
  max-width: 340px;
  border: 1px dashed var(--rule);
  font-family: var(--sans);
  font-size: var(--t-sm);
}
.recipe-line {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.25rem;
}
.recipe-line + .recipe-line { border-top: 1px dotted var(--rule-soft); padding-top: 0.5rem; margin-top: 0.25rem; }
.recipe-label {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--ink-mute);
  flex: 0 0 4rem;
}
.recipe-value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
}

.builder-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.25rem;
  width: 100%;
  max-width: 340px;
}
.builder-actions .btn { flex: 1; justify-content: center; min-width: 0; }

/* controls side */
.builder-controls { display: flex; flex-direction: column; gap: 1.5rem; }
.step {
  position: relative;
  padding-left: 2.5rem;
}
.step-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.step-head h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.step-num {
  position: absolute;
  left: 0; top: 0;
  width: 1.85rem; height: 1.85rem;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  box-shadow: 0 3px 8px -2px rgba(196,103,124,0.5);
}
.step-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.step-input input {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  width: 4.5rem;
  padding: 0.45rem 0.5rem;
  background: var(--paper-warm);
  border: 1.5px solid transparent;
  border-radius: 10px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s;
  -moz-appearance: textfield;
}
.step-input input::-webkit-outer-spin-button,
.step-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step-input input:focus { border-color: var(--pink); background: white; }
.step-input .unit {
  font-family: var(--sans);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--ink-mute);
}
.step-out {
  font-family: var(--serif);
  font-style: italic;
  color: var(--pink-dk);
  font-size: 1.05rem;
  margin-left: auto;
}

/* chips */
.chip-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.4rem;
}
.chip-group { width: 100%; }
.chip-group + .chip-group { margin-top: 0.85rem; }
.chip-group-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--ink-mute);
  margin-bottom: 0.45rem;
}
.cake-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem 0.45rem 0.55rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  background: white;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s cubic-bezier(.2,.7,.2,1);
  line-height: 1;
}
.cake-chip:hover { border-color: var(--pink); transform: translateY(-1px); }
.cake-chip[aria-pressed="true"] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px -3px rgba(43,32,37,0.35);
}
.cake-chip[aria-pressed="true"] .chip-dot { box-shadow: 0 0 0 2px white; }
.chip-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c, var(--pink));
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.08) inset;
  flex-shrink: 0;
}

/* surprise button shake on click */
@keyframes shake {
  0%,100% { transform: rotate(0); }
  25%     { transform: rotate(-8deg); }
  50%     { transform: rotate(8deg); }
  75%     { transform: rotate(-6deg); }
}
.btn[data-surprise]:active span { animation: shake .4s; display: inline-block; }

/* responsive */
@media (max-width: 800px) {
  .builder-grid { grid-template-columns: 1fr; }
  .builder-preview { position: static; order: 2; }
  .builder-controls { order: 1; }
  .cake-svg { max-width: 220px; }
}

/* ---------- JOY easter egg ---------- */
.joy-shower {
  position: fixed; inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}
.joy-banner {
  position: absolute;
  inset: 38% 0 auto 0;
  text-align: center;
  font-family: var(--script);
  color: var(--pink);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1;
  text-shadow: 0 6px 20px rgba(255,255,255,0.9);
  animation: joyBanner 1.8s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes joyBanner {
  0%   { opacity: 0; transform: scale(0.6) rotate(-6deg); }
  20%  { opacity: 1; transform: scale(1.08) rotate(-2deg); }
  60%  { opacity: 1; transform: scale(1) rotate(-2deg); }
  100% { opacity: 0; transform: scale(1.05) rotate(-2deg); }
}
.joy-sprinkle {
  position: absolute;
  top: -40px;
  width: 24px; height: 6px;
  border-radius: 3px;
  animation: joyFall linear forwards;
  transform: rotate(var(--rot, 0deg));
}
@keyframes joyFall {
  to {
    top: 105vh;
    transform: rotate(calc(var(--rot, 0deg) + 540deg));
  }
}
@media (prefers-reduced-motion: reduce) {
  .joy-sprinkle { display: none; }
  .joy-banner { animation: none; opacity: 1; }
}

/* ---------- motion ---------- */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.fade-up.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .fade-up { opacity: 1; transform: none; }
  .polaroid, .case-strip figure { transform: none !important; }
}

/* ---------- print stylesheet (people print menus) ---------- */
@media print {
  :root { --ink: #000; --pink: #000; --paper: #fff; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .masthead, .nav, .foot, .sprinkles, .check-rule, .gallery-filters,
  .skip-link, .open-badge, .calc, .joy-shower, .btn, .hero-tag, .case-strip,
  .feature-img, .polaroid-grid, .pull, .contact-slab, .shop-feature, .essay-portrait,
  .portrait {
    display: none !important;
  }
  .tasting-section {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
    background: #fff !important;
  }
  .tasting-section h3 .chip { background: #fff !important; color: #000 !important; border: 1px solid #000; }
  .tasting-list li::before { color: #000; }
  .tasting-head h1, .tasting-head em { color: #000 !important; font-style: italic; }
  a { color: #000 !important; text-decoration: underline; }
  .eyebrow { background: transparent !important; color: #000 !important; padding: 0; }
  .tasting-head::after {
    content: "Gwendolyn Lee Cakery  ·  7 N. 5th Avenue, Beech Grove, IN  ·  317-760-5833";
    display: block;
    margin-top: 1.5rem;
    font-size: 10pt;
    font-family: serif;
  }
}
