/* ==========================================================================
   Difira Studio — design system
   Sections alternate between dark (.theme-dark) and light (.theme-light).
   Colors are tokens; each theme class re-points the surface/text tokens.
   ========================================================================== */

:root {
  --mint: #22D3A6;
  --mint-strong: #12B48C;
  --mint-soft: rgba(34, 211, 166, .14);
  --night: #06080D;
  --night-2: #0C1018;
  --night-3: #121824;
  --paper: #F3F5F8;
  --paper-2: #FFFFFF;
  --ink: #0B1220;

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

.theme-dark {
  --bg: var(--night);
  --surface: var(--night-2);
  --surface-2: var(--night-3);
  --text: #F2F5F9;
  --muted: #8B95A7;
  --faint: #7A8496;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --accent: var(--mint);
  --accent-text: var(--mint);
  --btn-bg: #F2F5F9;
  --btn-text: var(--ink);
  color-scheme: dark;
}

.theme-light {
  --bg: var(--paper);
  --surface: var(--paper-2);
  --surface-2: #E9EDF2;
  --text: var(--ink);
  --muted: #566173;
  --faint: #657083;
  --line: rgba(11, 18, 32, .08);
  --line-strong: rgba(11, 18, 32, .16);
  --accent: var(--mint-strong);
  --accent-text: #0B7A5E;
  --btn-bg: var(--ink);
  --btn-text: #FFFFFF;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background: var(--night);
  color: #F2F5F9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.theme-dark, .theme-light { background: var(--bg); color: var(--text); }

.shell { width: min(100% - var(--gutter) * 2, var(--shell)); margin-inline: auto; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--mint); color: var(--ink); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--mint); transform: scaleX(0); transform-origin: left; }

/* ---------- Type helpers ---------- */
.section { padding-block: clamp(88px, 12vw, 160px); position: relative; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }
.section-head.center { justify-items: center; text-align: center; }
.section-title { font-size: clamp(36px, 5.6vw, 68px); }
.section-title em, .display em { color: var(--muted); }
.theme-dark .section-title em.glow, .display em.glow { color: var(--mint); }
.section-lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); max-width: 46ch; }
.section-head.split .section-lead { justify-self: end; }
.section-head.center .section-lead { max-width: 56ch; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark rect { fill: currentColor; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-size: 17px; letter-spacing: -.02em; }
.brand-word small { font-family: var(--mono); font-size: 9px; letter-spacing: .28em; color: var(--muted); margin-top: 3px; }

/* ---------- Hibah announcement bar (top of every page; app.js picks the phase) ---------- */
.ann { background: var(--mint); color: var(--ink); }
.ann[hidden], .ann-state[hidden] { display: none; }
.ann-link { display: flex; align-items: center; justify-content: center; min-height: 40px; padding-block: 9px; font-size: 14px; line-height: 1.4; text-align: center; }
.ann-state { display: inline-flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 12px; }
.ann b { font-weight: 600; }
.ann-cta { font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.ann-arrow { display: inline-block; transition: transform .25s var(--ease); }
.ann-link:hover .ann-arrow { transform: translateX(3px); }
.ann-link:focus-visible { outline-color: var(--ink); outline-offset: -3px; }
.ann-short { display: none; }
@media (max-width: 640px) {
  .ann-full { display: none; }
  .ann-short { display: inline; }
  .ann-link { font-size: 13px; }
}

/* ---------- Header (floating pill, adapts to the section under it) ---------- */
.site-header {
  position: fixed; inset: calc(12px + var(--ann-offset, 0px)) 0 auto; z-index: 50;
  pointer-events: none;
  transition: transform .4s var(--ease);
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 16px;
  height: 60px; padding: 0 10px 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #F2F5F9;
  transition: background .35s, border-color .35s, color .35s, box-shadow .35s;
}
.site-header.scrolled .nav {
  background: rgba(10, 13, 20, .72);
  border-color: rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
}
.site-header.on-light .nav { color: var(--ink); }
.site-header.on-light.scrolled .nav {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(11, 18, 32, .08);
  box-shadow: 0 10px 30px -14px rgba(11, 18, 32, .25);
}
.nav .brand { margin-right: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a:not(.nav-cta) {
  padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; opacity: .75;
  transition: opacity .2s, background .2s;
}
.nav-links > a:not(.nav-cta):hover, .nav-links > a:not(.nav-cta)[aria-current=page] { opacity: 1; background: rgba(127, 140, 160, .14); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 8px; padding: 10px 18px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  background: var(--mint); color: var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(34, 211, 166, .7); }

.lang-switch { display: flex; padding: 3px; gap: 2px; border-radius: 999px; border: 1px solid rgba(127, 140, 160, .25); }
.lang-switch button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; border: 0; border-radius: 999px; background: transparent;
  font-family: var(--mono); font-size: 11px; font-weight: 500; cursor: pointer; opacity: .6;
  transition: opacity .2s, background .2s;
}
.lang-switch button[aria-pressed=true] { opacity: 1; background: rgba(127, 140, 160, .2); }
.lang-switch svg { width: 16px; height: 11px; border-radius: 2px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(127, 140, 160, .16); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--mint); color: var(--ink); }
.button-primary:hover { box-shadow: 0 12px 32px -10px rgba(34, 211, 166, .65); }
.button-solid { background: var(--btn-bg); color: var(--btn-text); }
.button-outline { border-color: var(--line-strong); background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--text); }
.button-outline:hover { border-color: var(--text); }
.button .arrow, .text-link .arrow { transition: transform .25s var(--ease); }
.button:hover .arrow, .text-link:hover .arrow { transform: translate(2px, -2px); }
.button:hover .arrow.down { transform: translateY(3px); }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s; }
.text-link:hover { border-color: var(--accent); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 120px;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: .55; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(6, 8, 13, .25), rgba(6, 8, 13, .85) 75%),
    linear-gradient(180deg, rgba(6, 8, 13, .6), transparent 30%, transparent 65%, var(--night));
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%);
}
.hero-glow { position: absolute; left: 50%; bottom: -30%; width: min(1100px, 140vw); aspect-ratio: 2 / 1; transform: translateX(-50%); z-index: -1; background: radial-gradient(closest-side, rgba(34, 211, 166, .22), transparent); filter: blur(20px); pointer-events: none; }
.hero-inner { display: grid; justify-items: center; text-align: center; gap: 28px; }
.hero-title { font-size: clamp(46px, 8.6vw, 112px); letter-spacing: -.05em; line-height: .98; max-width: 14ch; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { background: linear-gradient(100deg, #6FF5D2, var(--mint) 45%, #0EA5E9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .hero-title .line > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-lead { max-width: 52ch; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-beats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.hero-beats li { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; border: 1px solid var(--line); background: rgba(12, 16, 24, .6); backdrop-filter: blur(8px); font-size: 14px; color: var(--muted); }
.hero-beats li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mint-soft); color: var(--mint); font-family: var(--mono); font-size: 11px; }
.js .hero-fade { opacity: 0; transform: translateY(16px); animation: fade-up .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero-pause {
  position: absolute; right: var(--gutter); bottom: 28px;
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(6, 8, 13, .5); cursor: pointer;
}
.hero-pause svg { width: 12px; height: 12px; }
.hero-pause .icon-play, .hero-pause[aria-pressed=true] .icon-pause { display: none; }
.hero-pause[aria-pressed=true] .icon-play { display: block; }
.hero-scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.hero-scroll i { width: 1px; height: 40px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ''; position: absolute; inset: 0; background: var(--mint); animation: scroll-line 2.2s var(--ease) infinite; }

@keyframes rise { to { transform: none; } }
@keyframes fade-up { to { opacity: 1; transform: none; } }
@keyframes scroll-line { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Approach (statement + three beats) ---------- */
.statement { font-size: clamp(28px, 4.2vw, 54px); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; max-width: 22ch; }
.js .statement .w { opacity: .5; transition: opacity .35s; }
.js .statement .w.on { opacity: 1; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 88px); }
.approach-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.approach-card .num { font-family: var(--mono); font-size: 12px; color: var(--accent-text); }
.approach-card h3 { font-size: 22px; letter-spacing: -.02em; }
.approach-card p { color: var(--muted); }

/* ---------- Hero offer (home) ---------- */
.hero-title.hero-offer { font-size: clamp(40px, 6.6vw, 88px); max-width: 17ch; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 4px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.hero-badges svg { width: 16px; height: 16px; color: var(--mint); }

/* ---------- Why work with us: plain vs Difira ---------- */
.fit-compare { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; }
.fit-col { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); display: grid; gap: 18px; align-content: start; }
.fit-col h3 { font-size: 22px; letter-spacing: -.02em; }
.fit-col ul { display: grid; gap: 14px; }
.fit-col li { position: relative; padding-left: 34px; line-height: 1.5; }
.fit-col li::before { content: ''; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: center / 12px no-repeat; }
.fit-plain { background: var(--surface-2); color: var(--muted); }
.fit-plain h3 { color: var(--muted); }
.fit-plain li::before { background-color: rgba(11, 18, 32, .08); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' stroke='%23566173' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.fit-difira { background: var(--ink); color: #F2F5F9; box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .45); }
.fit-difira h3 { color: var(--mint); }
.fit-difira li::before { background-color: rgba(34, 211, 166, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%2322D3A6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- Why choose us ---------- */
.choose-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.choose-stat { grid-row: span 2; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.4vw, 40px); border-radius: var(--radius-lg); background: var(--ink); color: #F2F5F9; position: relative; overflow: hidden; }
.choose-stat::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 211, 166, .28), transparent); pointer-events: none; }
.choose-num { font-size: clamp(48px, 5.4vw, 80px); font-weight: 600; letter-spacing: -.05em; line-height: .95; color: var(--mint); white-space: nowrap; }
.choose-stat h3 { font-size: 24px; letter-spacing: -.02em; }
.choose-stat > p:not(.choose-num) { color: #9AA4B5; }
.choose-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
.choose-tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-family: var(--mono); font-size: 12px; color: #C5CDD8; }
.choose-card { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.choose-card .service-icon { width: 46px; height: 46px; }
.choose-card h3 { font-size: 19px; letter-spacing: -.02em; }
.choose-card p { color: var(--muted); font-size: 15px; }
.choose-company { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }

/* ---------- Showcase (sticky stacked project cards) ---------- */
.showcase { overflow: clip; }
.showcase::before { content: ''; position: absolute; top: 0; left: 50%; width: min(900px, 120vw); height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(34, 211, 166, .12), transparent); pointer-events: none; }
.show-stack { display: grid; gap: 28px; }
.show-card {
  position: sticky; top: calc(var(--header-h) + 28px + var(--i, 0) * 14px);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 3.4vw, 44px);
  min-height: min(560px, 74vh);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--night-3), var(--night-2));
  border: 1px solid var(--line);
  box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .8);
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--p, 0) * .05));
  filter: brightness(calc(1 - var(--p, 0) * .35));
}
.show-copy { display: grid; gap: 18px; align-content: center; }
.show-tag { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.show-tag svg { width: 14px; height: 14px; color: var(--mint); }
.show-copy h3 { font-size: clamp(30px, 3.6vw, 46px); }
.show-copy p { color: var(--muted); max-width: 42ch; }
.show-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.show-count { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; border: 1px solid var(--line-strong); color: var(--muted); }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.status-live { color: var(--mint); border-color: rgba(34, 211, 166, .35); }
.status-live::before { opacity: 1; box-shadow: 0 0 0 3px var(--mint-soft); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px transparent; } }

.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: #0A0E15; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 6px rgba(255, 255, 255, .02); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #0F141D; }
.browser-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #2A3242; }
.browser-bar > span:nth-child(1) { background: #FF5F57; }
.browser-bar > span:nth-child(2) { background: #FEBC2E; }
.browser-bar > span:nth-child(3) { background: #28C840; }
.browser-url { flex: 1; max-width: 300px; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 5px 12px; border-radius: 7px; background: rgba(255, 255, 255, .05); font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.browser-url svg { width: 11px; height: 11px; opacity: .7; }
.browser video, .browser img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0A0E15; }

.phone-stage { display: grid; place-items: center; padding: 10px 0; position: relative; }
.phone-stage::before { content: ''; position: absolute; inset: 10% 15%; background: radial-gradient(closest-side, rgba(34, 211, 166, .2), transparent); filter: blur(30px); }
.phone { position: relative; width: min(280px, 64vw); padding: 10px; border-radius: 42px; background: #121722; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 76px; height: 20px; border-radius: 999px; transform: translateX(-50%); background: #05070B; z-index: 1; }
.phone video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 32px; background: #0A0E15; }

.show-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 22px 26px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
.show-more > p { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.show-more ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.show-more li { display: flex; align-items: center; gap: 12px; }
.show-more li b { font-weight: 600; }
.show-more li small { color: var(--muted); font-size: 14px; }

/* ---------- Services (bento) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px;
  padding: 30px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.service:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .3); }
.service::after { content: ''; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, var(--mint-soft), transparent); opacity: 0; transition: opacity .4s; }
.service:hover::after { opacity: 1; }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--mint); }
.service-icon svg { width: 24px; height: 24px; }
.service .num { position: absolute; top: 30px; right: 30px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.service h3 { font-size: 26px; letter-spacing: -.025em; }
.service > p { color: var(--muted); }
.service-price { display: flex; align-items: baseline; gap: 8px; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); }
.service-price span { color: var(--muted); font-size: 14px; }
.service-price b { font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: var(--text); }
.service.featured .service-price { background: rgba(255, 255, 255, .06); }
.service.featured .service-price b { color: var(--mint); }
.service ul { display: grid; border-top: 1px solid var(--line); margin-top: auto; }
.service li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.service li small { color: var(--faint); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.service .text-link { width: fit-content; }
.service.featured { background: var(--ink); color: #F2F5F9; border-color: transparent; --muted: #9AA4B5; --faint: #8B95A7; --line: rgba(255,255,255,.1); --line-strong: rgba(255,255,255,.2); --text: #F2F5F9; --accent: var(--mint); }
.service.featured .service-icon { background: var(--mint); color: var(--ink); }

/* ---------- Process (scroll-filled timeline) ---------- */
.process { overflow: clip; }
.process-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding-top: 44px; }
.process-track::before, .process-track::after { content: ''; position: absolute; top: 11px; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--line-strong); }
.process-track::after { background: linear-gradient(90deg, var(--mint), #0EA5E9); transform: scaleX(var(--p, 0)); transform-origin: left; box-shadow: 0 0 16px rgba(34, 211, 166, .5); }
.process-step { position: relative; display: grid; gap: 10px; align-content: start; }
.process-step::before { content: ''; position: absolute; top: -44px; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); transition: border-color .4s, box-shadow .4s, background .4s; z-index: 1; }
.process-step.on::before { border-color: var(--mint); background: var(--mint); box-shadow: 0 0 0 6px var(--mint-soft); }
.process-step .num { font-family: var(--mono); font-size: 12px; color: var(--faint); transition: color .4s; }
.process-step.on .num { color: var(--mint); }
.process-step h3 { font-size: 20px; letter-spacing: -.02em; }
.process-step p { color: var(--muted); font-size: 15px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); }
.marquee > div { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-size: clamp(28px, 4vw, 52px); font-weight: 600; letter-spacing: -.04em; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--faint); }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-copy { display: grid; gap: 20px; color: var(--muted); font-size: 17px; }
.facts { display: grid; margin-top: 8px; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts span { color: var(--faint); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.facts b { color: var(--text); font-weight: 600; text-align: right; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; }
.faq-list { display: grid; gap: 10px; }
.faq { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq[open] { border-color: var(--line-strong); box-shadow: 0 20px 40px -28px rgba(11, 18, 32, .35); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); transition: background .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq[open] summary i { background: var(--mint); color: var(--ink); transform: rotate(180deg); }
.faq[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-body { padding: 0 24px 24px; color: var(--muted); max-width: 62ch; }

/* ---------- Contact ---------- */
.contact { padding-block: 0 clamp(88px, 12vw, 140px); }
.contact-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; justify-items: center; gap: 24px; text-align: center;
  padding: clamp(56px, 9vw, 120px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--night);
}
.contact-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 120%, rgba(34, 211, 166, .35), transparent 70%), radial-gradient(40% 50% at 85% 0%, rgba(14, 165, 233, .18), transparent 70%); }
.contact-panel::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); }
.contact-panel h2 { font-size: clamp(40px, 6.4vw, 84px); max-width: 15ch; }
.contact-panel h2 em { color: var(--mint); }
.contact-panel > p { color: var(--muted); max-width: 48ch; font-size: 17px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand p { color: var(--muted); max-width: 30ch; }
.footer-brand small { color: var(--faint); line-height: 1.7; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col strong { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.footer-col a, .footer-col span { color: var(--muted); transition: color .2s; width: fit-content; }
.footer-col a:hover { color: var(--text); }
.footer-word { margin-top: 64px; font-size: clamp(64px, 17vw, 240px); font-weight: 700; letter-spacing: -.06em; line-height: .8; text-align: center; color: transparent; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; user-select: none; }

/* ==========================================================================
   Inner pages: shared page hero
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(80px, 12vw, 140px)) 0 clamp(64px, 9vw, 110px); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 0%, rgba(34, 211, 166, .16), transparent 70%); }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(60% 70% at 50% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(60% 70% at 50% 20%, #000, transparent 75%); }
.page-hero .shell { display: grid; justify-items: center; text-align: center; gap: 24px; }
.page-hero h1 { font-size: clamp(44px, 7.4vw, 96px); letter-spacing: -.05em; max-width: 15ch; }
.page-hero h1 em { color: var(--mint); }
.page-hero .hero-lead { margin-inline: auto; }

/* ---------- Studio: showreel ---------- */
.reel { margin-top: clamp(-40px, -3vw, -20px); padding-bottom: clamp(80px, 10vw, 120px); }
.reel-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: var(--night-2); box-shadow: 0 60px 120px -50px rgba(34, 211, 166, .35); }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; }
.reel-placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; color: var(--muted); background: radial-gradient(50% 60% at 50% 50%, rgba(34, 211, 166, .1), transparent), var(--night-2); }
.reel-label { position: absolute; top: 20px; left: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.reel-play { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 14px rgba(34, 211, 166, .12), 0 0 0 28px rgba(34, 211, 166, .06); }
.reel-play svg { width: 28px; height: 28px; margin-left: 4px; }
.reel-track { position: absolute; left: 22px; right: 22px; bottom: 22px; height: 3px; border-radius: 3px; background: var(--line-strong); overflow: hidden; }
.reel-track i { position: absolute; inset: 0 70% 0 0; background: var(--mint); }

/* ---------- Studio: work grid (cards built by studio.js) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.work-card { display: grid; gap: 18px; padding: 14px 14px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.work-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.work-media { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 9; background: var(--night-3); }
.work-media.is-vertical { aspect-ratio: 9 / 16; max-height: 640px; margin-inline: auto; width: 100%; }
.work-media img, .work-media video { width: 100%; height: 100%; object-fit: cover; }
.work-media.is-vertical img, .work-media.is-vertical video { object-fit: contain; background: #000; }
.work-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s var(--ease); }
.work-media.is-vertical .work-preview { object-fit: contain; background: #000; }
.work-media.is-previewing .work-preview { opacity: 1; }
.work-media.is-previewing .work-play span { transform: scale(.85); opacity: .9; }
.work-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45)); cursor: pointer; }
.work-play span { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--mint); transition: transform .3s var(--ease), opacity .3s; box-shadow: 0 0 0 10px rgba(34, 211, 166, .15); }
.work-play:hover span { transform: scale(1.08); }
.work-play svg { width: 22px; height: 22px; margin-left: 3px; }
.work-duration { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .65); font-family: var(--mono); font-size: 11.5px; color: #fff; pointer-events: none; }
.work-body { display: grid; gap: 6px; padding-inline: 8px; }
.work-body h3 { font-size: 21px; letter-spacing: -.02em; }
.work-body p { color: var(--muted); }

/* ---------- Studio: packages ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pkg { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.pkg:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .3); }
.pkg h3 { font-size: 19px; letter-spacing: -.015em; }
.pkg-price { font-size: 46px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.pkg-price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.pkg-desc { color: var(--muted); min-height: 3.2em; }
.pkg-meta { display: grid; border-top: 1px solid var(--line); margin-top: auto; margin-bottom: 8px; }
.pkg-meta li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pkg-meta span { color: var(--faint); }
.pkg .button { width: 100%; }
.pkg-dark { background: var(--ink); color: #F2F5F9; border-color: transparent; --muted: #9AA4B5; --faint: #8B95A7; --line: rgba(255,255,255,.1); --line-strong: rgba(255,255,255,.2); --surface: #121824; --text: #F2F5F9; }
.pkg-badge { width: fit-content; padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--ink); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.pkg-note { margin-top: 24px; color: var(--faint); font-size: 14px; text-align: center; }

/* ---------- Studio: steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.step-num { font-size: 64px; font-weight: 600; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.step h3 { font-size: 21px; letter-spacing: -.02em; }
.step p { color: var(--muted); }
.step-bar { height: 3px; border-radius: 3px; background: var(--line); margin-top: 10px; overflow: hidden; }
.step-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), #0EA5E9); }

/* ---------- Studio: about ---------- */
.about-panel { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.about-panel h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.03em; line-height: 1.15; }
.about-panel h2 em { color: var(--accent-text); }
.about-facts { display: grid; gap: 10px; margin-bottom: 24px; }
.about-facts li { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.about-facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.about-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Careers ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { display: grid; gap: 14px; align-content: start; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.value .num { font-family: var(--mono); font-size: 12px; color: var(--accent-text); }
.value h2 { font-size: 24px; letter-spacing: -.025em; }
.value p { color: var(--muted); }
.job-list { display: grid; border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 20px; padding: 28px 8px; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s var(--ease); }
.job:hover { background: rgba(255, 255, 255, .03); padding-inline: 20px; }
.job-num { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.job h3 { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.03em; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.job-meta span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; color: var(--muted); }
.job-arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background .3s, color .3s, transform .3s var(--ease); }
.job:hover .job-arrow { background: var(--mint); color: var(--ink); border-color: var(--mint); transform: rotate(45deg); }
.career-note { display: grid; justify-items: center; text-align: center; gap: 18px; }
.career-note h2 { font-size: clamp(34px, 5vw, 60px); }
.career-note > p { color: var(--muted); max-width: 50ch; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: 1fr; gap: 28px; padding-top: 0; padding-left: 52px; }
  .process-track::before, .process-track::after { top: 12px; bottom: 12px; left: 11px; right: auto; width: 2px; height: auto; }
  .process-track::after { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .process-step::before { top: 0; left: -52px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { height: 56px; padding-left: 16px; gap: 10px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: stretch; gap: 4px;
    padding: 96px 24px 40px;
    background: rgba(6, 8, 13, .97); color: #F2F5F9;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links > a:not(.nav-cta) { font-size: 30px; font-weight: 600; letter-spacing: -.03em; opacity: 1; padding: 12px 8px; border-radius: 12px; }
  .nav-cta { margin: 20px 0 0; justify-content: center; padding: 16px; font-size: 16px; }
  .site-header.menu-open .nav { color: #F2F5F9; background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
  .lang-switch { margin-left: auto; }
  .nav-links + .nav-toggle { margin-left: auto; }
  .nav .brand { margin-right: 0; }

  .section-head.split, .about-grid, .faq-grid, .about-panel, .fit-compare { grid-template-columns: 1fr; }
  .choose-grid { grid-template-columns: 1fr 1fr; }
  .choose-stat { grid-column: 1 / -1; grid-row: auto; }
  .section-head.split .section-lead { justify-self: start; }
  .faq-side { position: static; }
  .approach-grid, .service-grid, .steps, .value-grid { grid-template-columns: 1fr; }
  .show-card { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; transform: none; filter: none; }
  .show-card .show-visual { order: -1; }
  .work-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .brand-word small { display: none; }
  .lang-switch button { padding: 5px 7px; }
  .lang-switch svg { display: none; }
  .hero { padding-bottom: 110px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-beats li { font-size: 13px; }
  .hero-scroll { display: none; }
  .pkg-grid, .choose-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 8px 14px; }
  .job { grid-template-columns: 1fr auto; padding-inline: 0; }
  .job:hover { padding-inline: 0; }
  .job-num { display: none; }
  .facts li { flex-direction: column; gap: 4px; }
  .facts b { text-align: left; }
  .show-more { padding: 20px; }
  .contact-actions .button { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Project brief (/mulai): three-step form with a live WhatsApp preview
   ========================================================================== */
.page-hero-compact { padding-bottom: clamp(48px, 7vw, 80px); }
.brief-section { padding-top: clamp(56px, 7vw, 88px); }
.brief-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }

.brief { display: grid; gap: 28px; padding: clamp(22px, 3.4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(11, 18, 32, .35); }
.brief-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.brief-progress li { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 3px solid var(--line-strong); color: var(--faint); font-size: 14px; transition: border-color .3s, color .3s; }
.brief-progress span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; font-family: var(--mono); font-size: 11px; }
.brief-progress li.is-current { border-color: var(--ink); color: var(--text); }
.brief-progress li.is-done { border-color: var(--mint-strong); color: var(--muted); }
.brief-progress li.is-done span { background: var(--mint-strong); border-color: var(--mint-strong); color: #fff; }

.brief-panel { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 20px; }
.js .brief-panel:not(.is-current) { display: none; }
.brief-panel legend { display: grid; gap: 8px; padding: 0; margin-bottom: 4px; font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.brief-count { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.brief-hint { color: var(--muted); font-size: 14.5px; margin-top: -8px; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.choice:hover { border-color: var(--text); }
.choice input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: background .2s, color .2s; }
.choice-icon svg { width: 20px; height: 20px; }
.choice-text { display: grid; gap: 3px; padding-right: 18px; }
.choice-text b { font-weight: 600; font-size: 15.5px; }
.choice-text small { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.choice::after { content: ''; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: var(--surface) center / 12px no-repeat; transition: background-color .2s, border-color .2s; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--ink); }
.choice:has(input:checked) .choice-icon { background: var(--ink); color: var(--mint); border-color: var(--ink); }
.choice:has(input:checked)::after { border-color: var(--ink); background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%2322D3A6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.choice:has(input:focus-visible), .pill:has(input:focus-visible) { outline: 2px solid var(--mint-strong); outline-offset: 2px; }

.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field-label { font-weight: 600; font-size: 14.5px; }
.req { color: var(--mint-strong); font-style: normal; }
.opt { color: var(--faint); font-weight: 400; font-size: 13px; margin-left: 4px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text);
  font: inherit; font-size: 16px; line-height: 1.5;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 3px var(--mint-soft); }
.field [aria-invalid=true] { border-color: #C2410C; box-shadow: 0 0 0 3px rgba(194, 65, 12, .12); }
.field-tips { display: flex; flex-wrap: wrap; gap: 6px; }
.field-tips li { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 13px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); font-size: 14.5px; transition: background .2s, color .2s, border-color .2s; }
.pill:hover span { border-color: var(--text); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }

.brief-error { color: #C2410C; font-weight: 500; font-size: 14.5px; }
.brief-error:empty { display: none; }
.brief-nav { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.brief-nav [data-back] { margin-right: auto; }
.brief-nav [hidden] { display: none; }
.wa-icon { width: 18px; height: 18px; }
.brief.is-done .brief-nav, .brief.is-done .brief-progress, .brief.is-done .brief-error { display: none; }
.brief-done { display: grid; gap: 14px; outline: none; }
.brief-done[hidden] { display: none; }
.brief-done h2 { font-size: clamp(26px, 3vw, 34px); }
.brief-done p { color: var(--muted); max-width: 48ch; }
.brief-done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.brief-side { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 16px; }
.wa-card { overflow: hidden; border-radius: var(--radius-lg); background: #0B141A; color: #E9EDEF; border: 1px solid rgba(11, 18, 32, .12); box-shadow: 0 30px 60px -40px rgba(11, 18, 32, .6); }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #1F2C33; }
.wa-head b { display: block; font-size: 15px; }
.wa-head small { color: #AEBAC1; font-size: 12.5px; }
.wa-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #0B1220; }
.wa-avatar svg { width: 22px; height: 22px; }
.wa-body { padding: 22px 18px 26px; min-height: 260px; background-color: #0B141A; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 16px 16px; }
.wa-bubble { position: relative; margin-left: auto; max-width: 92%; padding: 10px 12px 12px; border-radius: 12px 0 12px 12px; background: #005C4B; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.wa-bubble::before { content: ''; position: absolute; top: 0; right: -8px; border-style: solid; border-color: #005C4B transparent transparent #005C4B; border-width: 0 8px 8px 0; }
.wa-bubble b { font-weight: 600; }
.wa-empty { color: rgba(233, 237, 239, .55); }

.brief-next { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.brief-next h2 { font-size: 19px; letter-spacing: -.02em; }
.brief-next ol { display: grid; gap: 12px; counter-reset: next; }
.brief-next li { position: relative; padding-left: 36px; color: var(--muted); font-size: 14.5px; counter-increment: next; }
.brief-next li::before { content: counter(next); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mint-soft); color: var(--accent); font-family: var(--mono); font-size: 11.5px; }
.brief-next li b { display: block; color: var(--text); font-weight: 600; }
.brief-direct { padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.brief-direct a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line-strong); }

@media (max-width: 900px) {
  .brief-grid { grid-template-columns: 1fr; }
  .brief-side { position: static; }
}
@media (max-width: 560px) {
  .choice-grid, .field-row { grid-template-columns: 1fr; }
  .brief-progress b { display: none; }
  .brief-nav .button { flex: 1 1 auto; }
  .brief-nav [data-back] { flex: 0 0 auto; margin-right: 0; }
}

/* ==========================================================================
   /hibah: Hibah Digital Difira 2026 (Indonesian-only campaign page)
   ========================================================================== */
.hb-label { color: var(--mint); font-weight: 500; font-size: 15px; }
.hb-hero h1 em { color: var(--mint); }
.hb-sub { font-size: clamp(19px, 2.2vw, 24px); font-weight: 500; letter-spacing: -.015em; max-width: 30ch; text-wrap: balance; }
.hb-info { color: var(--muted); font-size: 14.5px; }
.hb-info b { color: var(--mint); font-weight: 600; }

.hb-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hb-cat { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.hb-cat h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.025em; }
.hb-cat > p { color: var(--muted); }
.hb-cat-count { color: var(--muted); font-size: 15px; }
.hb-cat-count b { font-size: 44px; font-weight: 600; letter-spacing: -.04em; color: var(--accent); margin-right: 4px; line-height: 1; }
.hb-cat-dark { background: var(--ink); color: #F2F5F9; border-color: transparent; --muted: #9AA4B5; --line: rgba(255, 255, 255, .1); --accent: var(--mint); }
/* Category illustrations: a browser mockup that builds itself on a 7s loop. Every moving part
   shares the loop length; --d staggers when each piece appears. */
.hb-illu { aspect-ratio: 16 / 10; padding: clamp(10px, 2vw, 16px); margin-bottom: 4px; border-radius: 18px; background: radial-gradient(90% 90% at 80% 100%, rgba(34, 211, 166, .22), transparent 60%), var(--surface-2); }
.hb-cat-dark .hb-illu { background: radial-gradient(90% 90% at 80% 100%, rgba(34, 211, 166, .25), transparent 60%), rgba(255, 255, 255, .04); }
.illu-browser { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: #fff; border: 1px solid rgba(11, 18, 32, .1); box-shadow: 0 20px 40px -24px rgba(11, 18, 32, .45); }
.hb-cat-dark .illu-browser { background: #0F141D; border-color: rgba(255, 255, 255, .1); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.illu-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; border-bottom: 1px solid rgba(11, 18, 32, .08); }
.hb-cat-dark .illu-bar { border-color: rgba(255, 255, 255, .08); }
.illu-bar i { width: 7px; height: 7px; border-radius: 50%; background: #D6DCE4; }
.illu-bar i:nth-child(1) { background: #FF5F57; }
.illu-bar i:nth-child(2) { background: #FEBC2E; }
.illu-bar i:nth-child(3) { background: #28C840; }
.illu-bar span { width: 38%; height: 9px; margin-left: 10px; border-radius: 999px; background: rgba(11, 18, 32, .07); }
.hb-cat-dark .illu-bar span { background: rgba(255, 255, 255, .08); }

.illu-b { animation: illu-build 7s var(--ease) var(--d, 0s) infinite both; transform-origin: left center; }
@keyframes illu-build { 0% { opacity: 0; transform: scaleX(.3); } 8%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }

/* Landing page */
.illu-page { flex: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 9%; padding: 6% 7%; }
.lp-nav { display: flex; align-items: center; gap: 6px; }
.lp-nav b { width: 18%; height: 8px; border-radius: 4px; background: var(--ink); }
.lp-nav span { width: 9%; height: 5px; border-radius: 3px; background: #CDD4DE; }
.lp-nav span:first-of-type { margin-left: auto; }
.lp-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8%; align-items: center; }
.lp-text { display: grid; gap: 6px; }
.lp-text i { height: 9px; border-radius: 4px; background: var(--ink); }
.lp-text i:nth-child(2) { width: 78%; }
.lp-text .lp-short { width: 58%; height: 6px; background: #C9D1DC; }
.lp-btn { display: block; width: 44%; height: 14px; margin-top: 6px; border-radius: 999px; background: var(--mint); animation: illu-build 7s var(--ease) var(--d) infinite both, lp-press 7s ease infinite; }
@keyframes lp-press { 0%, 47% { box-shadow: 0 0 0 0 rgba(34, 211, 166, .6); } 52% { box-shadow: 0 0 0 7px rgba(34, 211, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 166, 0); } }
.lp-img { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(135deg, rgba(34, 211, 166, .25), rgba(14, 165, 233, .18)); color: var(--mint-strong); transform-origin: center; }
.lp-img svg { width: 42%; }
.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.lp-cards i { aspect-ratio: 2.4 / 1; border-radius: 6px; background: #EEF2F6; border: 1px solid rgba(11, 18, 32, .06); }
.lp-wa { position: absolute; right: 6%; bottom: 9%; display: grid; place-items: center; width: 11%; aspect-ratio: 1; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 6px 14px -4px rgba(37, 211, 102, .6); animation: wa-pop 7s var(--ease) infinite both; }
.lp-wa svg { width: 58%; }
@keyframes wa-pop { 0%, 54% { opacity: 0; transform: scale(0); } 60% { opacity: 1; transform: scale(1.15); } 64%, 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(.6); } }
.illu-cursor { position: absolute; width: 7%; min-width: 14px; animation: cursor-move 7s var(--ease) infinite both; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.illu-cursor svg { display: block; width: 100%; }
@keyframes cursor-move {
  0%, 22% { left: 80%; top: 86%; opacity: 0; transform: none; }
  30% { opacity: 1; }
  44% { left: 20%; top: 60%; transform: none; }
  48% { left: 20%; top: 60%; transform: scale(.82); }
  52%, 78% { left: 20%; top: 60%; transform: none; opacity: 1; }
  88%, 100% { left: 30%; top: 70%; opacity: 0; }
}

/* Business app */
.illu-app { flex: 1; display: grid; grid-template-columns: 18% 1fr; min-height: 0; }
.app-side { display: grid; align-content: start; gap: 9px; padding: 14% 14%; background: rgba(255, 255, 255, .03); border-right: 1px solid rgba(255, 255, 255, .06); }
.app-side b { width: 70%; height: 8px; margin-bottom: 6px; border-radius: 4px; background: var(--mint); }
.app-side i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.app-side i.on { background: rgba(34, 211, 166, .55); }
.app-main { display: grid; grid-template-rows: auto 1fr auto; gap: 7%; padding: 6% 7%; min-height: 0; }
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.app-kpis span { display: grid; gap: 5px; padding: 9% 12%; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }
.app-kpis em { width: 45%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
.app-kpis i { width: 72%; height: 8px; border-radius: 3px; background: #F2F5F9; }
.app-kpis span:first-child i { background: var(--mint); }
.app-chart { display: flex; align-items: flex-end; gap: 5%; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); min-height: 0; }
.app-chart i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, rgba(34, 211, 166, .9), rgba(34, 211, 166, .25)); transform-origin: bottom; animation: bar-grow 7s var(--ease) var(--d) infinite both; }
.app-chart i:nth-child(6) { background: linear-gradient(180deg, #6FF5D2, var(--mint)); }
@keyframes bar-grow { 0% { transform: scaleY(0); } 9%, 86% { transform: scaleY(1); } 95%, 100% { transform: scaleY(0); } }
.app-rows { display: grid; gap: 5px; }
.illu-row { height: 8px; border-radius: 3px; background: rgba(255, 255, 255, .09); animation: row-in 7s var(--ease) var(--d) infinite both; }
.illu-row:nth-child(2) { width: 86%; }
.illu-row:nth-child(3) { width: 70%; }
@keyframes row-in { 0% { opacity: 0; transform: translateX(-14px); } 7%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
.app-toast { position: absolute; right: 5%; bottom: 7%; display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 7px; border-radius: 999px; background: var(--mint); color: var(--ink); box-shadow: 0 8px 18px -6px rgba(34, 211, 166, .6); animation: toast-in 7s var(--ease) infinite both; }
.app-toast svg { width: 14px; height: 14px; }
.app-toast i { width: 34px; height: 5px; border-radius: 3px; background: rgba(11, 18, 32, .45); }
@keyframes toast-in { 0%, 56% { opacity: 0; transform: translateY(10px); } 62%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  .hb-illu *, .hb-illu *::before { animation: none !important; }
  .illu-cursor { display: none; }
}

.hb-list { display: grid; gap: 10px; }
.hb-list li { position: relative; padding-left: 28px; line-height: 1.5; }
.hb-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%2312B48C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.hb-cat-dark .hb-list li::before { background-color: rgba(34, 211, 166, .16); }
.hb-note { color: var(--muted); font-size: 14.5px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.hb-cat-dark .hb-note { background: rgba(255, 255, 255, .06); }
.hb-who { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.hb-who > div { display: grid; gap: 18px; }

.hb-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.hb-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hb-table th, .hb-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.hb-table thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); background: var(--surface); }
.hb-table tbody tr:last-child > * { border-bottom: 0; }
.hb-table tbody th { font-weight: 600; white-space: nowrap; }
.hb-table code { font-family: var(--mono); font-size: 13.5px; color: var(--accent); }

.hb-after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hb-after-card { display: grid; gap: 16px; align-content: start; padding: clamp(26px, 3.6vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.hb-after-card p { color: var(--muted); font-size: 16px; }
.hb-after-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(34, 211, 166, .12); color: var(--mint); }
.hb-after-icon svg { width: 24px; height: 24px; }
.hb-after-title { font-size: clamp(26px, 3vw, 36px); }
.hb-after-title em { color: var(--mint); }
.hb-domains { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-domains li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 13px; color: var(--mint); }

.hb-two { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hb-criteria { display: grid; gap: 18px; }
.hb-criteria li { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
.hb-criteria span { font-weight: 500; }
.hb-criteria b { font-family: var(--mono); font-weight: 500; color: var(--accent); }
.hb-criteria i { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--surface-2); position: relative; overflow: hidden; }
.hb-criteria i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 2.5); max-width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint-strong), var(--mint)); }

.hb-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 32px; counter-reset: hbt; }
.hb-timeline li { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: hbt; }
.hb-timeline li::before { content: counter(hbt); display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 6px; border-radius: 50%; background: var(--ink); color: var(--mint); font-family: var(--mono); font-size: 12px; }
.hb-timeline b { font-weight: 600; font-size: 15px; }
.hb-timeline span { color: var(--muted); font-size: 14.5px; }

.hb-warning { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 20px 22px; border-radius: var(--radius); background: #FFF4E5; border: 1px solid #F5C27A; color: #5B3A07; }
.hb-warning svg { flex: none; width: 26px; height: 26px; color: #C26A00; }
.hb-warning a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.hb-sk { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.hb-sk summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; cursor: pointer; list-style: none; font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.hb-sk summary::-webkit-details-marker { display: none; }
.hb-sk summary i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); }
.hb-sk summary i::before, .hb-sk summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.hb-sk summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.hb-sk[open] summary i { background: var(--mint); color: var(--ink); }
.hb-sk[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.hb-sk-body { display: grid; gap: 12px; padding: 0 28px 28px; max-width: 78ch; color: var(--muted); font-size: 15.5px; }
.hb-sk-body h3 { margin-top: 14px; color: var(--text); font-size: 18px; letter-spacing: -.015em; }
.hb-sk-body strong { color: var(--text); }
.sk-alpha { display: grid; gap: 6px; padding-left: 18px; }

.hb-form-shell { display: grid; gap: clamp(28px, 4vw, 48px); max-width: 860px; }
.hb-form-head { display: grid; gap: 16px; }
.hb-form-card { background: transparent; color: var(--text); }
.hb-progress { grid-template-columns: repeat(5, 1fr); }
.hb-cats .choice-text small { font-size: 14px; }
.field-hint { color: var(--faint); font-size: 13.5px; margin-top: -4px; }
.field-error { color: #C2410C; font-size: 14px; font-weight: 500; }
.field-error[hidden] { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.5; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--mint-strong); cursor: pointer; }
.hb-consents { display: grid; gap: 14px; padding: 18px; border-radius: 14px; background: var(--surface-2); }
.hb-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hb-form [hidden] { display: none !important; }
.hb-done, .hb-closed { display: grid; gap: 14px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); outline: none; }
.hb-done[hidden], .hb-closed[hidden] { display: none; }
.hb-done h3 { font-size: clamp(24px, 3vw, 32px); }
.hb-done p, .hb-closed p { color: var(--muted); font-size: 16px; }
.hb-done strong { color: var(--text); font-family: var(--mono); font-size: 1.1em; padding: 2px 8px; border-radius: 8px; background: var(--mint-soft); }
.hb-closed p:first-child { color: var(--text); font-size: 18px; }
.hb-share-note { font-size: 14px !important; }

@media (max-width: 900px) {
  .hb-cat-grid, .hb-who, .hb-two, .hb-after { grid-template-columns: 1fr; }
  .hb-timeline { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hb-table th, .hb-table td { padding: 12px 14px; }
  .hb-sk summary { padding: 20px; }
  .hb-sk-body { padding: 0 20px 22px; }
  .hb-warning { padding: 16px; }
}

/* ==========================================================================
   Hibah pop-up (home page, once per visitor while registration is open)
   ========================================================================== */
.hibah-pop { width: min(100% - 32px, 480px); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); background: transparent; color: #F2F5F9; overflow: visible; }
.hibah-pop::backdrop { background: rgba(6, 8, 13, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hibah-pop[open] { animation: pop-in .35s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.hp-inner { position: relative; overflow: auto; max-height: calc(100svh - 32px); display: grid; gap: 16px; padding: clamp(24px, 5vw, 36px); border-radius: var(--radius-lg); background: radial-gradient(120% 80% at 50% 120%, rgba(34, 211, 166, .28), transparent 60%), var(--night-2); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.hp-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #F2F5F9; font-size: 20px; line-height: 1; cursor: pointer; }
.hp-close:hover { background: rgba(255, 255, 255, .16); }
.hp-label { color: var(--mint); font-size: 14px; font-weight: 500; padding-right: 40px; }
.hibah-pop h2 { font-size: clamp(28px, 6vw, 38px); }
.hp-body { color: #AEB7C6; }
.hp-points { display: grid; gap: 8px; }
.hp-points li { display: flex; gap: 10px; align-items: baseline; }
.hp-points li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); transform: translateY(-1px); }
.hp-count { padding: 12px 14px; border-radius: 12px; background: rgba(34, 211, 166, .1); border: 1px solid rgba(34, 211, 166, .3); color: #DDF7EF; font-size: 14.5px; }
.hp-count b { color: var(--mint); font-weight: 600; }
.hp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hp-actions .button { flex: 1 1 auto; }
.hibah-pop .button-outline { --surface: transparent; --line-strong: rgba(255, 255, 255, .2); --text: #F2F5F9; }

/* ==========================================================================
   Dot-matrix type (app.js draws [data-dots] text as dots on a canvas)
   ========================================================================== */
.is-dots { position: relative; background: none !important; color: transparent !important; -webkit-text-fill-color: transparent; }
.is-dots canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.footer-word.is-dots { padding-block: .08em; }

/* 404 page */
.nf { min-height: 100svh; display: grid; align-items: center; }
.nf-code { width: 100%; font-size: clamp(120px, 28vw, 340px); font-weight: 700; letter-spacing: -.06em; line-height: .85; color: rgba(242, 245, 249, .12); user-select: none; }
.nf h1 { font-size: clamp(36px, 5.6vw, 68px); }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 8px; }
.nf-links a { color: var(--muted); font-size: 15px; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.nf-links a:hover { color: var(--text); border-color: var(--mint); }

/* ==========================================================================
   Pointer effects (app.js turns these on for mouse/trackpad devices only)
   ========================================================================== */
/* Dark page headers: brighter grid and a mint glow around the pointer, plus fading cells. */
.spotlight { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.is-lit > .spotlight { opacity: 1; }
.spotlight::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(34, 211, 166, .4) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 211, 166, .4) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), #000, transparent 70%);
  -webkit-mask-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), #000, transparent 70%);
}
.spotlight::after { content: ''; position: absolute; inset: 0; background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 166, .16), transparent 65%); }
.spot-cell { position: absolute; width: 72px; height: 72px; background: rgba(34, 211, 166, .12); box-shadow: inset 0 0 0 1px rgba(34, 211, 166, .5); animation: cell-fade 1.2s var(--ease) forwards; }
@keyframes cell-fade { from { opacity: 1; } to { opacity: 0; } }
.hero-glow { transition: opacity .6s var(--ease), filter .6s var(--ease); }
.hero.is-lit .hero-glow { filter: blur(20px) brightness(1.5); }

/* Cards: a soft glow under the content that follows the pointer while hovered. */
.fine-pointer :is(.show-card, .service, .approach-card, .choose-card, .pkg, .value, .step, .faq, .work-card, .about-panel, .brief-next) { isolation: isolate; }
.fine-pointer :is(.approach-card, .choose-card, .pkg, .value, .faq, .work-card, .about-panel, .brief-next) { position: relative; }
.fine-pointer :is(.show-card, .service, .approach-card, .choose-card, .pkg, .value, .step, .faq, .work-card, .about-panel, .brief-next)::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(34, 211, 166, .13), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.fine-pointer :is(.show-card, .service, .approach-card, .choose-card, .pkg, .value, .step, .faq, .work-card, .about-panel, .brief-next):hover::before { opacity: 1; }
.fine-pointer :is(.show-card, .service.featured, .pkg-dark)::before { background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(34, 211, 166, .2), transparent 60%); }

.button, .nav-cta, .job-arrow { transition-property: transform, translate, background, border-color, box-shadow, color; transition-duration: .25s; transition-timing-function: var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero-fade { opacity: 1; transform: none; }
  .js .hero-title .line > span { transform: none; }
  .show-card { transform: none; filter: none; }
}
