:root{
    --cream:#FBF6F1;
    --cream-deep:#F4ECE3;
    --ink:#3B3335;
    --ink-soft:#6C6265;
    --blush:#F3D8DC;
    --blush-deep:#E7B9C0;
    --sage:#DCE7D6;
    --sage-deep:#B9CDAF;
    --lavender:#E5DFF1;
    --lavender-deep:#C9BCE0;
    --butter:#F6E8C6;
    --butter-deep:#E9CD8C;
    --sky:#DAE6EE;
    --rose:#C4818C;
    --rose-deep:#AD6873;
    --line: rgba(59,51,53,0.10);
    --radius: 22px;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--cream);
    color:var(--ink);
    font-family:'Public Sans', sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  img{max-width:100%;display:block;}

  h1,h2,h3{
    font-family:'Fraunces', serif;
    font-weight:600;
    line-height:1.08;
    margin:0;
    color:var(--ink);
  }

  .eyebrow{
    font-family:'Public Sans', sans-serif;
    font-size:12.5px;
    font-weight:700;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--rose-deep);
    margin:0 0 12px;
  }

  .wrap{
    max-width:1120px;
    margin:0 auto;
    padding:0 24px;
  }

  a{color:inherit;}

  /* ---------- NAV ---------- */
  header.site{
    padding:22px 0 18px;
    position:relative;
    z-index:20;
  }
  .nav-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
  }
  .logo{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
  }
  .logo svg{flex-shrink:0;}
  .logo-word{
    font-family:'Fraunces', serif;
    font-weight:600;
    font-size:22px;
    letter-spacing:-0.01em;
    color:var(--ink);
  }
  nav.links{
    display:flex;
    gap:28px;
    font-size:14.5px;
    font-weight:600;
  }
  nav.links a{
    text-decoration:none;
    color:var(--ink-soft);
    padding-bottom:3px;
    border-bottom:2px solid transparent;
    transition:border-color .15s ease, color .15s ease;
  }
  nav.links a:hover{ color:var(--ink); border-color:var(--rose-deep); }

  /* ---------- SCALLOP DIVIDER (signature element) ---------- */
  .scallop{
    width:100%;
    height:26px;
    display:block;
    margin:0;
  }

  /* ---------- HERO ---------- */
  .hero{
    padding:28px 0 64px;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.05fr 1fr;
    gap:56px;
    align-items:center;
  }
  .hero h1{
    font-size:clamp(38px, 5.6vw, 62px);
    letter-spacing:-0.01em;
  }
  .hero h1 em{
    font-style:italic;
    font-weight:500;
    color:var(--rose-deep);
  }
  .hero p.lede{
    font-size:17.5px;
    color:var(--ink-soft);
    max-width:44ch;
    margin:20px 0 28px;
  }
  .cta-row{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
  }
  .btn{
    display:inline-block;
    font-family:'Public Sans', sans-serif;
    font-weight:700;
    font-size:14.5px;
    letter-spacing:.02em;
    text-decoration:none;
    padding:14px 26px;
    border-radius:100px;
    transition:transform .15s ease, box-shadow .15s ease;
  }
  .btn-primary{
    background:var(--ink);
    color:var(--cream);
  }
  .btn-primary:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(59,51,53,.18); }
  .btn-ghost{
    background:transparent;
    color:var(--ink);
    border:1.5px solid var(--ink);
  }
  .btn-ghost:hover{ transform:translateY(-2px); }

  .hero-photo{
    position:relative;
    border-radius:var(--radius);
    overflow:hidden;
    background:var(--blush);
    aspect-ratio:4/5;
  }
  .hero-photo img{
    width:100%;height:100%;object-fit:cover;
  }
  .hero-photo .tag{
    position:absolute;
    left:16px;
    bottom:16px;
    background:rgba(251,246,241,.92);
    backdrop-filter:blur(4px);
    padding:8px 14px;
    border-radius:100px;
    font-size:12.5px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:var(--ink);
  }

  /* ---------- SWATCH / PREFERENCES STRIP ---------- */
  section.swatches{
    padding:50px 0 56px;
  }
  .swatch-head{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:28px;
  }
  .swatch-head h2{ font-size:clamp(26px,3.4vw,34px); }
  .swatch-head p{ color:var(--ink-soft); max-width:38ch; margin:0; font-size:15px;}
  .chip-row{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
  }
  .chip{
    display:flex;
    align-items:center;
    gap:10px;
    background:var(--cream-deep);
    border:1px solid var(--line);
    padding:10px 18px 10px 12px;
    border-radius:100px;
    font-size:14.5px;
    font-weight:600;
  }
  .dot{
    width:16px;height:16px;border-radius:50%;flex-shrink:0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  }
  .dot.d1{background:var(--blush-deep);}
  .dot.d2{background:var(--rose);}
  .dot.d3{background:#7B5A3C;}
  .dot.d4{background:var(--sage-deep);}

  /* ---------- MENU ---------- */
  section.menu{ padding:48px 0 60px; }
  .menu-head{ margin-bottom:34px; }
  .menu-head h2{ font-size:clamp(28px,3.8vw,38px); }
  .menu-head p{ color:var(--ink-soft); margin-top:12px; max-width:50ch; }

  .menu-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
  }
  .menu-card{
    background:#fff;
    border-radius:var(--radius);
    padding:30px 28px;
    border:1px solid var(--line);
  }
  .menu-card .card-eyebrow{
    display:inline-block;
    font-size:12px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
    padding:5px 12px;
    border-radius:100px;
    margin-bottom:16px;
  }
  .menu-card.cakes .card-eyebrow{ background:var(--blush); color:#7A2F3A;}
  .menu-card.muffins .card-eyebrow{ background:var(--sage); color:#3D5A34;}
  .menu-card h3{ font-size:23px; margin-bottom:4px;}
  .menu-card .sub{ color:var(--ink-soft); font-size:14px; margin-bottom:22px;}

  .price-line{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    gap:12px;
    padding:14px 0;
    border-top:1px solid var(--line);
  }
  .price-line:first-of-type{ border-top:none; }
  .price-line .name{ font-weight:600; font-size:15.5px; }
  .price-line .name span{
    display:block; font-weight:400; color:var(--ink-soft); font-size:13px; margin-top:2px;
  }
  .price-line .amount{
    font-family:'Fraunces', serif; font-weight:600; font-size:19px; white-space:nowrap;
  }

  .note{
    margin-top:22px;
    padding-top:18px;
    border-top:1px dashed var(--line);
    font-size:13.5px;
    color:var(--ink-soft);
  }

  /* ---------- FLAVOURS ---------- */
  section.flavours{ padding:44px 0 60px; }
  .flavour-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:30px;
  }
  .flavour-card{
    border-radius:18px;
    padding:26px 22px;
    min-height:200px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }
  .flavour-card.f1{ background:var(--butter); }
  .flavour-card.f2{ background:var(--blush); }
  .flavour-card.f3{ background:var(--sky); }
  .flavour-num{
    font-family:'Fraunces', serif;
    font-style:italic;
    font-size:14px;
    color:rgba(59,51,53,.55);
  }
  .flavour-card h3{
    font-size:20px;
    margin-top:26px;
    line-height:1.25;
  }

  /* ---------- GALLERY ---------- */
  section.gallery{ padding:20px 0 64px; }
  .gallery-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    grid-auto-rows:130px;
    gap:12px;
    margin-top:30px;
  }
  .gallery-grid img{
    width:100%;height:100%;object-fit:cover;border-radius:14px;
  }
  .g1{grid-column:span 3; grid-row:span 3;}
  .g2{grid-column:span 3; grid-row:span 2;}
  .g3{grid-column:span 3; grid-row:span 2;}
  .g4{grid-column:span 2; grid-row:span 2;}
  .g5{grid-column:span 2; grid-row:span 2;}

  /* ---------- BREAD ---------- */
  section.bread{ padding:20px 0 64px; }
  .bread-grid{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:44px;
    align-items:center;
    background:var(--sage);
    border-radius:28px;
    padding:44px;
  }
  .bread-grid img{ border-radius:18px; }
  .bread-grid h2{ font-size:clamp(26px,3.4vw,32px); margin-bottom:14px;}
  .bread-grid p{ color:#3D4A38; max-width:42ch; }
  .bread-list{
    list-style:none; padding:0; margin:20px 0 0;
    font-size:14.5px; font-weight:600; color:#3D4A38;
  }
  .bread-list li{ padding:7px 0; display:flex; gap:10px; align-items:center;}
  .bread-list li:before{
    content:''; width:6px;height:6px;border-radius:50%;background:#5C7A4E; flex-shrink:0;
  }

  /* ---------- CTA / FOOTER ---------- */
  section.cta-block{ padding:16px 0 70px; }
  .cta-panel{
    background:var(--ink);
    color:var(--cream);
    border-radius:28px;
    padding:56px 44px;
    text-align:center;
  }
  .cta-panel h2{
    color:var(--cream);
    font-size:clamp(28px,4.2vw,40px);
    max-width:18ch;
    margin:0 auto 16px;
  }
  .cta-panel p{
    color:rgba(251,246,241,.72);
    max-width:44ch;
    margin:0 auto 28px;
    font-size:15.5px;
  }
  .cta-panel .btn-primary{
    background:var(--cream);
    color:var(--ink);
  }

  footer.site{
    padding:36px 0 46px;
    border-top:1px solid var(--line);
  }
  .footer-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
  }
  .footer-row .logo-word{ font-size:18px; }
  footer.site p{
    color:var(--ink-soft);
    font-size:13px;
    margin:0;
  }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width:880px){
    .hero-grid{grid-template-columns:1fr; gap:34px;}
    .hero-photo{order:-1; aspect-ratio:16/11;}
    .menu-grid{grid-template-columns:1fr;}
    .flavour-grid{grid-template-columns:1fr; }
    .bread-grid{grid-template-columns:1fr; padding:28px; border-radius:22px;}
    .bread-grid img{order:-1;}
    .gallery-grid{grid-template-columns:repeat(2,1fr); grid-auto-rows:150px;}
    .g1,.g2,.g3,.g4,.g5{grid-column:span 1; grid-row:span 2;}
    nav.links{gap:16px; font-size:13.5px;}
    .cta-panel{padding:40px 22px;}
  }

  @media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto;}
    *{transition:none !important;}
  }

  /* =========================================================
     ORDER FORM — guided steps
  ========================================================= */

  .order-hero{ padding:28px 0 8px; }
  .order-hero h1{ font-size:clamp(32px,4.6vw,46px); }
  .order-hero p.lede{ font-size:16.5px; color:var(--ink-soft); max-width:52ch; margin:16px 0 0; }

  .wizard{ padding:36px 0 90px; }
  .wizard-panel{
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:36px 30px 30px;
    max-width:720px;
    margin:0 auto;
  }

  .progress{
    display:flex; align-items:center; justify-content:center; gap:10px;
    margin-bottom:30px;
  }
  .progress .dotstep{
    width:9px;height:9px;border-radius:50%;
    background:var(--line);
    transition:background .2s ease, transform .2s ease;
  }
  .progress .dotstep.active{ background:var(--rose-deep); transform:scale(1.25); }
  .progress .dotstep.done{ background:var(--sage-deep); }

  .step{ display:none; }
  .step.visible{ display:block; animation:fadein .25s ease; }
  @keyframes fadein{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);} }

  .step-eyebrow{
    font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
    color:var(--rose-deep); margin:0 0 6px;
  }
  .step h2{ font-size:24px; margin-bottom:6px; }
  .step .step-sub{ color:var(--ink-soft); font-size:14.5px; margin:0 0 26px; }

  fieldset{ border:none; margin:0; padding:0; }
  legend{ padding:0; }

  .field{ margin-bottom:22px; }
  .field label.field-label{ display:block; font-weight:700; font-size:13.5px; margin-bottom:9px; }
  .field .hint{ color:var(--ink-soft); font-size:12.5px; margin-top:7px; }

  .field input[type="text"],
  .field input[type="email"],
  .field input[type="tel"],
  .field input[type="date"],
  .field input[type="number"],
  .field textarea{
    width:100%;
    font-family:'Public Sans', sans-serif;
    font-size:15px;
    padding:12px 14px;
    border-radius:12px;
    border:1.5px solid var(--line);
    background:var(--cream-deep);
    color:var(--ink);
  }
  .field input:focus,
  .field textarea:focus{ outline:none; border-color:var(--rose-deep); background:#fff; }
  .field textarea{ min-height:90px; resize:vertical; font-family:'Public Sans', sans-serif; }

  .tile-group{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
  .tile{ position:relative; cursor:pointer; display:block; }
  .tile input{ position:absolute; opacity:0; width:1px; height:1px; }
  .tile .tile-card{
    display:block;
    width:100%;
    border:1.5px solid var(--line);
    border-radius:16px;
    padding:20px 14px;
    text-align:center;
    background:var(--cream-deep);
    transition:border-color .15s ease, background .15s ease, transform .15s ease;
  }
  .tile .tile-card .mark{ width:30px; height:30px; margin:0 auto 10px; border-radius:50%; }
  .tile .m1{ background:linear-gradient(135deg, var(--blush), var(--blush-deep)); }
  .tile .m2{ background:linear-gradient(135deg, var(--butter), var(--butter-deep)); }
  .tile .m3{ background:linear-gradient(135deg, var(--sage), var(--sage-deep)); }
  .tile .tile-card .tile-label{ font-weight:700; font-size:14px; }
  .tile input:checked + .tile-card{
    border-color:var(--rose-deep); background:#fff; transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(59,51,53,.08);
  }
  .tile input:focus-visible + .tile-card{ outline:2px solid var(--rose-deep); outline-offset:2px; }

  .pill-group{ display:flex; flex-wrap:wrap; gap:10px; }
  .pill{ position:relative; cursor:pointer; }
  .pill input{ position:absolute; opacity:0; width:1px; height:1px; }
  .pill .pill-face{
    display:inline-block; padding:10px 18px; border-radius:100px;
    border:1.5px solid var(--line); background:var(--cream-deep);
    font-size:14px; font-weight:600;
    transition:border-color .15s ease, background .15s ease, color .15s ease;
  }
  .pill input:checked + .pill-face{ border-color:var(--rose-deep); background:var(--rose-deep); color:#fff; }
  .pill input:focus-visible + .pill-face{ outline:2px solid var(--rose-deep); outline-offset:2px; }

  .conditional{ display:none; margin-top:14px; }
  .conditional.visible{ display:block; }

  .product-section{ display:none; }
  .product-section.visible{ display:block; animation:fadein .2s ease; }

  .step-nav{
    display:flex; justify-content:space-between; align-items:center;
    margin-top:8px; padding-top:20px; border-top:1px solid var(--line);
  }
  .step-nav .spacer{ flex:1; }

  .btn-plain{
    background:transparent; border:none;
    font-family:'Public Sans', sans-serif; font-weight:700; font-size:14.5px;
    color:var(--ink-soft); cursor:pointer; padding:12px 6px;
  }
  .btn-plain:hover{ color:var(--ink); }

  button.btn-primary{ border:none; cursor:pointer; font-family:'Public Sans', sans-serif; }

  .lead-note{
    display:flex; gap:10px; align-items:flex-start;
    background:var(--butter); border-radius:14px; padding:14px 16px;
    font-size:13.5px; color:#5C4A22; margin-bottom:24px;
  }

  .review-list{ list-style:none; padding:0; margin:0 0 26px; border-top:1px solid var(--line); }
  .review-list li{
    display:flex; justify-content:space-between; gap:16px;
    padding:12px 0; border-bottom:1px solid var(--line); font-size:14.5px;
  }
  .review-list li .r-label{ color:var(--ink-soft); }
  .review-list li .r-value{ font-weight:600; text-align:right; }

  .quote-note{
    font-size:13px; color:var(--ink-soft);
    background:var(--cream-deep); border-radius:12px; padding:14px 16px; margin-bottom:24px;
  }

  .success-panel{ text-align:center; padding:20px 0; }
  .success-panel .mark{
    width:56px;height:56px;border-radius:50%; background:var(--sage);
    margin:0 auto 18px; display:flex; align-items:center; justify-content:center;
  }

  @media (max-width:640px){
    .tile-group{ grid-template-columns:1fr; }
    .wizard-panel{ padding:26px 18px 22px; }

    .step-nav{
      flex-wrap:wrap;
      flex-direction:column-reverse;
      align-items:stretch;
      gap:12px;
    }
    .step-nav .spacer{ display:none; }
    .step-nav .btn{
      width:100%;
      text-align:center;
      padding:14px 20px;
    }
    .step-nav .btn-plain{
      width:100%;
      text-align:center;
      padding:10px 6px;
    }
  }
