/* =========================================================
   HARIKA CAKES — design tokens
   Palette grounded in the brand: chocolate cake browns,
   honey gold, cherry red, buttercream cream.
   ========================================================= */
:root{
  --espresso: #2B1810;
  --espresso-2: #3A2317;
  --toffee: #6B4226;
  --cream: #FBF1E4;
  --cream-2: #F3E4CE;
  --honey: #D89B2C;
  --honey-light: #F0C063;
  --cherry: #B23A3A;
  --ink: #241510;
  --paper: #FFFDF9;

  --font-display: "Fraunces", serif;
  --font-body: "Work Sans", sans-serif;

  --radius: 18px;
  --shadow-soft: 0 20px 45px -20px rgba(43,24,16,0.35);
  --ease: cubic-bezier(.22,.9,.32,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }

::selection{ background:var(--honey); color:var(--espresso); }

:focus-visible{
  outline:3px solid var(--honey);
  outline-offset:3px;
  border-radius:4px;
}

/* =========================================================
   Type helpers
   ========================================================= */
.eyebrow{
  font-family:var(--font-body);
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:.78rem;
  color:var(--cherry);
  margin:0 0 12px;
}
.eyebrow-light{ color:var(--honey-light); }

.section-title{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(1.9rem, 3.4vw, 2.9rem);
  line-height:1.12;
  margin:0 0 20px;
  color:var(--espresso);
  letter-spacing:-.01em;
}
.section-title em{
  font-style:italic;
  font-weight:500;
  color:var(--cherry);
}
.section-title-light{ color:var(--cream); }
.section-title-light em{ color:var(--honey-light); }

.section-lead{
  font-size:1.08rem;
  max-width:640px;
  color:var(--toffee);
  margin:0 0 44px;
}
.bakes .section-lead{ color:var(--cream-2); }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.95rem;
  padding:14px 26px;
  border-radius:999px;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space:nowrap;
}
.btn .ico{ width:18px; height:18px; fill:currentColor; flex-shrink:0; }
.btn:hover{ transform:translateY(-2px); }

.btn-whatsapp{
  background:#25D366;
  color:#0b3d20;
}
.btn-whatsapp:hover{ box-shadow:0 14px 30px -12px rgba(37,211,102,.6); }

.btn-ghost{
  background:transparent;
  color:var(--cream);
  border-color:rgba(251,241,228,.55);
}
.btn-ghost:hover{ background:rgba(251,241,228,.12); border-color:var(--cream); }

.btn-dark{
  background:var(--espresso);
  color:var(--cream);
}
.btn-dark:hover{ box-shadow:0 14px 30px -14px rgba(43,24,16,.6); }

.btn-lg{ padding:16px 32px; font-size:1rem; }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header{
  position:fixed; inset:0 0 auto 0;
  z-index:100;
  background:rgba(43,24,16,.72);
  backdrop-filter:blur(10px) saturate(140%);
  -webkit-backdrop-filter:blur(10px) saturate(140%);
  border-bottom:1px solid rgba(251,241,228,.08);
}
.header-inner{
  display:flex; align-items:center; gap:24px;
  height:74px;
}
.brand{ display:flex; align-items:center; gap:10px; margin-right:auto; }
.brand-mark{ width:40px; height:40px; object-fit:cover; border-radius:50%; border:2px solid var(--honey); }
.brand-word{
  font-family:var(--font-display);
  font-size:1.25rem;
  font-weight:600;
  color:var(--cream);
  letter-spacing:-.01em;
}
.brand-word em{ font-style:italic; color:var(--honey-light); font-weight:500; margin-left:2px; }

.main-nav{ display:flex; gap:28px; }
.main-nav a{
  color:var(--cream-2);
  font-size:.92rem;
  font-weight:500;
  position:relative;
  padding:6px 0;
  transition:color .2s;
}
.main-nav a:hover{ color:var(--honey-light); }
.main-nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0; height:2px;
  background:var(--honey); transition:right .25s var(--ease);
}
.main-nav a:hover::after{ right:0; }

.nav-order{ padding:11px 20px; font-size:.88rem; }
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:40px; height:40px; background:none; border:none; cursor:pointer;
}
.nav-toggle span{ width:100%; height:2px; background:var(--cream); border-radius:2px; }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding-top:74px;
}
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-bg{ width:100%; height:100%; object-fit:cover; object-position:60% 30%; }
.hero-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(20,11,7,.78) 0%, rgba(30,17,11,.72) 45%, rgba(20,11,7,.92) 100%);
}
.hero-inner{ position:relative; z-index:1; padding-top:60px; padding-bottom:120px; }

.hero .eyebrow{ color:var(--honey-light); }
.hero-title{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(2.6rem, 6.4vw, 5rem);
  line-height:1.04;
  color:var(--cream);
  margin:0 0 26px;
  letter-spacing:-.02em;
  max-width:820px;
}
.hero-title em{
  font-style:italic;
  font-weight:500;
  color:var(--honey-light);
}
.hero-sub{
  color:var(--cream-2);
  font-size:1.12rem;
  max-width:560px;
  margin:0 0 38px;
}
.hero-cta{ display:flex; flex-wrap:wrap; gap:16px; }

.hero-contact-card{
  position:absolute;
  right:28px; bottom:28px;
  z-index:2;
  display:flex; align-items:center; gap:14px;
  background:rgba(20,11,7,.62);
  border:1px solid rgba(251,241,228,.18);
  backdrop-filter:blur(8px);
  border-radius:16px;
  padding:14px 20px;
}
.hcc-logo{ width:46px; height:46px; border-radius:50%; object-fit:cover; border:2px solid var(--honey); }
.hcc-info{ display:flex; flex-direction:column; gap:2px; text-align:right; }
.hcc-info a{ color:var(--cream); font-weight:600; font-size:.88rem; }
.hcc-info a:hover{ color:var(--honey-light); }
.hcc-info span{ color:var(--cream-2); font-size:.78rem; }

/* honeycomb divider */
.hex-divider{
  height:26px;
  background-color:var(--cream);
  background-image:
    linear-gradient(30deg, var(--espresso) 12%, transparent 12.5%, transparent 87%, var(--espresso) 87.5%, var(--espresso)),
    linear-gradient(150deg, var(--espresso) 12%, transparent 12.5%, transparent 87%, var(--espresso) 87.5%, var(--espresso)),
    linear-gradient(30deg, var(--espresso) 12%, transparent 12.5%, transparent 87%, var(--espresso) 87.5%, var(--espresso)),
    linear-gradient(150deg, var(--espresso) 12%, transparent 12.5%, transparent 87%, var(--espresso) 87.5%, var(--espresso)),
    linear-gradient(60deg, var(--espresso-2) 25%, transparent 25.5%, transparent 75%, var(--espresso-2) 75%, var(--espresso-2)),
    linear-gradient(60deg, var(--espresso-2) 25%, transparent 25.5%, transparent 75%, var(--espresso-2) 75%, var(--espresso-2));
  background-size:26px 44px;
  background-position:0 0, 0 0, 13px 22px, 13px 22px, 0 0, 13px 22px;
  opacity:.9;
}

/* =========================================================
   About
   ========================================================= */
.about{ background:var(--cream); padding:110px 0; }
.about-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:72px;
  align-items:start;
}
.about-media{ position:relative; }
.about-photo{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  object-position:top center;
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}
.about-badge{
  position:absolute; left:-24px; bottom:-24px;
  background:var(--cherry);
  color:var(--cream);
  border-radius:16px;
  padding:18px 22px;
  box-shadow:0 16px 30px -12px rgba(178,58,58,.55);
  display:flex; flex-direction:column; gap:2px;
}
.badge-num{ font-family:var(--font-display); font-size:1.9rem; font-weight:700; line-height:1; }
.badge-txt{ font-size:.78rem; font-weight:500; line-height:1.3; margin-top:6px; }

.about-copy p{
  color:var(--espresso);
  font-size:1.02rem;
  margin:0 0 20px;
  max-width:640px;
}
.about-copy p:first-of-type{ margin-top:0; }

/* =========================================================
   What We Bake — hex grid
   ========================================================= */
.bakes{
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(216,155,44,.14), transparent 60%),
    var(--espresso);
  padding:120px 0 130px;
}

.hex-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:56px 32px;
  margin-top:20px;
}
.hex-card{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  color:var(--cream);
}
.hex-shape{
  width:100%;
  max-width:230px;
  aspect-ratio:1/1.05;
  clip-path:polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  overflow:hidden;
  margin-bottom:22px;
  position:relative;
  background:var(--toffee);
  transition:transform .4s var(--ease);
}
.hex-shape img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.hex-card:hover .hex-shape{ transform:translateY(-6px); }
.hex-card:hover .hex-shape img{ transform:scale(1.08); }
.hex-card h3{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.28rem;
  margin:0 0 8px;
  color:var(--honey-light);
}
.hex-card p{
  font-size:.92rem;
  color:var(--cream-2);
  max-width:230px;
  margin:0;
}

/* =========================================================
   Gallery
   ========================================================= */
.gallery{ background:var(--paper); padding:110px 0; }
.masonry{
  columns:4 220px;
  column-gap:18px;
}
.m-item{
  break-inside:avoid;
  margin-bottom:18px;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 12px 26px -16px rgba(43,24,16,.35);
  position:relative;
}
.m-item img{ width:100%; height:auto; display:block; transition:transform .5s var(--ease); }
.m-item:hover img{ transform:scale(1.06); }
.hex-frame::before{
  content:"";
  position:absolute; top:10px; right:10px;
  width:22px; height:22px;
  clip-path:polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background:var(--honey);
  opacity:.9;
  z-index:2;
}

.social-cta{
  margin-top:56px;
  padding:36px;
  border-radius:var(--radius);
  background:var(--cream-2);
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px;
}
.social-cta p{ margin:0; font-family:var(--font-display); font-size:1.25rem; color:var(--espresso); max-width:480px; }

/* =========================================================
   How To Order
   ========================================================= */
.order{
  background:var(--espresso-2);
  padding:120px 0;
  position:relative;
}
.steps{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:36px;
  margin-bottom:64px;
}
.step{
  background:rgba(251,241,228,.05);
  border:1px solid rgba(251,241,228,.12);
  border-radius:var(--radius);
  padding:36px 30px;
}
.step-num{
  display:block;
  font-family:var(--font-display);
  font-style:italic;
  font-size:2.6rem;
  color:var(--honey);
  margin-bottom:14px;
  line-height:1;
}
.step h3{
  font-family:var(--font-body);
  font-weight:600;
  font-size:1.15rem;
  color:var(--cream);
  margin:0 0 10px;
}
.step p{ color:var(--cream-2); font-size:.95rem; margin:0; }
.order-cta{ display:flex; justify-content:center; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{ background:var(--espresso); padding:80px 0 0; }
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:56px;
  border-bottom:1px solid rgba(251,241,228,.1);
}
.footer-logo{ width:52px; height:52px; border-radius:50%; object-fit:cover; border:2px solid var(--honey); margin-bottom:16px; }
.footer-brand p{ color:var(--cream-2); font-size:.92rem; max-width:280px; }
.footer-col h4{
  font-family:var(--font-body); font-weight:600; font-size:.85rem;
  text-transform:uppercase; letter-spacing:.1em; color:var(--honey-light);
  margin:0 0 18px;
}
.footer-col{ display:flex; flex-direction:column; gap:12px; }
.footer-col a, .footer-col span{ color:var(--cream-2); font-size:.92rem; }
.footer-col a:hover{ color:var(--honey-light); }
.footer-cta .btn{ width:fit-content; margin-top:4px; }

.footer-bottom{ padding:26px 0; }
.footer-bottom p{ margin:0; color:rgba(251,241,228,.55); font-size:.82rem; text-align:center; }

/* =========================================================
   Floating WhatsApp button
   ========================================================= */
.fab-whatsapp{
  position:fixed;
  right:20px; bottom:20px;
  z-index:90;
  width:58px; height:58px;
  border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px -10px rgba(37,211,102,.65);
  animation:pulse 2.6s ease-in-out infinite;
}
.fab-whatsapp .ico{ width:28px; height:28px; fill:#0b3d20; }
@keyframes pulse{
  0%,100%{ box-shadow:0 14px 30px -10px rgba(37,211,102,.65); }
  50%{ box-shadow:0 14px 30px -6px rgba(37,211,102,.9), 0 0 0 8px rgba(37,211,102,.12); }
}

/* =========================================================
   Scroll reveal
   ========================================================= */
/* Content is visible by default (no-JS / progressive enhancement).
   Only once main.js confirms it's running (adds .js to <html>) do
   .reveal elements hide themselves ahead of their scroll animation. */
.js .reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{ opacity:1; transform:none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px){
  .about-grid{ grid-template-columns:1fr; gap:60px; }
  .about-media{ max-width:380px; margin:0 auto; }
  .hex-grid{ grid-template-columns:repeat(2, 1fr); }
  .steps{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .masonry{ columns:3 180px; }
}

@media (max-width: 760px){
  .main-nav{
    position:fixed; top:74px; left:0; right:0;
    background:var(--espresso);
    flex-direction:column; gap:0;
    padding:10px 28px 20px;
    transform:translateY(-120%);
    transition:transform .3s var(--ease);
    border-bottom:1px solid rgba(251,241,228,.1);
  }
  .main-nav.is-open{ transform:translateY(0); }
  .main-nav a{ padding:14px 0; border-bottom:1px solid rgba(251,241,228,.08); }
  .nav-toggle{ display:flex; }
  .nav-order{ display:none; }

  .hero-contact-card{ left:16px; right:16px; bottom:16px; justify-content:center; }
  .hcc-info{ text-align:left; }

  .hex-grid{ grid-template-columns:1fr; max-width:280px; margin-left:auto; margin-right:auto; }
  .footer-grid{ grid-template-columns:1fr; text-align:left; }
  .masonry{ columns:2 150px; }
  .social-cta{ flex-direction:column; align-items:flex-start; }
}

@media (max-width: 480px){
  .wrap{ padding:0 20px; }
  .hero-title{ font-size:2.4rem; }
  .about-badge{ left:12px; bottom:-18px; padding:14px 16px; }
}
