/* =====================================================
   COMFORT IN CRUMBS — Small Batch Cakes
   ===================================================== */

/* ---------- Design Tokens ---------- */
:root{
  --cream:      #f4ecdd;   /* primary background */
  --cream-2:    #f0e7d6;   /* hero / soft gradient */
  --tan:        #e9ddc7;   /* warm band (best sellers, contact) */
  --card:       #fbf6ec;   /* product cards / faq pills */
  --ink:        #3a281b;   /* headings / dark brown */
  --ink-2:      #503a28;   /* mid brown */
  --muted:      #806a56;   /* body text */
  --brown:      #47331f;   /* buttons */
  --brown-hi:   #5c4429;   /* button hover */
  --espresso:   #2b1d12;   /* footer bottom */
  --line:       rgba(58,40,27,.14);
  --line-2:     rgba(58,40,27,.22);
  --white:      #ffffff;

  --shadow-sm: 0 6px 18px rgba(58,40,27,.08);
  --shadow-md: 0 18px 40px rgba(58,40,27,.13);
  --shadow-lg: 0 30px 70px rgba(58,40,27,.20);

  --container: 1200px;
  --radius:    18px;
  --radius-lg: 26px;

  --promo-h:   40px;
  --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 56' preserveAspectRatio='none'%3E%3Cpath d='M0,56 V28 C100,2 200,2 300,28 C400,54 500,54 600,28 C700,2 800,2 900,28 C1000,54 1100,54 1200,28 V56 Z' fill='%23000'/%3E%3C/svg%3E");

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}


/* ---------- Wavy section dividers ---------- */
.wavy-top{ position:relative; }
.wavy-top::before{
  content:''; position:absolute; left:-1px; right:-1px; bottom:100%;
  height:clamp(34px,4.4vw,62px); background:var(--wave-color,var(--cream));
  -webkit-mask:var(--wave-mask) no-repeat bottom/100% 100%;
  mask:var(--wave-mask) no-repeat bottom/100% 100%;
  z-index:1; pointer-events:none;
}

/* ---------- Reset ---------- */
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; overflow-x:hidden; }
body{
  font-family:'Poppins',system-ui,sans-serif;
  background:var(--cream);
  color:var(--ink-2);
  line-height:1.7;
  font-size:16px;
  overflow-x:clip;   /* clip (not hidden) so position:sticky header still works */
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
ul{ list-style:none; }
svg{ display:block; }

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 40px; }

/* ---------- Typography helpers ---------- */
.section-title{
  font-family:'Anton',sans-serif;
  font-weight:400;
  color:var(--ink);
  text-transform:uppercase;
  line-height:.94;
  letter-spacing:.5px;
  font-size:clamp(2.3rem,4.6vw,3.7rem);
}
.ink-lighter{ color:#6f5236; }
.script-accent{
  font-family:'Dancing Script',cursive;
  font-weight:600;
  color:var(--ink);
  font-size:clamp(1.6rem,2.6vw,2.1rem);
  line-height:1;
  display:inline-flex;
  align-items:center;
  gap:.35em;
  margin-bottom:.5rem;
}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.28em;
  font-size:.72rem;
  font-weight:600;
  color:var(--muted);
  margin-bottom:1rem;
}
.heart-ic{ width:.9em; height:.9em; fill:var(--ink); stroke:none; }
.rule{ display:block; width:64px; height:3px; background:var(--ink); border-radius:2px; margin:1.4rem 0; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font-weight:500; font-size:.82rem; letter-spacing:.12em; text-transform:uppercase;
  padding:1rem 1.9rem; border-radius:40px; position:relative;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease), color .3s var(--ease);
  will-change:transform;
}
.btn-primary{ background:var(--brown); color:var(--cream); box-shadow:0 10px 24px rgba(58,40,27,.22); }
.btn-primary:hover{ background:var(--brown-hi); transform:translateY(-3px); box-shadow:0 16px 32px rgba(58,40,27,.30); }
.btn-outline{ border:1.5px solid var(--ink); color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:var(--cream); transform:translateY(-3px); }
.btn-tan{ background:var(--tan); color:var(--ink); box-shadow:0 10px 24px rgba(0,0,0,.25); }
.btn-tan:hover{ background:#f1e8d6; transform:translateY(-3px); box-shadow:0 16px 32px rgba(0,0,0,.32); }
.btn-block{ width:100%; }
.btn:active{ transform:translateY(-1px) scale(.99); }

/* ---------- Logo ---------- */
.logo{ display:inline-flex; align-items:center; }
.logo-img{ height:74px; width:auto; display:block; transition:height .4s var(--ease); }

/* =====================================================
   HEADER
   ===================================================== */
.site-header{
  position:sticky; top:0; z-index:50;
  transition:background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding:10px 0;
}
.site-header.scrolled{
  background:rgba(244,236,221,.9);
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  box-shadow:0 4px 22px rgba(58,40,27,.09);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; }
.site-header.scrolled .logo-img{ height:58px; }

.main-nav{ display:flex; gap:2.6rem; margin-left:auto; margin-right:auto; }
.main-nav a{
  text-transform:uppercase; letter-spacing:.13em; font-size:.78rem; font-weight:500; color:var(--ink);
  position:relative; padding:.4rem 0;
}
.main-nav a::after{
  content:''; position:absolute; left:0; bottom:-2px; height:2px; width:0; background:var(--ink);
  transition:width .3s var(--ease);
}
.main-nav a:hover::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:.5rem; }
.icon-btn{
  width:42px; height:42px; border-radius:50%; display:grid; place-items:center;
  color:var(--ink); transition:background .25s var(--ease), transform .25s var(--ease);
}
.icon-btn:hover{ background:rgba(58,40,27,.08); transform:translateY(-1px); }
.ic{ width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.cart-btn{ position:relative; }
.cart-count{
  position:absolute; top:2px; right:2px; min-width:18px; height:18px; padding:0 5px;
  background:var(--brown); color:var(--cream); border-radius:10px; font-size:.62rem; font-weight:600;
  display:grid; place-items:center; line-height:1;
  transition:transform .3s var(--ease);
}
.cart-count[hidden]{ display:none; }   /* no badge until something is in the cart */
.cart-count.pop{ animation:pop .4s var(--ease); }
@keyframes pop{ 0%{transform:scale(1);} 40%{transform:scale(1.5);} 100%{transform:scale(1);} }

.menu-toggle{ display:none; flex-direction:column; align-items:center; justify-content:center; gap:5px; }
.menu-toggle span{ width:22px; height:2px; background:var(--ink); border-radius:2px; transition:transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity:0; }
.menu-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer{
  position:fixed; top:0; right:0; height:100dvh; width:min(80vw,320px); z-index:60;
  background:var(--cream); box-shadow:var(--shadow-lg);
  transform:translateX(100%); transition:transform .45s var(--ease-out);
  padding:100px 32px 32px; display:flex;
}
.mobile-drawer.open{ transform:translateX(0); }
.mobile-nav{ display:flex; flex-direction:column; gap:1.4rem; width:100%; }
.mobile-nav a{ text-transform:uppercase; letter-spacing:.12em; font-weight:500; font-size:1rem; color:var(--ink); }
.drawer-cta{ margin-top:1rem; }
.drawer-scrim{
  position:fixed; inset:0; background:rgba(43,29,18,.4); z-index:55; opacity:0; visibility:hidden;
  transition:opacity .4s var(--ease); backdrop-filter:blur(2px);
}
.drawer-scrim.open{ opacity:1; visibility:visible; }

/* =====================================================
   HERO
   ===================================================== */
.hero{
  background:linear-gradient(180deg,var(--cream-2) 0%,var(--cream) 100%);
  padding:56px 0 80px;
  position:relative;
  overflow:hidden;
}
.hero-title{
  font-family:'Anton',sans-serif; font-weight:400; text-transform:uppercase;
  color:var(--ink); line-height:.88; letter-spacing:0;
  font-size:clamp(2rem,10.5vw,9rem);
  margin:.4rem 0 2.3rem;
  white-space:nowrap;
}
.hero-lower{ display:grid; grid-template-columns:1.05fr .95fr; align-items:center; gap:2.5rem; }
.hero-info{ max-width:540px; }
.hero-lede{ max-width:min(380px,100%); color:var(--muted); font-size:1.02rem; margin-bottom:2rem; }
.hero-btns{ display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:3rem; }

.hero-features{ display:flex; gap:1rem 1.25rem; flex-wrap:wrap; }
.hero-features li{ display:flex; align-items:center; gap:.6rem; font-size:.84rem; font-weight:500; color:var(--ink-2); line-height:1.22; }
.feat-ic{ width:37px; height:37px; flex:0 0 37px; border-radius:50%; display:grid; place-items:center; background:rgba(71,51,31,.07); }
.feat-ic svg{ width:21px; height:21px; fill:none; stroke:var(--ink); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }

/* Hero media */
.hero-media{ position:relative; }
.hero-cake-wrap{ position:relative; max-width:520px; margin:0 auto; }
.hero-cake{
  width:100%; height:auto; display:block;
  filter:drop-shadow(0 26px 26px rgba(58,40,27,.28));   /* transparent PNG → shadow follows the cake shape */
  animation:floaty 6s ease-in-out infinite;
}
@keyframes floaty{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-14px); } }

.badge-spin{
  position:absolute; top:6%; right:-6px; width:118px; height:118px;
  background:var(--brown); border-radius:50%; display:grid; place-items:center;
  box-shadow:var(--shadow-md);
}
.badge-svg{ width:100%; height:100%; position:absolute; inset:0; animation:spin 18s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.badge-text{ font-family:'Poppins'; font-size:9.2px; font-weight:600; letter-spacing:1.4px; fill:var(--cream); text-transform:uppercase; }
.badge-heart{ font-size:22px; line-height:1; }

/* =====================================================
   BEST SELLERS
   ===================================================== */
.best-sellers{ background:var(--white); padding:100px 0; --wave-color:var(--white); }
.bs-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:2rem;
  padding-bottom:2rem; margin-bottom:3.2rem; border-bottom:1px solid var(--line-2);
}
.bs-head-title .script-accent{ margin-bottom:.15rem; }
.bs-head-title .section-title{ margin:0; }
.bs-head-meta{ display:flex; flex-direction:column; align-items:flex-end; gap:1.1rem; text-align:right; }
.bs-head-meta p{ color:var(--muted); font-size:.92rem; max-width:260px; }

.bs-soon{
  background:var(--tan); border:1.5px dashed var(--line-2); border-radius:var(--radius-lg);
  padding:clamp(3rem,6vw,5rem) 2rem; text-align:center;
  display:flex; flex-direction:column; align-items:center; box-shadow:var(--shadow-sm);
}
.soon-badge{
  text-transform:uppercase; letter-spacing:.24em; font-size:.66rem; font-weight:600;
  color:var(--muted); background:rgba(71,51,31,.08); padding:.5rem 1.1rem; border-radius:40px; margin-bottom:1.5rem;
}
.bs-soon .script-accent{ margin-bottom:.1rem; }
.soon-title{
  font-family:'Anton',sans-serif; font-weight:400; text-transform:uppercase; color:var(--ink);
  font-size:clamp(2.6rem,6vw,4.2rem); line-height:.95; letter-spacing:1px; margin-bottom:1rem;
}
.soon-text{ max-width:480px; color:var(--muted); font-size:.96rem; margin-bottom:2rem; }
/* A little more breathing room below the Coming Soon panel on desktop */
@media (min-width:861px){ .best-sellers{ padding-bottom:150px; } }

/* =====================================================
   COMMUNITY
   ===================================================== */
.community{ background:#37261a; padding:110px 0; --wave-color:#37261a; }
.community-intro{ max-width:600px; margin:0 auto 3rem; text-align:center; }
.community-intro .script-accent{ color:var(--cream); font-size:clamp(1.9rem,3.1vw,2.55rem); }
.community-intro .section-title{ color:var(--cream); margin-bottom:1.2rem; }
.community-intro p{ color:rgba(244,236,221,.8); font-size:.95rem; margin-bottom:1rem; }
.tag-line strong{ color:var(--cream); font-weight:600; }
.community-intro .btn{ margin-top:1rem; }

/* Carousel */
.carousel{ position:relative; max-width:var(--container); margin:0 auto; padding:0 40px; }
.car-track{
  display:flex; align-items:flex-start; gap:1.2rem; overflow-x:auto; scroll-snap-type:x mandatory;
  scroll-behavior:smooth; -webkit-overflow-scrolling:touch;
  padding:10px 0; scrollbar-width:none;
}
.car-track::-webkit-scrollbar{ display:none; }
.g-item{
  flex:0 0 calc((100% - 2.4rem) / 3); scroll-snap-align:start;   /* 3 per row on desktop */
  overflow:hidden; border-radius:var(--radius-lg); background:rgba(244,236,221,.05);
}
.g-item img{ width:100%; height:auto; display:block; transition:transform .8s var(--ease); }
.g-item:hover img{ transform:scale(1.05); }
.car-btn{
  position:absolute; top:50%; transform:translateY(-50%); z-index:4; cursor:pointer;
  width:48px; height:48px; border-radius:50%; display:grid; place-items:center;
  background:var(--cream); color:var(--ink); box-shadow:var(--shadow-md);
  transition:background .25s var(--ease), transform .2s var(--ease), opacity .25s var(--ease), visibility .25s var(--ease);
}
.car-prev{ left:16px; } .car-next{ right:16px; }
.car-btn:hover{ background:#fff; }
.car-btn:active{ transform:translateY(-50%) scale(.93); }
.car-btn.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.car-btn svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

/* Slider indicator (dots) */
.car-dots{ display:flex; justify-content:center; gap:.5rem; margin-top:1.8rem; }
.car-dot{
  width:8px; height:8px; padding:0; border:none; border-radius:50%; cursor:pointer;
  background:rgba(244,236,221,.28); transition:transform .3s var(--ease), background .3s var(--ease);
}
.car-dot.active{ background:var(--cream); transform:scale(1.35); }

/* =====================================================
   FAQ
   ===================================================== */
.faq{ background:var(--cream); padding:40px 0 110px; }
.faq-grid{ display:block; }
.faq-intro{ text-align:center; max-width:680px; margin:0 auto 3rem; }
.faq-intro .section-title{ margin:0 auto; }
.faq-sub{ color:var(--muted); font-size:.95rem; margin-top:1.2rem; display:flex; align-items:center; justify-content:center; gap:.4rem; }

.faq-list{ display:flex; flex-direction:column; gap:.8rem; max-width:820px; margin:0 auto; }
.faq-item{ background:var(--card); border-radius:14px; box-shadow:var(--shadow-sm); overflow:hidden; transition:box-shadow .3s var(--ease); }
.faq-item.active{ box-shadow:var(--shadow-md); }
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.15rem 1.4rem; text-align:left; font-size:.92rem; font-weight:500; color:var(--ink);
  transition:color .25s var(--ease);
}
.faq-icon{ position:relative; width:18px; height:18px; flex:0 0 18px; }
.faq-icon::before, .faq-icon::after{
  content:''; position:absolute; background:var(--ink); border-radius:2px; transition:transform .35s var(--ease);
}
.faq-icon::before{ top:8px; left:0; width:18px; height:2px; }
.faq-icon::after{ left:8px; top:0; width:2px; height:18px; }
.faq-item.active .faq-icon::after{ transform:scaleY(0); }
.faq-item.active .faq-icon::before{ transform:rotate(180deg); }
.faq-a{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .4s var(--ease); }
.faq-a > p{ overflow:hidden; }
.faq-item.active .faq-a{ grid-template-rows:1fr; }
.faq-a p{ padding:0 1.4rem; color:var(--muted); font-size:.88rem; line-height:1.7; }
.faq-item.active .faq-a p{ padding:0 1.4rem 1.3rem; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact{ background:var(--tan); padding:100px 0; --wave-color:var(--tan); }
.contact-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:3.5rem; align-items:center; }
.contact-copy{ max-width:560px; }
.contact-copy > p{ color:var(--muted); margin-bottom:1.8rem; max-width:420px; }
.contact-copy .section-title{ margin-bottom:1.2rem; }

.contact-form{ display:flex; flex-direction:column; gap:.9rem; margin-bottom:2rem; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:.9rem; }
.contact-form input, .contact-form textarea, .contact-form select{
  width:100%; font-family:inherit; font-size:.9rem; color:var(--ink);
  background:var(--card); border:1px solid var(--line); border-radius:12px;
  padding:.95rem 1.1rem; transition:border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  resize:none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder{ color:#a5917d; }
.contact-form select{
  appearance:none; -webkit-appearance:none; cursor:pointer; padding-right:2.6rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23806a56' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 1.05rem center;
}
.contact-form select:invalid{ color:#a5917d; }
.contact-form input[type="date"]:invalid{ color:#a5917d; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus{
  outline:none; border-color:var(--brown); background-color:var(--white);
  box-shadow:0 0 0 4px rgba(71,51,31,.10);
}
.form-note{ font-size:.85rem; color:var(--ink); font-weight:500; }

.contact-info{ display:flex; flex-direction:column; gap:.9rem; }
.contact-info li{ display:flex; align-items:center; gap:.9rem; font-size:.9rem; color:var(--ink-2); font-weight:500; }
.ci-ic{ width:36px; height:36px; flex:0 0 36px; border-radius:50%; display:grid; place-items:center; background:rgba(71,51,31,.09); }
.ci-ic svg{ width:18px; height:18px; fill:none; stroke:var(--ink); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }

.contact-media{ display:flex; justify-content:center; }
.contact-media img{ width:100%; height:auto; max-width:500px; display:block; filter:drop-shadow(0 22px 24px rgba(58,40,27,.26)); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer{ background:#2e2016; color:rgba(244,236,221,.72); --wave-color:#2e2016; }
.footer-top{
  display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr 1.2fr; gap:2rem;
  padding:72px 40px 44px; align-items:start;
}
.footer-logo{ height:104px; width:auto; }
.footer-contact{ display:flex; flex-direction:column; gap:.75rem; margin-top:1.6rem; }
.footer-contact li{ display:flex; align-items:center; gap:.7rem; font-size:.82rem; color:rgba(244,236,221,.62); }
.footer-contact a{ color:inherit; transition:color .25s var(--ease); }
.footer-contact a:hover{ color:var(--cream); }
.fc-ic{ width:32px; height:32px; flex:0 0 32px; border-radius:50%; display:grid; place-items:center; background:rgba(244,236,221,.09); }
.fc-ic svg{ width:16px; height:16px; fill:none; stroke:var(--cream); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.footer-col h4{ font-size:.78rem; text-transform:uppercase; letter-spacing:.14em; color:var(--cream); font-weight:600; margin-bottom:1.1rem; }
.footer-col a{ display:block; font-size:.85rem; color:rgba(244,236,221,.58); margin-bottom:.6rem; transition:color .25s var(--ease), transform .25s var(--ease); }
.footer-col a:hover{ color:var(--cream); transform:translateX(3px); }
.footer-handle{ color:var(--cream)!important; font-weight:500; margin-bottom:1rem!important; }
.socials{ display:flex; gap:.6rem; }
.socials a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(244,236,221,.24);
  display:grid; place-items:center; color:var(--cream); margin:0;
  transition:background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.socials a:hover{ background:var(--tan); color:var(--ink); border-color:var(--tan); transform:translateY(-3px); }
.socials svg{ width:18px; height:18px; fill:currentColor; }

/* Copyright lives inside the footer, on the same background */
.footer-bottom{ background:transparent; color:rgba(244,236,221,.5); border-top:1px solid rgba(244,236,221,.12); }
.footer-bottom .container{ padding-top:22px; padding-bottom:22px; text-align:center; font-size:.78rem; letter-spacing:.03em; }

/* =====================================================
   NEWSLETTER POPUP
   ===================================================== */
.nl-overlay{
  position:fixed; inset:0; z-index:200; padding:20px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(43,29,18,.55); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  opacity:0; visibility:hidden; transition:opacity .45s var(--ease), visibility .45s var(--ease);
}
.nl-overlay.open{ opacity:1; visibility:visible; }
.nl-modal{
  position:relative; display:grid; grid-template-columns:1fr 1fr;
  width:min(860px,100%); max-height:92vh; background:var(--cream);
  border-radius:8px; overflow:hidden; box-shadow:var(--shadow-lg);
  transform:translateY(24px) scale(.97); transition:transform .55s var(--ease-out);
}
.nl-overlay.open .nl-modal{ transform:none; }
.nl-close{
  position:absolute; top:14px; right:14px; z-index:3;
  width:34px; height:34px; border-radius:50%; display:grid; place-items:center;
  color:var(--ink); background:rgba(255,255,255,.65);
  transition:background .25s var(--ease), transform .3s var(--ease);
}
.nl-close:hover{ background:#fff; transform:rotate(90deg); }
.nl-close svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }

.nl-form-side{
  padding:clamp(2rem,4vw,3.4rem);
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center; text-align:left;
}
.nl-logo{ width:62px; height:auto; margin-bottom:1.3rem; }
.nl-title{
  font-family:'Anton',sans-serif; font-weight:400; text-transform:uppercase;
  letter-spacing:.5px; font-size:clamp(2rem,3.6vw,2.8rem); color:var(--ink); line-height:1;
  max-width:400px; margin-bottom:1.9rem;
}
.nl-text{
  font-family:'Playfair Display',serif; font-style:normal; font-size:.98rem;
  color:var(--muted); line-height:1.6; margin-bottom:1.9rem; max-width:340px;
}
.nl-text strong{ color:var(--ink); font-weight:600; }
.nl-form{ width:100%; max-width:360px; display:flex; flex-direction:column; gap:1.3rem; }
.nl-row{ display:flex; gap:1rem; }
.nl-row .nl-field{ flex:1; min-width:0; }
.nl-field input{
  width:100%; font-family:'Poppins',sans-serif; font-size:.82rem; letter-spacing:.06em; color:var(--ink);
  background:transparent; border:none; border-bottom:1px solid var(--line-2);
  padding:.55rem .1rem; transition:border-color .25s var(--ease);
}
.nl-field input::placeholder{ text-transform:uppercase; letter-spacing:.16em; font-size:.72rem; color:var(--muted); }
.nl-field input:focus{ outline:none; border-color:var(--ink); }
.nl-btn{
  margin-top:.5rem; width:100%; padding:1rem; border:1.5px solid var(--ink); border-radius:2px;
  text-transform:uppercase; letter-spacing:.22em; font-size:.74rem; font-weight:500; color:var(--ink);
  background:transparent; transition:background .3s var(--ease), color .3s var(--ease);
}
.nl-btn:hover{ background:var(--ink); color:var(--cream); }
.nl-note{ font-family:'Poppins',sans-serif; font-size:.8rem; color:var(--ink); font-weight:500; margin-top:-.4rem; }

.nl-media{ position:relative; min-height:100%; }
.nl-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

@media (max-width:640px){
  .nl-modal{ grid-template-columns:1fr; max-height:94vh; }
  .nl-media{ order:-1; height:260px; min-height:260px; }
  .nl-form-side{ padding:2rem 1.6rem 2.2rem; align-items:center; text-align:center; }
}

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal{ opacity:0; transform:translateY(38px); transition:opacity .85s var(--ease-out), transform .85s var(--ease-out); will-change:opacity, transform; }
.reveal.in{ opacity:1; transform:none; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width:1080px){
  .community-grid{ grid-template-columns:1fr; gap:2.4rem; }
}
@media (max-width:860px){
  .main-nav{ display:none; }
  .menu-toggle{ display:flex; }
  .bs-head{ flex-direction:column; align-items:flex-start; }
  .bs-head-meta{ align-items:flex-start; text-align:left; }
  .hero-lower{ grid-template-columns:1fr; gap:2.2rem; }
  .hero-info{ max-width:none; }
  .hero-cake-wrap{ max-width:420px; margin:0 auto; }
  .hero{ padding:38px 0 60px; text-align:left; }
  .g-item{ flex-basis:calc((100% - 1.2rem) / 2); }   /* 2 per row on tablet */
  .contact-grid{ grid-template-columns:1fr; gap:2.5rem; }
  .contact-media{ max-width:440px; order:-1; }
  .footer-top{ grid-template-columns:1fr 1fr; gap:2.4rem; }
  .footer-brand{ grid-column:1/-1; }
}
@media (max-width:560px){
  .container{ padding:0 22px; }
  .bs-products{ grid-template-columns:1fr; max-width:360px; margin:0 auto; }
  .form-row{ grid-template-columns:1fr; }
  /* Carousel: first image shows, next peeks on the right; arrows stay visible */
  .carousel{ padding:0 22px; }
  .g-item{ flex-basis:80%; }   /* first image + peek on mobile */
  .car-btn{ width:40px; height:40px; background:rgba(244,236,221,.92); }
  .car-prev{ left:8px; } .car-next{ right:8px; }
  .car-btn svg{ width:19px; height:19px; }
  /* Keep the three hero features on a single row */
  .hero-features{ flex-wrap:nowrap; gap:.5rem; justify-content:space-between; }
  .hero-features li{ font-size:.68rem; gap:.4rem; }
  .feat-ic{ width:30px; height:30px; flex:0 0 30px; }
  .feat-ic svg{ width:16px; height:16px; }
  .footer-top{ grid-template-columns:1fr 1fr; padding:54px 22px 40px; }
  .badge-spin{ width:96px; height:96px; top:2%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.001ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; scroll-behavior:auto!important; }
  .reveal{ opacity:1; transform:none; }
  .hero-cake{ animation:none; }
}
