/* =========================================================
   Homebird Bakes — site stylesheet
   Built on the Homebird Bakes design system (formerly Baked by Abbie):
   five brand colours, Josefin Sans (500 / 600), circles as the
   signature shape, rounded rectangles from the radius scale,
   no gradients, no decorative shadows.
========================================================= */

:root{
    /* Brand palette (design system) */
    --cream:#FBF5EA;      /* light ground, text on chocolate */
    --caramel:#D0A064;    /* fills and blocks; text on chocolate only */
    --chocolate:#44291A;  /* text, dark ground */
    --toffee:#8C5420;     /* accent text on cream or cream-deep */
    --cocoa:#5E3515;      /* deep accent */

    /* Tints derived from the palette (mixed into cream) */
    --cream-deep:#F5E9D7;     /* caramel 14% on cream: panels, cards */
    --caramel-soft:#EBD5B7;   /* caramel 38% on cream: soft colour blocks */

    /* Lemon tints: the one deliberate step outside the five brand colours,
       used for lemon-flavoured items. Chocolate text reaches 8.8:1 / 9.3:1. */
    --lemon:#E8D08F;          /* lemon cards */
    --lemon-soft:#EBD79B;     /* paler lemon, for quieter accents */

    /* Roles */
    --ink:var(--chocolate);
    --ink-soft:#695244;       /* chocolate 80% on cream: 6.7:1 on cream */
    --accent:var(--toffee);
    --line:rgba(68,41,26,0.14);

    /* Radius scale */
    --radius-sm:10px;
    --radius-md:16px;
    --radius:20px;
    --radius-lg:28px;
    --radius-pill:100px;

    --font:'Josefin Sans', system-ui, sans-serif;
    /* Josefin Sans sits its capitals about 0.16em above the middle of the line box,
       so labels in pills and buttons look high. Every pill/button adds this to its
       top padding and takes it off the bottom, keeping the same overall height. */
    --optical:.16em;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--cream);
    color:var(--ink);
    font-family:var(--font);
    font-weight:500;
    font-size:17px;          /* Josefin is light and wide-set: body 17px minimum */
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  img{max-width:100%;height:auto;display:block;}

  h1,h2,h3{
    font-family:var(--font);
    font-weight:600;
    line-height:1.12;
    margin:0;
    color:var(--ink);
  }
  em{ font-style:normal; }   /* only upright weights are loaded; emphasis is colour */
  h1 em, h2 em{ color:var(--accent); font-weight:600; }

  .eyebrow{
    font-family:var(--font);
    font-size:13px;
    font-weight:600;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--accent);
    margin:0 0 12px;
  }

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

  a{color:inherit;}
  :focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

  /* ---------- 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;
  }
  /* Horizontal lockup: the house mark stays >= 32px (system minimum).
     Header at 44px so the spaced capitals read clearly; footer at 40px. */
  .logo img,
  .footer-logo{
    height:40px;
    width:auto;
    display:block;
  }
  .logo img{ height:44px; }
  .footer-logo{ align-self:flex-start; }

  nav.links{
    display:flex;
    /* line the plain links up with the text inside the Order pill */
    align-items:baseline;
    gap:28px;
    font-size:15px;
    font-weight:600;
    letter-spacing:.02em;
  }
  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(--accent); }
  nav.links a[aria-current="page"]{ color:var(--ink); border-color:var(--accent); }
  nav.links a.nav-cta{
    background:var(--chocolate);
    color:var(--cream);
    padding:calc(8px + var(--optical)) 20px calc(8px - var(--optical));
    border-bottom:none;
    border-radius:var(--radius-pill);
  }
  nav.links a.nav-cta:hover{ background:var(--toffee); color:var(--cream); }
  nav.links a.nav-cta[aria-current="page"]{ background:var(--toffee); color:var(--cream); }

  /* ---------- SCALLOP DIVIDER (retired) ----------
     The brand's only signature shape is the circle, so the old
     piped-edge divider is hidden. Remove the <svg class="scallop">
     elements from the HTML when convenient. */
  .scallop{ display:none; }

  /* ---------- 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.005em;
  }
  .hero p.lede{
    font-size:19px;
    color:var(--ink-soft);
    max-width:44ch;
    margin:20px 0 28px;
  }
  .cta-row{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    font-family:var(--font);
    font-weight:600;
    font-size:16px;
    letter-spacing:.04em;
    text-decoration:none;
    padding:calc(14px + var(--optical)) 28px calc(14px - var(--optical));
    /* transparent border so solid and outlined buttons are the same height side by side */
    border:1.5px solid transparent;
    border-radius:var(--radius-pill);
    transition:transform .15s ease, background .15s ease, color .15s ease;
  }
  .btn-primary{
    background:var(--chocolate);
    color:var(--cream);
  }
  .btn-primary:hover{ transform:translateY(-2px); background:var(--toffee); }
  .btn-ghost{
    background:transparent;
    color:var(--ink);
    border:1.5px solid var(--ink);
  }
  .btn-ghost:hover{ transform:translateY(-2px); background:var(--cream-deep); }

  .hero-photo{
    position:relative;
    border-radius:var(--radius);
    overflow:hidden;
    background:var(--caramel-soft);
    aspect-ratio:1/1;
  }
  .hero-photo img{
    width:100%;height:100%;object-fit:cover;object-position:48% center;
  }
  .hero-photo .tag{
    position:absolute;
    left:16px;
    bottom:16px;
    background:var(--cream);
    padding:calc(8px + var(--optical)) 16px calc(8px - var(--optical));
    border-radius:var(--radius-pill);
    font-size:13px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--ink);
  }

  /* ---------- 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-head p.eyebrow{ color:var(--accent); margin:0 0 12px; max-width:none; }
  .menu-head p a{ color:var(--accent); font-weight:600; }
  /* Price card above a flavour grid: always the grid's full width, so its edges
     line up with the flavour cards beneath. From 881px it splits into the same
     three columns as .flavour-grid (see the block after FLAVOURS). */
  .price-card{ margin-bottom:8px; }
  .menu-card.price-card{ border-radius:var(--radius-md); padding:26px 22px; }
  .small-print{ font-size:14px; color:var(--ink-soft); margin:22px 0 0; max-width:62ch; }
  section.allergens{ padding:0 0 40px; }
  .note-panel{
    background:var(--cream-deep);
    border:1px solid var(--line);
    border-radius:var(--radius-md);
    padding:26px 28px;
  }
  .note-panel h3{ font-size:21px; margin-bottom:8px; }
  .note-panel p{ margin:0; color:var(--ink-soft); font-size:15.5px; max-width:70ch; }

  .menu-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
  }
  .menu-card{
    background:var(--cream-deep);
    border-radius:var(--radius);
    padding:30px 28px;
    border:1px solid var(--line);
  }
  .menu-card .card-eyebrow{
    display:inline-block;
    font-size:13px;
    font-weight:600;
    letter-spacing:.1em;
    text-transform:uppercase;
    padding:calc(5px + var(--optical)) 14px calc(5px - var(--optical));
    border-radius:var(--radius-pill);
    margin-bottom:16px;
  }
  .menu-card.cakes .card-eyebrow{ background:var(--caramel); color:var(--chocolate); }
  .menu-card.cupcakes .card-eyebrow{ background:var(--chocolate); color:var(--cream); }
  .menu-card h3{ font-size:24px; margin-bottom:4px;}
  .menu-card .sub{ color:var(--ink-soft); font-size:15px; 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:17px; }
  .price-line .name span{
    display:block; font-weight:500; color:var(--ink-soft); font-size:14px; margin-top:2px;
  }
  .price-line .amount{
    font-family:var(--font); font-weight:600; font-size:20px; white-space:nowrap;
  }

  .note{
    margin-top:22px;
    padding-top:18px;
    border-top:1px dashed var(--line);
    font-size:14px;
    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:var(--radius-md);
    padding:26px 22px;
    min-height:200px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    border:1px solid transparent;
  }
  .flavour-card.f1{ background:var(--chocolate); }
  .flavour-card.f2{ background:var(--cream-deep); border:1px solid var(--line); }
  .flavour-card.f3{ background:var(--lemon); }
  .flavour-card.f4{ background:var(--caramel); }
  .flavour-card.f5{ background:var(--caramel-soft); }
  .flavour-card.f1 .flavour-name,
  .flavour-card.f1 .flavour-desc{ color:var(--cream); }
  .flavour-card.f4 .flavour-name,
  .flavour-card.f4 .flavour-desc{ color:var(--chocolate); }
  .flavour-name{
    font-size:25px;
    line-height:1.15;
    margin:0;
  }
  .flavour-desc{
    font-family:var(--font);
    font-weight:500;
    font-size:16px;
    line-height:1.45;
    color:var(--chocolate);
    margin:26px 0 0;
  }
  /* Price card on desktop: three columns matching .flavour-grid (same gap,
     same 22px inner padding), so the pill and each box price sit directly
     above a flavour card. Column 1 holds the pill with the note beneath it;
     thin rules sit in the middle of each gap. */
  @media (min-width:881px){
    .menu-card.price-card{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      grid-template-rows:auto 1fr;
      column-gap:20px;
      padding:0;
    }
    .price-card .card-eyebrow{
      grid-column:1; grid-row:1;
      justify-self:start;
      margin:26px 0 0 22px;
    }
    .price-card .note{
      grid-column:1; grid-row:2;
      align-self:end;
      margin:0; padding:14px 22px 26px;
      border-top:none;
    }
    .price-card .price-line{
      grid-row:1 / span 2;
      position:relative;
      border-top:none;
      padding:26px 22px;
    }
    .price-card .price-line:nth-of-type(1){ grid-column:2; }
    .price-card .price-line:nth-of-type(2){ grid-column:3; }
    .price-card .price-line::before{
      content:""; position:absolute;
      left:-10.5px; top:22px; bottom:22px; width:1px;
      background:var(--line);
    }
  }

  /* "A different flavour?" card: the open slot at the end of a flavour grid.
     Page-cream ground with a dashed toffee edge, the envelope icon in the
     brand circle, and the whole card is the email link. */
  a.flavour-card.f-ask{
    position:relative;
    background:transparent;
    border:1.5px dashed var(--toffee);
    color:var(--chocolate);
    text-decoration:none;
    transition:transform .15s ease, background .15s ease;
  }
  a.flavour-card.f-ask:hover{ transform:translateY(-3px); background:var(--cream-deep); }
  .f-ask .flavour-name{ padding-right:64px; }
  .f-ask .flavour-desc{ margin-top:16px; }
  .f-ask .ask-icon{
    position:absolute; top:18px; right:18px;
    width:52px; height:52px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    background:var(--caramel-soft);
    color:var(--chocolate);
  }
  .f-ask .ask-icon .icon{ width:26px; height:26px; }
  .f-ask .ask-link{
    margin:14px 0 0;
    font-weight:600;
    font-size:16px;
    color:var(--toffee);
  }
  a.flavour-card.f-ask:hover .ask-link{ color:var(--chocolate); }
  /* Three narrow columns: the title would wrap round the icon and stretch
     the row, so the icon steps out and the title takes the full width. */
  @media (min-width:881px) and (max-width:1099px){
    .f-ask .ask-icon{ display:none; }
    .f-ask .flavour-name{ padding-right:0; }
  }

  /* ---------- INNER PAGE HEADERS ---------- */
  .page-hero{ padding:28px 0 36px; }
  .page-hero h1{ font-size:clamp(34px,5vw,52px); }
  .page-hero p.lede{ font-size:18px; color:var(--ink-soft); max-width:52ch; margin:16px 0 0; }

  /* ---------- GALLERY (full page: masonry, any number of photos) ---------- */
  .masonry{
    column-count:3;
    column-gap:14px;
    padding:8px 0 64px;
  }
  .masonry figure{
    margin:0 0 14px;
    break-inside:avoid;
  }
  .masonry img{
    width:100%;
    height:auto;
    display:block;
    border-radius:var(--radius-sm);
    background:var(--cream-deep);
  }

  /* ---------- HOME: highlights, gallery teaser, about teaser ---------- */
  section.highlights{ padding:48px 0 56px; }
  .highlight-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:30px;
  }
  /* "What I bake" cards share the Menu page card language:
     same radius and padding as .flavour-card, tinted grounds,
     a pill label like .card-eyebrow, and the same name/description scale. */
  a.highlight{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    min-height:220px;
    padding:26px 22px;
    border-radius:var(--radius-md);
    text-decoration:none;
    transition:transform .15s ease;
  }
  a.highlight:hover{ transform:translateY(-3px); }
  a.highlight{ position:relative; }
  /* Icon from the Homebird icon set, in the brand circle */
  .highlight .hl-icon{
    position:absolute; top:18px; right:18px;
    width:56px; height:56px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    color:var(--chocolate);
  }
  .highlight .hl-icon .icon{ width:28px; height:28px; }
  a.highlight.hl-cakes .hl-icon{ background:var(--cream); }
  a.highlight.hl-cupcakes .hl-icon{ background:var(--caramel-soft); }
  a.highlight.hl-cakes{ background:var(--caramel-soft); border:1px solid transparent; }
  a.highlight.hl-cupcakes{ background:var(--cream-deep); border:1px solid var(--line); }
  .highlight .hl-tag{
    align-self:flex-start;
    font-size:13px;
    font-weight:600;
    letter-spacing:.1em;
    text-transform:uppercase;
    padding:calc(5px + var(--optical)) 14px calc(5px - var(--optical));
    border-radius:var(--radius-pill);
  }
  a.highlight.hl-cakes .hl-tag{ background:var(--caramel); color:var(--chocolate); }
  a.highlight.hl-cupcakes .hl-tag{ background:var(--chocolate); color:var(--cream); }
  .highlight > div{ flex:1; display:flex; flex-direction:column; }
  .highlight h3{ font-size:25px; line-height:1.15; margin:26px 0 8px; }
  .highlight p{ margin:0; font-size:16px; line-height:1.45; color:var(--chocolate); }
  .highlight .hl-link{ margin-top:auto; padding-top:18px; font-weight:600; font-size:16px; }

  section.teaser{ padding:20px 0 56px; }
  .teaser-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    margin-top:30px;
  }
  .teaser-grid a{
    display:block;
    aspect-ratio:4/5;
    border-radius:var(--radius-sm);
    overflow:hidden;
    background:var(--cream-deep);
  }
  .teaser-grid img{
    width:100%; height:100%; object-fit:cover;
    transition:transform .3s ease;
  }
  .teaser-grid a:hover img{ transform:scale(1.04); }
  .section-link{
    display:inline-block;
    margin-top:24px;
    font-weight:600;
    font-size:16px;
    letter-spacing:.02em;
    color:var(--accent);
    text-decoration:none;
    border-bottom:2px solid currentColor;
    padding-bottom:2px;
  }
  .section-link:hover{ color:var(--ink); }

  section.about-teaser{ padding:20px 0 64px; }
  .about-teaser-grid{
    display:grid;
    grid-template-columns:1fr 1.1fr;
    gap:44px;
    align-items:center;
    background:var(--caramel);
    border-radius:var(--radius-lg);
    padding:44px;
  }
  .about-teaser-grid img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:var(--radius-md);
  }
  .about-teaser-grid h2{ font-size:clamp(26px,3.4vw,34px); margin-bottom:14px; }
  .about-teaser-grid p{ color:var(--chocolate); max-width:46ch; margin:0 0 14px; }
  /* toffee text does not reach 4.5:1 on caramel, so go chocolate here */
  .about-teaser-grid .eyebrow,
  .about-teaser-grid .section-link{ color:var(--chocolate); }
  .about-teaser-grid .section-link:hover{ color:var(--cocoa); }
  /* keep the face in frame when the photo is cropped square or 16:11 */
  .about-teaser-grid img.baker-photo{ object-position:58% 22%; }

  /* ---------- ABOUT PAGE ---------- */
  /* Source order is copy, photos, buttons (the order on phones).
     On wide screens the photos take the right column and the buttons sit under the copy. */
  .about-grid{
    display:grid;
    grid-template-columns:1.15fr 1fr;
    grid-template-areas:"copy photos" "cta photos";
    grid-template-rows:auto 1fr;
    column-gap:56px;
    row-gap:0;
    align-items:start;
    /* top/bottom only: this element is also a .wrap, so keep its side gutters */
    padding-top:12px;
    padding-bottom:64px;
  }
  .about-copy p{
    font-size:18px;
    color:var(--ink-soft);
    max-width:56ch;
    margin:0 0 20px;
  }
  .about-copy p.pull{
    font-family:var(--font);
    font-weight:600;
    font-size:clamp(24px,3vw,32px);
    line-height:1.25;
    color:var(--ink);
    margin-bottom:22px;
  }
  .about-copy{ grid-area:copy; }
  .about-photos{ grid-area:photos; display:grid; gap:14px; }
  .about-cta{ grid-area:cta; margin-top:8px; }
  .about-photos img{ width:100%; height:auto; border-radius:var(--radius-md); }

  /* Childhood snapshot set into the About copy, beside the paragraph it illustrates.
     Same pill caption as the home hero's "Recent bake" tag. */
  .about-snapshot{ float:right; width:min(42%, 236px); margin:6px 0 18px 28px; position:relative; }
  .about-snapshot img{ width:100%; height:auto; display:block; border-radius:var(--radius-md); }
  .about-snapshot figcaption{
    position:absolute; left:10px; bottom:10px; width:max-content; max-width:calc(100% - 20px);
    background:var(--cream); color:var(--chocolate); padding:calc(6px + var(--optical)) 12px calc(6px - var(--optical)); border-radius:var(--radius-pill);
    font-size:13px; font-weight:600; line-height:1.3;
  }
  .about-copy::after{ content:""; display:block; clear:both; }

  /* ---------- CTA / FOOTER ---------- */
  section.cta-block{ padding:16px 0 70px; }
  .cta-panel{
    background:var(--chocolate);
    color:var(--cream);
    border-radius:var(--radius-lg);
    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,245,234,.82);
    max-width:44ch;
    margin:0 auto 28px;
    font-size:17px;
  }
  .cta-panel .btn-primary{
    background:var(--caramel);
    color:var(--chocolate);
  }
  .cta-panel .btn-primary:hover{ background:var(--cream); }
  .cta-panel .btn-ghost{
    border-color:rgba(251,245,234,.5);
    color:var(--cream);
  }
  .cta-panel .btn-ghost:hover{ background:rgba(251,245,234,.1); }
  .cta-panel .cta-row{ justify-content:center; }

  /* Keep the email address on one line rather than breaking at its hyphen */
  .email-addr{ white-space:nowrap; }
  /* Very narrow phones: the address can't fit in the button, so it just says
     "Or email me" (the address is still in the footer) */
  @media (max-width:359px){
    .email-at{ display:none; }
  }
  @media (min-width:360px) and (max-width:374px){
    .cta-panel .btn-ghost{ padding-left:18px; padding-right:18px; }
  }

  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.site p{
    color:var(--ink-soft);
    font-size:14px;
    margin:0;
  }
  .footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:8px 22px;
    font-size:15px;
    font-weight:600;
  }
  .footer-links a{ color:var(--ink-soft); text-decoration:none; }
  .footer-links a:hover{ color:var(--ink); text-decoration:underline; }
  .footer-brand{ display:flex; flex-direction:column; gap:6px; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width:880px){
    .logo img{ height:36px; }
    .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; }
    .masonry{column-count:2;}
    .highlight-grid{grid-template-columns:1fr;}
    a.highlight{min-height:0;}
    .teaser-grid{grid-template-columns:repeat(2,1fr);}
    .about-teaser-grid{grid-template-columns:1fr; padding:28px; border-radius:var(--radius);}
    .about-teaser-grid img{order:-1; aspect-ratio:16/11;}
    .about-grid{grid-template-columns:1fr; grid-template-areas:"copy" "photos" "cta"; grid-template-rows:auto; row-gap:28px;}
    /* after the copy, the two cakes sit side by side as square tiles */
    .about-photos{grid-template-columns:1fr 1fr; gap:10px;}
    .about-photos img{aspect-ratio:1/1; height:auto; object-fit:cover;}
    .about-cta{margin-top:0;}
    nav.links{gap:16px; font-size:14px; align-items:baseline;}
    .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:18px; color:var(--ink-soft); max-width:52ch; margin:16px 0 0; }

  .wizard{ padding:36px 0 90px; }
  .wizard-panel{
    background:var(--cream-deep);
    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:10px;height:10px;border-radius:50%;
    background:var(--line);
    transition:background .2s ease, transform .2s ease;
  }
  .progress .dotstep.active{ background:var(--toffee); transform:scale(1.25); }
  .progress .dotstep.done{ background:var(--caramel); }

  .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:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
    color:var(--accent); margin:0 0 6px;
  }
  .step h2{ font-size:25px; margin-bottom:6px; }
  .step .step-sub{ color:var(--ink-soft); font-size:16px; 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:600; font-size:15px; margin-bottom:9px; }
  .field .hint{ color:var(--ink-soft); font-size:13.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:var(--font);
    font-weight:500;
    font-size:17px;
    padding:12px 14px;
    border-radius:var(--radius-sm);
    border:1.5px solid var(--line);
    background:var(--cream);
    color:var(--ink);
  }
  .field input:focus,
  .field textarea:focus{ outline:none; border-color:var(--toffee); }
  .field textarea{ min-height:90px; resize:vertical; font-family:var(--font); }

  .tile-group{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
  .email-cta{ font-size:15px; color:var(--ink-soft); margin:18px 0 8px; }
  .email-cta a{ color:var(--accent); font-weight:600; }
  .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:var(--radius-md);
    padding:20px 14px;
    text-align:center;
    background:transparent;
    transition:border-color .15s ease, background .15s ease, transform .15s ease;
  }
  .tile:hover .tile-card{ border-color:var(--caramel); }
  /* circle marks: solid brand fills, no gradients */
  .tile .tile-card .mark{ width:30px; height:30px; margin:0 auto 10px; border-radius:50%; }
  .tile .m1{ background:var(--caramel); }
  .tile .m2{ background:var(--chocolate); }
  .tile .m3{ background:var(--toffee); }
  .tile .tile-card .tile-label{ font-weight:600; font-size:16px; }
  .tile input:checked + .tile-card{
    border-color:var(--toffee); background:var(--cream); transform:translateY(-2px);
  }
  .tile input:focus-visible + .tile-card{ outline:2px solid var(--toffee); 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:calc(10px + var(--optical)) 18px calc(10px - var(--optical)); border-radius:var(--radius-pill);
    border:1.5px solid var(--line); background:var(--cream);
    font-size:15px; font-weight:600;
    transition:border-color .15s ease, background .15s ease, color .15s ease;
  }
  .pill:hover .pill-face{ border-color:var(--caramel); }
  .pill input:checked + .pill-face{ border-color:var(--toffee); background:var(--toffee); color:var(--cream); }
  .pill input:focus-visible + .pill-face{ outline:2px solid var(--toffee); 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:var(--font); font-weight:600; font-size:16px;
    color:var(--ink-soft); cursor:pointer; padding:12px 6px;
  }
  .btn-plain:hover{ color:var(--ink); }

  button.btn-primary{ border:1.5px solid transparent; cursor:pointer; font-family:var(--font); }

  .lead-note{
    display:flex; gap:12px; align-items:flex-start;
    background:var(--caramel-soft); border-radius:var(--radius-sm); padding:14px 16px;
    font-size:15px; color:var(--chocolate); margin-bottom:24px;
  }
  .lead-note .icon{ width:22px; height:22px; flex-shrink:0; color:var(--toffee); margin-top:1px; }

  .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:16px;
  }
  .review-list li .r-label{ color:var(--ink-soft); }
  .review-list li .r-value{ font-weight:600; text-align:right; }

  .quote-note{
    font-size:14px; color:var(--ink-soft);
    background:var(--cream); border-radius:var(--radius-sm); 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(--caramel);
    margin:0 auto 18px; display:flex; align-items:center; justify-content:center;
  }

  /* ---------- THANK-YOU PAGE + SEND ERROR ---------- */
  .form-error{
    background:var(--caramel-soft);
    border-radius:var(--radius-sm);
    padding:14px 16px;
    margin:0 0 20px;
    font-size:15px;
    color:var(--chocolate);
  }
  .form-error a{ color:var(--chocolate); font-weight:600; }

  .thanks .success-panel{ padding:12px 0 4px; }
  .thanks .success-panel .mark{ margin-bottom:20px; }
  .thanks .success-panel h1{ font-size:clamp(30px,4.6vw,42px); margin:4px 0 14px; }
  .thanks .lede{ color:var(--ink-soft); font-size:18px; max-width:46ch; margin:0 auto 30px; }
  .next-steps{
    list-style:none; padding:0; margin:0 auto 26px; max-width:46ch; text-align:left;
  }
  .next-steps li{
    display:flex; gap:14px; align-items:flex-start;
    padding:12px 0; border-top:1px solid var(--line); font-size:16.5px;
  }
  .next-steps li:last-child{ border-bottom:1px solid var(--line); }
  .next-steps .n{
    flex:0 0 28px; height:28px; border-radius:50%;
    background:var(--chocolate); color:var(--cream);
    font-weight:600; font-size:14px;
    display:flex; align-items:center; justify-content:center;
  }
  .thanks .small-print{ margin:0 auto; max-width:46ch; }
  .thanks .small-print a{ color:var(--accent); font-weight:600; }
  .signoff{ font-weight:600; font-size:20px; margin:18px 0 6px; }
  .thanks .cta-row{ justify-content:center; margin-top:26px; }

  @media (max-width:640px){
    .about-snapshot{ float:none; width:72%; margin:4px auto 22px; }
    .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:calc(14px + var(--optical)) 20px calc(14px - var(--optical));
    }
    .step-nav .btn-plain{
      width:100%;
      text-align:center;
      padding:10px 6px;
    }
  }

  /* ---------- SEASONAL ----------
     One season at a time. The season's class goes on <body> of the pages
     that show seasonal pieces (index.html and seasonal.html):
     season-christmas, season-valentines or season-easter.
     Each sets four colours:
       --season-strong     ribbon, card tag
       --season-on-strong  text on the strong colour
       --season-soft       hero, card and photo grounds
       --season-accent     seasonal text and icons on cream or soft
     Easter's lemon is too pale for text, so its accent is toffee.
     Seals: images/seasonal/seal-<season>.svg. Motifs: star + snowflake
     (Christmas), heart (Valentine's), egg + nest (Easter). */
  .season-christmas{ --season-strong:#3E5C48; --season-on-strong:var(--cream); --season-soft:#DCE7D6; --season-accent:#3E5C48; }
  .season-valentines{ --season-strong:#A3434F; --season-on-strong:var(--cream); --season-soft:#F3D8DC; --season-accent:#A3434F; }
  .season-easter{ --season-strong:#E8D08F; --season-on-strong:var(--chocolate); --season-soft:#F5ECCD; --season-accent:var(--toffee); }

  nav.links a.nav-season:hover,
  nav.links a.nav-season[aria-current="page"]{ border-color:var(--season-accent, var(--accent)); }

  /* Home: the season-coloured strip above the header */
  .season-ribbon{
    display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:6px 14px;
    padding:12px 24px;
    background:var(--season-strong); color:var(--season-on-strong);
    text-decoration:none; text-align:center;
    font-size:15px; font-weight:600; letter-spacing:.02em; line-height:1.4;
  }
  .season-ribbon span{ padding-top:var(--optical); }
  .season-ribbon .icon{ width:18px; height:18px; flex-shrink:0; }
  .season-ribbon .ribbon-link{ border-bottom:2px solid currentColor; }
  .season-ribbon:hover .ribbon-link{ border-bottom-color:transparent; }

  /* Home: third "What I bake" card */
  .highlight-grid.three{ grid-template-columns:repeat(3,1fr); }
  a.highlight.hl-season{ background:var(--season-soft); border:1px solid transparent; }
  a.highlight.hl-season .hl-tag{ background:var(--season-strong); color:var(--season-on-strong); }
  a.highlight.hl-season .hl-icon{ background:var(--cream); color:var(--season-accent); }

  /* Seasonal page (layout C: order window first) */
  .season-hero{
    margin-top:8px;
    background:var(--season-soft);
    border-radius:var(--radius-lg);
    padding:clamp(28px,5vw,56px);
    display:flex; flex-direction:column; align-items:center; gap:18px;
    text-align:center;
  }
  .season-hero .season-seal{ width:150px; height:150px; display:block; }
  .season-hero .eyebrow{ color:var(--season-accent); margin:0; }
  .season-hero h1{ font-size:clamp(36px,5.2vw,56px); line-height:1.08; }
  .season-hero h1 em{ color:var(--season-accent); }
  .season-hero .lede{ margin:0; max-width:52ch; font-size:19px; color:var(--ink-soft); }
  .season-hero .btn{ margin-top:8px; }
  .date-cards{ display:flex; flex-wrap:wrap; gap:16px; width:100%; margin-top:10px; }
  .date-card{
    flex:1 1 220px;
    background:var(--cream);
    border-radius:var(--radius);
    padding:24px;
    display:flex; flex-direction:column; align-items:center; gap:10px;
  }
  .date-card .icon{ width:28px; height:28px; color:var(--season-accent); }
  .date-card .label{ margin:0; font-size:13px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); }
  .date-card .value{ margin:0; font-size:24px; font-weight:600; line-height:1.3; }

  .motif-strip{ display:flex; justify-content:center; gap:22px; padding:34px 0; opacity:.85; overflow:hidden; color:var(--season-accent); }
  .motif-strip .icon{ width:20px; height:20px; flex-shrink:0; }

  section.season-menu{ padding:0 0 56px; }
  .season-menu-grid{ display:flex; flex-wrap:wrap; gap:32px; align-items:flex-start; }
  .season-menu-list{ flex:1 1 560px; }
  .season-menu h2{ font-size:clamp(28px,3.8vw,38px); margin:0 0 6px; }
  .season-menu ul{ list-style:none; margin:0; padding:0; }
  .season-item{
    display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:8px 24px;
    padding:22px 0;
    border-bottom:1px solid var(--line);
  }
  .season-item:last-child{ border-bottom:none; }
  .season-item > div{ flex:1 1 420px; }
  .season-item .item-type{ margin:0 0 6px; font-size:13px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--season-accent); }
  .season-item h3{ font-size:24px; line-height:1.3; margin:0 0 4px; }
  .season-item p{ margin:0; color:var(--ink-soft); }
  .season-item .price{ font-size:22px; font-weight:600; }
  /* A line of subtext under the menu list, e.g. decoration and dietary notes */
  .season-note{ margin-top:4px; padding-top:18px; border-top:1px dashed var(--line); }
  .season-note p{ margin:0; max-width:70ch; font-size:15.5px; color:var(--ink-soft); }
  /* Placeholder until there's a photo: put an <img> inside instead */
  .season-photo{
    flex:1 1 300px; max-width:380px;
    aspect-ratio:4/5;
    border-radius:var(--radius-md);
    background:var(--season-soft);
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px;
    overflow:hidden;
    color:var(--season-accent);
  }
  .season-photo .icon{ width:56px; height:56px; }
  .season-photo span{ font-size:13px; font-weight:600; letter-spacing:.04em; color:var(--ink-soft); }
  .season-photo img{ width:100%; height:100%; object-fit:cover; display:block; }

  .cta-motifs{ display:flex; justify-content:center; gap:14px; margin-bottom:18px; color:var(--caramel); }

  /* Seasonal "Ready to order?" panel: the season's strong colour instead of chocolate */
  .cta-panel.cta-season{ background:var(--season-strong); color:var(--season-on-strong); }
  .cta-season h2{ color:var(--season-on-strong); }
  .cta-season p{ color:var(--season-on-strong); opacity:.92; }
  .cta-season .btn-primary{ background:var(--season-on-strong); color:var(--season-strong); }
  .cta-season .btn-primary:hover{ background:var(--caramel); color:var(--chocolate); }
  .cta-season .btn-ghost{ color:var(--season-on-strong); border-color:var(--season-on-strong); }
  .cta-season .btn-ghost:hover{ background:rgba(251,245,234,.12); }

  /* Order form, seasonal product: tile on the season's soft ground, its pills,
     and the step 3 lead note */
  .tile-group.three{ grid-template-columns:repeat(3,1fr); }
  .tile.tile-season .tile-card{ background:var(--season-soft); border-color:transparent; }
  .tile.tile-season:hover .tile-card{ border-color:var(--season-strong); }
  .tile.tile-season input:checked + .tile-card{ border-color:var(--season-strong); background:var(--season-soft); }
  .tile.tile-season input:focus-visible + .tile-card{ outline-color:var(--season-strong); }
  .tile .tile-label .icon{ width:18px; height:18px; margin:-3px 7px 0 0; vertical-align:middle; color:var(--season-accent); }
  .section-season .pill:hover .pill-face{ border-color:var(--season-strong); }
  .section-season .pill input:checked + .pill-face{ border-color:var(--season-strong); background:var(--season-strong); color:var(--season-on-strong); }
  .lead-note.lead-season{ background:var(--season-soft); }
  .lead-note.lead-season .icon{ color:var(--season-accent); }
  .lead-note[hidden]{ display:none; }
  .cta-motifs .icon{ width:22px; height:22px; }

  /* Mid widths: three cards get too narrow, so the seasonal one runs full width below */
  @media (min-width:881px) and (max-width:1023px){
    .highlight-grid.three{ grid-template-columns:repeat(2,1fr); }
    .highlight-grid.three .hl-season{ grid-column:1 / -1; min-height:0; }
  }
  @media (max-width:880px){
    .highlight-grid.three{ grid-template-columns:1fr; }
  }
  @media (max-width:640px){
    /* the star would sit on a line of its own above the text */
    .season-ribbon .icon{ display:none; }
    /* 7 motifs fit a phone; 11 would be clipped at both edges */
    .motif-strip .icon:nth-child(n+8){ display:none; }
    /* order form: the three product tiles stack, like the two did */
    .tile-group.three{ grid-template-columns:1fr; }
  }
  /* Small phones: five nav items. Spread them across the full width under the
     logo, and let them wrap on the very smallest screens rather than overflow. */
  @media (max-width:420px){
    nav.links{ width:100%; justify-content:space-between; flex-wrap:wrap; gap:10px 8px; }
    nav.links a.nav-cta{ padding-left:16px; padding-right:16px; }
  }
