/* Cocoa roast — coklat kopi */
:root {
  --primary: #6b4a35;
  --primary-dark: #523728;
  --secondary: #2a221c;
  --accent: #c41820;
  --bg: #f8f4ef;
  --bg-soft: #efe8df;
  --card: #ffffff;
  --border: #e5dbd0;
  --text: #1a1512;
  --subtext: #6a5e54;
  --success: #28a745;
  --primary-rgb: 107, 74, 53;
  --radius-btn: 16px;
  --radius-card: 24px;
  --radius-input: 16px;
  --shadow-soft: 0 8px 24px rgba(28, 26, 24, 0.06);
  --shadow-md: 0 16px 40px rgba(28, 26, 24, 0.1);
  --shadow-hover: 0 20px 48px rgba(var(--primary-rgb), 0.14);
  --shadow-glass: 0 8px 32px rgba(28, 26, 24, 0.08);
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-button: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --announce-h: 40px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(var(--primary-rgb), 0.07), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 10%, rgba(20, 20, 20, 0.04), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s var(--ease), color 0.25s ease;
}

main {
  flex: 1;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.brand,
.logo,
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

/* Announcement */
.announce {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--announce-h);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, #141414 0%, #1f1f1f 50%, #141414 100%);
  color: #faf8f5;
  font-size: 0.8125rem;
  font-weight: 500;
}

.announce-track {
  position: relative;
  width: min(720px, 92vw);
  height: 100%;
}

.announce-item {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}

.announce-item.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.announce a {
  color: #ff6b6b;
  font-weight: 600;
  text-decoration: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.1rem;
  text-decoration: none;
  margin-right: auto;
  color: var(--secondary);
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--border);
}

.logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo .logo-sub {
  display: none;
}

/* Header */
.site-header {
  position: sticky;
  top: var(--announce-h);
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(255, 253, 249, 0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s, height 0.3s;
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(255, 253, 249, 0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-glass);
}

.nav {
  display: none;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav > a,
.nav-drop > summary {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--subtext);
  transition: color 0.2s;
  list-style: none;
  cursor: pointer;
}

.nav > a:hover,
.nav > a.is-active,
.nav-drop > summary:hover,
.nav-drop[open] > summary {
  color: var(--primary);
}

.nav-drop > summary::-webkit-details-marker {
  display: none;
}

.nav-drop > summary::after {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.35rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 0.2s;
}

.nav-drop[open] > summary::after {
  transform: translateY(1px) rotate(225deg);
}

.nav-drop {
  position: relative;
}

.nav-sub {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 12rem;
  padding: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: grid;
  gap: 0.15rem;
  box-shadow: var(--shadow-md);
}

.nav-sub a {
  text-decoration: none;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--subtext);
  border-radius: 14px;
  white-space: nowrap;
}

.nav-sub a:hover,
.nav-sub a.is-active {
  color: var(--primary);
  background: var(--bg-soft);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.mobile-nav {
  position: fixed;
  inset: calc(var(--announce-h) + var(--header-h)) 0 auto;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem) 2rem;
  background: rgba(255, 253, 249, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  box-shadow: var(--shadow-md);
  max-height: calc(100svh - var(--announce-h) - var(--header-h));
  overflow: auto;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.55rem 0;
  color: var(--text);
}

.mobile-nav .sub-label {
  margin: 0.75rem 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.mobile-nav .sub-link {
  font-size: 1.05rem;
  padding-left: 0.75rem;
  color: var(--subtext);
}

.mobile-nav .btn {
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  background: var(--primary);
  color: #fffdf9;
  text-decoration: none;
  font-family: var(--font-button);
  font-weight: 700;
  font-size: 0.9375rem;
  border: 1px solid var(--primary);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-soft);
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn:focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), 0.35);
  outline-offset: 2px;
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.85rem;
}

.btn-ghost {
  background: transparent;
  color: #fffdf9;
  border-color: rgba(255, 253, 249, 0.45);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 253, 249, 0.14);
  border-color: #fffdf9;
  color: #fffdf9;
}

.btn-ghost-dark {
  background: var(--card);
  color: var(--primary);
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.btn-ghost-dark:hover {
  background: var(--primary);
  color: #fffdf9;
  border-color: var(--primary);
}

.btn-outline {
  background: var(--card);
  color: var(--primary);
  border-color: var(--border);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fffdf9;
  border-color: var(--primary);
}

.btn-secondary {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--bg-soft);
  color: var(--primary-dark);
}

/* Hero — split light layout (kompak, tanpa void kosong di tengah) */
.hero-split {
  --hero-max: 1120px;
  position: relative;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  min-height: calc(100svh - var(--announce-h) - var(--header-h));
  padding:
    clamp(1.25rem, 3vw, 2.25rem)
    max(clamp(1.25rem, 4vw, 3rem), calc((100% - var(--hero-max)) / 2))
    clamp(2.25rem, 5vw, 3.5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 48% 55% at 58% 42%, rgba(var(--primary-rgb), 0.1), transparent 58%),
    radial-gradient(ellipse 40% 45% at 12% 18%, rgba(95, 122, 90, 0.08), transparent 55%),
    linear-gradient(165deg, #fbf9f6 0%, var(--bg) 48%, var(--bg-soft) 100%);
}

.hero-split::before {
  content: "";
  position: absolute;
  width: min(46vw, 380px);
  height: min(46vw, 380px);
  right: max(8%, calc((100% - var(--hero-max)) / 2 + 12%));
  top: 18%;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.07);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-button);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-split .brand {
  margin: 0 0 0.55rem;
  font-family: "Fraunces", "Poppins", serif;
  font-size: clamp(3.1rem, 9vw, 5.25rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-split h1 {
  margin: 0 0 1rem;
  font-family: "Fraunces", "Poppins", serif;
  font-size: clamp(1.55rem, 3.6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 16ch;
  color: var(--text);
}

.hero-split h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
}

.hero-split .lede {
  margin: 0 0 1.75rem;
  color: var(--subtext);
  max-width: 36ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  justify-self: stretch;
  animation: rise 1s var(--ease) 0.12s both;
}

.hero-visual-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  aspect-ratio: auto;
  max-height: none;
  width: 100%;
}

.hero-visual-duo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius-card) + 4px);
  box-shadow: var(--shadow-md);
  background: var(--bg-soft);
}

.hero-visual-duo .hero-img-a {
  margin-top: 1.65rem;
}

.hero-visual-duo .hero-img-b {
  margin-bottom: 1.65rem;
}

@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    padding-top: clamp(1rem, 2.5vw, 1.75rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual-duo {
    gap: 1rem;
  }

  .hero-visual-duo img {
    aspect-ratio: auto;
    height: min(68vh, 560px);
  }

  .hero-visual-duo .hero-img-a {
    margin-top: 2.25rem;
  }

  .hero-visual-duo .hero-img-b {
    margin-bottom: 2.25rem;
  }
}

/* Page hero */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 3rem) 2rem;
}

.page-hero .eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.page-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  max-width: 14ch;
  color: var(--primary);
}

.page-hero p {
  margin: 0;
  color: var(--subtext);
  max-width: 42ch;
}

/* Section heads */
.section-block {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section-head {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.section-head h2,
.gallery-head h2,
.about-copy h2,
.roast-copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  max-width: 14ch;
  color: var(--primary);
}

.section-head p,
.gallery-head p,
.about-copy p,
.roast-copy p {
  margin: 0;
  color: var(--subtext);
  max-width: 40ch;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Highlights / categories */
.highlights {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
}

.highlights a {
  display: grid;
  gap: 0.55rem;
  padding: 1.6rem 1.4rem;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.highlights a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.highlights .num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.highlights h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: var(--primary);
}

.highlights p {
  margin: 0;
  color: var(--subtext);
}

.highlights .go {
  font-family: var(--font-button);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 0.25rem;
}

/* Featured menu cards */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: none;
}

.menu-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.35s ease, opacity 0.55s var(--ease), transform 0.55s var(--ease);
  opacity: 0;
  transform: translateY(14px);
}

.menu-card.is-visible {
  opacity: 1;
  transform: none;
}

.menu-card:hover {
  box-shadow: var(--shadow-hover);
}

.menu-card-media {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
}

.menu-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.menu-card-body {
  padding: 0.7rem 0.75rem 0.85rem;
  display: grid;
  gap: 0.2rem;
}

.menu-card-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.menu-card h3 {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.25;
}

.menu-card-desc {
  margin: 0;
  color: var(--subtext);
  font-size: 0.85rem;
}

.menu-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.menu-card-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text);
}

.menu-card .rating {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
}

.menu-card .btn {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.75rem;
}

.menu-card-sm .btn-sm {
  width: 100%;
  justify-content: center;
}

/* Categories pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(2rem, 5vw, 3rem);
}

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-button);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--subtext);
  box-shadow: var(--shadow-soft);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.category-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fffdf9;
  transform: translateY(-2px);
}

/* About */
.about {
  display: grid;
  gap: 2rem;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}

.text-link {
  font-weight: 600;
  color: var(--primary);
  text-underline-offset: 0.2em;
}

.about-media,
.roast-media {
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
}

.about-media img,
.roast-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.about-media:hover img,
.roast-media:hover img {
  transform: scale(1.04);
}

/* Catalog */
.catalog {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) clamp(4rem, 9vw, 6rem);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--subtext);
  padding: 0.6rem 1.05rem;
  font: inherit;
  font-family: var(--font-button);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.filter.is-active,
.filter:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fffdf9;
  box-shadow: var(--shadow-soft);
}

.product-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.product {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), background 0.25s;
}

.product.is-visible {
  opacity: 1;
  transform: none;
}

.product:hover {
  background: rgba(var(--primary-rgb), 0.04);
}

.product.is-hidden {
  display: none;
}

.product-img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease);
}

.product:hover .product-img {
  transform: scale(1.04);
}

.product-body {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.85rem;
}

.product h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--primary);
}

.product-price {
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  color: var(--text);
}

.product-desc {
  margin: 0;
  color: var(--subtext);
  font-size: 0.88rem;
  line-height: 1.45;
}

.product-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.product .btn {
  justify-self: start;
  margin-top: 0.45rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  border-radius: 12px;
  box-shadow: none;
}

/* Roast */
.roast {
  display: grid;
  gap: 2rem;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(160deg, rgba(var(--primary-rgb), 0.05), rgba(20, 20, 20, 0.04));
}

.roast-media img {
  aspect-ratio: 16 / 11;
}

/* About page */
.about-page .about-hero {
  max-width: 40rem;
}

.about-intro {
  display: grid;
  gap: 1.75rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 4.5rem);
  align-items: center;
}

.about-intro-media {
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
}

.about-intro-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.about-intro-copy {
  display: grid;
  gap: 0.85rem;
}

.about-intro-copy h2,
.about-roast-copy h2,
.about-moments .section-head h2,
.about-cta h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--primary);
  max-width: 14ch;
}

.about-intro-copy p,
.about-roast-copy > p,
.about-cta p {
  margin: 0;
  color: var(--subtext);
  max-width: 40ch;
  line-height: 1.65;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 4.5rem);
}

.about-fact {
  padding: 1.25rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.35rem;
}

.about-fact strong {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--primary);
}

.about-fact span {
  font-size: 0.9rem;
  color: var(--subtext);
}

.about-roast {
  display: grid;
  gap: 1.75rem;
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(160deg, rgba(var(--primary-rgb), 0.04), rgba(20, 20, 20, 0.03));
  align-items: center;
}

.about-roast-copy {
  display: grid;
  gap: 0.85rem;
}

.about-roast-media {
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
}

.about-roast-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-points {
  margin: 0.25rem 0 0.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.about-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary);
}

.about-moments {
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
}

.about-moment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.about-moment-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.about-cta {
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 8vw, 5rem);
}

.about-cta-inner {
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--radius-card);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .about-facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-moment-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-moment-grid img {
    aspect-ratio: 4 / 5;
  }
}

@media (min-width: 960px) {
  .about-intro,
  .about-roast {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.25rem;
  }

  .about-intro-media img {
    aspect-ratio: 4 / 5;
  }

  .about-roast-media img {
    aspect-ratio: 4 / 5;
  }
}

/* Visit */
.visit {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) clamp(4rem, 9vw, 6rem);
}

.location-grid {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.location-card {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.location-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.location-body {
  display: grid;
  gap: 0.65rem;
  padding: 1.35rem 1.4rem 1.5rem;
}

.location-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.location-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--primary);
}

.location-address {
  margin: 0;
  color: var(--subtext);
  font-size: 0.95rem;
  line-height: 1.5;
}

.location-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.location-card .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.visit-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.visit-grid div {
  margin: 0;
  padding: 1.25rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.visit-grid dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.visit-grid dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

.visit-grid a {
  text-decoration: none;
}

.visit-grid a:hover {
  color: var(--accent);
}

/* Gallery */
.gallery-page {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) clamp(4rem, 9vw, 6rem);
}

.gallery-head {
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--bg-soft);
  cursor: zoom-in;
  aspect-ratio: 1;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.gallery-item:nth-child(3n) {
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem 0.9rem 0.9rem;
  background: linear-gradient(transparent, rgba(34, 20, 12, 0.75));
  color: #fffdf9;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: none;
}

.gallery-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.85rem;
}

.gallery-cta h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  color: var(--primary);
}

.gallery-cta p {
  margin: 0;
  color: var(--subtext);
}

.gallery-cta .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.video-section {
  margin-top: 3rem;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.video-grid video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
  background: #141414;
  box-shadow: var(--shadow-soft);
}

/* Testimonials */
.testimonials {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: linear-gradient(180deg, transparent, rgba(20, 20, 20, 0.03));
}

.testimonials .section-head {
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}

.testimonial-nav {
  display: flex;
  gap: 0.5rem;
}

.slider-btn {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--card);
  color: var(--primary);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fffdf9;
  transform: translateY(-1px);
}

.testimonial-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem clamp(1.25rem, 4vw, 3rem) 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 min(86vw, 320px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
}

.testimonial-stars {
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.testimonial-card p {
  margin: 0 0 1.1rem;
  color: var(--subtext);
  font-size: 1.02rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--primary);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--subtext);
}

/* Preview strip */
.preview-head {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem) 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.preview-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--primary);
}

.preview-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 8vw, 5rem);
}

.preview-strip a {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.preview-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.preview-strip a:hover img {
  transform: scale(1.06);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(34, 20, 12, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(920px, 100%);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 16px;
  transform: scale(0.96);
  transition: transform 0.35s var(--ease);
}

.lightbox.is-open img {
  transform: none;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 253, 249, 0.14);
  color: #fffdf9;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  border-radius: 14px;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 253, 249, 0.88);
  font-size: 0.9rem;
  text-align: center;
}

/* Promo banner */
.promo-banner {
  margin: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 4.5rem);
  padding: clamp(2rem, 4.5vw, 2.75rem) clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--radius-card);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(139, 90, 60, 0.45), transparent 55%),
    linear-gradient(135deg, #1c1612 0%, #2a221c 48%, #5c4332 100%);
  color: #fffdf9;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.promo-content {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  max-width: 34rem;
}

.promo-banner h2 {
  margin: 0;
  color: #fffdf9;
  font-size: clamp(1.55rem, 3.8vw, 2.15rem);
  line-height: 1.15;
}

.promo-banner p {
  margin: 0;
  color: rgba(255, 253, 249, 0.78);
  max-width: 32ch;
  font-size: 0.98rem;
  line-height: 1.55;
}

.promo-banner .badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e8d5c4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-banner .btn {
  margin-top: 0.45rem;
  min-width: 10.5rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #141414;
  color: rgba(255, 253, 249, 0.78);
  padding: 0;
  border-top: 0;
  display: block;
}

.footer-main {
  display: grid;
  gap: 2.25rem;
  padding: clamp(2.75rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem) 2.5rem;
}

.footer-brand-block {
  display: grid;
  gap: 0.85rem;
  max-width: 22rem;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-row img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.footer-brand {
  margin: 0;
  font-size: 1.2rem;
  color: #fffdf9;
}

.footer-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 253, 249, 0.65);
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.08);
  color: #fffdf9;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col h3 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fffdf9;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.footer-col a {
  text-decoration: none;
  color: rgba(255, 253, 249, 0.65);
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fffdf9;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.footer-contact li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.92rem;
  color: rgba(255, 253, 249, 0.65);
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fffdf9;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.15rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 253, 249, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 253, 249, 0.5);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
}

.footer-legal a {
  color: rgba(255, 253, 249, 0.5);
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fffdf9;
}

@media (min-width: 720px) {
  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes hero-drift {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -1%, 0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

@keyframes scroll-dot {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  60% {
    opacity: 0.2;
    transform: translateX(-50%) translateY(10px);
  }
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .highlights {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .product {
    grid-template-columns: 7rem 1fr auto;
    gap: 1.35rem;
    padding: 1.2rem 0.5rem;
    border-radius: 16px;
  }

  .product-img {
    width: 7rem;
    height: 7rem;
    border-radius: 16px;
  }

  .product .btn {
    justify-self: end;
    align-self: center;
    margin-top: 0;
  }

  .visit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    flex-basis: min(360px, 42vw);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }

  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .about,
  .roast {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .roast-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .visit-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .preview-strip {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 959px) {
  .preview-strip a:nth-child(n + 4) {
    display: none;
  }
}

/* Penyesuaian layar HP */
@media (max-width: 600px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .logo span {
    font-size: 1rem;
  }

  .logo img {
    width: 36px;
    height: 36px;
  }

  .hero-split {
    gap: 1.35rem;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .hero-split .brand {
    font-size: clamp(2.6rem, 16vw, 3.6rem);
  }

  .hero-split h1 {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
    max-width: 100%;
  }

  .hero-split .lede {
    font-size: 0.98rem;
    max-width: 100%;
  }

  .hero-actions {
    gap: 0.6rem;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-visual-duo {
    gap: 0.6rem;
  }

  .hero-visual-duo .hero-img-a {
    margin-top: 1rem;
  }

  .hero-visual-duo .hero-img-b {
    margin-bottom: 1rem;
  }

  .section-block {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .featured-grid {
    gap: 0.6rem;
  }

  .promo-banner {
    margin-left: 1.15rem;
    margin-right: 1.15rem;
    padding: 1.85rem 1.3rem;
  }

  .promo-banner .btn {
    width: 100%;
    min-width: 0;
  }

  .testimonial-card {
    flex-basis: min(88vw, 320px);
  }

  .footer-main {
    gap: 1.75rem;
  }
}

/* Layar sangat kecil */
@media (max-width: 380px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .category-pill {
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-visual img {
    animation: none;
    transform: none;
  }

  .product,
  .menu-card,
  .reveal,
  .hero-copy,
  .hero-visual {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}
