:root{--cream:#fffaf3;--paper:#fff;--ink:#302820;--muted:#746a61;--orange:#e97735;--orange2:#f6a15c;--green:#477a4a;--line:#eadfd3;--shadow:0 18px 45px rgba(80,52,29,.12)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:"DM Sans",system-ui,sans-serif;line-height:1.6}img{max-width:100%;display:block}a{color:inherit}.site-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:14px clamp(20px,5vw,72px);background:rgba(255,250,243,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(234,223,211,.8)}.brand{text-decoration:none;display:flex;align-items:baseline;gap:8px}.brand-mark{font-family:Pacifico,cursive;font-size:1.65rem;color:var(--orange)}.brand-by{font-weight:700;color:var(--green)}.nav{display:flex;align-items:center;gap:28px}.nav a{text-decoration:none;font-weight:600}.nav-order{background:var(--orange);color:#fff;padding:9px 16px;border-radius:999px}.nav-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 13px;font:inherit}.hero{min-height:78vh;display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:clamp(30px,6vw,90px);padding:clamp(56px,8vw,110px) clamp(20px,7vw,110px)}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;font-weight:800;color:var(--green);margin:0 0 10px}.hero h1,.section h2{font-size:clamp(2.5rem,6vw,5.4rem);line-height:1.02;letter-spacing:-.055em;margin:0}.hero h1 span{font-family:Pacifico,cursive;font-weight:400;color:var(--orange);letter-spacing:0}.lede{font-size:clamp(1.05rem,1.5vw,1.25rem);max-width:680px;color:var(--muted);margin:25px 0}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;justify-content:center;align-items:center;border-radius:999px;padding:14px 22px;font-weight:800;text-decoration:none;border:0;font:inherit;cursor:pointer}.btn.primary{background:var(--orange);color:#fff;box-shadow:0 8px 24px rgba(233,119,53,.25)}.btn.secondary{background:#fff;border:1px solid var(--line)}.pickup-note{font-size:.9rem;color:var(--muted);margin-top:18px}.hero-photo{position:relative}.hero-photo:before{content:"";position:absolute;inset:-20px 20px 20px -20px;background:#f6d9bc;border-radius:36px;transform:rotate(-3deg)}.hero-photo img{position:relative;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:32px;box-shadow:var(--shadow)}.section{padding:clamp(70px,9vw,120px) clamp(20px,7vw,110px)}.section-heading{max-width:850px;margin-bottom:42px}.section h2{font-size:clamp(2.25rem,4.5vw,4rem)}.section-heading>p:last-child{font-size:1.08rem;color:var(--muted);max-width:720px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 8px 28px rgba(80,52,29,.06)}.card img{width:100%;aspect-ratio:4/3;object-fit:cover}.card>div{padding:24px}.card h3{font-size:1.35rem;margin:0 0 8px}.card p{color:var(--muted)}.card a{color:var(--green);font-weight:800}.gallery-section{background:#fff}.gallery{display:grid;grid-template-columns:1.2fr .8fr .8fr;grid-auto-rows:280px;gap:16px}.gallery figure{margin:0;position:relative;overflow:hidden;border-radius:22px}.gallery .wide{grid-row:span 2}.gallery figure:last-child{grid-column:span 2}.gallery img{width:100%;height:100%;object-fit:cover}.gallery figcaption{position:absolute;left:14px;bottom:14px;background:rgba(255,255,255,.92);padding:8px 12px;border-radius:999px;font-weight:700;font-size:.86rem}.how{background:#f4eadf}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.steps>div{background:rgba(255,255,255,.65);padding:25px;border-radius:22px}.steps span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--green);color:#fff;font-weight:800}.steps h3{margin:18px 0 6px}.steps p{margin:0;color:var(--muted)}.order-section{display:grid;grid-template-columns:.72fr 1.28fr;gap:clamp(30px,6vw,80px);align-items:start}.order-intro{position:sticky;top:110px}.order-intro h2{margin-bottom:20px}.order-intro>p:not(.eyebrow){color:var(--muted)}.order-callout{margin-top:28px;padding:20px;border-left:4px solid var(--orange);background:#fff;border-radius:0 16px 16px 0}.order-form{background:#fff;border:1px solid var(--line);border-radius:28px;padding:clamp(22px,4vw,42px);box-shadow:var(--shadow)}fieldset{border:0;padding:0;margin:0 0 30px}legend{font-weight:800;font-size:1.2rem;margin-bottom:14px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{display:grid;gap:7px;font-weight:700;font-size:.93rem}input,select,textarea{width:100%;border:1px solid #d9cbbd;border-radius:12px;padding:13px 14px;background:#fff;font:inherit;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:3px solid rgba(233,119,53,.18);border-color:var(--orange)}textarea{resize:vertical}.checks{display:grid;grid-template-columns:1fr 1fr;gap:12px}.checks label{display:flex;align-items:flex-start;gap:11px;padding:15px;border:1px solid var(--line);border-radius:15px;cursor:pointer}.checks input,.agree input{width:auto;margin-top:4px;accent-color:var(--orange)}.checks span{display:grid}.checks small{font-weight:500;color:var(--muted)}.hint,.form-note{font-size:.86rem;color:var(--muted)}.agree{display:flex;gap:10px;align-items:flex-start;margin-bottom:18px}.submit{width:100%;font-weight:800;font-size:1.05rem}.hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important}.legal{font-size:.78rem;color:var(--muted)}footer{padding:40px clamp(20px,7vw,110px);border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}footer p{margin:3px 0;color:var(--muted)}footer>a{font-weight:800;color:var(--green)}footer .legal{grid-column:1/-1}#form-status{margin-top:12px;font-weight:700}
@media(max-width:900px){.nav-toggle{display:block}.nav{display:none;position:absolute;top:67px;left:16px;right:16px;background:#fff;padding:16px;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch;gap:8px}.nav.open{display:flex}.nav a{padding:9px}.hero{grid-template-columns:1fr;padding-top:55px}.hero-photo{max-width:650px}.cards{grid-template-columns:1fr}.card{display:grid;grid-template-columns:.8fr 1.2fr}.gallery{grid-template-columns:1fr 1fr;grid-auto-rows:250px}.gallery .wide{grid-row:span 1;grid-column:span 2}.gallery figure:last-child{grid-column:span 1}.steps{grid-template-columns:1fr 1fr}.order-section{grid-template-columns:1fr}.order-intro{position:static}}
@media(max-width:600px){.site-header{padding:11px 16px}.brand-mark{font-size:1.4rem}.hero{min-height:auto;padding:42px 18px 65px}.hero h1{font-size:3.15rem}.hero-photo:before{inset:-10px 10px 10px -10px}.hero-photo img{border-radius:24px}.section{padding:68px 18px}.section h2{font-size:2.55rem}.card{display:block}.gallery{display:grid;grid-template-columns:1fr;grid-auto-rows:280px}.gallery .wide,.gallery figure:last-child{grid-column:span 1}.steps{grid-template-columns:1fr}.grid2,.checks{grid-template-columns:1fr}.order-form{padding:20px;border-radius:20px}footer{grid-template-columns:1fr}.hero-actions .btn{width:100%}}
.footer-links{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.footer-links a,.legal-back{font-weight:800;color:var(--green);text-decoration:none}.agree a{color:var(--green)}.legal-page{width:min(900px,calc(100% - 36px));margin:0 auto;padding:70px 0 100px}.legal-page>h1{font-size:clamp(2.7rem,7vw,5rem);line-height:1;letter-spacing:-.05em;margin:0 0 8px}.legal-updated{color:var(--muted);margin:0 0 36px}.legal-page section{padding:8px 0 12px;border-bottom:1px solid var(--line)}.legal-page section h2{font-size:1.35rem;letter-spacing:-.02em;margin:22px 0 6px}.legal-page section p{margin:8px 0;color:#51483f}.legal-notice{background:#fff3e6;border:1px solid #f1d2b4;border-left:5px solid var(--orange);border-radius:16px;padding:20px 22px;margin:28px 0}.legal-notice p{margin:6px 0 0}.legal-disclaimer{margin-top:34px;padding:18px;border-radius:14px;background:#f4eadf;color:var(--muted);font-size:.88rem}@media(max-width:600px){.legal-page{padding-top:48px}.legal-back{font-size:.9rem}footer .footer-links{align-items:flex-start;flex-direction:column;gap:8px}}
.optional{font-size:.72rem;font-weight:700;color:var(--muted);background:#f4eadf;padding:4px 8px;border-radius:999px;vertical-align:middle;margin-left:6px}.image-dropzone{border:2px dashed #d9cbbd;border-radius:18px;padding:28px 20px;text-align:center;display:grid;place-items:center;gap:6px;background:#fffaf5;cursor:pointer;transition:.18s ease}.image-dropzone:hover,.image-dropzone:focus,.image-dropzone.dragging{border-color:var(--orange);background:#fff3e6;outline:none;box-shadow:0 0 0 4px rgba(233,119,53,.10)}.image-dropzone .drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--orange);color:#fff;font-size:1.6rem;line-height:1}.image-dropzone span{max-width:520px;color:var(--muted);font-size:.88rem;font-weight:500}.image-previews{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.image-preview{position:relative;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.image-preview img{width:100%;height:120px;object-fit:cover}.image-preview>div{display:grid;padding:9px 10px 10px;min-width:0}.image-preview strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.78rem}.image-preview small{color:var(--muted)}.image-remove{position:absolute;top:7px;right:7px;width:28px;height:28px;border:0;border-radius:50%;background:rgba(48,40,32,.82);color:#fff;font-size:1.15rem;line-height:1;cursor:pointer}@media(max-width:600px){.image-previews{grid-template-columns:1fr 1fr}.image-preview img{height:105px}}

/* Yum Tums pricing */

/* =========================================
   HOMEPAGE PRICING CALLOUT
   ========================================= */

.pricing-callout{
    width:100%;
    margin:0;
    padding:clamp(60px,7vw,90px) clamp(20px,7vw,110px);
    background:var(--paper);
}

.pricing-callout-inner{
    width:100%;
    max-width:1600px;
    margin:0 auto;
    padding:clamp(30px,4vw,50px);
    background:#f4eadf;
    border-radius:28px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
}

.pricing-callout-copy{
    max-width:800px;
}

.pricing-callout .eyebrow{
    margin-bottom:10px;
}

.pricing-callout h2{
    font-size:clamp(2.25rem,4.5vw,4rem);
    line-height:1.02;
    letter-spacing:-.055em;
    margin:0;
}

.pricing-callout-copy>p:last-child{
    max-width:720px;
    margin:16px 0 0;
    color:var(--muted);
    font-size:1.08rem;
}

.pricing-callout .btn{
    flex:0 0 auto;
}


/* =========================================
   PRICING PAGE HERO
   ========================================= */

.pricing-page{
    width:100%;
    margin:0;
    padding:0;
    overflow:hidden;
}

.pricing-hero{
    width:min(1100px,calc(100% - 40px));
    margin:0 auto;
    padding:clamp(80px,9vw,130px) 0 clamp(70px,8vw,105px);
    text-align:center;
}

.pricing-hero .eyebrow{
    margin-bottom:12px;
}

.pricing-hero h1{
    font-size:clamp(3.25rem,7vw,6rem);
    line-height:.98;
    letter-spacing:-.06em;
    margin:0;
}

.pricing-hero h1 span{
    font-family:Pacifico,cursive;
    font-weight:400;
    color:var(--orange);
    letter-spacing:0;
}

.pricing-hero>p:last-child{
    max-width:720px;
    margin:28px auto 0;
    color:var(--muted);
    font-size:1.12rem;
}


/* =========================================
   PRODUCT PRICING SECTIONS
   ========================================= */

.price-category{
    width:100%;
    margin:0;
    padding:clamp(70px,8vw,110px) clamp(20px,7vw,110px);

    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:clamp(50px,7vw,100px);
    align-items:center;

    border-top:1px solid var(--line);
}

.price-category.reverse{
    background:var(--paper);
}

.price-category.reverse .price-photo{
    order:2;
}

.price-category.reverse .price-content{
    order:1;
}


/* =========================================
   CONSISTENT PRICING IMAGES

   Every product gets the SAME display frame.
   Original source dimensions do not matter.
   ========================================= */

.price-photo{
    width:100%;
    max-width:620px;
    justify-self:center;
}

.price-photo img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1 / 1;
    object-fit:cover;
    object-position:center;
    border-radius:30px;
    box-shadow:var(--shadow);
}


/* =========================================
   PRICING CONTENT
   ========================================= */

.price-content{
    width:100%;
    max-width:720px;
    justify-self:center;
}

.price-content .eyebrow{
    margin-bottom:10px;
}

.price-content h2,
.holiday-pricing h2,
.pricing-note h2{
    font-size:clamp(2.5rem,5vw,4.2rem);
    line-height:1;
    letter-spacing:-.05em;
    margin:0 0 14px;
}

.price-subtitle{
    max-width:650px;
    margin:0 0 30px;
    color:var(--muted);
    font-size:1.05rem;
}

.price-group{
    margin:0 0 30px;
}

.price-group h3,
.specialty-box h3{
    margin:0 0 8px;
    color:var(--green);
    font-size:1.2rem;
}

.price-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;

    padding:11px 2px;
    border-bottom:1px solid var(--line);
}

.price-row span{
    color:#51483f;
}

.price-row strong{
    flex:0 0 auto;
    color:var(--ink);
    font-size:1.08rem;
    white-space:nowrap;
}

.specialty-box{
    margin:32px 0;
    padding:24px;

    background:var(--paper);
    border:1px solid var(--line);
    border-radius:20px;
}

.price-category.reverse .specialty-box{
    background:var(--cream);
}

.price-order{
    margin-top:8px;
}


/* =========================================
   HOLIDAY TRAYS
   ========================================= */

.holiday-pricing{
    width:min(1500px,calc(100% - 40px));
    margin:clamp(70px,8vw,110px) auto;
    padding:clamp(40px,6vw,70px);

    background:#f4eadf;
    border-radius:32px;
    text-align:center;
}

.holiday-pricing>div:first-child{
    max-width:780px;
    margin:0 auto;
}

.holiday-pricing>div:first-child>p:last-child{
    color:var(--muted);
    font-size:1.05rem;
}

.holiday-options{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;

    max-width:650px;
    margin:34px auto;
}

.holiday-options>div{
    display:grid;
    gap:4px;

    padding:28px;
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:20px;
}

.holiday-options span{
    color:var(--green);
    font-weight:700;
}

.holiday-options strong{
    font-size:2rem;
}


/* =========================================
   FINAL CUSTOM ORDER SECTION
   ========================================= */

.pricing-note{
    width:min(900px,calc(100% - 40px));
    margin:0 auto;
    padding:clamp(70px,9vw,120px) 0;
    text-align:center;
}

.pricing-note>p:not(.eyebrow):not(.price-disclaimer){
    max-width:720px;
    margin:20px auto 26px;
    color:var(--muted);
    font-size:1.08rem;
}

.price-disclaimer{
    margin:24px auto 0;
    color:var(--muted);
    font-size:.82rem;
}


/* =========================================
   TABLET
   ========================================= */

@media(max-width:900px){

    .pricing-callout-inner{
        flex-direction:column;
        align-items:flex-start;
    }

    .price-category{
        grid-template-columns:1fr;
        gap:38px;
    }

    .price-category.reverse .price-photo,
    .price-category.reverse .price-content{
        order:initial;
    }

    .price-photo{
        width:100%;
        max-width:620px;
        justify-self:start;
    }

    .price-photo img{
        aspect-ratio:1 / 1;
    }

    .price-content{
        max-width:none;
    }
}


/* =========================================
   PHONE
   ========================================= */

@media(max-width:600px){

    .pricing-callout{
        padding:55px 18px;
    }

    .pricing-callout-inner{
        padding:27px 22px;
        border-radius:22px;
    }

    .pricing-callout .btn{
        width:100%;
    }

    .pricing-hero{
        width:calc(100% - 36px);
        padding-top:60px;
        padding-bottom:60px;
    }

    .price-category{
        padding:60px 18px;
    }

    .price-photo{
        width:100%;
        max-width:100%;
    }

    .price-photo img{
        width:100%;
        aspect-ratio:1 / 1;
        border-radius:22px;
    }

    .price-row{
        gap:18px;
    }

    .holiday-pricing{
        width:calc(100% - 36px);
        margin:60px auto;
        padding:32px 20px;
        border-radius:24px;
    }

    .holiday-options{
        grid-template-columns:1fr;
    }

    .price-order{
        width:100%;
    }

    .pricing-note{
        width:calc(100% - 36px);
        padding:65px 0;
    }
}

/* Compact homepage imagery to reduce scrolling */
.treat-card img {
    height: clamp(230px, 25vw, 350px);
    object-fit: cover;
}

.gallery-grid img {
    height: clamp(200px, 22vw, 320px);
    object-fit: cover;
}

@media (max-width: 900px) {
    .treat-card img {
        height: clamp(220px, 45vw, 320px);
    }

    .gallery-grid img {
        height: clamp(190px, 40vw, 280px);
    }
}

@media (max-width: 600px) {
    .treat-card img {
        height: 240px;
    }

    .gallery-grid img {
        height: 210px;
    }
}

/* Compact homepage product cards and gallery */
@media (min-width: 901px) {
    .card img {
        aspect-ratio: auto;
        height: 300px;
        object-fit: cover;
    }

    .gallery {
        grid-auto-rows: 210px;
    }
}


/* Compact homepage sections without cropping product photos */
@media (min-width: 901px) {
    #treats .cards {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }

    #treats .card img {
        width: 100%;
        height: 340px;
        aspect-ratio: auto;
        object-fit: contain;
        background: #f7f3eb;
    }

    #gallery .gallery {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        grid-auto-rows: 240px;
    }
}

/* Compact desktop hero photo */
@media (min-width: 901px) {
    .hero-photo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-photo img {
        width: 55%;
        max-width: 520px;
        aspect-ratio: 4 / 5;
        object-fit: cover;
        border-radius: 28px;
    }
}

/* Tighter homepage vertical rhythm */
@media (min-width: 901px) {
    .hero {
        min-height: auto;
        padding-top: 55px;
        padding-bottom: 55px;
    }

    #gallery.section,
    #treats.section,
    #how.section,
    #order.section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .pricing-callout {
        padding-top: 65px;
        padding-bottom: 65px;
    }
}

/* Compact homepage pricing CTA */
@media (min-width: 901px) {
    .pricing-callout {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .pricing-callout-inner {
        padding: 22px 32px;
        min-height: 0;
        border-radius: 22px;
        gap: 28px;
    }

    .pricing-callout .eyebrow {
        margin-bottom: 5px;
        font-size: .72rem;
    }

    .pricing-callout h2 {
        font-size: clamp(1.8rem, 2.7vw, 2.7rem);
        line-height: 1;
    }

    .pricing-callout-copy > p:last-child {
        margin-top: 9px;
        font-size: .95rem;
    }

    .pricing-callout .btn {
        padding: 13px 20px;
    }
}

/* =========================================================
   Dedicated Gallery Pages
   ========================================================= */

.gallery-link{
  display:block;
  color:inherit;
  text-decoration:none;
  min-width:0;
}

.gallery-link.wide{
  grid-column:span 2;
}

.gallery-link figure{
  height:100%;
}

.gallery-link img{
  transition:transform .3s ease;
}

.gallery-link:hover img{
  transform:scale(1.025);
}

.gallery-page,
.portfolio-page{
  width:100%;
  overflow:hidden;
}

.gallery-page-hero,
.portfolio-hero{
  width:min(1000px,calc(100% - 40px));
  margin:0 auto;
  padding:clamp(75px,9vw,125px) 0 clamp(55px,7vw,90px);
  text-align:center;
}

.gallery-page-hero h1,
.portfolio-hero h1{
  margin:0;
  font-size:clamp(3.2rem,7vw,6rem);
  line-height:.98;
  letter-spacing:-.06em;
}

.gallery-page-hero h1 span{
  font-family:Pacifico,cursive;
  font-weight:400;
  color:var(--orange);
  letter-spacing:0;
}

.gallery-page-hero > p:last-child,
.portfolio-hero > p:last-child{
  max-width:760px;
  margin:25px auto 0;
  color:var(--muted);
  font-size:1.1rem;
}

.gallery-category-grid{
  width:min(1500px,calc(100% - 40px));
  margin:0 auto clamp(80px,9vw,130px);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.gallery-category-card{
  position:relative;
  display:block;
  min-height:480px;
  overflow:hidden;
  border-radius:28px;
  color:white;
  text-decoration:none;
  box-shadow:var(--shadow);
}

.gallery-category-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}

.gallery-category-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(25,18,12,.78),rgba(25,18,12,.03) 65%);
}

.gallery-category-card > div{
  position:absolute;
  z-index:2;
  left:clamp(24px,4vw,48px);
  right:clamp(24px,4vw,48px);
  bottom:clamp(24px,4vw,45px);
}

.gallery-category-card .eyebrow{
  color:#fff;
  margin-bottom:7px;
}

.gallery-category-card h2{
  margin:0 0 10px;
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:1;
  letter-spacing:-.045em;
}

.gallery-category-card span{
  font-weight:700;
}

.gallery-category-card:hover img{
  transform:scale(1.035);
}

.gallery-category-wide{
  grid-column:1 / -1;
  min-height:540px;
}

.gallery-order-cta,
.portfolio-cta{
  width:min(950px,calc(100% - 40px));
  margin:0 auto clamp(80px,9vw,125px);
  padding:clamp(38px,6vw,65px);
  text-align:center;
  background:#f4eadf;
  border-radius:28px;
}

.gallery-order-cta h2,
.portfolio-cta h2{
  margin:0;
  font-size:clamp(2.2rem,5vw,4rem);
  line-height:1;
  letter-spacing:-.05em;
}

.gallery-order-cta > p:not(.eyebrow),
.portfolio-cta p{
  max-width:700px;
  margin:20px auto 27px;
  color:var(--muted);
}

.gallery-back{
  display:inline-block;
  margin-bottom:30px;
  color:var(--green);
  font-weight:700;
  text-decoration:none;
}

.portfolio-grid{
  width:min(1500px,calc(100% - 40px));
  margin:0 auto clamp(80px,8vw,110px);
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.portfolio-item{
  margin:0;
  aspect-ratio:1 / 1;
  overflow:hidden;
  border-radius:22px;
  background:#eee5dc;
  box-shadow:0 10px 28px rgba(66,49,34,.08);
}

.portfolio-item img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .35s ease;
}

.portfolio-item:hover img{
  transform:scale(1.025);
}

@media(max-width:850px){
  .gallery-category-grid{
    grid-template-columns:1fr;
  }

  .gallery-category-wide{
    grid-column:auto;
  }

  .gallery-category-card,
  .gallery-category-wide{
    min-height:430px;
  }

  .portfolio-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:550px){
  .gallery-page-hero,
  .portfolio-hero{
    width:calc(100% - 36px);
    padding-top:60px;
  }

  .gallery-category-grid,
  .portfolio-grid{
    width:calc(100% - 36px);
  }

  .gallery-category-card,
  .gallery-category-wide{
    min-height:390px;
    border-radius:22px;
  }

  .portfolio-grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .portfolio-item{
    border-radius:16px;
  }

  .gallery-order-cta,
  .portfolio-cta{
    width:calc(100% - 36px);
    border-radius:22px;
  }
}

/* =========================================================
   Homepage Gallery - Horizontal Desktop Layout
   ========================================================= */

#gallery .gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;

    /* Preserve the wide footprint of the original gallery */
    width: 100%;
    max-width: none;
    margin: 2rem 0 0;
}

/* Override original wide-card behavior */
#gallery .gallery figure,
#gallery .gallery figure.wide {
    position: relative;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: 260px;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
}

/* Entire card remains clickable */
#gallery .gallery figure > a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Uniform photo treatment */
#gallery .gallery figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Consistent labels */
#gallery .gallery figcaption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
}

/* Tablet: 2 x 2 */
@media (max-width: 1000px) {
    #gallery .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #gallery .gallery figure,
    #gallery .gallery figure.wide {
        height: 240px;
    }
}

/* Phone: single column */
@media (max-width: 600px) {
    #gallery .gallery {
        grid-template-columns: 1fr;
    }

    #gallery .gallery figure,
    #gallery .gallery figure.wide {
        height: 220px;
    }
}

/* Featured Custom Cookie card - desktop only */
@media (min-width: 1001px) {

    #gallery .gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: 260px 260px;
        align-items: stretch;
    }

    /* Custom Cookies */
    #gallery .gallery figure:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
        height: 100%;
    }

    /* Seasonal */
    #gallery .gallery figure:nth-child(2) {
        grid-column: 3;
        grid-row: 1;
        height: 260px;
    }

    /* Buckeyes */
    #gallery .gallery figure:nth-child(3) {
        grid-column: 4;
        grid-row: 1;
        height: 260px;
    }

    /* Brownies */
    #gallery .gallery figure:nth-child(4) {
        grid-column: 3;
        grid-row: 2;
        height: 260px;
    }
}
