/* Perizinan Manado, mockup B "Bentenan": Minahasa wooden houses and the diamond rows of kain Bentenan.
   Stone-white surfaces, turmeric yellow as the one bold colour, ink for text only. Inner pages reuse
   .wrap, .i, .btn, .chip, header, nav, drawer, brand, footer, mbar and the chat. */

:root {
  --bg-page: #f7f6f2;
  --card: #ffffff;
  --raised: #edeae1;
  --ink: #17181c;
  --ink-2: #45464d;
  --muted: #66676e;
  --line: rgba(23, 24, 28, .14);
  --deep-950: #17181c;
  --deep-900: #17181c;
  --deep-700: #17181c;
  --deep-100: #e2ded2;
  --deep-50: #f3f0e4;
  --brand-500: #f2b705;
  --brand-700: #8a6500;
  --brand-100: #fdf1c7;
  --bg: var(--raised);
  --shadow-md: 0 14px 34px rgba(23, 24, 28, .10);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Schibsted Grotesk', 'DM Sans', system-ui, sans-serif;
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 20'%3E%3Cpath d='M16 3l7 7-7 7-7-7z' fill='%2317181c'/%3E%3Cpath d='M0 9h4M28 9h4' stroke='%2317181c' stroke-width='2'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.6; color: var(--ink); background: var(--bg-page); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--brand-500); text-decoration-thickness: 2px; text-underline-offset: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; z-index: 100; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 16px; margin: 0; clip: auto; background: var(--card); color: var(--ink); border-radius: 10px; box-shadow: var(--shadow-md); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border: 2px solid transparent; border-radius: 10px; font-size: 15.5px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--brand-500); color: var(--ink); }
.btn-accent:hover { background: #ffc61f; }
.btn-ink, .btn-deep { background: var(--ink); color: #fff; }
.btn-ink:hover, .btn-deep:hover { background: #33353d; }
.btn-line { background: var(--card); border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--brand-100); }
.text-btn { padding: 0; border: 0; background: none; color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--brand-500); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.chip { min-height: 40px; padding: 0 16px; border: 2px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink-2); font-size: 14px; font-weight: 700; cursor: pointer; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.mock-banner { padding: 8px 24px; background: var(--brand-100); color: var(--ink-2); font-size: 13px; line-height: 1.5; text-align: center; }
.mock-banner b { color: var(--ink); }

/* The Bentenan diamond row: a woven band used as a divider */
.motif { height: 22px; background: var(--brand-500) var(--motif) repeat-x center / 32px 20px; }
.motif-ink { background-color: var(--brand-500); }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(247, 246, 242, .97); border-bottom: 2px solid var(--ink); }
.header.is-scrolled { box-shadow: 0 6px 20px rgba(23, 24, 28, .08); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; border-radius: 10px; }
.brand .mark { width: 42px; height: 42px; flex: none; }
.brand b { display: block; font-family: var(--display); font-size: 19px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.brand small { display: block; font-size: 12px; line-height: 1.3; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a { position: relative; padding: 10px 12px; color: var(--ink-2); font-size: 15px; font-weight: 600; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--brand-500); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after, .nav a[aria-current]::after { transform: none; }
.nav a.is-active, .nav a[aria-current] { color: var(--ink); font-weight: 700; }
.header-cta { min-height: 46px; padding: 0 18px; font-size: 14.5px; }
.menu-btn { display: none; width: 46px; height: 46px; margin-left: auto; place-items: center; border: 2px solid var(--ink); border-radius: 10px; background: var(--card); color: var(--ink); cursor: pointer; }
.menu-btn .i-close, .header.is-open .menu-btn .i-open { display: none; }
.header.is-open .menu-btn .i-close { display: block; }
.drawer { display: none; border-top: 2px solid var(--ink); background: var(--bg-page); }
.drawer nav { display: grid; padding-block: 8px 20px; }
.drawer nav > a { display: flex; align-items: center; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--display); font-size: 19px; font-weight: 700; text-decoration: none; }
.drawer nav > a.is-active, .drawer nav > a[aria-current] { box-shadow: inset 6px 0 0 var(--brand-500); padding-left: 16px; }
.drawer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 16px; }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 1140px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: grid; }
  .header.is-open .drawer { display: block; max-height: calc(100svh - 76px); overflow-y: auto; animation: drawerIn .2s var(--ease); }
}
@media (max-width: 400px) { .brand small { display: none; } .drawer-cta { grid-template-columns: 1fr; } }

/* Hero: the full-width photo, a slide index down its left edge, and a turmeric block cut on the diagonal */
.hero { position: relative; }
.hero-stage { position: relative; height: clamp(520px, 78svh, 820px); overflow: hidden; background: var(--deep-100); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease); }
.hero-img.is-active { opacity: 1; }
.hero.is-ready .hero-img.is-active { animation: settle 9s ease-out both; }
@keyframes settle { from { transform: scale(1.06) translateX(-1%); } to { transform: none; } }
.hero-place { position: absolute; top: 24px; right: max(24px, (100% - 1240px) / 2); display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 140px); padding: 9px 14px 9px 10px; border-radius: 10px; background: var(--card); color: var(--ink); font-size: 14px; font-weight: 700; box-shadow: 0 6px 18px rgba(23, 24, 28, .16); opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hero-place .i { width: 16px; height: 16px; color: var(--brand-700); }
.hero-place.is-active { opacity: 1; transform: none; }
.hero-index { position: absolute; top: 24px; left: max(24px, (100% - 1240px) / 2); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 6px 6px; border-radius: 12px; background: var(--card); box-shadow: 0 8px 24px rgba(23, 24, 28, .16); }
.hero-count { display: grid; justify-items: center; font-family: var(--display); font-variant-numeric: tabular-nums; line-height: 1; }
.hero-count b { font-size: 24px; font-weight: 800; }
.hero-count span { margin-top: 4px; font-size: 12px; color: var(--muted); }
.ticks { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tick { position: relative; display: block; width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.tick::before { content: ""; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 4px; margin-left: -2px; border-radius: 2px; background: #8a877d; transition: background-color .2s var(--ease); }
.tick:hover::before { background: var(--muted); }
.tick.is-active::before { background: var(--ink); width: 8px; margin-left: -4px; }
.hero-ctrl { display: grid; gap: 2px; }
.ctrl { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; }
.ctrl:hover { background: var(--brand-100); }
.hero:not(.is-ready) .hero-index { visibility: hidden; }
.hero-inner { position: relative; z-index: 2; margin-top: -170px; }
.hero-block { width: min(760px, 100%); padding: 40px 120px 40px 44px; background: var(--brand-500); clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 0 100%); border-radius: 4px 0 0 4px; }
.hero-kicker { margin-bottom: 16px; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-title { font-family: var(--display); font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.hero-sub { max-width: 34rem; margin-top: 16px; font-size: 17px; line-height: 1.6; color: #2b2b26; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-actions .btn-line { border-color: var(--ink); }
@media (max-width: 900px) {
  .hero-stage { height: auto; aspect-ratio: 4 / 3.3; min-height: 360px; }
  .hero-index { top: auto; bottom: 64px; left: 16px; flex-direction: row; padding: 4px 4px 4px 12px; gap: 8px; }
  .hero-count { display: flex; align-items: baseline; gap: 2px; }
  .hero-count b { font-size: 18px; }
  .ticks { grid-auto-flow: column; gap: 0; }
  .tick { width: 30px; height: 44px; }
  .tick::before { left: 4px; right: 4px; top: 50%; bottom: auto; width: auto; height: 4px; margin: -2px 0 0; }
  .tick.is-active::before { width: auto; height: 6px; margin: -3px 0 0; }
  .hero-ctrl { grid-auto-flow: column; }
  .hero-place { top: 16px; right: 16px; max-width: calc(100% - 32px); font-size: 13px; }
  .hero-inner { margin-top: -44px; }
  .hero-block { width: 100%; padding: 28px 24px 30px; clip-path: polygon(0 0, 100% 24px, 100% 100%, 0 100%); padding-top: 42px; border-radius: 0; }
}
@media (max-width: 600px) {
  .hero-stage { aspect-ratio: 1 / 1; min-height: 0; }
  .hero-index { bottom: 56px; }
  .hero-ctrl .ctrl { width: 40px; height: 40px; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 360px) { .hero-count { display: none; } }

/* Sections */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-stone { background: var(--raised); }
.section-sun { background: var(--brand-500); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 64px; margin-bottom: 44px; }
.section-head > h2 { flex: 1 1 auto; }
.section-head .lede { flex: 0 1 30rem; }
.section h2, .woloan h2 { max-width: 18ch; font-family: var(--display); font-size: clamp(30px, 3.6vw, 50px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.lede { font-size: 17.5px; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 860px) {
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .section-head .lede { flex-basis: auto; }
}

/* About: one statement in big type, then the photo framed in turmeric */
.section h2.statement { max-width: 24ch; margin-bottom: clamp(40px, 6vw, 72px); font-size: clamp(30px, 4.2vw, 58px); }
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.about-photo { margin: 0 18px 0 0; }
.about-photo img { width: 100%; border-radius: 8px; box-shadow: 18px 18px 0 var(--brand-500); }
.about-photo figcaption { margin-top: 30px; font-size: 13px; color: var(--muted); }
.about-text .lede { color: var(--ink); }
.about-text > p:not(.lede) { margin-top: 14px; color: var(--ink-2); }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 32px 0; border-top: 2px solid var(--ink); }
.about-facts div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 16px 16px 0 0; }
.about-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.about-facts dt { font-size: 13.5px; color: var(--muted); }
.about-facts dd { margin: 0; font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.teams-title { margin: 72px 0 16px; font-family: var(--display); font-size: 19px; }
.teams { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.teams li { display: flex; flex-direction: column; gap: 10px; padding: 18px 12px 8px 0; font-family: var(--display); font-size: 17px; font-weight: 700; }
.teams .i { width: 24px; height: 24px; color: var(--brand-700); }
@media (max-width: 1000px) { .teams { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; } }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 560px; }
}
@media (max-width: 560px) {
  .teams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-facts dd { font-size: 34px; }
  .about-facts div + div { padding-left: 10px; }
}

/* Services: tabs per group; each service led by its permit code in big type */
.svc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.svc-tabs[hidden] { display: none; }
.svc-tab { display: inline-flex; align-items: center; gap: 10px; text-align: left; min-height: 52px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 10px; background: var(--card); color: var(--ink); font-size: 16px; font-weight: 700; cursor: pointer; transition: background-color .16s var(--ease); }
.svc-tab span { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 6px; background: var(--deep-50); font-size: 13px; }
.svc-tab:hover { background: var(--brand-100); }
.svc-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.svc-tab[aria-selected="true"] span { background: var(--brand-500); color: var(--ink); }
.svc-panels { display: grid; gap: 20px; }
.svc-panel { padding: clamp(24px, 4vw, 44px); border-radius: 14px; background: var(--card); scroll-margin-top: 100px; }
.svc-panel[hidden] { display: none; }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.panel-head h3 { font-family: var(--display); font-size: 26px; letter-spacing: -.03em; }
.panel-head p { max-width: 44ch; color: var(--ink-2); }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; padding: 0; list-style: none; }
.svc { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 4px 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.svc h4 { font-family: var(--display); font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; overflow-wrap: anywhere; }
.svc p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.svc p b { color: var(--ink); }
.svc:target { box-shadow: inset 6px 0 0 var(--brand-500); padding-left: 18px; }
@media (max-width: 1100px) { .codes { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .svc-tab { flex: 1 1 calc(50% - 8px); justify-content: flex-start; min-height: 48px; padding: 0 12px; font-size: 14.5px; }
  .svc-tab .i { display: none; }
  .svc-tab span { margin-left: auto; }
  .svc { grid-template-columns: 1fr; }
  .svc-panel { border-radius: 10px; }
}

/* Process: five blocks, each ending in a chevron like a Bentenan border */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { position: relative; padding: 22px 20px 34px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); }
.steps li::after { content: ""; position: absolute; left: 20px; bottom: 14px; width: 40px; height: 10px; background: var(--motif) repeat-x left center / 16px 10px; opacity: .9; }
.steps li:last-child { background: var(--brand-500); }
.step-no { display: block; margin-bottom: 18px; font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.steps h3 { font-family: var(--display); font-size: 18px; letter-spacing: -.02em; }
.steps p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps li:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; padding: 18px 18px 28px; }
  .step-no { grid-row: span 2; margin: 0; font-size: 36px; }
}

/* Parallax: the Woloan photo drifts, a Bentenan band crosses it, the card holds the order of permits */
.woloan { position: relative; display: flex; align-items: center; min-height: clamp(560px, 84svh, 800px); overflow: hidden; background: var(--deep-100); }
.woloan-photo { position: absolute; inset: -18% 0; will-change: transform; }
.woloan-photo img { width: 100%; height: 100%; object-fit: cover; }
.motif-float { position: absolute; left: -5%; right: -5%; top: 62%; height: 44px; background-size: 48px 30px; transform-origin: center; rotate: -4deg; will-change: transform; }
.woloan-copy { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.woloan-card { width: min(540px, 100%); padding: 36px; border-radius: 12px; background: var(--card); box-shadow: 14px 14px 0 var(--ink); }
.woloan h2 { font-size: clamp(28px, 3vw, 40px); }
.phases { display: grid; margin: 24px 0 28px; padding: 0; list-style: none; counter-reset: phase; }
.phases li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); counter-increment: phase; }
.phases li::before { content: counter(phase); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--brand-500); font-family: var(--display); font-weight: 800; }
.phases b { font-family: var(--display); font-size: 18px; }
.phases span { font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) {
  .woloan { align-items: flex-end; min-height: 680px; padding-bottom: 32px; }
  .motif-float { top: 18%; }
  .woloan-card { padding: 24px 20px; box-shadow: 8px 8px 0 var(--ink); }
  .woloan-card .btn { width: 100%; }
}

/* Portfolio: a sideways rail of project cards */
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl .ctrl { width: 50px; height: 50px; border: 2px solid var(--ink); border-radius: 10px; background: var(--card); }
.rail-ctrl .ctrl:hover { background: var(--brand-500); }
.rail-ctrl .ctrl[aria-disabled="true"] { opacity: .35; cursor: default; background: var(--card); }
.pf-lede { max-width: 56rem; margin: -20px 0 32px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 16px; margin: 0; padding: 4px 4px 20px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--ink) var(--deep-100); }
.rail > li { scroll-snap-align: start; display: flex; }
.rail > li:first-child { grid-column: span 1; }
.rail:focus-visible { outline-offset: 4px; }
.pf-card { display: flex; flex-direction: column; width: 100%; overflow: hidden; border: 2px solid var(--ink); border-radius: 12px; background: var(--card); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease); }
.pf-card:hover { transform: translateY(-4px); }
.pf-lead { background: var(--brand-500); }
.pf-photo { overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--raised); }
.pf-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pf-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.pf-where { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; }
.pf-where .i { width: 15px; height: 15px; }
.pf-status { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.pf-card h3 { font-family: var(--display); font-size: 20px; line-height: 1.15; letter-spacing: -.025em; }
.pf-loc { font-size: 14px; color: var(--ink-2); }
.pf-lead .pf-loc { color: #2b2b26; }
.pf-permits { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.pf-permits li { padding: 3px 9px; border-radius: 6px; background: var(--deep-50); font-size: 12.5px; font-weight: 700; }
.pf-lead .pf-permits li { background: rgba(255, 255, 255, .6); }
.pf-more { justify-content: flex-end; gap: 8px; padding: 24px; background: var(--ink); color: #fff; }
.pf-more b { font-family: var(--display); font-size: 88px; font-weight: 800; line-height: .9; letter-spacing: -.05em; color: var(--brand-500); }
.pf-more span { font-family: var(--display); font-size: 21px; font-weight: 700; }
.pf-more .i { width: 26px; height: 26px; color: var(--brand-500); }
@media (max-width: 600px) { .rail { grid-auto-columns: 82%; } .rail-ctrl { display: none; } .pf-lede { margin-top: 0; } }

/* Assistant: the turmeric section; questions open the chat drawer */
.assist { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.assist-text h2 { margin-bottom: 20px; }
.section-sun .lede { color: #2b2b26; }
.note { display: flex; gap: 10px; margin-top: 24px; font-size: 14.5px; line-height: 1.55; color: #2b2b26; }
.note .i { margin-top: 2px; }
.assist-list { display: grid; border-top: 2px solid var(--ink); }
.ask-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 12px 4px; border: 0; border-bottom: 2px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--display); font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; letter-spacing: -.02em; text-align: left; cursor: pointer; transition: padding .2s var(--ease), background-color .2s var(--ease); }
.ask-row .i { width: 24px; height: 24px; }
.ask-row:hover { padding-inline: 14px; background: rgba(255, 255, 255, .35); }
.ask-open { color: var(--ink); }
@media (max-width: 960px) { .assist { grid-template-columns: 1fr; gap: 36px; } }

/* Chat colours: the drawer runs the full height of the screen on this option */
.pj-chat { border-radius: 0; border: 0; }
.pj-chat-head { background: var(--ink); }
.pj-chat-head .chat-mark { width: 34px; height: 34px; border-radius: 8px; flex: none; box-shadow: none; }
.pj-msg-bot { background: var(--deep-50); }
.pj-msg-user { background: var(--ink); }
.pj-chip { border-radius: 8px; border-width: 2px; }
.pj-chip:hover { background: var(--brand-100); border-color: var(--ink); }
.pj-chat-form .btn { width: 50px; border-radius: 10px; }
.pj-doc-title { color: var(--brand-700); }
.chat-dock { top: 0; right: 0; bottom: 0; width: min(440px, 100vw); max-height: none; transform: translateX(24px); border-left: 2px solid var(--ink); }
.chat-dock .pj-chat { box-shadow: -20px 0 50px rgba(23, 24, 28, .2); }
.chat-dock .pj-chat-log { max-height: none; }
.chat-fab { border-radius: 10px; background: var(--brand-500); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.chat-fab:focus-visible { outline-color: var(--ink); }
@media (max-width: 760px) { .chat-dock { border-left: 0; transform: translateY(24px); } }

/* Areas: one row per area */
.area-rows { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.area-rows li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.area-rows li:first-child h3 { box-shadow: inset 0 -10px 0 var(--brand-500); width: fit-content; }
.area-rows h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.area-rows p { font-size: 16px; color: var(--ink-2); }
.areas-note { display: flex; gap: 10px; margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.areas-note .i { margin-top: 3px; color: var(--muted); }
@media (max-width: 760px) { .area-rows li { grid-template-columns: 1fr; padding: 20px 0; } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-top: 6px solid var(--ink); border-radius: 0 0 12px 12px; background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease); }
.post:hover { border-top-color: var(--brand-500); }
.post-info { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.post-info b { color: var(--brand-700); }
.post h3 { font-family: var(--display); font-size: 21px; line-height: 1.2; letter-spacing: -.025em; }
.post > p:not(.post-info) { font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact-text h2 { margin-bottom: 20px; }
.wa-block { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 20px 22px; border-radius: 12px; background: #25d366; color: #062b16; font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.03em; text-decoration: none; box-shadow: 8px 8px 0 var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.wa-block:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--ink); }
.wa-block .i { width: 42px; height: 42px; }
.wa-block small { display: block; font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.form { display: grid; gap: 16px; padding: 32px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); }
.form h3 { font-family: var(--display); font-size: 24px; letter-spacing: -.03em; }
.form-sub { margin-top: -8px; font-size: 14px; color: var(--ink-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; }
.field small, .form-note { font-size: 13px; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid #8a877d; border-radius: 8px; background: #fff; color: var(--ink); font-size: 16px; }
.field textarea { resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 0; border-color: var(--ink); }
.form .btn { justify-self: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) {
  .form { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .wa-block { padding: 16px; box-shadow: 6px 6px 0 var(--ink); }
}

/* Footer: turmeric, not black */
.footer { padding-bottom: 28px; background: var(--brand-500); color: var(--ink); font-size: 15px; }
.footer .motif { margin-bottom: 64px; background-color: var(--bg-page); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand small { color: #2b2b26; }
.footer h2 { margin: 0 0 16px; font-family: var(--display); font-size: 16px; font-weight: 800; }
.footer nav { display: grid; gap: 10px; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-decoration-color: var(--ink); }
.foot-brand p { max-width: 34ch; margin-top: 16px; color: #2b2b26; }
.footer .foot-download { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 10px; background: var(--ink); font-weight: 700; color: #fff; }
.footer .foot-download:hover { background: #33353d; text-decoration: none; }
.foot-contact { display: grid; gap: 12px; }
.foot-contact div { display: flex; gap: 10px; }
.foot-contact a { min-width: 0; overflow-wrap: anywhere; font-weight: 700; }
.foot-contact .i { margin-top: 3px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 52px; padding-top: 22px; border-top: 2px solid var(--ink); font-size: 13.5px; }
.foot-bottom a { text-decoration: underline; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer .motif { margin-bottom: 48px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer nav a { padding-block: 4px; }
  .foot-bottom { flex-direction: column; margin-top: 36px; }
}

/* Phone action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--bg-page); border-top: 2px solid var(--ink); }
  .mbar a, .mbar button { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 48px; padding: 0 4px; border: 2px solid var(--ink); border-radius: 10px; background: var(--card); color: var(--ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; text-decoration: none; cursor: pointer; }
  .mbar button { background: var(--brand-500); }
  .mbar .mbar-wa { border-color: #25d366; background: #25d366; color: #062b16; }
  .chat-open .mbar { visibility: hidden; }
}
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }
@media (max-width: 360px) { .mbar .i { display: none; } }

/* Inner pages: a turmeric title band in place of the shared dark one */
.page-hero { background: var(--brand-500); color: var(--ink); border-bottom: 2px solid var(--ink); }
.page-hero h1, .sec-title { font-family: var(--display); font-weight: 800; letter-spacing: -.04em; }
.crumbs ol { color: #2b2b26; }
.crumbs li + li::before { color: rgba(23, 24, 28, .45); }
.crumbs a { color: var(--ink); text-decoration: underline; }
.page-hero .lead { color: #2b2b26; }
.hero-meta span { background: rgba(255, 255, 255, .45); border-color: rgba(23, 24, 28, .18); color: var(--ink); }
.hero-meta .i { color: var(--ink); }
.cta-band .btn-accent { background: var(--brand-500); color: var(--ink); }

/* Dropdowns */
.pj-select { border: 2px solid #8a877d; border-radius: 8px; font-weight: 600; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317181c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.pj-select:hover { border-color: var(--ink); background-color: var(--brand-100); }
@supports (appearance: base-select) {
  .pj-select option:checked { background: var(--ink); color: #fff; }
  .pj-select option::checkmark { color: var(--brand-500); }
}

@media (prefers-reduced-motion: reduce) {
  .header.is-open .drawer { animation: none; }
  .hero.is-ready .hero-img.is-active { animation: none; }
  .hero-img, .hero-slide, .hero-place { transition-duration: .01s; }
  .nav a::after { transition: none; }
}
