/* Kemas Jaya Renovation (Taipje demo). Colours and type: see ../../BRAND.md */
:root {
  --green: #12352b;
  --green-2: #1d4a3c;
  --sand: #f6f1e8;
  --sand-2: #ece3d3;
  --clay: #d4692e;
  --clay-dark: #b5541f;
  --ink: #1d2320;
  --muted: #5d6762;
  --line: rgba(18, 53, 43, .14);
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(18, 53, 43, .45);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(18px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16.5px/1.6 var(--sans); color: var(--ink); background: var(--sand); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 650; line-height: 1.12; letter-spacing: -.01em; margin: 0; color: var(--green); }
p { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; }

.demo-note { background: var(--green); color: #e8efe9; font-size: 13px; text-align: center; padding: 7px 16px; }
.demo-note a { color: #fff; font-weight: 600; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 12px var(--pad);
  background: rgba(246, 241, 232, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 650 21px/1 var(--serif); color: var(--green); margin-right: auto; }
.nav { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--clay-dark); }
.nav .nav-cta { background: var(--green); color: #fff; padding: 10px 18px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--green-2); color: #fff; }
.menu-toggle { display: none; font: 600 15px var(--sans); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--green); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn-main { background: var(--clay); color: #fff; box-shadow: 0 10px 24px -12px rgba(212, 105, 46, .8); }
.btn-main:hover { background: var(--clay-dark); }
.btn-soft { background: #fff; color: var(--green); border: 1px solid var(--line); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 7vw, 96px) var(--pad) clamp(40px, 6vw, 80px); }
.eyebrow, .kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--clay-dark); margin-bottom: 14px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); }
.lead { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--muted); margin: 20px 0 30px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; padding: 0; margin: 38px 0 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.trust li { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.trust b { font: 650 28px/1.1 var(--serif); color: var(--green); }
.hero-art { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--sand-2); aspect-ratio: 720 / 620; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding: clamp(56px, 8vw, 110px) var(--pad); }
.section-tint { background: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2, .about h2, .contact h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p:not(.kicker) { color: var(--muted); margin-top: 14px; font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 21px; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--sand); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--clay-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project { margin: 0; background: var(--sand); border-radius: var(--radius); overflow: hidden; }
.project img { width: 100%; aspect-ratio: 600 / 440; object-fit: cover; }
.project figcaption { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.project b { font: 650 18px/1.25 var(--serif); color: var(--green); }
.project span { color: var(--muted); font-size: 15px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { border-top: 2px solid var(--green); padding-top: 18px; }
.steps .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--clay); color: #fff; font-weight: 700; }
.steps h3 { font-size: 20px; margin: 14px 0 8px; }
.steps p { color: var(--muted); font-size: 15.5px; }

.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.about-art { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 520 / 560; background: var(--sand-2); }
.about-art img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p:not(.kicker) { margin-top: 18px; font-size: 17.5px; color: var(--muted); max-width: 36em; }
.about-copy .sign { font: italic 500 19px var(--serif); color: var(--green); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quotes blockquote { margin: 0; background: var(--sand); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.quotes p { font: 500 18px/1.5 var(--serif); color: var(--green); }
.quotes p::before { content: '“'; } .quotes p::after { content: '”'; }
.quotes cite { font-style: normal; font-weight: 600; font-size: 14.5px; color: var(--muted); margin-top: auto; }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17.5px; color: var(--green); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--clay-dark); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; color: var(--muted); }

.contact { padding-top: 0; }
.contact-card { background: var(--green); color: #e5ede7; border-radius: 30px; padding: clamp(30px, 6vw, 70px); display: grid; gap: 18px; justify-items: start; }
.contact-card h2 { color: #fff; }
.contact-card > p { max-width: 34em; font-size: 17.5px; }
.details { margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; width: 100%; }
.details dt { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fc0b1; }
.details dd { margin: 6px 0 0; color: #fff; }
.details a { text-decoration: none; }

.foot { padding: 30px var(--pad) 40px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45); z-index: 30; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 960px) {
  .cards, .projects, .quotes { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--sand); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 12px; text-align: center; border: 0; }
  .hero, .about { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 4 / 3; }
  .cards, .projects, .quotes, .steps { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}
