/* ============================================================
   JULIE BAKES — spec build by Orbit by Lefty
   Direction: coconut cream + pandan green + gula melaka drip,
   chunky rounded type, playful heritage bakery
   ============================================================ */

:root {
  --cream: #FBF3E3;
  --cream-2: #F4E7CB;
  --card: #FFFDF6;
  --ink: #241809;
  --ink-soft: #5A4730;
  --pandan: #2F7A46;
  --pandan-deep: #1E5A31;
  --pandan-pale: #DDEFD8;
  --gula: #7A4A1E;
  --gula-deep: #57340F;
  --caramel: #C98E45;
  --caramel-pale: #F2DCB8;
  --radius: 24px;
  --radius-sm: 15px;
  --shadow: 0 10px 30px rgba(36, 24, 9, 0.09);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Display: Knewave (brush, Norman stand-in). Single weight, needs air. */
h1, h2, .display {
  font-family: "Knewave", "Figtree", sans-serif;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.01em;
}

/* Subheads and card titles: Figtree heavy (Ebony stand-in). Brush gets messy small. */
h3 {
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 243, 227, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(36, 24, 9, 0.08);
}

.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.nav__logo {
  font-family: "Knewave", sans-serif;
  font-weight: 400; font-size: 1.4rem; text-decoration: none;
  letter-spacing: 0.01em;
}

.nav__logo span { color: var(--pandan); }

.nav__links { display: flex; gap: 24px; align-items: center; list-style: none; }

.nav__links a {
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav__links a:hover, .nav__links a.active { color: var(--pandan-deep); }

.nav__cta {
  background: var(--pandan); color: #fff !important;
  padding: 10px 20px; border-radius: 999px; font-weight: 700 !important;
  transition: transform 0.15s ease, background 0.15s ease;
}

.nav__cta:hover { background: var(--pandan-deep); transform: translateY(-1px); }

.nav__burger {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.6rem; line-height: 1; color: var(--ink);
}

/* ---------- Hero ---------- */

.hero { padding: 72px 0 64px; position: relative; }

.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}

.hero h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); }

.hero h1 em { font-style: normal; color: var(--pandan); }

.hero__sub { margin: 20px 0 30px; font-size: 1.2rem; font-weight: 300; color: var(--ink-soft); max-width: 32rem; }

.hero__badge {
  position: absolute; right: 6%; top: 9%;
  background: var(--gula); color: var(--cream);
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 0.85rem;
  transform: rotate(6deg); box-shadow: var(--shadow);
}

/* Round hero photo slot, cake-on-a-stand energy */
.hero__visual { position: relative; }

.slot--round {
  aspect-ratio: 1 / 1; border-radius: 50%;
}

.hero__chip {
  position: absolute; background: var(--card); border-radius: 999px;
  box-shadow: var(--shadow); padding: 8px 16px; font-weight: 700; font-size: 0.82rem;
}

.hero__chip--1 { left: -4%; bottom: 14%; transform: rotate(-5deg); color: var(--pandan-deep); }
.hero__chip--2 { right: -2%; bottom: 30%; transform: rotate(4deg); color: var(--gula); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 28px; border-radius: 999px; font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 2px solid transparent; cursor: pointer;
  font-family: "Figtree", sans-serif;
}

.btn--primary { background: var(--pandan); color: #fff; }
.btn--primary:hover { background: var(--pandan-deep); transform: translateY(-2px); }

.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

.btn--dark { background: var(--gula-deep); color: var(--cream); }
.btn--dark:hover { background: var(--gula); transform: translateY(-2px); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Gula melaka drip band ---------- */

.trust { background: var(--gula-deep); color: var(--cream); padding: 18px 0; overflow: hidden; }

.trust__track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 30s linear infinite; width: max-content; }

.trust__track span { font-weight: 700; font-size: 0.92rem; letter-spacing: 0.05em; text-transform: uppercase; }

.trust__track .dot { color: var(--caramel); }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* The drip: two layers of hanging semicircles, uneven sizes = organic */
.drip {
  height: 34px; position: relative; margin-top: -1px;
  background:
    radial-gradient(circle at 50% -12px, var(--gula-deep) 22px, transparent 23px) repeat-x 0 0 / 86px 46px,
    radial-gradient(circle at 50% -6px, var(--gula-deep) 15px, transparent 16px) repeat-x 43px 0 / 86px 34px;
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }

.section--alt { background: var(--cream-2); }

.section--pandan { background: var(--pandan-pale); }

.section__head { max-width: 640px; margin-bottom: 44px; }

.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section__kicker {
  display: inline-block; background: var(--caramel-pale); color: var(--gula);
  font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}

.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

.section__head p { margin-top: 12px; color: var(--ink-soft); font-size: 1.08rem; font-weight: 300; }

/* ---------- Press quote ---------- */

.press {
  text-align: center; max-width: 760px; margin: 0 auto;
}

.press blockquote {
  font-family: "Knewave", sans-serif; font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.3; color: var(--ink);
}

.press cite { display: block; margin-top: 14px; font-style: normal; font-weight: 700; color: var(--gula); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 24px; }

.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease;
}

.card:hover { transform: translateY(-4px); }

.card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.card__tag {
  align-self: flex-start; background: var(--pandan-pale); color: var(--pandan-deep);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 999px;
}

.card__tag--seasonal { background: var(--caramel-pale); color: var(--gula); }

.card h3 { font-size: 1.12rem; line-height: 1.25; }

.card__meta { font-size: 0.88rem; color: var(--ink-soft); }

.card__price {
  font-family: "Figtree", sans-serif;
  font-size: 1.5rem; font-weight: 800; margin-top: auto; color: var(--gula);
}

.card__price small { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }

.card__btn {
  margin-top: 10px; text-align: center; text-decoration: none;
  border: 2px solid var(--ink); border-radius: 999px; padding: 10px 0;
  font-weight: 700; font-size: 0.92rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.card__btn:hover { background: var(--ink); color: var(--cream); }

.card__btn--primary { background: var(--pandan); border-color: var(--pandan); color: #fff; }
.card__btn--primary:hover { background: var(--pandan-deep); border-color: var(--pandan-deep); color: #fff; }

/* ---------- Stat tiles ---------- */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.stat {
  background: var(--card); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); text-align: center;
}

.stat__num {
  font-family: "Figtree", sans-serif;
  font-size: 2.6rem; font-weight: 800; color: var(--pandan); line-height: 1;
}

.stat__label { margin-top: 8px; font-weight: 600; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Feature panel ---------- */

.panel {
  background: var(--pandan-pale); border-radius: var(--radius);
  padding: 56px; display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 44px; align-items: center; box-shadow: var(--shadow);
}

.panel--gula { background: var(--caramel-pale); }

.panel h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

.panel p { margin: 14px 0 26px; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }

.step {
  background: var(--card); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); position: relative;
}

.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: "Figtree", sans-serif;
  font-size: 2.2rem; font-weight: 800; color: var(--caramel);
  display: block; margin-bottom: 12px;
}

.step h3 { font-size: 1.15rem; margin-bottom: 8px; }

.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Reviews ---------- */

.review {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
}

.review__stars { color: var(--caramel); letter-spacing: 2px; font-size: 1rem; }

.review p { font-size: 0.98rem; color: var(--ink-soft); font-style: italic; }

.review footer { font-weight: 700; font-size: 0.88rem; }

/* ---------- Story ---------- */

.timeline { display: grid; gap: 0; max-width: 720px; margin: 0 auto; }

.tl {
  display: grid; grid-template-columns: 110px 1fr; gap: 24px;
  padding: 26px 0; border-bottom: 1px dashed rgba(36, 24, 9, 0.18);
}

.tl:last-child { border-bottom: none; }

.tl__year {
  font-family: "Figtree", sans-serif; font-weight: 800;
  font-size: 1.2rem; color: var(--pandan);
}

.tl h3 { font-size: 1.1rem; margin-bottom: 6px; }

.tl p { color: var(--ink-soft); font-size: 0.98rem; }

.quote {
  background: var(--gula-deep); color: var(--cream); border-radius: var(--radius);
  padding: 52px; text-align: center; max-width: 820px; margin: 0 auto;
}

.quote blockquote {
  font-family: "Knewave", sans-serif; font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.3;
}

.quote cite { display: block; margin-top: 18px; color: var(--caramel); font-style: normal; font-weight: 700; font-size: 0.95rem; }

/* ---------- Values ---------- */

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.value {
  background: var(--card); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border-top: 6px solid var(--pandan);
}

.value h3 { font-size: 1.1rem; margin-bottom: 10px; }

.value p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Photo slots ---------- */

.slot {
  border: 2px dashed rgba(122, 74, 30, 0.5);
  background: repeating-linear-gradient(-45deg, var(--cream-2), var(--cream-2) 14px, #EDDCB4 14px, #EDDCB4 28px);
  border-radius: var(--radius); aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  color: var(--gula); font-weight: 700; font-size: 0.9rem;
  text-align: center; padding: 18px;
}

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; }

.faq details {
  background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 20px 24px; margin-bottom: 14px;
}

.faq summary { font-weight: 700; cursor: pointer; font-size: 1.02rem; }

.faq details p { margin-top: 12px; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Form ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }

.form {
  background: var(--card); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 16px;
}

.form label { font-weight: 700; font-size: 0.9rem; }

.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; margin-top: 6px;
  border: 2px solid rgba(36, 24, 9, 0.15); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.98rem; background: #fff; color: var(--ink);
}

.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--pandan);
}

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }

.contact-list li {
  background: var(--card); border-radius: var(--radius-sm); padding: 16px 20px;
  box-shadow: var(--shadow); font-weight: 600;
}

.contact-list a { color: var(--pandan-deep); text-decoration: none; }

/* ---------- Map ---------- */

.map {
  border: 0; width: 100%; height: 380px;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---------- CTA band ---------- */

.cta-band { background: var(--gula-deep); color: var(--cream); padding: 80px 0; text-align: center; }

.cta-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); }

.cta-band h2 em { font-style: normal; color: var(--caramel); }

.cta-band p { margin: 14px auto 30px; max-width: 34rem; font-weight: 300; font-size: 1.05rem; color: rgba(251, 243, 227, 0.78); }

/* ---------- Footer ---------- */

.footer { background: #1B1207; color: rgba(251, 243, 227, 0.8); padding: 56px 0 32px; }

.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }

.footer h4 {
  font-family: "Figtree", sans-serif; font-weight: 700; color: var(--cream);
  margin-bottom: 14px; font-size: 1rem;
}

.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer a { color: rgba(251, 243, 227, 0.8); text-decoration: none; font-size: 0.95rem; }

.footer a:hover { color: var(--caramel); }

.footer__brand {
  font-family: "Knewave", sans-serif; font-weight: 400;
  font-size: 1.4rem; color: var(--cream);
}

.footer__brand span { color: var(--caramel); }

.footer__credit {
  border-top: 1px solid rgba(251, 243, 227, 0.12); margin-top: 44px; padding-top: 24px;
  font-size: 0.85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: rgba(251, 243, 227, 0.5);
}

.footer__credit a { color: var(--caramel); }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }

.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid, .panel, .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 36px; }
  .stats, .steps, .values { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__badge { display: none; }
  .hero__chip { display: none; }
}

@media (max-width: 720px) {
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; align-items: flex-start;
    padding: 20px 24px; gap: 18px; display: none;
    border-bottom: 1px solid rgba(36, 24, 9, 0.1);
  }
  .nav__links.open { display: flex; }
  .nav__burger { display: block; }
  .section { padding: 52px 0; }
  .hero { padding: 48px 0 40px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 84px 1fr; gap: 14px; }
  .quote { padding: 34px 24px; }
}
