/* Site Digital — design tokens + components. Dark studio theme built from the logo colours. */
:root {
  --bg: #0b0d0c;
  --bg-raised: #121513;
  --surface: #171b18;
  --surface-2: #1e231f;
  --line: #2a302b;
  --line-strong: #3a423c;
  --text: #f1f4f0;
  --text-muted: #a7b0a9;   /* 8.4:1 on --bg */
  --text-faint: #7d877f;   /* 4.9:1 on --bg */
  --lime: #82ff1f;         /* logo green */
  --lime-ink: #0b1400;     /* text on lime */
  --blue: #3d6bff;         /* logo blue, lifted for dark bg */
  --blue-soft: #8fa9ff;

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", "Noto Sans Myanmar", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --radius-sm: 10px; --radius: 18px; --radius-lg: 28px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur: 220ms;
  --z-header: 50; --z-menu: 60;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--lime-ink); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 var(--s4); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
p { margin: 0 0 var(--s4); }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--text-muted); max-width: 60ch; }
.muted { color: var(--text-muted); }

.skip-link { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--lime); color: var(--lime-ink); padding: var(--s2) var(--s4); border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: var(--s4); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(var(--s8), 10vw, var(--s10)); }
.section--tight { padding-block: clamp(var(--s7), 7vw, var(--s9)); }
.section--raised { background: var(--bg-raised); border-block: 1px solid var(--line); }

/* Eyebrow uses the logo's chevrons as a motif */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s2); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: var(--s4); }
.eyebrow::before { content: "‹"; color: var(--lime); font-size: 1.2em; line-height: 1; }
.eyebrow::after { content: "›"; color: var(--blue-soft); font-size: 1.2em; line-height: 1; }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s5); margin-bottom: clamp(var(--s6), 5vw, var(--s8)); }
.section-head > div { max-width: 720px; }
.section-head h2 { margin: 0; }
.section-head p { margin: var(--s4) 0 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform var(--dur) var(--ease-out), background-color var(--dur), border-color var(--dur), color var(--dur); touch-action: manipulation; font-family: inherit; }
.btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--lime); color: var(--lime-ink); }
.btn--primary:hover { background: #a2ff5c; }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text-muted); background: var(--surface); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* Header */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--dur); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--text-muted); font-weight: 500; transition: color var(--dur), background-color var(--dur); }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-cta { margin-left: var(--s3); }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-panel { position: fixed; inset: 76px 0 auto 0; z-index: var(--z-menu); background: var(--bg); border-bottom: 1px solid var(--line); padding: var(--s4) var(--gutter) var(--s6); display: none; max-height: calc(100dvh - 76px); overflow-y: auto; }
  .nav-panel.is-open { display: block; animation: drop 200ms var(--ease-out); }
  .nav-links { flex-direction: column; align-items: stretch; gap: var(--s1); }
  .nav-links a { padding: 14px 16px; font-size: 1.125rem; border-radius: var(--radius-sm); }
  .nav-cta { margin: var(--s4) 0 0; width: 100%; }
}
@media (min-width: 901px) { .nav-panel { display: flex; align-items: center; } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Hero */
.hero { position: relative; padding-block: clamp(var(--s8), 12vw, 160px) clamp(var(--s8), 9vw, var(--s10)); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); opacity: .55; }
.hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -260px; background: radial-gradient(circle, color-mix(in srgb, var(--blue) 30%, transparent), transparent 65%); filter: blur(10px); }
.status { display: inline-flex; align-items: center; gap: var(--s2); padding: 6px 14px 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .875rem; color: var(--text-muted); margin-bottom: var(--s5); background: var(--bg-raised); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 22%, transparent); }
.hero h1 { max-width: 14ch; }
.hero h1 .accent { color: var(--lime); }
.hero .lede { margin-bottom: var(--s6); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(var(--s7), 8vw, var(--s9)); }
.stat { background: var(--bg); padding: var(--s5); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: var(--s2); font-variant-numeric: tabular-nums; }
.stat span { color: var(--text-muted); font-size: .9375rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Cards & grids */
.grid { display: grid; gap: var(--s5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(var(--s5), 3vw, var(--s6)); transition: border-color var(--dur), transform var(--dur) var(--ease-out); }
.card:hover { border-color: var(--line-strong); }
.card h3 { margin-bottom: var(--s3); }
.card p:last-child { margin-bottom: 0; }
.icon-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--lime) 12%, var(--surface)); color: var(--lime); margin-bottom: var(--s5); border: 1px solid color-mix(in srgb, var(--lime) 25%, transparent); }
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge--blue { background: color-mix(in srgb, var(--blue) 16%, var(--surface)); color: var(--blue-soft); border-color: color-mix(in srgb, var(--blue) 35%, transparent); }

/* Work */
.work-card { display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color var(--dur), transform var(--dur) var(--ease-out); }
.work-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.work-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 600ms var(--ease-out); }
.work-card:hover .thumb img { transform: scale(1.04); }
.work-card .meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4) var(--s5); }
.work-card h3 { font-size: 1.125rem; margin: 0; }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 500; color: var(--text-muted); border: 1px solid var(--line-strong); white-space: nowrap; }
.work-grid { display: grid; gap: var(--s5); grid-template-columns: repeat(3, 1fr); }
.work-grid--featured { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .work-grid, .work-grid--featured { grid-template-columns: 1fr; } }
.work-card[hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.filter { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-muted); font: inherit; font-weight: 500; cursor: pointer; transition: all var(--dur); }
.filter:hover { color: var(--text); border-color: var(--text-faint); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter .count { opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* Services */
.service { display: flex; flex-direction: column; }
.service ul { list-style: none; padding: 0; margin: var(--s4) 0 var(--s5); display: grid; gap: var(--s2); }
.service li { display: flex; gap: var(--s2); align-items: flex-start; color: var(--text-muted); }
.service li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--lime); margin-top: 3px; }
.price { margin-top: auto; padding-top: var(--s5); border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.price small { color: var(--text-faint); font-size: .875rem; }
.price strong { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: -0.02em; }
.service--featured { border-color: color-mix(in srgb, var(--lime) 45%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--lime) 7%, var(--surface)), var(--surface) 50%); }

/* Process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding-top: var(--s6); border-top: 1px solid var(--line-strong); }
.steps li::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -1px; left: 0; padding-top: var(--s3); border-top: 2px solid var(--lime); font-family: var(--font-display); font-weight: 700; color: var(--lime); font-size: .9375rem; width: 48px; }
.steps h3 { margin-top: var(--s3); }
.steps p { color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: var(--s7); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Team */
.person { display: grid; grid-template-columns: 220px 1fr; gap: var(--s6); align-items: start; }
.person img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface-2); width: 100%; }
.person .role { color: var(--lime); font-weight: 600; margin-bottom: var(--s3); font-size: .9375rem; }
.person p { color: var(--text-muted); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
@media (max-width: 720px) { .person { grid-template-columns: 1fr; } .person img { max-width: 260px; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--s6), 6vw, var(--s9)); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s5) 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-strong); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform var(--dur) var(--ease-out); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details[open] summary .plus { border-color: var(--lime); color: var(--lime); }
.faq .answer { padding: 0 var(--s7) var(--s5) 0; color: var(--text-muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(var(--s7), 8vw, var(--s9)) clamp(var(--s5), 6vw, var(--s9)); background: var(--surface); border: 1px solid var(--line); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 600px; height: 600px; z-index: -1; background: radial-gradient(circle, color-mix(in srgb, var(--lime) 22%, transparent), transparent 65%); }
.cta-band h2 { max-width: 16ch; }
.cta-band .email { display: inline-block; font-family: var(--font-display); font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; color: var(--lime); margin-top: var(--s2); overflow-wrap: anywhere; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(var(--s8), 10vw, 140px) clamp(var(--s6), 6vw, var(--s8)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); max-width: 18ch; }

/* Blog */
.post-card { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.post-card h3 { font-size: 1.25rem; transition: color var(--dur); }
.post-card:hover h3 { color: var(--lime); }
.post-card p { color: var(--text-muted); font-size: 1rem; }
.post-card .read { margin-top: auto; color: var(--text); font-weight: 600; display: inline-flex; gap: var(--s2); align-items: center; font-size: .9375rem; }
.post-card .read svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.post-card:hover .read svg { transform: translateX(3px); }
.post-meta { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; color: var(--text-faint); font-size: .875rem; margin-bottom: var(--s4); }

.prose { max-width: 70ch; font-size: 1.125rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: var(--s7); }
.prose h3 { font-size: 1.35rem; margin-top: var(--s6); }
.prose p, .prose li { color: #cfd6d0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--s5); }
.prose li { margin-bottom: var(--s2); }
.prose li::marker { color: var(--lime); }
.prose strong { color: var(--text); }
.prose a { color: var(--lime); }
.post-tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); }

/* Forms */
.form { display: grid; gap: var(--s5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: var(--s2); }
.field .req { color: var(--lime); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: inherit; font-size: 1rem; transition: border-color var(--dur), box-shadow var(--dur); }
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23a7b0a9' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 25%, transparent); }
.field .hint { color: var(--text-faint); font-size: .875rem; margin-top: var(--s2); }
.field .error { color: #ff8a8a; font-size: .875rem; margin-top: var(--s2); display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #ff8a8a; }
.field.has-error .error { display: block; }
.form-note { color: var(--text-faint); font-size: .875rem; margin: 0; }
.contact-list { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s4); }
.contact-list li { display: flex; gap: var(--s4); align-items: center; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--lime); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s8) var(--s6); margin-top: var(--s9); }
/* Symmetric footer: equal outer columns mirror each other around a centred brand */
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s7); align-items: center; }
.footer-col--start { text-align: left; }
.footer-col--end { text-align: right; }
.footer-col--end ul { justify-items: end; }
.footer-links-2 { grid-template-columns: repeat(2, max-content); column-gap: var(--s6); }
.footer-brand { text-align: center; padding-inline: var(--s6); border-inline: 1px solid var(--line); }
.footer-brand img { height: 64px; width: auto; margin: 0 auto var(--s3); }
.footer-brand p { margin: 0; font-size: .9375rem; }
.footer-grid h2 { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); font-family: var(--font-body); font-weight: 600; margin-bottom: var(--s4); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.footer-grid a { text-decoration: none; color: var(--text-muted); }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: center; text-align: center; margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); color: var(--text-faint); font-size: .875rem; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--s6); text-align: center; }
  .footer-brand { order: -1; border-inline: 0; padding-inline: 0; }
  .footer-col--start, .footer-col--end { text-align: center; }
  .footer-grid ul, .footer-col--end ul { justify-items: center; justify-content: center; }
  .footer-links-2 { grid-template-columns: repeat(2, 8.5rem); column-gap: 0; }
}

/* Reveal on scroll (only when JS + motion allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-6 { margin-top: var(--s6); }
