/* =========================================================
   Lereng Coffee Roastery | Gaya halaman
   Warna krem dan cokelat sangrai, Fraunces untuk judul,
   Schibsted Grotesk untuk teks, IBM Plex Mono untuk label lot.
   ========================================================= */
:root {
  --cream: #F6EFE3;
  --paper: #FCF8F1;
  --sand: #EADFCB;
  --line: #DDCDB4;
  --line-d: #CDB998;
  --ink: #2B1E15;
  --muted: #6B5B4C;
  --brown: #8B4A21;
  --brown-d: #6F3916;
  --olive: #5C6B3A;
  --cherry: #B3412E;
  --night: #241912;
  --night-2: #30231A;
  --cream-ink: #F3E9DA;
  --peach: #F0C49B;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.lock { overflow: hidden; padding-right: var(--sbw, 0px); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

.wrap { width: min(1240px, 100% - 64px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); font-size: 14px; }
.skip:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.h2 { font-family: var(--serif); font-weight: 560; font-size: clamp(32px, 3.5vw, 50px); line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 540; font-size: 28px; line-height: 1.15; letter-spacing: -.005em; }
.kicker { margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 4px;
  font: 600 13.5px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 17px; height: 17px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-brown { background: var(--brown); color: #FFF8EE; }
.btn-brown:hover { background: var(--brown-d); }
.btn-line { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn-cream { background: var(--cream-ink); color: var(--ink); }
.btn-cream:hover { background: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 12.5px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px;
  border-bottom: 1.5px solid currentColor;
  font-weight: 600; color: var(--brown); text-decoration: none;
  transition: gap .2s;
}
.link-arrow .icon { width: 16px; height: 16px; }
.link-arrow:hover { gap: 12px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(246, 239, 227, .94); border-bottom: 1px solid transparent; transition: border-color .25s; }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(246, 239, 227, .86); backdrop-filter: blur(10px); } }
.top.scrolled { border-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: inline-flex; flex-direction: column; gap: 3px; padding: 6px 0; line-height: 1; color: var(--ink); text-decoration: none; }
.logo-word { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 31px; letter-spacing: -.02em; }
.logo-sub { padding-left: 2px; font-size: 9.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.top-nav { display: flex; gap: 26px; margin-left: auto; }
.top-nav a { position: relative; padding: 8px 0; font-size: 15px; font-weight: 500; text-decoration: none; }
.top-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--brown); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.top-nav a:hover::after, .top-nav a.active::after { transform: scaleX(1); }
.top-nav a.active { color: var(--brown); }
.menu-btn { display: none; flex-direction: column; justify-content: center; gap: 7px; width: 46px; height: 46px; padding: 0 11px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; }
.menu-btn span { display: block; height: 1.6px; background: var(--ink); }

.menu { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: var(--cream); }
.menu-in { display: flex; flex-direction: column; gap: 24px; min-height: 100%; padding-bottom: 32px; }
.menu-head { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.menu-x { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; }
.menu-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 30px; font-weight: 500; text-decoration: none; }
.menu-foot { margin-top: auto; font-size: 14px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 72px; align-items: center; }
.hero-kicker { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); }
.hero-kicker::before { content: ""; flex: 0 0 36px; height: 1px; background: currentColor; }
.hero-title { text-wrap: balance; margin: 24px 0 26px; font-family: var(--serif); font-weight: 580; font-size: clamp(44px, 5.6vw, 86px); line-height: 1.01; letter-spacing: -.022em; }
.hero-title em { display: block; font-style: italic; font-weight: 440; color: var(--brown); }
.hero-lead { max-width: 33em; font-size: 19px; line-height: 1.6; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.roast-next { display: flex; gap: 12px; max-width: 33em; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.roast-next b { color: var(--ink); font-weight: 600; }
.roast-dot { flex: 0 0 auto; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--cherry); box-shadow: 0 0 0 4px rgba(179, 65, 46, .16); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.hero-photo figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); }

.band { margin: 0; }
.band img { width: 100%; height: clamp(260px, 40vw, 600px); object-fit: cover; object-position: 50% 60%; }
.band-cap { display: flex; justify-content: space-between; gap: 24px; padding-top: 14px; font-size: 13.5px; color: var(--muted); }

/* ---------- Tentang ---------- */
.about { padding: 110px 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
.about-text .h2 { margin-bottom: 28px; }
.about-text p { max-width: 36em; margin-bottom: 16px; font-size: 17.5px; color: var(--muted); }
.timeline { margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.timeline li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.timeline b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 20px; color: var(--brown); }
.about-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.farmer {
  position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px;
  width: min(470px, 90%); margin: -64px 0 0 auto; padding: 22px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
  box-shadow: 0 22px 44px -26px rgba(43, 30, 21, .4);
}
.farmer img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; }
.farmer p { margin-bottom: 10px; font-family: var(--serif); font-size: 18px; font-weight: 420; line-height: 1.45; }
.farmer footer { font-size: 13.5px; color: var(--muted); }
.farmer footer b { color: var(--ink); }

/* ---------- Layanan ---------- */
.services { padding: 20px 0 110px; }
.sec-head { max-width: 780px; margin-bottom: 52px; }
.sec-head p { margin-top: 16px; font-size: 17.5px; color: var(--muted); }
.sec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; max-width: none; }
.sec-row p { margin: 0; }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.svc-rev .svc-photo { order: 2; }
.svc-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.svc-photo figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.svc-no { margin-bottom: 14px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--brown); }
.svc .h3 { margin-bottom: 16px; font-size: clamp(28px, 2.6vw, 38px); }
.svc-body > p { max-width: 34em; font-size: 17.5px; color: var(--muted); }
.svc-spec { margin: 28px 0; border-top: 1px solid var(--line); }
.svc-spec div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.svc-spec dt { padding-top: 2px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svc-spec dd { margin: 0; font-size: 15.5px; }

/* ---------- Asal kopi ---------- */
.origins { padding: 110px 0; background: var(--night); color: var(--cream-ink); }
.org-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 60px; align-items: end; margin-bottom: 44px; }
.org-head p { margin: 0; font-size: 17.5px; color: rgba(243, 233, 218, .72); }
.org-head p span { color: var(--peach); }

.cal { border-top: 1px solid rgba(243, 233, 218, .18); }
.cal-row { display: grid; grid-template-columns: 200px repeat(12, minmax(0, 1fr)); align-items: stretch; min-height: 48px; border-bottom: 1px solid rgba(243, 233, 218, .12); }
.cal-head { min-height: 42px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 233, 218, .55); }
.cal-head .cal-m { justify-content: center; }
.cal-head .cal-m.now { color: var(--peach); }
.cal-name { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; padding: 10px 12px 10px 0; border: 0; background: none; font-family: var(--serif); font-size: 19px; font-weight: 500; text-align: left; color: inherit; }
.cal-name small { font-family: var(--sans); font-size: 12px; font-weight: 400; white-space: nowrap; color: rgba(243, 233, 218, .5); }
button.cal-name:hover { color: var(--peach); }
.cal-row[data-id] { transition: opacity .25s; }
.cal-row.dim { opacity: .32; }
.cal-m { position: relative; display: flex; align-items: center; }
.cal-m.now { background: rgba(243, 233, 218, .07); }
.cal-m.on::before, .cal-m.small::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 12px; margin-top: -6px; background: #C8553D; }
.cal-m.small::before { background: repeating-linear-gradient(135deg, rgba(200, 85, 61, .85) 0 4px, rgba(200, 85, 61, .3) 4px 8px); }
.cal-m.start::before { left: 5px; border-top-left-radius: 6px; border-bottom-left-radius: 6px; }
.cal-m.end::before { right: 5px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; }
.m-short { display: none; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 48px; font-size: 13px; color: rgba(243, 233, 218, .6); }
.cal-legend .lg { display: inline-block; width: 22px; height: 10px; margin-right: 8px; border-radius: 5px; vertical-align: -1px; }
.lg-main { background: #C8553D; }
.lg-small { background: repeating-linear-gradient(135deg, rgba(200, 85, 61, .85) 0 4px, rgba(200, 85, 61, .3) 4px 8px); }
.lg-now { background: rgba(243, 233, 218, .2); }

.org-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { min-height: 42px; padding: 0 18px; border: 1px solid rgba(243, 233, 218, .32); border-radius: 999px; background: transparent; font-size: 14.5px; font-weight: 500; color: inherit; transition: background-color .2s, color .2s; }
.chip:hover { border-color: var(--cream-ink); }
.chip[aria-pressed="true"] { border-color: var(--cream-ink); background: var(--cream-ink); color: var(--night); }

.org-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.org-card { overflow: hidden; border: 1px solid rgba(243, 233, 218, .09); border-radius: 16px; background: var(--night-2); scroll-margin-top: 100px; transition: box-shadow .3s; }
.org-card.flash { box-shadow: 0 0 0 2px var(--peach); }
.org-card[hidden] { display: none; }
.org-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.org-body { padding: 20px 22px 22px; }
.org-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.org-card h3 { font-family: var(--serif); font-size: 27px; font-weight: 520; }
.org-tag { padding: 5px 9px; border-radius: 4px; background: var(--cherry); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: #FFEDE0; }
.org-region { margin: 4px 0 14px; font-size: 14.5px; color: rgba(243, 233, 218, .62); }
.org-rasa { margin-bottom: 16px; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.35; color: var(--peach); }
.org-spec { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: 14px; }
.org-spec dt { color: rgba(243, 233, 218, .52); }
.org-spec dd { margin: 0; }
.org-lot { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(243, 233, 218, .22); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: rgba(243, 233, 218, .7); }
.org-note { max-width: 74em; margin-top: 34px; font-size: 14.5px; color: rgba(243, 233, 218, .6); }
.org-note b { font-weight: 600; color: var(--cream-ink); }

/* ---------- Untuk kafe ---------- */
.cafe { padding: 110px 0; }
.cafe-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; margin-bottom: 76px; }
.cafe-intro .h2 { margin-bottom: 20px; }
.cafe-intro > p { max-width: 36em; font-size: 17.5px; color: var(--muted); }
.perks { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.perks li { display: flex; gap: 12px; font-size: 16px; }
.perks .icon { margin-top: 2px; color: var(--olive); }
.cafe-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.cafe-photo figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

.prices { margin-bottom: 60px; }
.prices table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prices caption { padding-bottom: 12px; caption-side: top; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-align: left; color: var(--muted); }
.prices th, .prices td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.prices thead th { padding-top: 0; border-bottom-color: var(--ink); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prices tbody th { font-family: var(--serif); font-size: 21px; font-weight: 520; }
.prices td:last-child, .prices thead th:last-child { padding-right: 0; text-align: right; }
.prices td:last-child { font-weight: 600; white-space: nowrap; }
.prices-note { margin-top: 14px; font-size: 14.5px; color: var(--muted); }

.calc { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); scroll-margin-top: 92px; }
.calc-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.calc-form { display: grid; gap: 26px; align-content: start; padding: 42px; }
.calc-form .h3 { font-size: 31px; }
.calc-intro { margin-top: -14px; font-size: 15.5px; color: var(--muted); }
.cf { min-width: 0; margin: 0; padding: 0; border: 0; }
.cf-label { display: block; margin-bottom: 10px; padding: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.num { display: inline-flex; height: 54px; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 6px; background: #fff; }
.num input { width: 112px; border: 0; background: transparent; font-size: 22px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.num input::-webkit-outer-spin-button, .num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num input:focus { outline: none; background: #FBF1E4; }
.num-btn { display: grid; place-items: center; width: 52px; border: 0; background: transparent; }
.num-btn:hover { background: var(--sand); }
.seg { display: inline-flex; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 6px; background: #fff; }
.seg label { position: relative; }
.seg label + label { border-left: 1.5px solid var(--ink); }
.seg input, .opts input, .need input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: block; padding: 0 18px; font-weight: 500; line-height: 46px; white-space: nowrap; }
.seg input:checked + span { background: var(--ink); color: var(--cream); }
.seg input:focus-visible + span { outline: 2px solid var(--brown); outline-offset: -5px; }
.range { width: 100%; height: 28px; margin: 0; accent-color: var(--brown); cursor: pointer; }
.range-out { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.range-out b { color: var(--ink); }
.cf-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.inp { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line-d); border-radius: 6px; background: #fff; font-size: 18px; font-weight: 500; }
.inp:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 3px rgba(139, 74, 33, .16); }
.opts { display: grid; gap: 10px; }
.opts label { position: relative; display: block; }
.opts span { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 14px 16px; border: 1.5px solid var(--line-d); border-radius: 8px; background: #fff; font-size: 14.5px; color: var(--muted); }
.opts span b { font-size: 16px; font-weight: 600; color: var(--ink); }
.opts input:checked + span { border-color: var(--brown); background: #F7E9D8; box-shadow: inset 0 0 0 1px var(--brown); }
.opts input:focus-visible + span { outline: 2px solid var(--brown); outline-offset: 2px; }

.calc-out { display: flex; flex-direction: column; padding: 42px; background: var(--night); color: var(--cream-ink); }
.co-label { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(243, 233, 218, .58); }
.co-big { margin: 8px 0 6px; font-family: var(--serif); font-weight: 560; font-size: clamp(64px, 7vw, 100px); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.co-big small { margin-left: 10px; font-family: var(--sans); font-size: .3em; font-weight: 500; }
.co-sub { margin-bottom: 22px; font-size: 14.5px; color: rgba(243, 233, 218, .7); }
.co-list { margin: 0 0 24px; border-top: 1px solid rgba(243, 233, 218, .16); }
.co-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(243, 233, 218, .16); font-size: 15px; }
.co-list dt { white-space: nowrap; color: rgba(243, 233, 218, .64); }
.co-list dd small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: rgba(243, 233, 218, .6); }
.co-list dd { margin: 0; font-weight: 600; text-align: right; }
.co-sched ol { display: grid; gap: 8px; margin: 10px 0 26px; padding: 0; list-style: none; }
.co-sched li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 14px; border-radius: 8px; background: rgba(243, 233, 218, .07); font-size: 14px; }
.co-sched li span { color: rgba(243, 233, 218, .62); }
.co-sched li b { font-weight: 600; }
.co-sched li i { grid-row: span 2; align-self: center; font-family: var(--mono); font-size: 13px; font-style: normal; color: var(--peach); }
.co-note { margin-top: 14px; font-size: 13px; color: rgba(243, 233, 218, .55); }

/* ---------- Proses ---------- */
.process { padding: 110px 0; background: var(--sand); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.step img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 18px; border-radius: 14px; }
.step-no { margin-bottom: 8px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; color: var(--brown); }
.step h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 22px; font-weight: 540; line-height: 1.2; }
.step p:last-child { font-size: 15px; color: var(--muted); }
.steps-nav { display: none; align-items: center; gap: 14px; margin-top: 18px; }
.steps-pos { min-width: 64px; font-family: var(--mono); font-size: 13px; text-align: center; }
.round-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); }
.round-btn:disabled { opacity: .3; cursor: default; }

/* ---------- Mitra ---------- */
.partners { padding: 110px 0; }
.p-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.p-card { display: flex; flex-direction: column; }
.p-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 22px; border-radius: 14px; }
.p-card blockquote { margin-bottom: 16px; font-family: var(--serif); font-size: 20px; font-weight: 420; line-height: 1.45; }
.p-card figcaption { font-size: 14.5px; color: var(--muted); }
.p-card figcaption b { color: var(--ink); }
.p-meta { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--brown); }

/* ---------- Cupping terbuka ---------- */
.cupping { padding: 0 0 110px; }
.cup-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); overflow: hidden; border-radius: 22px; background: var(--sand); }
.cup-photo { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.cup-text { padding: 56px; }
.cup-text .h2 { margin-bottom: 18px; }
.cup-text > p { font-size: 17px; color: var(--muted); }
.cup-date { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; margin: 28px 0; }
.cup-date p { padding: 16px; border: 1px solid var(--line-d); border-radius: 10px; background: var(--paper); }
.cup-date span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cup-date b { font-family: var(--serif); font-size: 21px; font-weight: 540; line-height: 1.2; }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 110px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
.faq-side { max-width: 22em; margin-top: 16px; color: var(--muted); }
.faq-side a { color: var(--brown); font-weight: 600; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.3; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { transition: transform .25s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { max-width: 40em; margin: -6px 0 22px; font-size: 16.5px; color: var(--muted); }

/* ---------- Kontak ---------- */
.contact { padding: 110px 0; background: var(--sand); }
.ct-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.ct-info .h2 { margin-bottom: 18px; }
.ct-info > p { font-size: 17px; color: var(--muted); }
.ct-list { margin: 32px 0 24px; border-top: 1px solid var(--line-d); }
.ct-list div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-d); }
.ct-list dt { padding-top: 3px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ct-list dd { margin: 0; }
.ct-list a { display: inline-block; margin: -10px 0; padding: 10px 0; text-decoration-color: var(--line-d); text-underline-offset: 3px; }
.ct-form { display: grid; gap: 18px; padding: 36px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { padding: 0; font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.field legend { margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line-d); border-radius: 6px; background: #fff; font-size: 16px; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232B1E15' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 3px rgba(139, 74, 33, .16); }
.field input::placeholder, .field textarea::placeholder { color: #A8977F; }
.err { display: none; margin: 0; font-size: 13.5px; color: var(--cherry); }
.field.error input { border-color: var(--cherry); }
.field.error .err { display: block; }
.f-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.need { display: flex; flex-wrap: wrap; gap: 8px; }
.need label { position: relative; }
.need span { display: block; padding: 10px 15px; border: 1.5px solid var(--line-d); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 500; }
.need input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.need input:focus-visible + span { outline: 2px solid var(--brown); outline-offset: 2px; }
.topic { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 8px; background: #F3E3CE; font-size: 14.5px; }
.topic[hidden] { display: none; }
.topic button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; }
.topic button:hover { background: rgba(43, 30, 21, .08); }
.f-flash { animation: fflash 1.2s ease-out; }
@keyframes fflash { 0% { box-shadow: 0 0 0 0 rgba(139, 74, 33, .55); } 100% { box-shadow: 0 0 0 12px rgba(139, 74, 33, 0); } }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 40px; background: var(--night); font-size: 15px; color: rgba(243, 233, 218, .74); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { max-width: 24em; margin-top: 18px; }
.logo-light { color: var(--cream-ink); }
.foot-label { margin-bottom: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-ink); }
.footer p + p { margin-top: 12px; }
.footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer a { text-decoration: none; }
.footer ul a, .foot-grid p a { display: inline-block; padding: 6px 0; }
.footer ul { gap: 2px; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(243, 233, 218, .3); border-radius: 50%; }
.foot-bottom { display: grid; gap: 8px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(243, 233, 218, .14); font-size: 13px; color: rgba(243, 233, 218, .55); }
.foot-bottom p + p { margin-top: 0; }
.powered a { color: var(--cream-ink); font-weight: 600; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Modal & notifikasi ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(36, 25, 18, .6); }
.modal[hidden] { display: none; }
.modal-box { width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 24px 26px 22px; border-radius: 16px; background: var(--paper); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal-title { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.modal-title .icon { color: #1F7A4C; }
.modal-x { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; padding: 0; border: 0; background: none; }
.wa-bubble { padding: 14px 16px; border-radius: 0 12px 12px 12px; background: #E3F1DF; font-size: 14.5px; line-height: 1.6; color: #1C2A1C; white-space: pre-wrap; overflow-wrap: anywhere; }
.wa-note { margin: 12px 0 18px; font-size: 13.5px; color: var(--muted); }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 10px; background: var(--ink); font-size: 14.5px; color: var(--cream-ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translate(-50%, 16px); transition: opacity .3s, transform .3s, visibility .3s; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .icon { width: 18px; height: 18px; color: var(--peach); }
.toast span { flex: 1; min-width: 0; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Layar sedang dan kecil
   ========================================================= */
@media (max-width: 1080px) {
  .top-nav { display: none; }
  .top-cta { margin-left: auto; }
  .menu-btn { display: flex; }
  .hero-grid { gap: 48px; }
  .about-grid, .svc, .cafe-grid, .ct-grid, .faq-grid { gap: 48px; }
  .steps { gap: 16px; }
  .cal-row { grid-template-columns: 160px repeat(12, minmax(0, 1fr)); }
  .cal-name small { display: none; }
  .calc-form, .calc-out { padding: 34px; }
  .cup-text { padding: 40px; }
}

@media (max-width: 860px) {
  .wrap { width: min(1240px, 100% - 48px); }
  .hero { padding: 32px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-photo { max-width: 560px; }
  .band-cap { flex-direction: column; gap: 4px; }
  .about, .origins, .cafe, .process, .partners, .contact { padding: 84px 0; }
  .services { padding-bottom: 84px; }
  .cupping, .faq { padding-bottom: 84px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 0; }
  .svc-rev .svc-photo { order: 0; }
  .svc-photo img { aspect-ratio: 4 / 3; }
  .org-head, .sec-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .org-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cafe-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-bottom: 60px; }
  .cafe-photo { max-width: 560px; }
  .calc-in { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(240px, 42%); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; }
  .steps-nav { display: flex; }
  .p-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; max-width: 560px; }
  .cup-grid { grid-template-columns: minmax(0, 1fr); }
  .cup-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .faq-grid, .ct-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top-in { height: 66px; gap: 12px; }
  html { scroll-padding-top: 72px; }
  .logo-word { font-size: 27px; }
  .logo-sub { font-size: 8.5px; letter-spacing: .22em; }
  .menu-head { height: 66px; }
  .hero-kicker { font-size: 12px; letter-spacing: .1em; }
  .hero-kicker::before { flex-basis: 22px; }
  .hero-lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .roast-next { font-size: 14.5px; }
  .about-text p, .svc-body > p, .sec-head p, .org-head p, .cafe-intro > p { font-size: 16.5px; }
  .farmer { width: auto; margin: -36px 10px 0; padding: 18px; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .farmer img { width: 64px; height: 64px; }
  .farmer p { font-size: 16.5px; }
  .svc-spec div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cal-row { grid-template-columns: 108px repeat(12, minmax(0, 1fr)); min-height: 44px; }
  .cal-name { font-size: 15px; padding-right: 6px; }
  .m-long { display: none; }
  .m-short { display: inline; }
  .cal-m.on::before, .cal-m.small::before { height: 10px; margin-top: -5px; }
  .cal-m.start::before { left: 2px; }
  .cal-m.end::before { right: 2px; }
  .org-grid { grid-template-columns: minmax(0, 1fr); }
  .org-card img { aspect-ratio: 16 / 9; }
  .prices thead { display: none; }
  .prices tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .prices tbody tr:first-child { border-top: 1px solid var(--ink); }
  .prices th, .prices td { padding: 0; border: 0; }
  .prices tbody th { grid-column: 1; font-size: 19px; }
  .prices td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 14.5px; color: var(--muted); }
  .prices td:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; max-width: 9.5em; white-space: normal; text-align: right; font-size: 15px; }
  .calc { border-radius: 16px; margin-inline: -4px; }
  .calc-form, .calc-out { padding: 26px 20px; }
  .calc-form .h3 { font-size: 26px; }
  .cf-two { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .seg { display: flex; }
  .seg label { flex: 1 1 0; }
  .seg span { padding: 0 8px; text-align: center; }
  .num { display: flex; }
  .num input { flex: 1 1 auto; width: 0; min-width: 0; }
  .steps { grid-auto-columns: 74%; }
  .cup-text { padding: 28px 22px 30px; }
  .cup-date { grid-template-columns: minmax(0, 1fr); }
  .faq-list summary { font-size: 18.5px; padding: 18px 0; }
  .ct-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ct-form { padding: 24px 18px; border-radius: 16px; }
  .f-two { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .toast { bottom: 16px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 40px; }
  .h2 { font-size: 30px; }
  .cal-row { grid-template-columns: 100px repeat(12, minmax(0, 1fr)); }
  .cal-name { font-size: 14px; }
  .need span { padding: 9px 12px; font-size: 14px; }
}
