/* ARSWORD home (owner, 2026-10-02: "clean dan keren" like Google Stitch and Google Labs, fewer words, designed with
   Stitch). Black and white; colour comes only from the work itself. The night layer (dark sections, skies, masthead,
   hero words, close, footer) is in malam.css; this sheet holds what only the home has. */

/* ---------- "Apa yang ingin Anda bangun?": a box like Stitch's, which carries what is written into the Studio */
.b-ask { text-align: center; }
.b-prompt {
  position: relative; width: min(100%, 820px); margin: clamp(28px, 3vw, 44px) auto 0; padding: 20px 80px 22px 26px;
  border: 1px solid var(--line-strong); border-radius: 28px; background: var(--canvas); text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 28px 64px -36px rgba(0, 0, 0, .3);
  transition: border-color .2s, box-shadow .25s var(--ease);
}
.b-prompt:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 10, 10, .07), 0 28px 64px -36px rgba(0, 0, 0, .3); }
.b-prompt textarea {
  display: block; width: 100%; min-height: 104px; max-height: 260px; padding: 0; resize: none; overflow-y: auto;
  border: 0; outline: 0; background: none; color: var(--ink); caret-color: var(--ink);
  font: inherit; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.5;
}
.b-prompt textarea::placeholder { color: var(--ink-3); opacity: 1; }
/* what to write, under the field (owner, 2026-10-02: "keterangan contoh kata-katanya"); the field's own grey words are
   an example that follows the chosen kind */
.b-hint { margin-top: 12px; font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-3); text-wrap: pretty; }
/* the Student Portfolio: a line on how it is made, in the field's place and size */
.b-own { min-height: 104px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.5; color: var(--ink-2); }
/* no kind chosen yet: the field waits, read-only, on a quiet grey; a press on it rings the chips once */
.b-prompt.is-locked { background: var(--panel); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.b-prompt.is-locked textarea { cursor: default; }
.b-prompt.is-locked:focus-within { border-color: var(--line-strong); box-shadow: 0 0 0 4px rgba(10, 10, 10, .05); }
@keyframes b-ask { 0%, 100% { box-shadow: 0 0 0 0 rgba(10, 10, 10, 0); } 30% { box-shadow: 0 0 0 4px rgba(10, 10, 10, .14); } }
.b-chips.is-ask button:not([aria-pressed="true"]) { animation: b-ask 1s var(--ease) 2; }
@media (prefers-reduced-motion: reduce) { .b-chips.is-ask button { animation: none; border-color: var(--ink); } }
.b-send {
  position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 50px; height: 50px; padding: 0;
  border: 0; border-radius: 50%; background: var(--inverse); color: var(--on-inverse); cursor: pointer;
  transition: background-color .2s, transform .15s;
}
.b-send:hover { background: var(--inverse-hover); }
.b-send:active { transform: scale(.94); }
.b-send .ico { width: 22px; height: 22px; }
.b-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.b-chips button {
  min-height: 42px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: var(--canvas); color: var(--ink-2); font: inherit; font-size: var(--fs-md); font-weight: 500; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.b-chips button:hover { border-color: var(--ink-3); color: var(--ink); }
.b-chips button[aria-pressed="true"] { border-color: var(--inverse); background: var(--inverse); color: var(--on-inverse); }
.b-msg { min-height: 1.5em; margin-top: 12px; font-size: var(--fs-md); font-weight: 600; color: var(--ink); }
@media (max-width: 599.98px) { .b-msg { min-height: 3em; } } /* two lines kept: the message never moves the page */
.b-from { margin-top: 6px; font-size: var(--fs-sm); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.b-from b { font-weight: 600; color: var(--ink-2); }

/* ---------- the film (owner, 2026-10-06): a night band, edge to edge, after the box. The video's own edges sink into
   the night (#050505), so it reads as part of the page, not a player; the space is held before it loads (no shift).
   No controls (owner, 2026-10-06: it has no sound, let it play) */
.b-film { position: relative; background: var(--canvas); }
.b-film-in { position: relative; width: min(100%, 1920px); margin-inline: auto; aspect-ratio: 16 / 9; }
.b-film-v { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--canvas); }
.b-film-diam { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; } /* without script */
@media (max-width: 699.98px) { .b-film-in { aspect-ratio: 4 / 5; } }

/* ---------- the work (the owner's free hand: "bagus, clean, premium"): one browser on white, four sites. The tabs under
   it change the site; the selected one's line fills while it plays (as Google Labs' carousel), then the next comes */
.b-show { padding-top: clamp(80px, 8vw, 128px); }
.b-show .wrap { --show: min(100%, 1000px); }
.b-show .b-head, .b-browser, .b-tabs { width: var(--show); margin-inline: auto; }
.b-browser {
  overflow: hidden; border-radius: clamp(14px, 1.6vw, 22px); background: #0b0b0b;
  box-shadow: 0 0 0 1px var(--line), 0 70px 120px -70px rgba(0, 0, 0, .5), 0 26px 50px -30px rgba(0, 0, 0, .3);
}
.b-bar {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr); align-items: center; gap: 12px;
  height: 50px; padding: 0 10px 0 18px; background: #f4f4f4; border-bottom: 1px solid var(--line);
}
.b-dots { display: flex; gap: 7px; }
.b-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d4d4d4; }
.b-url {
  justify-self: center; width: min(100%, 420px); height: 30px; padding: 0 14px; overflow: hidden;
  border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-sm); line-height: 30px; text-align: center; color: var(--ink-3); white-space: nowrap; text-overflow: ellipsis;
}
.b-go {
  justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 14px;
  border-radius: var(--r-pill); background: var(--inverse); color: var(--on-inverse);
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .2s;
}
.b-go:hover { background: var(--inverse-hover); }
.b-go .ico { width: 15px; height: 15px; }
.b-screens { position: relative; aspect-ratio: 1280 / 630; background: #000; }
.b-screens video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.b-screens video.is-on { opacity: 1; }
.b-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); margin-top: clamp(18px, 2vw, 28px); }
.b-tabs button { position: relative; padding: 18px 0 4px; border: 0; background: none; text-align: left; font: inherit; color: var(--ink-3); cursor: pointer; transition: color .25s; }
.b-tabs button::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 2px; border-radius: 2px; background: var(--line); }
.b-prog { position: absolute; top: 0; right: 0; left: 0; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.b-tabs [aria-selected="true"] { color: var(--ink); }
.b-tabs [aria-selected="true"] .b-prog { animation: b-prog 8s linear forwards; }
.b-show.is-paused .b-prog { animation-play-state: paused; }
@keyframes b-prog { to { transform: scaleX(1); } }
.b-tabs b { display: block; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); font-weight: 600; letter-spacing: -.015em; }
.b-tabs small { display: block; margin-top: 2px; font-size: var(--fs-sm); color: var(--ink-3); }
.b-tabs button:hover { color: var(--ink); }
.b-tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
/* five tabs: one row on wide screens, three columns (3 + 2) below 900px so names and lines stay on one line */
@media (max-width: 899.98px) {
  .b-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599.98px) {
  .b-bar { grid-template-columns: auto minmax(0, 1fr) auto; height: 44px; padding-left: 14px; }
  .b-dots i { width: 9px; height: 9px; }
  .b-go { width: 32px; padding: 0; }
  .b-go span { display: none; }
  .b-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 6px; }
  .b-tabs b { font-size: .95rem; letter-spacing: -.01em; }
  .b-tabs small { display: none; }
}
/* the narrowest phones: the names stay on one line */
@media (max-width: 379.98px) {
  .b-tabs { column-gap: 10px; }
  .b-tabs b { font-size: .875rem; }
}

/* ---------- the templates, as Stitch shows its own (owner, 2026-10-02: "disamakan lagi", and nothing of the next
   section showing under it): a light heading, two round grey arrows, then a row of nearly square dark cards running
   off the page; each template sits framed in its card with its own colours glowing out around it, a small label and
   name at the foot, a big frosted "Pakai template" on hover. From 700px wide the section is one screen tall and the
   cards size themselves so the heading and the row always fit in it */
.b-tpl { --page: 1560px; display: flex; flex-direction: column; justify-content: center; padding: clamp(88px, 9vw, 140px) 0; }
@media (min-width: 700px) { .b-tpl { min-height: 100vh; min-height: 100svh; padding: calc(var(--topbar) + 28px) 0 44px; } }
@media (min-width: 700px) and (orientation: portrait) { .b-tpl { min-height: 0; padding: clamp(72px, 9vw, 120px) 0; } }
.b-tpl .b-head { align-items: center; margin-bottom: clamp(24px, 2.6vw, 40px); }
.b-tpl .b-h2 { font-weight: 500; font-size: clamp(2rem, 1.3rem + 2.1vw, 3.25rem); letter-spacing: -.028em; }
.b-reel {
  --bleed: max(var(--gutter), (100% - var(--page)) / 2);
  list-style: none; margin: 0; padding: 0 var(--bleed);
  display: grid; grid-auto-flow: column; gap: clamp(16px, 1.7vw, 32px);
  grid-auto-columns: min(40vw, 560px, (100vh - var(--topbar) - 240px) / 1.01);
  grid-auto-columns: min(40vw, 560px, (100svh - var(--topbar) - 240px) / 1.01);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bleed);
  scrollbar-width: none;
}
.b-reel::-webkit-scrollbar { display: none; }
.b-reel > li { scroll-snap-align: start; }
.b-wcard {
  position: relative; isolation: isolate; display: block; overflow: hidden; aspect-ratio: 1 / 1.01;
  --rc: clamp(22px, 2.2vw, 32px);
  border-radius: var(--rc); background: #161616; color: #fff; text-decoration: none;
  /* the blurred glow is its own layer, which a rounded overflow clip lets leak at the corners (Chromium): clip-path
     cuts everything to the rounded card */
  clip-path: inset(0 round var(--rc));
}
/* a dusk at the foot of the card, so its name reads on a light cover's glow too; light enough that the card still
   stands off the night, its rounded corners showing (owner: "masih kotak, harusnya agak melengkung") */
.b-wcard::after { content: ""; position: absolute; inset: auto 0 0 0; height: 44%; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, .42), rgba(0, 0, 0, .18) 50%, transparent); }
/* a hairline around the whole card, over everything, so its shape reads on any cover */
.b-wcard::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.b-meta, .b-visit { z-index: 1; }
/* the template's own colours glowing out around its frame: the cover again behind it, larger and blurred */
.b-glow, .b-frame { position: absolute; top: 21%; right: 7.5%; left: 7.5%; aspect-ratio: 1280 / 800; }
.b-glow { z-index: -1; background-position: center; background-size: cover; filter: blur(42px) saturate(1.3); opacity: .85; transform: scale(1.32) translateZ(0); }
.b-frame { overflow: hidden; border-radius: 10px; background: #000; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); transition: transform .7s var(--ease); }
.b-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.b-meta { position: absolute; right: 26px; bottom: 24px; left: 26px; }
.b-meta p { font-size: .78rem; font-weight: 500; color: rgba(255, 255, 255, .72); }
.b-meta h3 { margin-top: 3px; font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); font-weight: 500; letter-spacing: -.005em; }
.b-visit {
  position: absolute; top: 47%; left: 50%; display: inline-flex; align-items: center; gap: 10px; padding: 18px 34px;
  border-radius: var(--r-pill); background: rgba(48, 48, 48, .58); color: #fff;
  font-size: clamp(1.05rem, .85rem + .6vw, 1.45rem); font-weight: 500; white-space: nowrap;
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  opacity: 0; transform: translate(-50%, -50%) scale(.94); transition: opacity .3s var(--ease), transform .45s var(--ease);
}
.b-visit .ico { width: 1em; height: 1em; }
.b-wcard:hover .b-visit, .b-wcard:focus-visible .b-visit { opacity: 1; transform: translate(-50%, -50%); }
.b-wcard:hover .b-frame { transform: translateY(-6px) scale(1.015); }
.b-wcard:focus-visible { outline: none; } /* clip-path would cut an outline: focus shows on the card's own ring */
.b-wcard:focus-visible::before { box-shadow: inset 0 0 0 2px #fff; }
/* no hover on a touch screen: the way in shows as a round arrow at the card's corner, clear of its name. Its words
   leave the row for screen readers only, so the arrow sits dead centre (owner, 2026-10-02, on iPhone: the hidden words
   had kept the 10px gap and pushed the arrow right) */
@media (hover: none) {
  .b-visit { top: auto; right: 18px; bottom: 18px; left: auto; width: 44px; height: 44px; padding: 0; gap: 0; justify-content: center; opacity: 1; transform: none; }
  .b-visit-t { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .b-visit .ico { width: 20px; height: 20px; }
  .b-wcard:hover .b-visit { transform: none; }
  .b-meta { right: 80px; }
}
.b-nav { display: flex; gap: 12px; }
.b-nav .icon-btn { width: 48px; height: 48px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; }
.b-nav .icon-btn:hover { background: rgba(255, 255, 255, .18); }
.b-nav .icon-btn[aria-disabled="true"] { background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .32); cursor: default; }
@media (max-width: 699.98px) { .b-reel { grid-auto-columns: min(80vw, 420px); } }

/* ---------- the statement, after Google Labs: a black shape drifts behind it, and where it passes the words turn white */
.b-says { position: relative; isolation: isolate; overflow: clip; padding: clamp(128px, 16vw, 248px) 0; background: #fff; }
.b-blob { position: absolute; top: 0; left: 0; z-index: 0; width: clamp(300px, 44vw, 720px); aspect-ratio: 1; pointer-events: none; transform: translate3d(52vw, 18%, 0) rotate(45deg); will-change: transform; }
.b-blob svg { display: block; width: 100%; height: 100%; }
.b-says h2 {
  position: relative; z-index: 1; max-width: 15ch; margin-inline: auto; text-align: center;
  color: #fff; mix-blend-mode: difference;
  font-size: clamp(2.4rem, 1.05rem + 4.7vw, 6rem); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance;
}

/* ---------- services: three doors; the one under the pointer turns black */
.b-svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.b-svc-card {
  position: relative; display: flex; flex-direction: column; height: 100%; min-height: clamp(270px, 23vw, 340px);
  padding: clamp(26px, 2.4vw, 36px); border: 1px solid var(--line); border-radius: 28px;
  background: var(--canvas); color: var(--ink); text-decoration: none;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.b-svc-card h3 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.8rem); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.b-svc-card p { max-width: 30ch; margin-top: 10px; color: var(--ink-2); line-height: 1.5; transition: color .4s var(--ease); }
.b-svc-foot { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); transition: border-color .4s var(--ease); }
.b-svc-price { font-size: var(--fs-sm); color: var(--ink-3); transition: color .4s var(--ease); }
.b-svc-price b { display: block; margin-top: 2px; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.9rem); font-weight: 600; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; transition: color .4s var(--ease); }
.b-svc-price small { font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; }
.b-svc-card .ico { flex: none; width: 26px; height: 26px; transition: transform .4s var(--ease); }
.b-svc-card:hover, .b-svc-card:focus-visible { background: var(--inverse); border-color: var(--inverse); color: var(--on-inverse); }
.b-svc-card:hover p, .b-svc-card:focus-visible p, .b-svc-card:hover .b-svc-price, .b-svc-card:focus-visible .b-svc-price { color: rgba(255, 255, 255, .66); }
.b-svc-card:hover .b-svc-price b, .b-svc-card:focus-visible .b-svc-price b { color: #fff; }
.b-svc-card:hover .b-svc-foot, .b-svc-card:focus-visible .b-svc-foot { border-color: rgba(255, 255, 255, .18); }
.b-svc-card:hover .ico, .b-svc-card:focus-visible .ico { transform: translate(3px, -3px); }
.b-svc-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 899.98px) { .b-svc-list { grid-template-columns: minmax(0, 1fr); } .b-svc-card { min-height: 0; } }


@media (prefers-reduced-motion: reduce) {
  .b-frame, .b-svc-card, .b-svc-card .ico, .b-visit, .b-screens video { transition: none; }
  .b-tabs [aria-selected="true"] .b-prog { animation: none; transform: none; }
}
