/* Arsavela landing page — light only (like every page), Plus Jakarta Sans, with the brand colour (--brand) as primary.
   The other pages take the same brand colour as accent (web/intake/intake.css, web/viewer/css/viewer.css). */

:root {
  --bg: #fff;
  --bg-rgb: 255 255 255;
  --card-solid: #fff;
  --line: #e4e4e7;
  --line-2: #d4d4d8;
  --line-3: #f4f4f5;
  --text: #09090b;
  --text-2: #52525b;
  --text-3: #71717a;
  --brand: #a16207;
  --brand-hover: #854d0e;
  --on-brand: #fff;
  --ghost-bg: rgba(255, 255, 255, .75);
  --ghost-hover: #a1a1aa;
  --select: #f9e9b8;
  --hero-img: url("/portal/img/contoh-tangsel-3d.webp");
  --closing-opacity: .22;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--select); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { margin: 0; font-weight: 600; color: var(--text); }
h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.06; letter-spacing: -.03em; }
h3 { font-size: 20px; line-height: 1.4; letter-spacing: -.025em; }
.eyebrow { display: block; margin-bottom: 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); }
.lede { font-size: 18px; line-height: 1.62; color: var(--text-2); margin: 20px 0 0; max-width: 38em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 28px;
  border-radius: 8px; border: 1px solid transparent; font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.btn.primary { background: var(--brand); color: var(--on-brand); }
.btn.primary:hover { background: var(--brand-hover); }
.btn.ghost { background: var(--ghost-bg); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--ghost-hover); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }

/* nav */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgb(var(--bg-rgb) / .78); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.top .actions { display: flex; align-items: center; gap: 10px; }

/* hero */
.hero { position: relative; min-height: min(100vh, 940px); display: flex; align-items: center; overflow: hidden; padding: 110px 0 72px; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 62%; background: var(--hero-img) 40% 50% / cover no-repeat; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(var(--bg-rgb)) 0%, rgb(var(--bg-rgb) / .85) 14%, rgb(var(--bg-rgb) / .25) 46%, rgb(var(--bg-rgb) / 0) 70%),
              linear-gradient(0deg, rgb(var(--bg-rgb)) 0%, rgb(var(--bg-rgb) / 0) 26%), linear-gradient(180deg, rgb(var(--bg-rgb) / .65) 0%, rgb(var(--bg-rgb) / 0) 22%);
}
.hero .wrap { position: relative; width: 100%; }
.hero-copy { max-width: 600px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.resume { margin-top: 16px; font-size: 14px; }
.resume a { color: var(--brand); }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 56px 0 0; padding: 0; list-style: none; }
.stats li { padding: 0 32px; border-left: 1px solid var(--line); }
.stats li:first-child { padding-left: 0; border-left: 0; }
.stats b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.stats span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); line-height: 1.5; }

/* sections */
section.block { padding: clamp(80px, 10vw, 128px) 0; }
.head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }

/* steps, each above a picture of it (aria-hidden): the form, the drawings (langkah-gambar), the 3D (langkah-3d) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; margin: 0; padding: 0; list-style: none; }
.steps > li { display: flex; flex-direction: column; }
.steps .n { font-size: 14px; font-weight: 600; color: var(--brand); }
.steps h3 { margin: 14px 0 10px; }
.steps p { margin: 0; color: var(--text-2); max-width: 30em; }
.art {
  container-type: inline-size; position: relative; aspect-ratio: 4 / 3; margin-bottom: 28px; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line); background: var(--line-3);
}
.art > img { width: 100%; height: 100%; object-fit: cover; }
/* what is laid over a picture scales with it, as in a screenshot */
.art .card, .art .checks, .art .tabs, .art .ask {
  position: absolute; font-size: clamp(8px, 3.3cqw, 15px); line-height: 1.4; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 28px rgba(0, 0, 0, .1);
}
.art-form .card { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(84%, 25em); padding: 1.1em 1.3em 1.3em; border-radius: .8em; }
.art-form .card > b { font-weight: 600; }
.art-form .meter { display: block; height: .3em; margin: .7em 0 .3em; border-radius: 99px; background: linear-gradient(90deg, var(--brand) 92%, var(--line) 0); }
.art-form dl { margin: 0; }
.art-form dl div { display: flex; justify-content: space-between; gap: 1em; padding: .42em 0; border-bottom: 1px solid var(--line-3); }
.art-form dt { color: var(--text-3); }
.art-form dd { margin: 0; font-weight: 600; white-space: nowrap; }
.art-form .send { display: block; margin-top: .9em; padding: .5em; border-radius: .5em; background: var(--brand); color: var(--on-brand); font-weight: 600; text-align: center; }
.art .checks { left: 4%; bottom: 5%; margin: 0; padding: .7em 1.1em .7em .9em; border-radius: .8em; list-style: none; }
.art .checks li { display: flex; align-items: center; gap: .6em; padding: .18em 0; font-weight: 500; }
.art .checks li::before {
  content: ""; flex: none; width: 1.2em; height: 1.2em; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.4 7 10.8l4.6-5.3' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.art .tabs { left: 4%; top: 5%; display: flex; gap: .2em; padding: .3em; border-radius: .7em; }
.art .tabs span { padding: .3em .75em; border-radius: .45em; color: var(--text-3); }
.art .tabs .on { background: var(--brand); color: var(--on-brand); font-weight: 600; }
.art .ask { right: 4%; bottom: 5%; display: flex; align-items: center; gap: .9em; padding: .4em .4em .4em 1em; border-radius: .8em; white-space: nowrap; }
.art .ask b { padding: .4em .9em; border-radius: .5em; background: var(--brand); color: var(--on-brand); font-weight: 600; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile { margin: 0; grid-column: span 3; display: flex; flex-direction: column; }
.tile.wide { grid-column: span 4; }
.tile.narrow { grid-column: span 2; }
.tile.third { grid-column: span 2; }
.tile .frame { border-radius: 12px; overflow: hidden; background: var(--card-solid); border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.tile .frame img { width: 100%; height: 100%; object-fit: cover; }
.tile .frame.paper { background: #fff; padding: 14px; }
.tile .frame.paper img { object-fit: contain; }
.tile.wide .frame { aspect-ratio: 16 / 10.5; }
.tile.narrow .frame { aspect-ratio: auto; flex: 1; position: relative; }
.tile.narrow .frame img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.tile figcaption { margin-top: 14px; font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }

/* features */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; padding: 0; list-style: none; }
.features li { padding: 28px 0 30px; border-top: 1px solid var(--line); }
.features svg { width: 22px; height: 22px; color: var(--brand); }
.features h3 { margin: 16px 0 8px; }
.features p { margin: 0; color: var(--text-2); max-width: 32em; }

/* before / after */
.ba { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1100 / 691; user-select: none; touch-action: pan-y; background: var(--card-solid); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.ba .handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px; background: #fff; color: #000; font: 600 15px/1 var(--font); letter-spacing: .1em;
}
.ba .tag { position: absolute; top: 16px; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(6px); }
.ba .tag.l { left: 16px; } .ba .tag.r { right: 16px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 20px; color: var(--text-2); }
.ba-meta b { color: var(--text); font-weight: 600; }

/* cost */
.cost { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.points { margin: 0; padding: 0; list-style: none; }
.points li { padding: 20px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points b { display: block; font-weight: 600; margin-bottom: 4px; }
.points span { color: var(--text-2); }
.fine { font-size: 13.5px; color: var(--text-3); margin: 18px 0 0; }
.sheet { border-radius: 12px; border: 1px solid var(--line); background: var(--card-solid); overflow: hidden; }
.sheet .tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.sheet .tabs span { padding: 12px 16px; font-size: 13px; color: var(--text-3); white-space: nowrap; }
.sheet .tabs span.on { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
.sheet .scroll { overflow-x: auto; }
.sheet table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.sheet td, .sheet th { padding: 9px 16px; border-bottom: 1px solid var(--line-3); text-align: left; white-space: nowrap; }
.sheet th { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.sheet td { color: var(--text-2); }
.sheet td.c { color: var(--text-3); width: 30px; }
.sheet .n { text-align: right; }
.sheet tr.sum td { color: var(--text); font-weight: 600; border-top: 1px solid var(--line); }
.sheet tr.grand td { color: var(--on-brand); background: var(--brand); font-weight: 700; border-bottom: 0; }
.sheet .note { padding: 12px 16px; font-size: 12.5px; color: var(--text-3); border-top: 1px solid var(--line); }

/* selected projects: a card per house, its front view as on the Konsep tab (no page behind it) */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.project { display: flex; flex-direction: column; }
.project .frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 2; background: var(--line-3); }
.project .frame img { width: 100%; height: 100%; object-fit: cover; }
.project .kind { margin-top: 20px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.project h3 { margin: 8px 0 10px; }
.project p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.project dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: auto 0 0; padding-top: 22px; }
.project dl div { padding: 0 18px; border-left: 1px solid var(--line); }
.project dl div:first-child { padding-left: 0; border-left: 0; }
.project dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.project dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* closing */
.closing { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 180px) 0; text-align: center; }
.closing .bgimg { position: absolute; inset: 0; opacity: var(--closing-opacity); background: var(--hero-img) center / cover no-repeat; }
.closing .bgimg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgb(var(--bg-rgb) / .35) 0%, rgb(var(--bg-rgb)) 72%); }
.closing .wrap { position: relative; }
.closing h2 { font-size: clamp(36px, 5vw, 60px); }
.closing .lede { margin: 18px auto 0; }
.closing .cta { justify-content: center; }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 28px; font-size: 14px; color: var(--text-3); }
.foot .logo { font-size: 16px; color: var(--text); }
.foot p { margin: 0; }

/* responsive */
@media (max-width: 960px) {
  .hero { align-items: flex-end; min-height: 100svh; padding-top: 120px; }
  .hero-media { width: 100%; }
  .hero-media { background-position: 62% 40%; }
  .hero-media::after { background: linear-gradient(0deg, rgb(var(--bg-rgb)) 8%, rgb(var(--bg-rgb) / .72) 46%, rgb(var(--bg-rgb) / .35) 100%); }
  .steps, .features, .projects, .cost { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .tile, .tile.wide, .tile.narrow, .tile.third { grid-column: auto; }
  .tile.narrow .frame { flex: none; aspect-ratio: 3 / 4; }
  .projects { gap: 32px; }
}
/* a step or a project side by side with its picture while one per row would make the picture too big */
@media (min-width: 640px) and (max-width: 960px) {
  .steps > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 0 28px; }
  .steps .art { grid-row: 1 / span 3; align-self: start; margin-bottom: 0; }
  .steps > li > :not(.art) { grid-column: 2; }
  .steps .n { margin-top: 4px; }
  .project { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; align-content: start; }
  .project .frame { grid-row: 1 / span 4; align-self: start; }
  .project > :not(.frame) { grid-column: 2; }
  .project .kind { margin-top: 4px; }
  .project dl { margin-top: 18px; padding-top: 0; }
}
@media (max-width: 560px) {
  .cta .btn { width: 100%; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats li { padding: 0 14px; }
  .stats b { font-size: 24px; }
  .stats span { font-size: 10.5px; letter-spacing: .08em; }
  .project dl div { padding: 0 14px; }
  .ba-meta { flex-direction: column; }
  .sheet table { min-width: 0; font-size: 13px; }
  .sheet td, .sheet th { padding: 8px 12px; }
  .sheet tr > :first-child { display: none; }
  .sheet td:not(.n) { white-space: normal; }
}
