/* Design System Custom Properties */
:root {
  --paper: #FAF5EE;
  --cream: #F3ECE0;
  --beige: #E6D8C3;
  --tan: #D1BA9C;
  --cocoa: #4E4237;
  --ink: #261F1A;
  
  --cta: #BC754E;
  --cta-hover: #9F5D38;
  --cta-light: #F7EFE8;
  
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  
  --shadow-sm: 0 4px 12px rgba(38, 31, 26, 0.04), 0 1px 3px rgba(38, 31, 26, 0.02);
  --shadow-md: 0 12px 32px rgba(38, 31, 26, 0.06), 0 2px 8px rgba(38, 31, 26, 0.03);
  --shadow-lg: 0 24px 48px rgba(38, 31, 26, 0.1), 0 4px 12px rgba(38, 31, 26, 0.05);

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Nunito", system-ui, -apple-system, sans-serif;
  --container: 1140px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Base components */
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
}
.skip-link:focus {
  left: 1.5rem;
  top: 1.5rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  outline: none;
}
.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  vertical-align: middle;
}
.text-serif {
  font-family: var(--font-serif);
}
.text-accent {
  color: var(--cta);
}

/* Header & Drawer Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 238, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cream);
  transition: var(--transition);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}
.logo {
  display: flex;
  flex-direction: column;
}
.logo__brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.logo__sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cta);
  font-weight: 800;
  line-height: 1;
  margin-top: 0.15rem;
}
.nav {
  display: none;
  gap: 2rem;
  align-items: center;
}
.nav__link {
  font-weight: 700;
  color: var(--cocoa);
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav__link:hover {
  color: var(--ink);
}
.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hamburger menu bar morph */
.nav-toggle {
  background: var(--cream);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
  transition: var(--transition);
}
.nav-toggle:hover {
  background: var(--beige);
}
.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Slide Drawer overlay */
.mobile-drawer {
  position: fixed;
  top: 73px;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(250, 245, 238, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  z-index: 90;
  border-bottom: 0px solid var(--cream);
  transition: height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), border-bottom 0.1s;
}
.mobile-drawer.is-active {
  height: calc(100vh - 73px);
  border-bottom: 1px solid var(--cream);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-drawer.is-active .mobile-nav {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}
.mobile-nav__link {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--cream);
}
@media(min-width:1024px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-drawer { display: none !important; }
}

/* Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  min-height: 52px;
  transition: var(--transition);
}
.btn--primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 8px 24px rgba(188, 117, 78, 0.25);
}
.btn--primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(188, 117, 78, 0.35);
}
.btn--primary:active {
  transform: translateY(0);
}
.btn--ghost {
  background: transparent;
  border-color: var(--tan);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--cream);
  border-color: var(--cocoa);
}
.btn--sm {
  padding: 0.6rem 1.25rem;
  min-height: 42px;
  font-size: 0.85rem;
}
.btn--full {
  width: 100%;
}
.hide-mobile {
  display: none !important;
}
@media(min-width:1024px) {
  .hide-mobile { display: inline-flex !important; }
}

/* Elegant Hero Section */
.hero {
  padding: 40px 0 80px;
}
.hero__grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
.hero__copy .eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cta);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.hero__copy .eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--tan);
}
.hero__copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 1.8rem + 3.2vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.lead {
  color: var(--cocoa);
  font-size: clamp(1.1rem, 1rem + 0.3vw, 1.25rem);
  max-width: 46ch;
  margin-bottom: 2rem;
  font-weight: 500;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--cocoa);
  font-size: 0.9rem;
}
.trust-row .rating {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--cream);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
}
.icon-star {
  color: #EBB02D;
}
.trust-row .divider {
  color: var(--tan);
}

/* Floating badge & media overlay */
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero__media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.image-overlay-glow {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(188, 117, 78, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Spin Text Badge */
.hero__badge {
  position: absolute;
  right: -15px;
  bottom: 25px;
  background: var(--paper);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: 1px solid var(--beige);
}
.badge-spin {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotateBadge 15s linear infinite;
}
.badge-text {
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 800;
  fill: var(--cocoa);
  letter-spacing: 2px;
}
.badge-center {
  font-size: 1.8rem;
  position: relative;
  top: -2px;
}
@keyframes rotateBadge {
  to { transform: rotate(360deg); }
}

@media(min-width:1024px) {
  .hero { padding: 90px 0 120px; }
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: 5.5rem; }
  .hero__badge { right: -35px; width: 130px; height: 130px; }
}

/* Sections Global Structure */
.section {
  padding: 80px 0;
}
.section__head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 3.5rem;
}
.section__head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.muted {
  color: var(--cocoa);
  font-size: 1.05rem;
}
.section--tint {
  background: var(--cream);
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
}
.section--dark {
  background: var(--ink);
  color: var(--paper);
}
.section--dark .muted {
  color: rgba(250, 245, 238, 0.7);
}

/* Modern Card Layout & Hover Zooms */
.product-grid {
  list-style: none;
  display: grid;
  gap: 2rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card__img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/13;
  background: var(--cream);
}
.card__img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.card:hover .card__img-container img {
  transform: scale(1.05);
}
.tag-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(250, 245, 238, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--beige);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cta);
}
.card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--ink);
}
.price {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--cta);
  font-size: 1.35rem;
  white-space: nowrap;
}
.card__body p {
  color: var(--cocoa);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.card__actions {
  margin-top: auto;
  border-top: 1px dashed var(--cream);
  padding-top: 1rem;
}
.btn-order-direct {
  display: inline-flex;       /* Keeps it snug around the content */
  align-items: center;        /* Centers text and icon vertically */
  justify-content: center;    /* Centers the cluster inside the button if it expands */
  gap: 0.5rem;                /* Locks a perfect distance between text and icon */
  padding: 0.65rem 1rem;      /* Inside spacing */
  background: var(--cta-light);
  color: var(--cta);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-order-direct:hover {
  background: var(--cta);
  color: #fff;
}

/* Extra toppings box */
.addons-container {
  margin-top: 3.5rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  border: 1px dashed var(--tan);
}
.addons-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.addons {
  color: var(--cocoa);
  font-weight: 600;
  font-size: 0.95rem;
}
.accent-price {
  color: var(--cta);
}

@media(min-width:600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width:1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

/* Elegant Editorial Story Section */
.story__grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
.story__media {
  position: relative;
}
.story__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
}
.media-accent-border {
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid var(--tan);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 1;
}
.story__copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.dropcap::first-letter {
  font-family: var(--font-serif);
  float: left;
  font-size: 4rem;
  line-height: 0.8;
  margin: 0.15rem 0.65rem 0 0;
  color: var(--cta);
  font-weight: 700;
}
.story__copy p {
  color: var(--cocoa);
  margin-bottom: 1.25rem;
}
.story__copy blockquote {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--cta);
  background: var(--paper);
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.6;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
}

@media(min-width:1024px) {
  .story__grid { grid-template-columns: 5fr 6fr; gap: 5.5rem; }
}

/* Multi-channel Links UI Grid */
.links__wrap {
  text-align: center;
}
.links__wrap h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  margin-bottom: 0.5rem;
}
.link-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 3rem;
}
.link-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 1.5rem;
  background: rgba(250, 245, 238, 0.05);
  border: 1.5px solid rgba(250, 245, 238, 0.15);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: var(--transition);
}
.link-card__icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  padding-top: 0.8rem;
}
.link-card__label {
  font-size: 1.05rem;
}
.link-card:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-3px);
  border-color: var(--paper);
  box-shadow: var(--shadow-md);
}

@media(min-width:600px) {
  .link-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width:1024px) {
  .link-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* Maps & Interactive Information Section */
.lokasi__grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
.lokasi__info h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  margin-bottom: 0.5rem;
}
.address {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.address .icon-pin {
  color: var(--cta);
  flex-shrink: 0;
}
.hours {
  list-style: none;
  margin-bottom: 2.5rem;
  border-top: 1px dashed var(--tan);
}
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--tan);
  color: var(--cocoa);
  font-size: 0.95rem;
}
.hours li strong {
  color: var(--ink);
}
.hours li.note {
  border-bottom: none;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--cta);
  padding-top: 0.5rem;
}
.lokasi__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--beige);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
  width: 100%;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media(min-width:1024px) {
  .lokasi__grid { grid-template-columns: 5fr 6fr; gap: 5.5rem; }
}

/* Footer Architecture */
.site-footer {
  border-top: 1px solid var(--beige);
  padding: 80px 0 140px;
  background: var(--cream);
}
.footer__grid {
  display: grid;
  gap: 3rem;
}
.footer__brand-block .logo {
  margin-bottom: 1.25rem;
}
.footer__brand-block p {
  font-size: 0.95rem;
  color: var(--cocoa);
  max-width: 35ch;
}
.footer__links strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer__links a {
  display: block;
  color: var(--cocoa);
  margin: 0.65rem 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.footer__links a:hover {
  color: var(--cta);
  transform: translateX(3px);
}
.footer__bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--beige);
  text-align: center;
  color: var(--cocoa);
  font-size: 0.85rem;
  font-weight: 600;
}

@media(min-width:768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* Beautiful Mobile Sticky Call-To-Action */
.sticky-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  background: rgba(250, 245, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--beige);
  padding: 0.65rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
@media(min-width:768px) {
  .sticky-cta { display: none; }
}

/* Scroll Animation Reveal Mechanics */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Focus Indicator Style (Accessibility) */
:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 3px;
}

/* Tactile Ripple Effect Elements */
[data-ripple] {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.4);
  animation: rippleAnimation 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnimation {
  to { transform: scale(4); opacity: 0; }
}