:root {
  --blue: #1457EA; --blue-dark: #0E44BC; --teal: #0EB0A6; --teal-ink: #08716B; --yellow: #FDBF19;
  --ink: #0F1A3A; --muted: #4B5675; --line: #E4E9F5; --tint: #F5F8FF; --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; font-weight: 700; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }
section { padding: clamp(64px, 9vw, 96px) 0; }
.alt { background: var(--tint); }
.eyebrow { margin: 0 0 8px; color: var(--teal-ink); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lead { max-width: 640px; color: var(--muted); font-size: 1.125rem; text-wrap: pretty; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 20px; margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* 4-card rows go 2x2 instead of 3+1 until all four fit (1084px allows for desktop scrollbars) */
@media (max-width: 1084px) { #layanan .grid, .steps { grid-template-columns: repeat(auto-fit, minmax(max(240px, 40%), 1fr)); } }
.card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

.btn { display: inline-block; padding: 14px 24px; border: 2px solid var(--blue); border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; text-align: center; text-decoration: none; transition: background-color .2s, border-color .2s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-ghost { background: #fff; color: var(--blue); }
.btn-ghost:hover { background: #E6EEFD; border-color: var(--blue); }

header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { width: auto; height: 40px; object-fit: contain; }
header nav { display: flex; gap: 24px; margin-left: auto; }
header nav a { color: var(--ink); font-weight: 500; text-decoration: none; }
header nav a:hover { color: var(--blue); }
header .btn { padding: 10px 18px; font-size: .95rem; }
/* small screens / 400% zoom: links wrap onto their own row instead of hiding (WCAG 1.4.10);
   header stops being sticky so the taller bar can't cover content */
@media (max-width: 960px) {
  html { scroll-padding-top: 0; }
  header { position: static; }
  header .wrap { flex-wrap: wrap; gap: 12px; height: auto; padding-block: 10px; }
  header nav { order: 3; width: 100%; flex-wrap: wrap; gap: 4px 20px; margin-left: 0; }
  header .btn { margin-left: auto; padding: 9px 14px; font-size: .9rem; }
  .brand img { height: 34px; }
}
@media (max-width: 359px) {
  .brand img { height: 28px; }
  header .btn { padding: 8px 12px; }
  h1 { font-size: 2rem; }
  .actions .btn { padding-inline: 16px; }
}

.hero { padding-top: clamp(48px, 7vw, 80px); background: radial-gradient(40rem 28rem at 90% 10%, rgba(14, 176, 166, .14), transparent 70%), radial-gradient(36rem 24rem at 0% 100%, rgba(253, 191, 25, .16), transparent 70%), var(--tint); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--blue); }
.hero-art { justify-self: center; width: 100%; max-width: 420px; }
/* 16:9 clip cropped to a square around the logo; multiply lets its white background take the hero tint */
.hero video { height: auto; aspect-ratio: 1; object-fit: cover; mix-blend-mode: multiply; }
.hero-still { display: none; }
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } .hero-still { display: block; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.values > div { padding: 24px; background: var(--tint); border-top: 4px solid var(--blue); border-radius: 4px 4px var(--radius) var(--radius); }
.values > div:nth-child(2) { border-top-color: var(--teal); }
.values > div:nth-child(3) { border-top-color: var(--yellow); }
.values p { margin: 0; color: var(--muted); }

.icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 12px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-blue { background: #E6EEFD; color: var(--blue); }
.i-teal { background: #E2F6F4; color: var(--teal-ink); }
.i-yellow { background: #FFF4D6; color: #A86F00; }
.card p { margin: 0; color: var(--muted); }

.steps { padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.steps p { margin: 0; color: var(--muted); }

.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--blue); box-shadow: 0 16px 40px rgba(20, 87, 234, .14); }
.badge { position: absolute; top: -14px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .8rem; font-weight: 700; }
.plan .price { margin: 20px 0; color: var(--ink); font-size: 1.75rem; font-weight: 800; }
.price small { display: block; color: var(--muted); font-size: .8rem; font-weight: 500; }
.plan ul { margin: 0 0 28px; padding: 0; list-style: none; }
.plan li, .checks li { position: relative; margin: 10px 0; padding-left: 28px; }
.plan li::before, .checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-ink); font-weight: 800; }
.plan .btn { margin-top: auto; }

/* a placeholder <div class="shot"> swaps for <img class="shot" src="..." alt="..."> with no CSS changes */
.shot { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; margin-bottom: 20px; object-fit: cover; border-radius: 12px; background: linear-gradient(135deg, #E6EEFD, #E2F6F4 60%, #FFF4D6); color: var(--muted); font-weight: 500; }
.work .card p { margin-bottom: 12px; }
.work a { font-weight: 700; text-decoration: none; }

.narrow { max-width: 760px; }
details { margin: 12px 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
summary { position: relative; padding: 18px 56px 18px 20px; font-weight: 700; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); color: var(--blue); font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

.contact { background: var(--blue); color: #fff; }
.contact .lead { color: #E8EFFE; }
.contact :focus-visible { outline-color: #fff; }
.contact-card { display: grid; gap: 4px; padding: 24px; border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: transform .2s; }
.contact-card:hover { transform: translateY(-3px); }
.contact-card span { color: var(--muted); overflow-wrap: anywhere; }

footer { padding: 32px 0; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer img { width: auto; height: 32px; }
footer p { margin: 0; color: var(--muted); font-size: .9rem; }

/* case-study pages (portofolio-*.html) */
.case-hero { padding-top: clamp(40px, 6vw, 64px); background: var(--tint); }
.back { display: inline-block; margin-bottom: 24px; font-weight: 700; text-decoration: none; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 28px 0 40px; padding: 0; list-style: none; font-weight: 700; }
.facts span { display: block; color: var(--muted); font-size: .85rem; font-weight: 500; }
.case-shot { max-width: 960px; margin: 0; box-shadow: 0 16px 40px rgba(15, 26, 58, .12); }
.case-body > * { max-width: 760px; }
.case-body h2 { margin-top: 48px; font-size: 1.5rem; }
.case-body h2:first-child { margin-top: 0; }
.case-body p { color: var(--muted); }
.checks { margin: 0; padding: 0; list-style: none; }


@media (max-width: 820px) {
  .hero .wrap, .about { grid-template-columns: 1fr; }
  .hero-art { max-width: 240px; }
  .about { gap: 0; }
}
