/* Caribbean Cupcakes & Cakes */
:root {
  --cream: #FFF8EF;
  --cream-2: #FCEBD7;
  --icing: #FFF3E3;
  --ink: #2A1810;
  --ink-soft: #5B463B;
  --rum: #4A2316;
  --rum-deep: #2E140C;
  --hibiscus: #B4234F;
  --hibiscus-dark: #8E1A3E;
  --mango: #F3AA3C;
  --sea: #0F6E6E;
  --wa: #146C43;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(46, 20, 12, .10);
  --max: 1160px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
h1, h2, h3 {
  margin: 0 0 .6em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--rum);
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--hibiscus); }
a:hover { color: var(--hibiscus-dark); }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: var(--rum);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.45rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .6rem 1.1rem; font-size: .95rem; }
.btn-primary { background: var(--hibiscus); color: #fff; }
.btn-primary:hover { background: var(--hibiscus-dark); color: #fff; }
.btn-mango { background: var(--mango); color: var(--rum-deep); }
.btn-mango:hover { background: #FFC163; color: var(--rum-deep); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0F5534; color: #fff; }
.btn-ghost { background: transparent; border-color: var(--rum); color: var(--rum); }
.btn-ghost:hover { background: var(--rum); color: var(--cream); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 239, .95);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(74, 35, 22, .1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--rum);
  text-decoration: none;
}
.brand:hover { color: var(--rum); }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand-name em { font-style: normal; color: var(--hibiscus); }
.brand-sub {
  margin-top: .3rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sea);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: .55rem .85rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { background: rgba(180, 35, 79, .08); color: var(--hibiscus-dark); }
.site-nav .nav-cta { margin-left: .5rem; }
.site-nav a.btn { padding: .6rem 1.1rem; color: #fff; font-weight: 700; }
.site-nav a.btn:hover { background: var(--hibiscus-dark); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .header-inner { flex-wrap: wrap; }
  .site-nav { width: 100%; }
  .site-nav ul { flex-wrap: wrap; justify-content: center; padding-bottom: .75rem; }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .95rem;
    border: 2px solid rgba(74, 35, 22, .18);
    border-radius: 999px;
    background: transparent;
    color: var(--rum);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    transition: transform .2s;
  }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(74, 35, 22, .12);
    box-shadow: 0 18px 30px rgba(46, 20, 12, .12);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding: .75rem 1.25rem 1.25rem;
  }
  .js .site-nav a { padding: .8rem .9rem; border-radius: 12px; }
  .js .site-nav .nav-cta { margin: .5rem 0 0; }
  .js .site-nav a.btn { padding: .85rem 1rem; border-radius: 999px; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(5rem, 10vw, 8rem);
  color: var(--cream);
  background:
    radial-gradient(circle at 85% 15%, rgba(243, 170, 60, .25), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(15, 110, 110, .45), transparent 45%),
    linear-gradient(135deg, var(--rum-deep) 0%, var(--rum) 45%, var(--hibiscus-dark) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -2px;
  height: clamp(40px, 6vw, 80px);
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero :focus-visible { outline-color: var(--mango); }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero-lede {
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 248, 239, .92);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.hero-points li {
  padding: .4rem .85rem;
  border: 1px solid rgba(255, 248, 239, .22);
  border-radius: 999px;
  background: rgba(255, 248, 239, .1);
  font-size: .92rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sea);
}
.eyebrow--light { color: var(--mango); }

/* CSS-only cake illustration */
.hero-art {
  position: relative;
  display: none;
  justify-content: center;
  align-items: flex-end;
  min-height: 330px;
}
.hero-sun {
  position: absolute;
  top: 0;
  right: 6%;
  width: min(300px, 70%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFD98A 0%, var(--mango) 55%, #E0861C 100%);
  box-shadow: 0 0 90px rgba(243, 170, 60, .4);
}
.cake { position: relative; width: 270px; height: 290px; }
.cake > span { position: absolute; left: 50%; transform: translateX(-50%); }
.cake-plate {
  bottom: 0;
  width: 270px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(var(--cream), #E9D3BC);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.cake-tier { border-radius: 14px 14px 8px 8px; box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .12); }
.cake-tier::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  border-radius: 14px 14px 0 0;
  background:
    linear-gradient(var(--icing), var(--icing)) 0 0 / 100% 11px no-repeat,
    radial-gradient(circle at 50% 11px, var(--icing) 8px, transparent 9px) 0 0 / 18px 22px repeat-x;
}
.cake-tier--base { bottom: 14px; width: 236px; height: 96px; background: linear-gradient(180deg, #70381F, var(--rum)); }
.cake-tier--mid { bottom: 110px; width: 180px; height: 78px; background: linear-gradient(180deg, #D8406E, #A51F49); }
.cake-tier--top { bottom: 188px; width: 126px; height: 64px; background: linear-gradient(180deg, #1C918E, var(--sea)); }
.cake-cherry {
  bottom: 248px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FF8FA6 0%, #D11A48 55%, #8E1030 100%);
}
.cake-tier--base::after,
.cake-tier--mid::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.cake-tier--base::after {
  top: 52px;
  left: 26px;
  width: 7px;
  height: 7px;
  background: var(--mango);
  box-shadow: 34px 14px 0 var(--icing), 70px -4px 0 var(--mango), 104px 16px 0 var(--icing), 140px 2px 0 var(--mango), 172px 18px 0 var(--icing);
}
.cake-tier--mid::after {
  top: 40px;
  left: 24px;
  width: 6px;
  height: 6px;
  background: var(--icing);
  box-shadow: 30px 10px 0 var(--mango), 62px -2px 0 var(--icing), 96px 12px 0 var(--mango), 126px 2px 0 var(--icing);
}

@media (min-width: 640px) {
  .hero-art { display: flex; }
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.2fr .8fr; }
  .hero-art { min-height: 360px; }
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tint { background: var(--cream-2); }
section[id] { scroll-margin-top: 84px; }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.lede { font-size: 1.125rem; color: var(--ink-soft); }

/* Featured rum cake */
.feature {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 24px;
  color: var(--cream);
  background:
    radial-gradient(circle at 100% 0, rgba(243, 170, 60, .22), transparent 45%),
    linear-gradient(135deg, var(--rum) 0%, var(--rum-deep) 100%);
  box-shadow: var(--shadow);
}
.feature h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: #fff; }
.feature-copy p:last-child { margin-bottom: 0; }
.tag {
  display: inline-block;
  margin: 0 0 .9rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--mango);
  color: var(--rum-deep);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.feature-list { display: grid; gap: .75rem; align-content: center; margin: 0; padding: 0; list-style: none; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.1rem;
  border: 1px solid rgba(255, 248, 239, .16);
  border-radius: 14px;
  background: rgba(255, 248, 239, .08);
  font-weight: 500;
}
.feature-list li::before {
  content: "";
  flex: none;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--mango);
}
@media (min-width: 860px) {
  .feature { grid-template-columns: 1.3fr 1fr; align-items: center; }
}

/* Cake cards */
.cards { display: grid; gap: 1.25rem; }
.card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid rgba(74, 35, 22, .08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 20px rgba(46, 20, 12, .06);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent, var(--hibiscus));
}
.card::after {
  content: "";
  position: absolute;
  top: -28px;
  right: -28px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--accent, var(--hibiscus));
  opacity: .1;
}
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--ink-soft); }
.card--hibiscus { --accent: var(--hibiscus); }
.card--mango { --accent: var(--mango); }
.card--sea { --accent: var(--sea); }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* About */
.about { display: grid; gap: 2.5rem; align-items: start; }
.about-copy p { max-width: 40rem; }
.facts {
  padding: 1.75rem;
  border-top: 6px solid var(--mango);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.facts h3 { margin-bottom: 1rem; }
.facts dl { display: grid; gap: .9rem; margin: 0; }
.facts dl div { display: grid; gap: .1rem; padding-bottom: .9rem; border-bottom: 1px dashed rgba(74, 35, 22, .18); }
.facts dl div:last-child { padding-bottom: 0; border-bottom: 0; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.facts dd { margin: 0; font-weight: 500; }
@media (min-width: 900px) { .about { grid-template-columns: 1.4fr 1fr; } }

/* Ordering steps */
.steps { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  position: relative;
  padding: 4.5rem 1.5rem 1.5rem;
  border: 1px solid rgba(74, 35, 22, .08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 20px rgba(46, 20, 12, .06);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 1.4rem;
  left: 1.5rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--hibiscus);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
}
.steps h3 { margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Contact */
.contact-grid { display: grid; gap: 1.25rem; }
.contact-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-top: 1.75rem; font-size: 1.1rem; }
.contact-card h3:first-child { margin-top: 0; }
.contact-phone {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
}
.contact-phone a { color: var(--rum); text-decoration: none; }
.contact-phone a:hover { color: var(--hibiscus); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.small { font-size: .95rem; color: var(--ink-soft); }
.social { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 .5rem; padding: 0; list-style: none; }
.social a {
  display: inline-block;
  padding: .55rem 1rem;
  border: 2px solid rgba(74, 35, 22, .16);
  border-radius: 999px;
  color: var(--rum);
  font-weight: 700;
  text-decoration: none;
}
.social a:hover { border-color: var(--hibiscus); color: var(--hibiscus); }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* Footer */
.site-footer {
  padding: 3.5rem 0 2rem;
  background: var(--rum-deep);
  color: rgba(255, 248, 239, .85);
  font-size: .95rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--mango); }
.site-footer :focus-visible { outline-color: var(--mango); }
.footer-inner {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 248, 239, .14);
}
.footer-brand .brand-name { margin-bottom: .5rem; font-size: 1.5rem; color: #fff; }
.footer-brand .brand-name em { color: var(--mango); }
.brand-amp {
  margin-left: .35rem;
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  vertical-align: middle;
  color: rgba(255, 248, 239, .8);
}
.footer-title {
  margin-bottom: .75rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mango);
}
.footer-list { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.footer-legal { padding-top: 1.5rem; font-size: .85rem; color: rgba(255, 248, 239, .72); }
.footer-legal p { margin: 0 0 .5rem; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; } }

@media (max-width: 420px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

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