/* Layout: a gateway arch. The hero frames a night sky from pagoda to Burj inside an arched door; the sections below read like an office dossier. */
:root {
  --font-display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --font-my: "Padauk", "Noto Sans Myanmar", "Myanmar Text", sans-serif;

  /* Neutrals, tinted toward the brand navy */
  --bg: #f3f5fa;
  --bg-2: #e8ecf5;
  --surface: #ffffff;
  --fg: #0d1a33;
  --muted: #56637f;
  --line: #d8deea;
  --shadow: 0 1px 2px rgba(13, 26, 51, .05), 0 18px 40px -20px rgba(13, 26, 51, .22);

  /* Festival tokens (Majestic Classic). The script swaps these per festival. */
  --accent: #d1a654;
  --accent-2: #5b8fd6;
  --hero-1: #06122a;
  --hero-2: #143566;
  --on-accent: #1a1304;

  /* Derived */
  --accent-text: color-mix(in oklab, var(--accent) 55%, #000);
  --accent-soft: color-mix(in oklab, var(--accent) 14%, var(--surface));
  --hero-ink: #eef2fb;
  --hero-muted: rgba(238, 242, 251, .74);
  --hero-accent: color-mix(in oklab, var(--accent) 88%, #fff);
  --sil: color-mix(in oklab, var(--hero-1) 70%, #000);

  --logo: url("/assets/logo-mark.png");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060c1b; --bg-2: #0a1327; --surface: #0e1930; --fg: #e7ecf6; --muted: #97a3bf; --line: #1f2c4a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 22px 44px -22px rgba(0, 0, 0, .7);
    --accent-text: color-mix(in oklab, var(--accent) 80%, #fff);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #060c1b; --bg-2: #0a1327; --surface: #0e1930; --fg: #e7ecf6; --muted: #97a3bf; --line: #1f2c4a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 22px 44px -22px rgba(0, 0, 0, .7);
  --accent-text: color-mix(in oklab, var(--accent) 80%, #fff);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--fg); overflow-x: clip;
  font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[lang="my"] { font-family: var(--font-my); line-height: 1.8; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.logo { display: inline-block; flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fff var(--logo) center / 88% no-repeat; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; height: 50px; padding: 0 1.4rem;
  border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: transform .25s, background-color .25s, box-shadow .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 30px -14px color-mix(in oklab, var(--accent) 80%, transparent); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px color-mix(in oklab, var(--accent) 90%, transparent); }
.btn-line { color: inherit; border-color: color-mix(in oklab, currentColor 34%, transparent); background: transparent; }
.btn-line:hover { background: color-mix(in oklab, currentColor 8%, transparent); }
.btn-sm { height: 40px; padding: 0 1.05rem; font-size: 14px; }

/* ---------- Scroll progress + nav ---------- */
.progress { position: fixed; z-index: 60; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(0); }

.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; padding-top: env(safe-area-inset-top, 0px);
  color: var(--hero-ink); transition: background-color .35s, color .35s, box-shadow .35s;
  --nav-active: var(--hero-accent);
}
.nav.solid, .nav.open {
  background: color-mix(in oklab, var(--surface) 88%, transparent); color: var(--fg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line); --nav-active: var(--accent-text);
}
.nav-in { position: relative; display: flex; align-items: center; gap: 18px; height: 74px; transition: height .35s; }
.nav.solid .nav-in { height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; text-decoration: none; color: inherit; }
.brand b { display: block; font: 400 1.22rem/1.1 var(--font-display); letter-spacing: .01em; white-space: nowrap; }
.brand small { display: block; font: 500 10.5px/1.5 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .7; white-space: nowrap; }
.links { display: flex; gap: 2px; margin-inline-start: auto; }
.links a { position: relative; padding: 8px 11px; text-decoration: none; font-weight: 500; font-size: 14.5px; opacity: .82; transition: opacity .2s, color .2s; }
.links a:hover { opacity: 1; }
.links a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.links a[aria-current] { opacity: 1; color: var(--nav-active); }
.links a[aria-current]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in oklab, currentColor 28%, transparent); background: transparent; color: inherit; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }

.fest-picker { position: relative; }
.fest-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid color-mix(in oklab, currentColor 28%, transparent); background: color-mix(in oklab, currentColor 6%, transparent);
  color: inherit; font: 500 13.5px/1 var(--font-body); white-space: nowrap;
}
.fest-btn svg { width: 14px; height: 14px; opacity: .7; }
.fest-dot { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--accent) 0 50%, var(--accent-2) 0 100%); box-shadow: 0 0 0 2px color-mix(in oklab, currentColor 15%, transparent); }
.fest-menu {
  position: absolute; z-index: 70; right: 0; top: calc(100% + 10px); width: min(310px, calc(100vw - 32px));
  display: grid; gap: 2px; padding: 8px; border-radius: 16px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.fest-menu-h { font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 6px; }
.fest-menu button { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.fest-menu button:hover, .fest-menu button:focus-visible { background: var(--bg-2); }
.fest-menu button[aria-checked="true"] { background: var(--accent-soft); }
.fest-menu .sw { width: 24px; height: 24px; flex: none; border-radius: 50%; }
.fest-menu b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.fest-menu small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }

/* The nav links stay visible down to 901px (laptops with display scaling); below that they fold into the menu button. */
@media (min-width: 901px) and (max-width: 1320px) { .nav-wa { display: none; } }
@media (min-width: 901px) and (max-width: 1200px) {
  #festBtnLabel { display: none; }
  .fest-btn { padding: 0 9px; }
  .links a { padding: 8px 9px; font-size: 14px; }
  .links a::after { left: 9px; right: 9px; }
  .nav-in { gap: 14px; }
}
@media (max-width: 900px) {
  .links {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0; margin: 0;
    padding: 6px max(16px, env(safe-area-inset-left, 0px)) 16px; background: var(--surface); color: var(--fg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open .links { display: flex; }
  .links a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .links a::after { display: none; }
  .nav-actions { margin-inline-start: auto; }
  .icon-btn { display: grid; }
}
@media (max-width: 600px) { .nav-wa { display: none; } .brand small { display: none; } }
@media (max-width: 420px) { #festBtnLabel { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--hero-ink);
  background:
    radial-gradient(70% 60% at 86% 8%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 70%),
    linear-gradient(165deg, var(--hero-1) 8%, var(--hero-2) 100%);
  padding-block: calc(124px + env(safe-area-inset-top, 0px)) clamp(64px, 8vw, 104px);
  transition: background-color .6s;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-radial-gradient(circle at 76% 112%, transparent 0 46px, rgba(255, 255, 255, .035) 46px 47px); }
.glow { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.glow.g1 { width: 560px; height: 560px; top: -220px; right: -160px; background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 30%, transparent), transparent); }
.glow.g2 { width: 520px; height: 520px; bottom: -260px; left: -180px; background: radial-gradient(closest-side, color-mix(in oklab, var(--accent-2) 26%, transparent), transparent); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.greet {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; max-width: 100%; padding: 6px 18px 6px 8px; border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 14%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
  color: var(--hero-ink); text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.4;
}
.greet::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 58%, #fff6d8 0 16%, var(--accent) 34%, transparent 72%); box-shadow: 0 0 18px var(--accent); }
.greet-native { color: var(--hero-accent); font-size: 15px; }
.hero h1 { font: 400 clamp(2.7rem, 6.2vw, 5.1rem)/1.02 var(--font-display); letter-spacing: -.01em; margin: 24px 0 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--hero-accent); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .06em; border-radius: 2px; background: currentColor; opacity: .45; }
.lede { margin: 0; max-width: 54ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--hero-muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.addr { display: flex; align-items: flex-start; gap: 8px; margin: 20px 0 0; font-size: 14px; color: var(--hero-muted); }
.addr svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--hero-accent); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; margin: 38px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 16px 12px 0 0; }
.hero-facts div + div { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero-facts dt { font: 500 11px/1.45 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--hero-muted); }
.hero-facts dd { margin: 0 0 6px; font: 400 clamp(1.7rem, 3vw, 2.3rem)/1 var(--font-display); color: #fff; }

.hero-art { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-art::before {
  content: ""; position: absolute; inset: -14px; pointer-events: none;
  border: 1px solid color-mix(in oklab, var(--accent) 42%, transparent); border-radius: 50% 50% 22px 22px / 40% 40% 22px 22px;
}
.arch {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px;
  background: radial-gradient(90% 60% at 50% 18%, color-mix(in oklab, var(--accent) 20%, var(--hero-2)), var(--hero-2) 45%, var(--hero-1));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 55%, transparent), 0 50px 90px -40px rgba(0, 0, 0, .75);
}
.arch canvas, .arch .scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.arch-label { position: absolute; top: 13%; left: 50%; transform: translateX(-50%); font: 500 11px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--hero-accent); white-space: nowrap; }
.scene .sil { fill: var(--sil); stroke: color-mix(in oklab, var(--accent) 45%, transparent); stroke-width: .8; }
.scene .route { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 4 7; opacity: .8; animation: dash 1.6s linear infinite; }
.scene .code { font: 500 11px var(--font-mono); letter-spacing: .14em; fill: var(--hero-ink); }
.scene .dotc { fill: var(--accent); }
.scene .pulse { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.scene .plane { fill: #fff; }
@keyframes dash { to { stroke-dashoffset: -22; } }

.case-card {
  position: absolute; left: -38px; bottom: 15%; display: grid; gap: 4px; padding: 14px 16px; min-width: 220px; border-radius: 14px;
  background: color-mix(in oklab, var(--hero-1) 72%, transparent); border: 1px solid rgba(255, 255, 255, .16); color: var(--hero-ink);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7);
}
.cc-k { font: 500 10.5px/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--hero-muted); }
.case-card b { font-weight: 600; font-size: 15px; }
.cc-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--hero-muted); }
.cc-status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 999px; background: rgba(61, 220, 151, .15); color: #7ef0bd; font-weight: 600; }
.cc-status i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 370px); margin-top: 8px; }
  .case-card { left: -4px; bottom: 9%; min-width: 0; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--surface); border-block: 1px solid var(--line); padding-block: 22px; }
.marquee-track { display: flex; width: max-content; animation: mq 60s linear infinite; }
.mq-group { display: flex; }
.mq-group span { display: inline-flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; white-space: nowrap; font: 400 clamp(1.35rem, 2.6vw, 2rem)/1.2 var(--font-display); }
.mq-group span::after { content: ""; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(76px, 10vw, 128px); }
.section.alt { background: var(--bg-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }
h2 { font: 400 clamp(2rem, 4.2vw, 3.2rem)/1.08 var(--font-display); letter-spacing: -.005em; margin: 0 0 18px; text-wrap: balance; }
h3 { text-wrap: balance; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px 64px; align-items: end; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--muted); max-width: 52ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* Reveal: content is always visible; it only slides into place */
.rv-pre { transform: translateY(42px); transition: transform 1s cubic-bezier(.2, .7, .2, 1) !important; }
.rv-pre.rv-in { transform: none; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-copy p { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.about-copy p.big { color: var(--fg); font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.55; }
.pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.pillars li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; }
.dossier { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow); }
.dossier::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); border-radius: 2px; pointer-events: none; }
.dossier header { display: flex; align-items: center; gap: 14px; padding: 0 96px 18px 0; border-bottom: 1px solid var(--line); }
.dossier header b { display: block; font: 500 11px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dossier header span { display: block; font: 400 1.35rem/1.2 var(--font-display); }
.dossier dl { margin: 4px 0 0; }
.dossier dl div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 4px 14px; padding-block: 12px; border-bottom: 1px dashed var(--line); }
.dossier dl div:last-child { border-bottom: 0; }
.dossier dt { font: 500 11px/1.9 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dossier dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.mono { font-family: var(--font-mono); letter-spacing: .04em; }
.stamp { position: absolute; top: -26px; right: 8px; width: 112px; height: 112px; color: var(--accent-text); opacity: .9; transform: rotate(-14deg); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .dossier dl div { grid-template-columns: 1fr; } .dossier header { padding-right: 70px; } .stamp { width: 90px; height: 90px; } }

/* ---------- Vision & mission ---------- */
.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.vm-card { position: relative; overflow: hidden; padding: clamp(26px, 3.6vw, 46px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.vm-card.dark { background: linear-gradient(160deg, var(--hero-1), var(--hero-2)); color: var(--hero-ink); border-color: transparent; }
.vm-card::after { content: ""; position: absolute; right: -36px; bottom: -70px; width: 170px; height: 220px; border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent); border-radius: 85px 85px 0 0; pointer-events: none; }
.vm-k { font: 500 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.vm-card.dark .vm-k { color: var(--hero-accent); }
.vm-text { position: relative; z-index: 1; margin: 18px 0 0; max-width: 30ch; font: 400 clamp(1.45rem, 2.5vw, 2.05rem)/1.25 var(--font-display); text-wrap: pretty; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; margin-top: 48px; }
.value { padding-top: 22px; border-top: 2px solid var(--line); transition: border-color .3s; }
.value:hover { border-top-color: var(--accent); }
.value svg { width: 28px; height: 28px; color: var(--accent-text); }
.value h3 { margin: 14px 0 8px; font: 600 1.1rem/1.3 var(--font-body); }
.value p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.svc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: 500 14px/1 var(--font-body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip b { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.chip:hover { border-color: color-mix(in oklab, var(--fg) 30%, var(--line)); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip[aria-pressed="true"] b { color: inherit; opacity: .65; }
.svc-note { margin: 22px 0 0; font: 400 12.5px/1.5 var(--font-mono); color: var(--muted); }

/* ---------- Activity / process ---------- */
.activity { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.act-intro { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.act-intro > p { color: var(--muted); }
.checklist { margin-top: 26px; padding: 18px 20px 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.checklist h3 { margin: 0 0 6px; font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.checklist ul { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: 11px; padding-block: 8px; border-top: 1px dashed var(--line); font-size: .95rem; }
.checklist li:first-child { border-top: 0; }
.tick { display: grid; place-items: center; width: 19px; height: 19px; flex: none; margin-top: 2px; border-radius: 5px; border: 1.5px solid color-mix(in oklab, var(--fg) 25%, var(--line)); transition: background-color .3s, border-color .3s; }
.tick svg { width: 12px; height: 12px; stroke: var(--on-accent); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s; }
.checklist li.done .tick { background: var(--accent); border-color: var(--accent); }
.checklist li.done .tick svg { opacity: 1; transform: none; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 40px; width: 2px; background: var(--line); }
.steps::after { background: linear-gradient(var(--accent), var(--accent-2)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; padding: 0 0 46px 76px; }
.step:last-child { padding-bottom: 0; }
.step-n { position: absolute; z-index: 1; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); font: 500 14px/1 var(--font-mono); color: var(--muted); transition: background-color .35s, color .35s, border-color .35s, transform .35s; }
.step.on .step-n { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: scale(1.06); }
.step h3 { margin: 10px 0 8px; font: 600 1.25rem/1.3 var(--font-body); }
.step p { margin: 0; max-width: 52ch; color: var(--muted); }
@media (max-width: 860px) { .activity { grid-template-columns: 1fr; } .act-intro { position: static; } }

/* ---------- Festivals ---------- */
.fest-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 30px; padding: 14px 16px 14px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.fest-bar p { margin: 0; font-size: 15px; }
.fest-bar b { font-weight: 600; }
.fest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; margin-top: 16px; }
.fest-card { display: flex; flex-direction: column; min-width: 0; padding: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; text-align: left; cursor: pointer; transition: transform .25s, border-color .25s, box-shadow .25s; }
.fest-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fest-card[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 32%, transparent); }
.fest-swatch { position: relative; display: block; height: 96px; background: radial-gradient(60% 110% at 78% 0%, color-mix(in oklab, var(--a) 60%, transparent), transparent 70%), linear-gradient(150deg, var(--h1), var(--h2)); }
.fest-swatch::before { content: ""; position: absolute; right: 18px; bottom: 0; width: 46px; height: 62px; border: 1px solid var(--a); border-bottom: 0; border-radius: 23px 23px 0 0; opacity: .8; }
.fest-swatch i { position: absolute; left: 18px; bottom: 16px; display: flex; gap: 6px; }
.fest-swatch i::before, .fest-swatch i::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--a); }
.fest-swatch i::after { background: var(--a2); }
.fest-swatch em { position: absolute; left: 18px; top: 14px; font: 500 10.5px/1 var(--font-mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.fest-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 16px 18px 18px; }
.fest-season { font: 500 11px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fest-name { font: 400 1.45rem/1.2 var(--font-display); }
.fest-native { color: var(--muted); font-size: 1rem; }
.fest-about { flex: 1; margin-top: 4px; color: var(--muted); font-size: .93rem; }
.fest-state { align-self: flex-start; margin-top: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.fest-card[aria-pressed="true"] .fest-state { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ---------- CTA band ---------- */
.band { position: relative; overflow: hidden; color: var(--hero-ink); background: linear-gradient(120deg, var(--hero-1), var(--hero-2)); padding-block: clamp(56px, 8vw, 92px); }
.band::after { content: ""; position: absolute; right: -60px; top: -40px; width: 280px; height: 360px; border: 1px solid color-mix(in oklab, var(--accent) 50%, transparent); border-radius: 140px 140px 0 0; pointer-events: none; }
.band-in { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.band h2 { margin: 0 0 8px; }
.band p { margin: 0; max-width: 54ch; color: var(--hero-muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 84px); align-items: start; }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; padding-block: 16px; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.ci-k { font: 500 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ci-v { font-weight: 500; font-size: 1.02rem; overflow-wrap: anywhere; user-select: all; }
.ci-v.wrap-ok { user-select: text; }
.ci-actions { display: flex; gap: 6px; }
.mini { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: 500 13px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.mini:hover { background: var(--bg-2); border-color: color-mix(in oklab, var(--fg) 25%, var(--line)); }
.enquiry { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.enquiry h3 { margin: 0; font: 400 1.6rem/1.2 var(--font-display); }
.enquiry > p { margin: -8px 0 0; color: var(--muted); font-size: .95rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 400 15px/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }
.hint { margin: -4px 0 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-list li { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { background: var(--hero-1); color: #c3cce0; padding-block: 56px calc(36px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.foot .brand b { color: #fff; }
.foot p { margin: 14px 0 0; font-size: 14px; max-width: 40ch; }
.foot h4 { margin: 0 0 12px; font: 500 11px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #8d99b6; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font: 400 12.5px/1.5 var(--font-mono); color: #8d99b6; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }


/* ---------- Stories & Blog tab ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--hero-ink);
  background: radial-gradient(60% 80% at 90% 0%, color-mix(in oklab, var(--accent) 20%, transparent), transparent 70%), linear-gradient(165deg, var(--hero-1) 10%, var(--hero-2));
  padding-block: calc(130px + env(safe-area-inset-top, 0px)) clamp(52px, 7vw, 88px);
}
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-radial-gradient(circle at 90% 135%, transparent 0 46px, rgba(255, 255, 255, .04) 46px 47px); }
.page-hero h1 { font: 400 clamp(2.4rem, 5.4vw, 4.3rem)/1.04 var(--font-display); margin: 0 0 18px; max-width: 20ch; text-wrap: balance; }
.page-hero .eyebrow { color: var(--hero-accent); }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.subnav a { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .24); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: background-color .2s; }
.subnav a:hover { background: rgba(255, 255, 255, .08); }
.subnav b { font: 500 12px/1 var(--font-mono); opacity: .7; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--hero-muted); }
.back:hover { color: var(--hero-ink); }
.back svg { width: 16px; height: 16px; }
.note { margin: 18px 0 0; font: 400 12.5px/1.55 var(--font-mono); color: var(--muted); max-width: 76ch; }

.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; margin-top: 34px; }
.story { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.story.featured {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "head dl" "foot dl"; gap: 22px 48px; align-items: start;
  padding: clamp(26px, 4vw, 48px); border-color: transparent; background: linear-gradient(155deg, var(--hero-1), var(--hero-2)); color: var(--hero-ink);
  --fg: var(--hero-ink); --muted: var(--hero-muted); --line: rgba(255, 255, 255, .16); --accent-text: var(--hero-accent);
}
.story-head { grid-area: head; display: grid; gap: 12px; }
.story-dl { grid-area: dl; margin: 0; }
.story-foot { grid-area: foot; display: grid; gap: 14px; margin-top: auto; }
.story-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.badge { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font: 500 11px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.story.featured .badge { background: color-mix(in oklab, var(--accent) 22%, transparent); }
.story-svc { font: 500 11.5px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.story h3 { margin: 0; font: 400 1.5rem/1.2 var(--font-display); }
.story.featured h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.story-dl div { display: grid; gap: 4px; padding-block: 12px; border-top: 1px dashed var(--line); }
.story-dl div:first-child { border-top: 0; padding-top: 0; }
.story-dl dt { font: 500 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.story-dl dd { margin: 0; font-size: .97rem; color: var(--muted); }
.story-dl .res dd { display: flex; align-items: flex-start; gap: 8px; color: var(--fg); font-weight: 600; }
.story-dl .res svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent-text); }
.story-time { display: flex; align-items: center; gap: 12px; font: 500 11.5px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.story-time .bar { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.story-time .bar i { display: block; height: 100%; width: var(--w); border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.story-time b { color: var(--fg); font-weight: 500; white-space: nowrap; }
.story .svc-ask:hover { color: var(--accent-text); }
.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 16px; padding: 22px 24px; border-radius: 18px; border: 1px dashed color-mix(in oklab, var(--accent) 60%, var(--line)); background: var(--accent-soft); }
.share h3 { margin: 0 0 4px; font: 400 1.4rem/1.2 var(--font-display); }
.share p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .story.featured { grid-template-columns: 1fr; grid-template-areas: "head" "dl" "foot"; } }

.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 22px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--accent) 50%, var(--line)); }
.post-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; color: var(--hero-ink); background: radial-gradient(80% 90% at 85% 10%, color-mix(in oklab, var(--accent) 34%, transparent), transparent 70%), linear-gradient(150deg, var(--hero-1), var(--hero-2)); }
.post-card.featured .cover { aspect-ratio: auto; min-height: 280px; }
.cover::before { content: ""; position: absolute; right: 9%; bottom: -1px; width: 30%; aspect-ratio: 4 / 5; border: 1px solid color-mix(in oklab, var(--accent) 60%, transparent); border-bottom: 0; border-radius: 999px 999px 0 0; }
.cover::after { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 80% 120%, transparent 0 22px, rgba(255, 255, 255, .05) 22px 23px); }
.cover svg { position: absolute; z-index: 1; right: 16.5%; bottom: 16%; width: 15%; height: auto; color: var(--hero-accent); }
.cover em { position: absolute; z-index: 1; left: 20px; top: 18px; font: 500 11px/1 var(--font-mono); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.post-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 22px 24px; }
.post-card.featured .post-body { justify-content: center; padding: clamp(24px, 3.5vw, 44px); }
.post-meta { font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-card h3 { margin: 0; font: 400 1.4rem/1.22 var(--font-display); }
.post-card.featured h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.post-card p { flex: 1; margin: 0; color: var(--muted); font-size: .97rem; }
.read { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.read svg { width: 15px; height: 15px; transition: transform .2s; }
.post-card:hover .read svg { transform: translateX(3px); }
.teaser-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 30px; }
.teaser-head h2 { margin: 0; }
@media (max-width: 760px) { .post-card.featured { grid-template-columns: 1fr; } .post-card.featured .cover { min-height: 0; aspect-ratio: 16 / 9; } }

.post-hero .post-meta { margin: 22px 0 0; color: var(--hero-muted); }
.post-dek { margin: 0; max-width: 60ch; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--hero-muted); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(36px, 6vw, 88px); align-items: start; }
.prose { max-width: 68ch; font-size: 1.07rem; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose h3 { margin: 1.9em 0 .55em; font: 400 1.65rem/1.25 var(--font-display); text-wrap: balance; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.25em; }
.prose li { margin: .4em 0; padding-left: .2em; }
.prose li::marker { color: var(--accent-text); }
.prose strong { font-weight: 600; }
.prose .good { margin: 1.6em 0; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.prose .good b { display: block; margin-bottom: 6px; font: 500 11px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.prose .good p { margin: 0; }
.post-aside { position: sticky; top: calc(90px + env(safe-area-inset-top, 0px)); display: grid; gap: 16px; }
.help { padding: 24px; border-radius: 18px; background: linear-gradient(155deg, var(--hero-1), var(--hero-2)); color: var(--hero-ink); }
.help h3 { margin: 0 0 6px; font: 400 1.45rem/1.2 var(--font-display); }
.help p { margin: 0 0 18px; color: var(--hero-muted); font-size: .95rem; }
.help .btn { width: 100%; }
.more { padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.more h3 { margin: 0 0 6px; font: 500 11px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.more a { display: block; padding-block: 11px; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .97rem; line-height: 1.4; }
.more a:first-of-type { border-top: 0; }
.more a:hover { color: var(--accent-text); }
.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 68ch; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.post-nav a:hover { border-color: color-mix(in oklab, var(--accent) 55%, var(--line)); }
.post-nav a.next { grid-column: 2; text-align: right; }
.post-nav small { font: 500 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-nav span { font-weight: 600; line-height: 1.35; }
@media (max-width: 900px) { .post-layout { grid-template-columns: 1fr; } .post-aside { position: static; } }
@media (max-width: 520px) { .post-nav { grid-template-columns: 1fr; } .post-nav a.next { grid-column: auto; text-align: left; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; width: auto; }
  .mq-group { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding-inline: 16px; }
  .mq-group[aria-hidden] { display: none; }
  .scene .plane, .scene .pulse { display: none; }
}

/* ---------- Multi-page additions ---------- */
.skip:focus { position: fixed; z-index: 200; top: 12px; left: 12px; width: auto; height: auto; padding: 10px 16px; clip: auto; white-space: normal; border-radius: 12px; background: var(--surface); color: var(--fg); box-shadow: var(--shadow); }
.center-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
/* "I have a similar case" link on story cards */
.svc-ask { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; color: inherit; font-weight: 600; font-size: 14px; text-decoration: none; }
.svc-ask svg { flex: none; width: 15px; height: 15px; transition: transform .2s; }
.svc-ask:hover { color: var(--accent-text); }
.svc-ask:hover svg { transform: translateX(3px); }
.page-hero .lede { max-width: 60ch; }
.page-hero .hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--hero-muted); font-size: 14px; }
.page-hero .hero-meta b { color: #fff; font: 400 1.5rem/1 var(--font-display); margin-right: 6px; }

/* ---------- Home: service tiles, grouped by category (details on hover or tap) ---------- */
.tile-groups { display: grid; gap: 36px; }
.tile-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.tile-group-head .tile-ico { width: 40px; height: 40px; border-radius: 12px; }
.tile-group-head .tile-ico svg { width: 20px; height: 20px; }
.tile-group-head h3 { display: flex; align-items: center; gap: 9px; margin: 0; font: 400 1.32rem/1.25 var(--font-display); }
.tile-count { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font: 600 12px/1 var(--font-mono); }
.tile-group-head p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.tile-group-head > a { display: inline-flex; align-items: center; gap: 6px; flex: none; margin-left: auto; color: var(--accent-text); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.tile-group-head > a svg { width: 14px; height: 14px; transition: transform .2s; }
.tile-group-head > a:hover svg { transform: translateX(3px); }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }

.svc-tile { position: relative; display: flex; min-width: 0; }
.svc-tile.open, .svc-tile:focus-within { z-index: 6; }
.tile-face {
  position: relative; display: flex; flex: 1; align-items: center; gap: 14px; min-height: 86px; padding: 16px 46px 16px 16px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--fg); font: inherit; text-align: left; cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.tile-face:hover, .svc-tile.open .tile-face { border-color: color-mix(in oklab, var(--accent) 55%, var(--line)); box-shadow: var(--shadow); transform: translateY(-2px); }
.tile-ico {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(135deg, var(--accent-soft), color-mix(in oklab, var(--accent-2) 14%, var(--surface))); color: var(--accent-text);
  transition: background .25s, color .25s;
}
.tile-ico svg { width: 22px; height: 22px; }
.tile-ico.big { width: 56px; height: 56px; border-radius: 18px; }
.tile-ico.big svg { width: 27px; height: 27px; }
.tile-face:hover .tile-ico, .svc-tile.open .tile-face .tile-ico { background: var(--accent); color: var(--on-accent); }
.tile-text { display: grid; justify-items: start; gap: 6px; min-width: 0; }
.tile-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-weight: 600; font-size: .98rem; line-height: 1.35; }
.tile-tag { display: inline-block; max-width: 100%; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); font-size: 11.5px; font-weight: 600; line-height: 1.55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-chev { position: absolute; top: 50%; right: 14px; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; color: var(--muted); transition: transform .3s, color .25s; }
.tile-chev svg { width: 17px; height: 17px; }
.svc-tile.open .tile-chev { transform: rotate(180deg); color: var(--accent-text); }

.tile-pop {
  position: absolute; top: -6px; left: -6px; right: -6px; display: grid; gap: 12px; padding: 16px; border-radius: 20px;
  background: var(--surface); border: 1px solid color-mix(in oklab, var(--accent) 55%, var(--line));
  box-shadow: 0 30px 60px -24px rgba(6, 12, 27, .5), 0 0 0 4px color-mix(in oklab, var(--accent) 12%, transparent);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.96); transform-origin: 50% 0;
  transition: opacity .22s, transform .22s, visibility 0s linear .22s;
}
.svc-tile.open .tile-pop { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .22s; }
@media (hover: hover) and (pointer: fine) {
  .svc-tile:hover { z-index: 7; }
  .svc-tile:hover .tile-pop { opacity: 1; visibility: visible; transform: none; transition: opacity .2s .06s, transform .2s .06s; }
  .svc-tile:hover .tile-chev { color: var(--accent-text); }
}
.tile-pop-head { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.tile-pop-head .tile-ico { background: var(--accent); color: var(--on-accent); }
.tile-pop-head b { font-size: 1rem; line-height: 1.35; }
.tile-pop p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.tile-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.tile-facts div { min-width: 0; padding: 9px 11px; border-radius: 12px; background: var(--bg); }
.tile-facts dt { display: flex; align-items: center; gap: 5px; font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tile-facts dt svg { width: 12px; height: 12px; }
.tile-facts dd { margin: 3px 0 0; font-weight: 700; font-size: .92rem; line-height: 1.35; color: var(--accent-text); }
.tile-actions { display: flex; gap: 8px; }
.tile-actions a { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 12px; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background-color .2s, transform .2s; }
.tile-actions svg { width: 14px; height: 14px; }
.tile-more { background: var(--accent); color: var(--on-accent); }
.tile-more:hover { transform: translateY(-1px); }
.tile-wa { border: 1px solid var(--line); color: var(--fg); }
.tile-wa:hover { background: var(--bg-2); }
@media (max-width: 560px) {
  .tile-group-head { flex-wrap: wrap; }
  .tile-group-head > a { margin-left: 54px; }
}

/* ---------- Home: how it works ---------- */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.flow-step { position: relative; min-width: 0; padding: 22px 22px 22px 78px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.flow-step b { position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 500 14px/1 var(--font-mono); }
.flow-step h3 { margin: 0 0 6px; font: 600 1.06rem/1.35 var(--font-body); }
.flow-step p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Services page ---------- */
.sf-bar { position: sticky; z-index: 30; top: calc(62px + env(safe-area-inset-top, 0px)); background: color-mix(in oklab, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.sf-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-block: 12px; }
.sf-search { position: relative; flex: 1 1 240px; max-width: 360px; }
.sf-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.sf-search input { width: 100%; height: 44px; padding: 0 16px 0 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: 400 15px/1 var(--font-body); }
.sf-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent); }
.sf-chips { display: flex; flex: 1 1 400px; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.sf-chips::-webkit-scrollbar { display: none; }
.sf-chips .chip { flex: none; height: 38px; }
.sf-intro { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 34px; padding: 15px 18px; border-radius: 16px; background: var(--accent-soft); font-size: .95rem; line-height: 1.6; }
.sf-intro svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent-text); }
.sf-group { padding-block: 6px 48px; scroll-margin-top: 150px; }
.sf-group + .sf-group { padding-top: 48px; border-top: 1px solid var(--line); }
.sf-group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.sf-group-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.sf-group-head p { margin: 4px 0 0; color: var(--muted); }
.sf-count { margin-left: auto; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font: 500 12px/1.3 var(--font-mono); color: var(--muted); white-space: nowrap; }
.sf-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.svc-full { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 150px; transition: border-color .3s, box-shadow .3s; }
.svc-full:hover { border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.svc-full.flash { animation: sf-flash 2.4s ease; }
@keyframes sf-flash { 0%, 45% { border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 35%, transparent); } }
.sf-head { display: flex; align-items: flex-start; gap: 14px; }
.sf-head h3 { margin: 2px 0 4px; font: 600 1.12rem/1.35 var(--font-body); }
.sf-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.sf-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.sf-facts div { min-width: 0; padding: 12px 14px; border-radius: 14px; background: var(--bg); }
.sf-facts dt { display: flex; align-items: center; gap: 6px; font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sf-facts dt svg { width: 13px; height: 13px; }
.sf-facts dd { margin: 5px 0 0; }
.sf-facts b { display: block; font-size: 1.06rem; line-height: 1.3; color: var(--accent-text); }
.sf-facts small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.sf-docs h4 { display: flex; align-items: center; gap: 7px; margin: 0 0 9px; font: 500 11px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sf-docs h4 svg { width: 15px; height: 15px; }
.sf-docs ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sf-docs li { display: flex; align-items: flex-start; gap: 8px; font-size: .94rem; line-height: 1.5; }
.sf-docs li svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--accent-text); }
.sf-nodocs { margin: 0; color: var(--muted); font-size: .94rem; }
.sf-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.pp-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.pp-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.pp-table th, .pp-table td { padding: 15px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.pp-table thead th { font: 500 11px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.pp-table tbody tr:last-child > * { border-bottom: 0; }
.pp-table tbody th { font-weight: 600; white-space: nowrap; }
.pp-table td b { color: var(--accent-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pp-table td:nth-child(3) { color: var(--muted); }
.pp-table tr { scroll-margin-top: 170px; }
.pp-table tr.flash { animation: row-flash 2.4s ease; }
@keyframes row-flash { 0%, 45% { background: var(--accent-soft); } }
.pp-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.pp-note svg { flex: none; width: 16px; height: 16px; }
.sf-empty { margin: 0; padding: 44px 20px; border: 1px dashed var(--line); border-radius: 20px; text-align: center; color: var(--muted); }
@media (max-width: 520px) { .sf-facts { grid-template-columns: 1fr; } .sf-count { display: none; } .sf-group-head { align-items: flex-start; } }

/* ---------- Contact page ---------- */
.reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 30px; }
.reach a, .reach div { display: grid; gap: 4px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--fg); transition: border-color .25s, transform .25s; }
.reach a:hover { border-color: color-mix(in oklab, var(--accent) 55%, var(--line)); transform: translateY(-2px); }
.reach small { font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.reach b { font-size: 1rem; overflow-wrap: anywhere; }

/* ---------- 404 ---------- */
.lost { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; z-index: 40; right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(98px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #1fa855; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .25s, opacity .25s; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 24px; height: 24px; }
.totop { position: fixed; z-index: 40; right: max(26px, env(safe-area-inset-right, 0px)); bottom: calc(158px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s, transform .3s; }
.totop.show { opacity: 1; pointer-events: auto; transform: none; }
.totop svg { width: 18px; height: 18px; }
.chat-open .fab, .chat-open .totop { opacity: 0; pointer-events: none; }

/* ---------- Online assistant: launcher ---------- */
.cl-wrap { position: fixed; z-index: 95; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: flex-end; gap: 12px; pointer-events: none; }
.cl-wrap > * { pointer-events: auto; }
.chat-launch {
  position: relative; display: grid; place-items: center; width: 66px; height: 66px; border: 0; border-radius: 50%; cursor: pointer; color: var(--on-accent);
  background: radial-gradient(circle at 30% 25%, color-mix(in oklab, var(--accent) 62%, #fff), var(--accent) 55%, color-mix(in oklab, var(--accent) 65%, var(--accent-2)));
  box-shadow: 0 18px 40px -12px color-mix(in oklab, var(--accent) 75%, #000), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.chat-launch:hover { transform: scale(1.07) rotate(-5deg); }
.chat-launch::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: cl-ripple 2.8s infinite; }
@keyframes cl-ripple {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 18px transparent; }
}
.cl-ring {
  position: absolute; inset: -5px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), transparent 55%, var(--accent));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  animation: cl-spin 4s linear infinite;
}
@keyframes cl-spin { to { transform: rotate(360deg); } }
.chat-launch svg { grid-area: 1 / 1; width: 30px; height: 30px; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
.chat-launch .cl-ico-x { opacity: 0; transform: rotate(-90deg) scale(.5); }
.chat-launch.open .cl-ico-chat { opacity: 0; transform: rotate(90deg) scale(.5); }
.chat-launch.open .cl-ico-x { opacity: 1; transform: none; }
.chat-launch.open::after, .chat-launch.open .cl-dot { display: none; }
.cl-dot { position: absolute; top: 3px; right: 3px; width: 15px; height: 15px; border-radius: 50%; background: #3ddc97; border: 3px solid var(--bg); }
.cl-teaser { position: relative; max-width: 252px; margin-bottom: 10px; animation: cl-teaser .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes cl-teaser { from { opacity: 0; transform: translateY(12px) scale(.94); } }
.cl-teaser-body {
  display: grid; gap: 3px; padding: 13px 16px 14px; border: 1px solid var(--line); border-radius: 20px 20px 6px 20px; cursor: pointer; text-align: left;
  background: var(--surface); color: var(--fg); box-shadow: 0 20px 44px -18px rgba(6, 12, 27, .45);
  font-family: "Figtree", "Padauk", "Noto Sans Myanmar", "Myanmar Text", ui-sans-serif, system-ui, sans-serif; font-size: 13.5px; line-height: 1.7;
}
.cl-teaser-hi { font-weight: 700; font-size: 15.5px; }
.cl-teaser-x { position: absolute; top: -9px; left: -9px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; box-shadow: var(--shadow); }
.cl-teaser-x svg { width: 13px; height: 13px; }
.chat-open .cl-teaser { display: none; }

/* ---------- Online assistant: panel ---------- */
.chat {
  position: fixed; z-index: 96; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(98px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; width: min(410px, calc(100vw - 32px)); height: min(690px, calc(100dvh - 122px)); overflow: hidden;
  border-radius: 26px; background: var(--bg); color: var(--fg);
  box-shadow: 0 50px 100px -30px rgba(6, 12, 27, .6), 0 0 0 1px color-mix(in oklab, var(--fg) 9%, transparent);
  font-family: "Figtree", "Padauk", "Noto Sans Myanmar", "Myanmar Text", ui-sans-serif, system-ui, sans-serif;
  transform-origin: 100% 100%; animation: chat-in .38s cubic-bezier(.2, .8, .2, 1);
  --danger: color-mix(in oklab, #e5484d 78%, var(--fg));
  --ok: color-mix(in oklab, #2fbf7f 80%, var(--fg));
}
@keyframes chat-in { from { opacity: 0; transform: translateY(24px) scale(.92); } }
@media (max-width: 520px) {
  .chat { inset: 0; z-index: 100; width: 100%; height: 100%; border-radius: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .chat-open .cl-wrap { display: none; }
}

.chat-head { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 8px; padding: 14px 12px 14px 14px; color: var(--hero-ink); background: linear-gradient(135deg, var(--hero-1), var(--hero-2)); }
.chat-head::before { content: ""; position: absolute; z-index: -1; right: -50px; top: -80px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 50%, transparent), transparent); }
.chat-head::after { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-radial-gradient(circle at 100% 0, transparent 0 20px, rgba(255, 255, 255, .05) 20px 21px); }
.orb { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; margin-right: 2px; }
.orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--accent), var(--accent-2), var(--accent)); animation: cl-spin 6s linear infinite; }
.orb::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #3ddc97; border: 2.5px solid var(--hero-1); }
.orb .logo { position: relative; width: 38px; height: 38px; border-radius: 50%; background-size: 78%; box-shadow: none; }
.chat-title { flex: 1; min-width: 0; }
.chat-title b { display: block; font: 400 1.04rem/1.25 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-title span { display: block; font-size: 12px; line-height: 1.7; color: var(--hero-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-toggle { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.lang-toggle button { height: 28px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: var(--hero-ink); font: 600 12px/1 "Figtree", sans-serif; cursor: pointer; transition: background-color .2s, color .2s; }
.lang-toggle button[lang="my"] { font: 700 12px/1 "Padauk", "Noto Sans Myanmar", sans-serif; }
.lang-toggle button[aria-pressed="true"] { background: var(--hero-ink); color: var(--hero-1); }
.head-btn { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--hero-ink); cursor: pointer; transition: background-color .2s; }
.head-btn:hover { background: rgba(255, 255, 255, .22); }
.head-btn svg { width: 17px; height: 17px; }

.chat-body {
  display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 14px 14px;
  background:
    radial-gradient(120% 45% at 50% 0%, color-mix(in oklab, var(--accent) 11%, transparent), transparent 70%),
    radial-gradient(circle, color-mix(in oklab, var(--fg) 7%, transparent) 1px, transparent 1.4px) 0 0 / 18px 18px,
    var(--bg);
}

/* Welcome screen */
.welcome { display: grid; justify-items: center; gap: 6px; padding: 4px 2px 2px; text-align: center; animation: chat-pop .45s cubic-bezier(.2, .8, .2, 1) both; }
.welcome-orb { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; box-shadow: 0 14px 30px -12px color-mix(in oklab, var(--accent) 80%, transparent); }
.welcome-orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--accent), var(--accent-2), var(--accent)); animation: cl-spin 6s linear infinite; }
.welcome-orb .logo { position: relative; width: 55px; height: 55px; border-radius: 50%; background-size: 76%; box-shadow: none; }
.welcome h3 { margin: 6px 0 0; font: 400 1.6rem/1.25 var(--font-display); }
.welcome p { margin: 0; max-width: 34ch; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; margin-top: 8px; }
.welcome-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 4px; }
.welcome-chips button { padding: 6px 12px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--accent) 45%, var(--line)); background: var(--surface); color: var(--fg); font-family: inherit; font-size: 12.5px; font-weight: 500; line-height: 1.5; cursor: pointer; transition: background-color .2s; }
.welcome-chips button:hover { background: var(--accent-soft); }
.topic { display: grid; justify-items: start; align-content: start; gap: 4px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--fg); font: inherit; text-align: left; cursor: pointer; transition: transform .25s, border-color .25s, box-shadow .25s; }
.topic:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--accent) 60%, var(--line)); box-shadow: var(--shadow); }
.topic-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, var(--accent-soft), color-mix(in oklab, var(--accent-2) 14%, var(--surface))); color: var(--accent-text); }
.topic-ico svg { width: 19px; height: 19px; }
.topic b { font-size: 14px; font-weight: 700; line-height: 1.45; }
.topic small { font-size: 11.5px; line-height: 1.55; color: var(--muted); }

/* Messages */
.row { display: flex; align-items: flex-end; gap: 8px; animation: chat-pop .32s cubic-bezier(.2, .8, .2, 1) both; }
.row.me { justify-content: flex-end; }
@keyframes chat-pop { from { opacity: 0; transform: translateY(10px); } }
.mini-orb { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff var(--logo) center / 80% no-repeat; box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent) 45%, transparent); }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 20px; font-size: 14.5px; line-height: 1.68; overflow-wrap: anywhere; }
.msg.bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: 0 2px 6px -2px rgba(13, 26, 51, .06); }
.msg.me { background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 72%, var(--accent-2))); color: var(--on-accent); border-bottom-right-radius: 6px; white-space: pre-wrap; box-shadow: 0 10px 22px -14px color-mix(in oklab, var(--accent) 85%, #000); }
.msg.err { color: var(--danger); border-color: color-mix(in oklab, #e5484d 45%, var(--line)); }
.msg p { margin: 0 0 .55em; }
.msg p:last-child, .msg ul:last-child { margin-bottom: 0; }
.msg ul { margin: .25em 0 .55em; padding-left: 1.15em; }
.msg li { margin: .2em 0; }
.msg li::marker { color: var(--accent-text); }
.msg strong { font-weight: 700; }
.msg.bot strong { color: var(--accent-text); }
.typing { display: inline-flex; gap: 5px; padding: 6px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: chat-bounce 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-bounce { 0%, 60%, 100% { transform: none; opacity: .35; } 30% { transform: translateY(-5px); opacity: 1; } }

/* Phone number card (asked inside the conversation) */
.msg.card { width: 84%; }
.phone-card { display: grid; gap: 8px; margin-top: 10px; }
.pc-row { display: grid; grid-template-columns: minmax(0, 108px) minmax(0, 1fr); gap: 6px; }
.phone-card input, .phone-card select { width: 100%; min-height: 42px; padding: 9px 11px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font-family: inherit; font-size: 15px; }
.phone-card input:focus, .phone-card select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent); }
.consent { margin: 0 !important; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.form-err { margin: 0 !important; font-size: 13px; font-weight: 600; color: var(--danger); }
.pc-go { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 72%, var(--accent-2))); color: var(--on-accent); font-family: inherit; font-size: 14.5px; font-weight: 700; line-height: 1; cursor: pointer; transition: transform .2s; }
.pc-go:hover { transform: translateY(-1px); }
.pc-go:disabled { opacity: .6; cursor: default; transform: none; }
.pc-go svg { width: 16px; height: 16px; }
.saved { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 11px 4px 8px; border-radius: 999px; background: color-mix(in oklab, #3ddc97 16%, transparent); color: var(--ok); font-size: 12.5px; font-weight: 700; }
.saved svg { width: 15px; height: 15px; }

/* Confirm bar, footer and composer */
.chat-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 600; }
.chat-confirm span { flex: 1; min-width: 140px; }
.chat-confirm button { height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: inherit; font-size: 13px; cursor: pointer; }
.chat-confirm button.yes { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.chat-foot { padding: 8px 12px 10px; border-top: 1px solid var(--line); background: var(--surface); }
.composer { display: flex; align-items: flex-end; gap: 6px; padding: 5px 5px 5px 15px; border-radius: 26px; border: 1px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent); }
.composer textarea { flex: 1; min-height: 38px; max-height: 130px; padding: 8px 0; border: 0; background: transparent; color: var(--fg); font-family: inherit; font-size: 15px; line-height: 1.5; resize: none; outline: none; }
.composer textarea:focus-visible { outline: none; }
.composer textarea:disabled { cursor: not-allowed; }
.send { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 70%, var(--accent-2))); color: var(--on-accent); cursor: pointer; transition: transform .2s, opacity .2s; }
.send:not(:disabled):hover { transform: scale(1.08); }
.send:disabled { opacity: .4; cursor: default; }
.send svg { width: 19px; height: 19px; }
.chat-fine { margin: 7px 0 0; text-align: center; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.chat-fine a { color: inherit; font-weight: 600; text-underline-offset: 2px; }
.chat:lang(my) .msg, .chat:lang(my) .welcome p { line-height: 1.9; }
