/* ============================================================
   Hot Cakes — styles.css  ·  "Pisang Series" flier edition
   Palette:  bg #F4DECB · ink #6C434C · pink #FF9FB2
             cta #F65F06 · secondary #FF8F0B · card #FFF8F0
   Fonts:    Shrikhand (display) · Caveat (hand) · Nunito (text)
   Mobile-first.
   ============================================================ */

:root {
  --bg:        #F4DECB;
  --ink:       #6C434C;
  --pink:      #FF9FB2;
  --cta:       #F65F06;
  --cta-hover: #FF8F0B;
  --secondary: #FF8F0B;
  --card:      #FFF8F0;
  --radius:    22px;
  --wrap:      1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  /* contains the rotated hero poster's offset shadow.
     `clip` does the same job as `hidden` without creating a scroll
     container, which keeps the sticky header reliable. */
  overflow-x: hidden;
  overflow-x: clip;
  /* cream + subtle halftone dot texture, straight from the flier */
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(108,67,76,0.055) 1.6px, transparent 1.8px);
  background-size: 24px 24px;
}

img { display: block; max-width: 100%; }
a { color: var(--cta); text-decoration: none; }
a:hover { color: var(--cta-hover); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  letter-spacing: .2px;
  color: #fff;
  background: var(--cta);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 14px 26px;
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-align: center;
  max-width: 100%;
}
.btn:hover { color: #fff; background: var(--cta-hover); transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 19px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,222,203,.93);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--ink);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 12px 0; }
.brand { flex-shrink: 0; display: inline-flex; }
.brand-logo { height: 40px; width: auto; }
.header-inner .btn-cta { margin-left: auto; white-space: nowrap; }

/* Hero social icons */
.hero-socials { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 14px; }
.hero-socials a { display: inline-flex; }
.hero-socials img { width: 40px; height: 40px; display: block; transition: transform .18s ease; }
.hero-socials a:hover img { transform: translateY(-3px) scale(1.08); }

/* Hamburger (mobile) */
/* The toggle is kept off-screen rather than `hidden`, so it stays reachable
   by keyboard and switch control — `hidden` elements cannot receive focus. */
.nav-toggle {
  position: absolute;
  width: 1px; height: 1px;
  margin: 0; padding: 0; border: 0;
  opacity: 0; pointer-events: none;
}
.nav-burger {
  order: 1;
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; cursor: pointer;
  border: 3px solid var(--ink); border-radius: 12px; background: #fff;
}
.nav-burger span { display: block; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .25s, opacity .2s; }
.nav-toggle:focus-visible ~ .nav-burger { outline: 3px solid var(--cta); outline-offset: 3px; }
.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.header-inner .header-cta {
  order: 2; margin-left: auto;
  padding: 8px 14px; font-size: 13px; border-width: 2px;
}

.main-nav {
  order: 4; flex-basis: 100%; display: block;
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.nav-toggle:checked ~ .main-nav { max-height: 340px; }
.main-nav a {
  display: block; padding: 12px 6px; color: var(--ink); font-weight: 800;
  font-size: 20px; border-bottom: 2px dashed rgba(108,67,76,.3);
}
.main-nav a:last-child { border-bottom: 0; }
.main-nav a:hover { color: var(--cta); }

/* ---------- Shared headings ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 34px; }
.section-title {
  font-family: "Shrikhand", serif; font-weight: 400;
  font-size: clamp(32px, 8.5vw, 50px); color: var(--ink); letter-spacing: .3px;
}
.section-title--light { color: #fff; }
.eyebrow {
  font-weight: 800; font-size: 15px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--cta); margin: 0 0 10px;
}
.eyebrow--light { color: var(--pink); }
/* per-section eyebrow sizes (previously inline on the elements) */
.eyebrow--about { font-size: 25px; text-decoration-line: underline; }
.eyebrow--bakes { font-size: 20px; }
.kicker { font-weight: 800; font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink); margin: 0 0 8px; }

/* dashed divider motif */
.divider { display: flex; align-items: center; gap: 16px; padding: 8px 0; }
.divider span { flex: 1; height: 3px; opacity: .32; background: repeating-linear-gradient(90deg, var(--ink) 0 12px, transparent 12px 22px); }
.divider i { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); }

/* area chip (brown pill) */
.area-chip {
  display: inline-flex; align-items: center;
  background: var(--ink); color: var(--bg);
  font-weight: 800; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin: 4px 0 16px;
}

/* ---------- Hero ---------- */
.hero { padding: 30px 0 40px; }
.hero-grid { display: grid; gap: 30px; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-lockup { width: min(240px, 66%); height: auto; margin-bottom: 10px; }
.hero-title {
  font-family: "Shrikhand", serif; font-weight: 400;
  font-size: clamp(34px, 10.5vw, 58px); color: var(--cta);
  -webkit-text-stroke: 1px var(--ink); letter-spacing: .5px;
}
.hero-hand { font-family: "Caveat", cursive; font-size: 30px; font-weight: 700; color: var(--cta); margin: 10px 0 0; }
.hero-sub { font-size: 18px; margin: 4px 0 22px; max-width: 32em; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.phone-inline { font-weight: 900; font-size: 27px; color: var(--ink); white-space: nowrap; }
.phone-inline:hover { color: var(--cta); }
.hero-note { font-family: "Caveat", cursive; font-weight: 700; font-size: 23px; color: var(--secondary); margin: 14px 0 0; }

/* hero poster (flier-style product frame) */
.poster {
  position: relative; border: 3px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; box-shadow: 8px 8px 0 var(--ink); background: var(--card);
  transform: rotate(-1.5deg);
}
.poster > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.poster-logo {
  position: absolute; top: 16px; left: 16px; background: var(--bg);
  border: 2px solid var(--ink); border-radius: 14px; padding: 7px 12px;
  box-shadow: 3px 3px 0 rgba(108,67,76,.35);
}
.poster-logo img { width: 120px; height: auto; }
.poster-overlay { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(to top, rgba(108,67,76,.62), transparent); }
.poster-caption {
  position: absolute; left: 20px; bottom: 18px; color: #fff;
  font-family: "Caveat", cursive; font-weight: 700; font-size: 28px; text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* ---------- About ---------- */
.about {
  background: var(--pink);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  padding: 48px 0; margin-top: 8px;
}
.about-grid { display: grid; gap: 24px; justify-items: center; text-align: center; }
.about-badge {
  display: block; width: 100%; max-width: 268px; margin: 0 auto; box-sizing: border-box;
  background: #fff; padding: 12px 12px 8px;
  border: 3px solid var(--ink); border-radius: 20px;
  box-shadow: 7px 7px 0 var(--ink); transform: rotate(-2.2deg);
}
.about-badge img { width: 100% !important; height: auto !important; display: block; border-radius: 12px; filter: none; aspect-ratio: 1 / 1; object-fit: cover; }
.badge-caption { display: block; text-align: center; font-family: "Caveat", cursive; font-weight: 700; font-size: 25px; color: var(--ink); margin-top: 6px; }
.about-copy p { margin: 0 0 14px; }
.about-copy .eyebrow { color: var(--cta); }
.about-copy .section-title { margin-bottom: 14px; }
.signature { font-family: "Caveat", cursive; font-size: 30px; font-weight: 700; color: var(--ink); margin-top: 4px !important; }

/* ---------- The Pisang Series ---------- */
.bakes { padding: 56px 0; }
.trait-row { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.trait-row li {
  border: 2px solid var(--cta); color: var(--cta);
  font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.cards { display: grid; gap: 24px; }
.cake-card {
  position: relative; background: var(--card);
  border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .14s ease, box-shadow .14s ease;
}
.cake-card:hover { transform: translate(-2px,-3px); box-shadow: 9px 10px 0 var(--ink); }
.cake-card--star { border-color: var(--cta); }
.card-media { position: relative; border-bottom: 3px solid var(--pink); overflow: hidden; }
/* The cake photos are pre-cropped to exactly the 4:3 region that used to be
   framed here with object-position + transform: scale(1.4). Same picture on
   screen, roughly a third of the file size. */
.card-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.star-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--pink); color: var(--ink);
  font-weight: 900; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(108,67,76,.3);
}
.cake-body { padding: 18px 20px 22px; display: flex; flex-direction: column; }
.cake-name-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cake-name { font-family: "Shrikhand", serif; font-weight: 400; font-size: 27px; color: var(--ink); }
.price { flex: 0 0 auto; background: var(--cta); color: #fff; font-weight: 900; font-size: 20px; padding: 3px 12px; border-radius: 12px; }
.cake-sub { margin: 6px 0 0; font-weight: 800; font-size: 18px; color: var(--cta); }
.cake-desc { margin: 8px 0 0; font-weight: 600; }
.tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.tags li { border: 2px solid var(--cta); color: var(--cta); font-weight: 800; font-size: 12px; letter-spacing: .8px; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.series-note { text-align: center; max-width: 40em; margin: 30px auto 0; font-size: 18px; }
.series-note strong { color: var(--cta); }
.series-note .bm { display: block; margin-top: 6px; font-family: "Caveat", cursive; font-weight: 700; font-size: 26px; color: var(--secondary); }

/* ---------- How to Order ---------- */
.order { background: var(--ink); color: var(--card); padding: 56px 0; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 20px; }
.step { background: rgba(255,255,255,.06); border: 3px solid var(--pink); border-radius: var(--radius); padding: 24px 22px; }
.step-num { display: grid; place-items: center; width: 52px; height: 52px; font-family: "Shrikhand", serif; font-size: 25px; color: #fff; background: var(--cta); border: 3px solid var(--card); border-radius: 50%; box-shadow: 4px 4px 0 rgba(0,0,0,.25); margin-bottom: 14px; }
.step-title { font-family: "Nunito", sans-serif; font-weight: 900; font-size: 21px; color: #fff; margin-bottom: 8px; }
.step p { margin: 0; color: rgba(251,238,223,.9); }
.order-cta { text-align: center; }
/* was inline `font-size: 30px` — clamped so it does not dominate a phone screen.
   Reaches the full 30px at 600px viewport width, so tablet/desktop is unchanged. */
.order-cta .btn { font-size: clamp(18px, 5vw, 30px); }
.order-hand { font-family: "Caveat", cursive; font-weight: 700; font-size: 26px; color: var(--pink); margin: 12px 0 0; }

/* ---------- Delivery Areas ---------- */
.areas { padding: 56px 0 60px; }
.area-list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; max-width: 620px; }
.area-pill { flex: 1 1 auto; min-width: 150px; text-align: center; font-family: "Shrikhand", serif; font-size: 26px; color: var(--ink); background: var(--pink); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); padding: 22px 18px; }
.areas-foot { text-align: center; margin: 28px 0 0; font-size: 18px; }

/* ---------- WhatsApp CTA band ---------- */
.cta-band { background: var(--ink); border-top: 3px solid var(--ink); }
.cta-band-inner { text-align: center; padding: 40px 20px 44px; }
/* both were inline (35px / 40px); clamped for phones, full size from ~636px up */
.cta-band-eyebrow { margin: 0; font-weight: 800; font-size: clamp(19px, 5.5vw, 35px); letter-spacing: 2.5px; text-transform: uppercase; color: var(--pink); }
.cta-band-phone { display: inline-block; margin: 8px 0 6px; font-weight: 900; font-size: clamp(34px, 9vw, 52px); color: var(--bg); letter-spacing: 1px; }
.cta-band-phone:hover { color: var(--cta-hover); }
.cta-band-hand { margin: 6px 0 4px; font-family: "Caveat", cursive; font-weight: 700; font-size: clamp(26px, 6.4vw, 40px); color: var(--pink); }
.cta-band-socials { margin: 0; font-weight: 700; font-size: 16px; color: var(--pink); }

/* ---------- Footer ---------- */
.site-footer { background: #5a3740; color: var(--card); }
.footer-inner { display: grid; gap: 30px; padding: 44px 0 38px; text-align: center; justify-items: center; }
.footer-inner .social-list { justify-items: center; }
.footer-inner .social-list a { justify-content: center; }
.footer-logo { height: 46px; width: auto; margin: 0 auto 14px; display: block; }
.footer-tag { margin: 0; color: rgba(251,238,223,.85); font-weight: 600; }
.footer-head { font-family: "Nunito", sans-serif; font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--pink); margin-bottom: 14px; }
.footer-head--sub { font-size: 10px; }
.social-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.social-list a { color: var(--card); font-weight: 800; display: flex; gap: 8px; align-items: baseline; }
.social-list a:hover { color: var(--pink); }
.social-list span { font-weight: 600; color: rgba(251,238,223,.6); font-size: 14px; }
.footer-phone { margin: 12px 0 0; font-weight: 900; font-size: 20px; color: var(--bg); }
.footer-bottom { border-top: 2px solid rgba(255,159,178,.3); padding: 18px 0; }
.footer-bottom p { margin: 0; font-size: 14px; font-weight: 600; color: rgba(251,238,223,.7); }

/* ============================================================
   Very small phones (≈320–360px) — keep the header on one row
   ============================================================ */
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .brand-logo { height: 30px; }
  .header-inner .header-cta { padding: 7px 10px; font-size: 12px; }
}

/* ============================================================
   Tablet / Desktop
   ============================================================ */
@media (min-width: 720px) {
  body { font-size: 18px; }
  .nav-burger { display: none; }
  .nav-toggle { display: none; }
  .header-inner .header-cta { display: inline-flex; order: 0; padding: 12px 22px; font-size: 16px; border-width: 3px; }
  .main-nav {
    order: 0; flex-basis: auto;
    display: flex; gap: 24px; margin-left: 20px;
    max-height: none; overflow: visible;
  }
  .main-nav a { padding: 0; font-size: inherit; border-bottom: 0; color: var(--ink); font-weight: 800; }
  .main-nav a:hover { color: var(--cta); }

  .hero { padding: 46px 0 54px; }
  .hero-grid { grid-template-columns: 1.02fr .98fr; align-items: center; gap: 46px; }
  .hero-copy { text-align: left; align-items: flex-start; }
  .hero-sub { margin-left: 0; }
  .hero-actions { flex-direction: row; align-items: center; gap: 20px; }

  .about { padding: 66px 0; }
  .about-grid { grid-template-columns: 280px 1fr; text-align: left; justify-items: start; align-items: center; gap: 44px; }
  .about-badge { margin: 0; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .footer-inner { grid-template-columns: 1.6fr 1.2fr 1fr; gap: 40px; align-items: start; text-align: left; justify-items: start; }
  .footer-inner .social-list { justify-items: start; }
  .footer-inner .social-list a { justify-content: flex-start; }
  .footer-logo { margin-left: 0; }
}

@media (min-width: 1000px) {
  .hero-title { font-size: 62px; }
  .section-title { font-size: 52px; }
}

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