:root {
  --ink: #1b2826;
  --muted: #55625f;
  --green: #295b54;
  --green-deep: #1f4741;
  --ivory: #f7f4ec;
  --ivory-2: #efeadd;
  --line: #d8d3c4;
  --orange: #de7217;
  --plum: #681a53;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gut: clamp(20px, 5vw, 56px);
  --max: 1160px;
  --r: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: var(--r); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--green); color: #fff; padding: 10px 16px; z-index: 50; border-radius: var(--r); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--ivory); position: sticky; top: 0; z-index: 20; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand span { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; color: var(--green); letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--green); color: var(--green); }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: var(--r); padding: 2px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; }
.lang a, .lang span { padding: 4px 9px; border: 0; border-radius: 2px; }
.lang span { background: var(--green); color: #fff; }
.lang a:hover { background: var(--ivory-2); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r); padding: 9px 14px; font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--ink); cursor: pointer; }

/* generic */
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin: 0 0 20px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40em; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head h2, .split h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.link-strong, .link-light { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-strong { color: var(--green); }
.link-light { color: var(--ivory); }
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 24px; border-radius: var(--r); border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--green-deep); }
.btn[disabled] { background: #8a9794; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; margin: 36px 0 0; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--green); color: var(--green); padding: 2px 9px; border-radius: var(--r); vertical-align: middle; margin-left: 10px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); line-height: 1.02; max-width: 12em; color: var(--green-deep); }
.hero .lead { margin-top: 28px; }
.hero-mark img { width: min(100%, 430px); margin-left: auto; }

.facts { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts li { padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 4px; }
.facts li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.facts strong { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; color: var(--green-deep); }
.facts span { color: var(--muted); font-size: 0.92rem; }

/* editorial rows */
.rows { border-top: 1px solid var(--ink); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 26px 4px; text-decoration: none; transition: padding 0.2s ease, color 0.2s ease; }
.rows a:hover { padding-left: 14px; color: var(--green); }
.row-name { font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.1; }
.row-arrow { font-size: 1.5rem; color: var(--green); }

.split { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 6vw, 80px); }
.numbered { counter-reset: n; border-top: 1px solid var(--ink); }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; align-items: baseline; }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--serif); font-size: 1.6rem; color: var(--green); }

/* store rows (home) */
.store-rows { border-top: 1px solid var(--ink); }
.store-row { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 12px 32px; align-items: center; padding: 28px 0 28px 22px; border-bottom: 1px solid var(--line); position: relative; }
.store-row::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 4px; background: var(--green); }
.store-kencana-tani::before { background: var(--orange); }
.store-fadilah-tani::before { background: var(--plum); }
.store-row h3 { font-size: 1.7rem; }
.store-row p { margin: 0; color: var(--muted); }
.store-row p strong { color: var(--ink); font-weight: 600; }
.store-row a { font-weight: 600; color: var(--green); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

.closing { background: var(--green); color: var(--ivory); padding: clamp(64px, 10vw, 128px) 0; }
.slogan { font-family: var(--serif); font-size: clamp(2.2rem, 6.4vw, 5rem); line-height: 1.04; max-width: 14em; margin: 0 0 36px; }

/* page head */
.page-head { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(28px, 4vw, 48px); }
.page-head-line { border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); color: var(--green-deep); max-width: 14em; }
.page-head .lead { margin-top: 22px; }

.timeline { position: relative; border-left: 1px solid var(--ink); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 44px 36px; display: grid; grid-template-columns: 150px 1fr; gap: 8px 28px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 14px; width: 11px; height: 11px; background: var(--green); border-radius: 50%; }
.timeline li:last-child { padding-bottom: 0; }
.t-year { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--green); line-height: 1.1; }
.timeline p { margin: 0; max-width: 40em; }

.prose { font-size: 1.15rem; max-width: 36em; }

/* business */
.biz-rows { counter-reset: b; border-top: 1px solid var(--ink); }
.biz-rows li { counter-increment: b; display: grid; grid-template-columns: clamp(70px, 14vw, 160px) 1fr; gap: 16px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); }
.biz-rows li::before { content: counter(b, decimal-leading-zero); font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; color: #b8c9c5; }
.biz-rows h3 { font-size: clamp(1.8rem, 4vw, 3rem); }
.biz-rows p { margin: 10px 0 0; color: var(--muted); }
.band { background: var(--ivory-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 36px; padding-bottom: 36px; }
.band p { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2rem); max-width: 26em; line-height: 1.2; }
.partners { display: flex; flex-wrap: wrap; gap: 14px 40px; font-family: var(--serif); font-size: 1.5rem; }

/* stores page */
.store-block { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 88px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.store-block:nth-of-type(even) .store-logo { order: 2; }
.store-logo { border-top: 4px solid var(--green); padding-top: 28px; }
.store-block.store-kencana-tani .store-logo { border-top-color: var(--orange); }
.store-block.store-fadilah-tani .store-logo { border-top-color: var(--plum); }
.store-logo img { width: min(100%, 320px); margin: 0 auto; }
.store-info h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.store-info dl { margin: 24px 0 28px; display: grid; grid-template-columns: 110px 1fr; gap: 10px 20px; }
.store-info dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.store-info dd { margin: 0; }
.store-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.map-toggle { background: none; border: 0; font: inherit; font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 0; }
.map-box { margin-top: 24px; border: 1px solid var(--line); }
.map-box iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-box[hidden] { display: none; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 7vw, 96px); padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 104px); }
.form-row { margin-bottom: 26px; }
label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid #9da8a5; padding: 10px 2px; border-radius: 0; }
select { background: var(--ivory); }
textarea { min-height: 150px; resize: vertical; border: 1.5px solid #9da8a5; padding: 12px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 2px 0 0 var(--green); }
.err { color: #a12a1a; font-size: 0.85rem; margin-top: 6px; min-height: 1.2em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin-top: 18px; font-weight: 500; }
.status.ok { color: var(--green); }
.status.bad { color: #a12a1a; }
.mini-stores li { padding: 18px 0 18px 20px; border-top: 1px solid var(--line); position: relative; }
.mini-stores li::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; background: var(--green); }
.mini-stores li.store-kencana-tani::before { background: var(--orange); }
.mini-stores li.store-fadilah-tani::before { background: var(--plum); }
.mini-stores h3 { font-size: 1.35rem; }
.mini-stores p { margin: 4px 0 6px; color: var(--muted); font-size: 0.95rem; }
.mini-stores a { color: var(--green); font-weight: 600; font-size: 0.92rem; }

/* gallery */
.gallery { columns: 2; column-gap: 20px; padding-top: 48px; padding-bottom: 88px; }
.gallery.few { columns: 1; max-width: 860px; }
.gallery figure { margin: 0 0 32px; break-inside: avoid; }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }

/* footer */
.site-footer { background: var(--ivory-2); border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 0.95rem; }
.foot-top { display: grid; grid-template-columns: 1.1fr 2.4fr; gap: 40px; }
.foot-brand img { height: 56px; width: auto; margin-bottom: 14px; }
.foot-brand p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; margin: 0; color: var(--green-deep); max-width: 14em; }
.foot-stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.foot-stores li { border-top: 3px solid var(--green); padding-top: 14px; }
.foot-stores li.store-kencana-tani { border-top-color: var(--orange); }
.foot-stores li.store-fadilah-tani { border-top-color: var(--plum); }
.foot-stores strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.foot-stores span { display: block; color: var(--muted); }
.foot-stores a { color: var(--green); font-weight: 600; }
.foot-bot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }

/* motion */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .rows a { transition: none; }
}

/* responsive */
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gut) 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .lang { margin-top: 16px; }
  .nav .lang a { width: auto; padding: 4px 9px; border: 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-mark { order: -1; }
  .hero-mark img { width: 150px; margin: 0; }
  .split, .contact-grid, .foot-top { grid-template-columns: 1fr; }
  .store-block { grid-template-columns: 1fr; }
  .store-block:nth-of-type(even) .store-logo { order: 0; }
  .store-logo img { margin: 0; width: 220px; }
  .store-row { grid-template-columns: 1fr; padding-left: 20px; }
  .foot-stores { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
  .store-info dl { grid-template-columns: 1fr; gap: 2px; }
  .store-info dt { padding-top: 10px; }
  .numbered li { grid-template-columns: 48px 1fr; }
  .brand span { font-size: 1.35rem; }
}
