:root {
  --inverse-on-surface: #f0f1ed;
  --secondary-container: #a4f624;
  --tertiary-fixed: #f6dfc0;
  --surface-bright: #f9faf6;
  --error: #ba1a1a;
  --on-tertiary-container: #b7a487;
  --surface-variant: #e2e3df;
  --on-surface: #1a1c1a;
  --on-background: #1a1c1a;
  --surface-container: #edeeea;
  --on-secondary-fixed-variant: #304f00;
  --on-tertiary-fixed-variant: #53452e;
  --on-secondary-fixed: #112000;
  --outline: #717973;
  --outline-variant: #c1c8c2;
  --on-primary: #ffffff;
  --inverse-primary: #a5d0b9;
  --surface-container-low: #f3f4f0;
  --surface-container-lowest: #ffffff;
  --on-primary-fixed-variant: #274e3d;
  --surface-tint: #3f6653;
  --surface-container-highest: #e2e3df;
  --primary: #012d1d;
  --primary-fixed-dim: #a5d0b9;
  --primary-container: #1b4332;
  --on-secondary-container: #456e00;
  --on-error-container: #93000a;
  --tertiary: #302410;
  --secondary: #426900;
  --on-tertiary-fixed: #251a07;
  --tertiary-fixed-dim: #d9c4a5;
  --on-surface-variant: #414844;
  --on-tertiary: #ffffff;
  --on-secondary: #ffffff;
  --on-error: #ffffff;
  --inverse-surface: #2e312f;
  --background: #f9faf6;
  --secondary-fixed: #a6f928;
  --surface-dim: #d9dad7;
  --surface-container-high: #e7e9e5;
  --on-primary-fixed: #002114;
  --secondary-fixed-dim: #8edc00;
  --error-container: #ffdad6;
  --surface: #f9faf6;
  --on-primary-container: #86af99;
  --tertiary-container: #473a24;
  --primary-fixed: #c1ecd4;
  --shadow: 0 18px 48px rgba(1, 45, 29, 0.12);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--on-surface);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4 { margin: 0; }
::selection { background: var(--secondary-container); color: var(--on-secondary-container); }
body,
button,
input,
select,
textarea {
  overflow-wrap: anywhere;
}

.material-symbols-outlined {
  display: inline-block;
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.language-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(1,45,29,.18);
  flex-shrink: 0;
}

.language-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes soft-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes sheen {
  0% { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  35% { opacity: .45; }
  100% { transform: translateX(220%) skewX(-18deg); opacity: 0; }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.interactive-card,
.interactive-media,
.interactive-cta {
  will-change: transform, box-shadow;
}

.interactive-card {
  position: relative;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}

.interactive-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 30%), rgba(166,249,40,.18), transparent 34%);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: -1;
}

.interactive-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(1,45,29,.15);
  border-color: rgba(66,105,0,.34);
}

.interactive-card:hover::after {
  opacity: 1;
}

.interactive-card .material-symbols-outlined,
.interactive-cta .material-symbols-outlined {
  transition: transform .25s ease;
}

.interactive-card:hover .material-symbols-outlined {
  transform: translateY(-2px) scale(1.08);
}

.interactive-media {
  transition: transform .35s ease, filter .35s ease, box-shadow .35s ease;
}

.interactive-media:hover {
  transform: translateY(-5px) scale(1.015);
  filter: saturate(1.06) contrast(1.03);
}

.hero-float {
  animation: soft-float 7s ease-in-out infinite;
}

.interactive-cta {
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.interactive-cta::before {
  content: "";
  position: absolute;
  top: -35%;
  left: 0;
  width: 42%;
  height: 170%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
}

.interactive-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(1,45,29,.16);
}

.interactive-cta:hover::before {
  animation: sheen .8s ease;
}

.interactive-cta:hover .material-symbols-outlined {
  transform: translateX(3px);
}

.language-flag {
  transition: transform .2s ease, box-shadow .2s ease;
}

.language-flag:hover {
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 8px 20px rgba(1,45,29,.16), 0 0 0 1px rgba(1,45,29,.22);
}

.catalog-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 8px solid rgba(1,45,29,.2);
  border-radius: 9999px;
  box-shadow: 0 32px 70px rgba(1,45,29,.18);
  background: var(--primary);
}

.catalog-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .55s ease, transform .75s ease;
  pointer-events: none;
}

.catalog-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.catalog-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(1,45,29,.68));
  pointer-events: none;
}

.catalog-slide-caption {
  position: absolute;
  left: 50%;
  bottom: 58px;
  z-index: 2;
  transform: translateX(-50%);
  max-width: calc(100% - 120px);
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(249,250,246,.9);
  color: var(--primary);
  box-shadow: 0 10px 28px rgba(1,45,29,.16);
  font-family: "Noto Sans Khmer", "Hanken Grotesk", system-ui, sans-serif;
  font-size: 15px;
  line-height: 22px;
  font-weight: 750;
  text-align: center;
}

.catalog-slider-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249,250,246,.9);
  color: var(--primary);
  box-shadow: 0 12px 28px rgba(1,45,29,.18);
  transform: translateY(-50%);
}

.catalog-slider-button:hover {
  background: var(--secondary-container);
}

.catalog-slider-prev { left: 18px; }
.catalog-slider-next { right: 18px; }

.catalog-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.catalog-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 9999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 0 0 1px rgba(1,45,29,.12);
  transition: width .2s ease, background-color .2s ease;
}

.catalog-slider-dots button.is-active {
  width: 26px;
  background: var(--secondary-container);
}

.font-body-md, .font-body-lg { font-family: "Source Sans 3", system-ui, sans-serif; }
.font-headline-lg, .font-headline-md, .font-headline-sm, .font-label-lg, .font-label-md, .font-label-sm {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
}
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-label-lg { font-weight: 600; }
.font-label-md { font-weight: 600; }
.font-label-sm { font-weight: 500; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.18; }
.leading-relaxed { line-height: 1.65; }
.text-center { text-align: center; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.text-body-md { font-size: 16px; line-height: 24px; }
.text-body-lg { font-size: 18px; line-height: 28px; }
.text-headline-sm { font-size: 20px; line-height: 28px; font-weight: 600; }
.text-headline-md { font-size: 24px; line-height: 32px; font-weight: 600; }
.text-headline-lg { font-size: 32px; line-height: 40px; font-weight: 700; }
.text-label-lg { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.05em; }
.text-label-md { font-size: 13px; line-height: 18px; font-weight: 600; }
.text-label-sm { font-size: 12px; line-height: 16px; font-weight: 500; }
.text-xs { font-size: 12px; line-height: 16px; }
.text-sm { font-size: 14px; line-height: 20px; }
.text-lg { font-size: 18px; line-height: 28px; }
.text-2xl { font-size: 24px; line-height: 32px; }
.text-3xl { font-size: 30px; line-height: 38px; }
.text-4xl { font-size: 36px; line-height: 44px; }
.text-5xl { font-size: 48px; line-height: 56px; }
.text-6xl { font-size: 60px; line-height: 68px; }
.text-\[10px\] { font-size: 10px; line-height: 14px; }
.text-\[16px\] { font-size: 16px; line-height: 24px; }
.text-\[18px\] { font-size: 18px; line-height: 24px; }
.text-\[32px\] { font-size: 32px; line-height: 1; }

.text-primary { color: var(--primary); }
.text-primary-container { color: var(--primary-container); }
.text-primary-fixed { color: var(--primary-fixed); }
.text-secondary { color: var(--secondary); }
.text-secondary-fixed { color: var(--secondary-fixed); }
.text-on-surface { color: var(--on-surface); }
.text-on-surface-variant { color: var(--on-surface-variant); }
.text-on-background { color: var(--on-background); }
.text-on-primary { color: var(--on-primary); }
.text-on-primary\/80 { color: rgba(255,255,255,.8); }
.text-on-primary-container { color: var(--on-primary-container); }
.text-on-primary-container\/80 { color: rgba(134,175,153,.8); }
.text-on-secondary { color: var(--on-secondary); }
.text-on-secondary-container { color: var(--on-secondary-container); }
.text-on-secondary-fixed { color: var(--on-secondary-fixed); }
.text-on-secondary-fixed-variant { color: var(--on-secondary-fixed-variant); }
.text-on-tertiary-fixed { color: var(--on-tertiary-fixed); }
.text-outline { color: var(--outline); }
.text-tertiary-fixed { color: var(--tertiary-fixed); }
.text-tertiary-fixed-dim { color: var(--tertiary-fixed-dim); }
.text-white { color: #fff; }

.bg-background { background: var(--background); }
.bg-surface { background: var(--surface); }
.bg-surface\/95 { background: rgba(249,250,246,.95); }
.bg-surface-container { background: var(--surface-container); }
.bg-surface-container-low { background: var(--surface-container-low); }
.bg-surface-container-lowest { background: var(--surface-container-lowest); }
.bg-surface-container-high { background: var(--surface-container-high); }
.bg-surface-container-highest { background: var(--surface-container-highest); }
.bg-primary { background: var(--primary); }
.bg-primary\/10 { background: rgba(1,45,29,.1); }
.bg-primary-container { background: var(--primary-container); }
.bg-primary-fixed { background: var(--primary-fixed); }
.bg-secondary { background: var(--secondary); }
.bg-secondary-container { background: var(--secondary-container); }
.bg-secondary-container\/20 { background: rgba(164,246,36,.2); }
.bg-secondary-fixed { background: var(--secondary-fixed); }
.bg-secondary-fixed-dim { background: var(--secondary-fixed-dim); }
.bg-tertiary-container { background: var(--tertiary-container); }
.bg-tertiary-fixed { background: var(--tertiary-fixed); }
.bg-outline-variant { background: var(--outline-variant); }
.bg-white { background: #fff; }
.bg-white\/10 { background: rgba(255,255,255,.1); }
.bg-white\/90 { background: rgba(255,255,255,.9); }
.bg-on-primary-container\/10 { background: rgba(134,175,153,.1); }
.bg-gradient-tech { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%); }
.hero-pattern {
  background-image: radial-gradient(circle at 20% 20%, rgba(164,246,36,.16), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(193,236,212,.26), transparent 28%),
    linear-gradient(180deg, var(--surface), var(--surface-container-low));
}

.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-4 { top: 16px; }
.top-24 { top: 96px; }
.top-1\/2 { top: 50%; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.left-4 { left: 16px; }
.left-1\/2 { left: 50%; }
.-bottom-6 { bottom: -24px; }
.-left-6 { left: -24px; }
.-right-8 { right: -32px; }
.-top-8 { top: -32px; }
.left-\[20\%\] { left: 20%; }
.left-\[45\%\] { left: 45%; }
.left-\[70\%\] { left: 70%; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 16px; }
.mt-2 { margin-top: 8px; }
.mt-auto { margin-top: auto; }
.mt-stack-lg { margin-top: 24px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }
.mb-20 { margin-bottom: 80px; }
.mb-stack-sm { margin-bottom: 8px; }
.mb-stack-md { margin-bottom: 16px; }
.mb-stack-lg { margin-bottom: 24px; }
.ml-1 { margin-left: 4px; }
.ml-4 { margin-left: 16px; }

.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.p-12 { padding: 48px; }
.p-stack-md { padding: 16px; }
.p-stack-lg { padding: 24px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.px-8 { padding-left: 32px; padding-right: 32px; }
.px-10 { padding-left: 40px; padding-right: 40px; }
.px-12 { padding-left: 48px; padding-right: 48px; }
.px-container-padding { padding-left: 20px; padding-right: 20px; }
.px-stack-md { padding-left: 16px; padding-right: 16px; }
.px-stack-lg { padding-left: 24px; padding-right: 24px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-2\.5 { padding-top: 10px; padding-bottom: 10px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-5 { padding-top: 20px; padding-bottom: 20px; }
.py-20 { padding-top: 80px; padding-bottom: 80px; }
.py-24 { padding-top: 96px; padding-bottom: 96px; }
.py-stack-sm { padding-top: 8px; padding-bottom: 8px; }
.py-stack-md { padding-top: 16px; padding-bottom: 16px; }
.py-stack-lg { padding-top: 24px; padding-bottom: 24px; }
.pt-6 { padding-top: 24px; }
.pt-20 { padding-top: 80px; }
.pb-1 { padding-bottom: 4px; }
.pb-16 { padding-bottom: 64px; }
.pb-32 { padding-bottom: 128px; }
.pl-4 { padding-left: 16px; }

.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[200px\] { max-width: 200px; }
.max-w-\[240px\] { max-width: 240px; }
.min-w-\[100px\] { min-width: 100px; }
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.w-\[10\%\] { width: 10%; }
.w-2 { width: 8px; }
.w-3 { width: 12px; }
.w-8 { width: 32px; }
.w-10 { width: 40px; }
.w-12 { width: 48px; }
.w-16 { width: 64px; }
.w-96 { width: 384px; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.h-\[60\%\] { height: 60%; }
.h-\[65\%\] { height: 65%; }
.h-\[70\%\] { height: 70%; }
.h-\[80\%\] { height: 80%; }
.h-\[90\%\] { height: 90%; }
.h-\[400px\] { height: 400px; }
.h-2 { height: 8px; }
.h-3 { height: 12px; }
.h-8 { height: 32px; }
.h-10 { height: 40px; }
.h-12 { height: 48px; }
.h-16 { height: 64px; }
.h-24 { height: 96px; }
.h-48 { height: 192px; }
.h-64 { height: 256px; }
.h-96 { height: 384px; }
.min-h-\[819px\] { min-height: 819px; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0,1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.col-span-12 { grid-column: span 12 / span 12; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0, .shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }
.gap-16 { gap: 64px; }
.gap-stack-sm { gap: 8px; }
.gap-stack-md { gap: 16px; }
.gap-stack-lg { gap: 24px; }
.space-y-2 > * + * { margin-top: 8px; }
.space-y-4 > * + * { margin-top: 16px; }
.space-y-6 > * + * { margin-top: 24px; }
.space-y-10 > * + * { margin-top: 40px; }
.space-y-12 > * + * { margin-top: 48px; }
.space-y-24 > * + * { margin-top: 96px; }
.space-y-stack-lg > * + * { margin-top: 24px; }

.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.pointer-events-none { pointer-events: none; }

.rounded-lg { border-radius: .5rem; }
.rounded-xl { border-radius: .75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-t { border-top-left-radius: .25rem; border-top-right-radius: .25rem; }
.rounded-\[24px\] { border-radius: 24px; }
.rounded-\[32px\] { border-radius: 32px; }
.rounded-\[40px\] { border-radius: 40px; }
.rounded-\[48px\] { border-radius: 48px; }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-\[2\.5rem\] { border-radius: 2.5rem; }
.rounded-l-\[80px\] { border-top-left-radius: 80px; border-bottom-left-radius: 80px; }

.border { border: 1px solid var(--outline-variant); }
.border-2 { border-width: 2px; border-style: solid; }
.border-4 { border-width: 4px; border-style: solid; }
.border-8 { border-width: 8px; border-style: solid; }
.border-b { border-bottom: 1px solid var(--outline-variant); }
.border-t { border-top: 1px solid var(--outline-variant); }
.border-y { border-top: 1px solid var(--outline-variant); border-bottom: 1px solid var(--outline-variant); }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-t-2 { border-top-width: 2px; border-top-style: solid; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }
.border-dashed { border-style: dashed; }
.border-outline-variant { border-color: var(--outline-variant); }
.border-primary { border-color: var(--primary); }
.border-primary-container { border-color: var(--primary-container); }
.border-primary\/20 { border-color: rgba(1,45,29,.2); }
.border-secondary { border-color: var(--secondary); }
.border-secondary\/20 { border-color: rgba(66,105,0,.2); }
.border-surface-container-highest { border-color: var(--surface-container-highest); }
.border-on-primary-container\/20 { border-color: rgba(134,175,153,.2); }
.border-white\/20 { border-color: rgba(255,255,255,.2); }

.shadow-sm { box-shadow: 0 2px 8px rgba(1,45,29,.06); }
.shadow-md { box-shadow: 0 8px 22px rgba(1,45,29,.1); }
.shadow-lg { box-shadow: 0 14px 32px rgba(1,45,29,.14); }
.shadow-xl { box-shadow: 0 22px 48px rgba(1,45,29,.16); }
.shadow-2xl { box-shadow: 0 32px 70px rgba(1,45,29,.18); }
.shadow-primary\/10 { box-shadow: 0 24px 56px rgba(1,45,29,.1); }
.backdrop-blur-sm { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.blur-\[100px\] { filter: blur(100px); }
.grayscale { filter: grayscale(100%); }
.opacity-5 { opacity: .05; }
.opacity-0 { opacity: 0; }
.opacity-10 { opacity: .1; }
.opacity-20 { opacity: .2; }
.opacity-80 { opacity: .8; }
.opacity-90 { opacity: .9; }

.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.rotate-3 { transform: rotate(3deg); }
.transition-all { transition: all .2s ease; }
.transition-colors { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.transition-opacity { transition: opacity .2s ease; }
.transition-shadow { transition: box-shadow .2s ease; }
.transition-transform { transition: transform .2s ease; }
.duration-150 { transition-duration: .15s; }
.duration-200 { transition-duration: .2s; }
.duration-300 { transition-duration: .3s; }
.duration-500 { transition-duration: .5s; }
.duration-700 { transition-duration: .7s; }

.cursor-pointer { cursor: pointer; }
.outline-none { outline: none; }
.order-1 { order: 1; }
.order-2 { order: 2; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8,0,1,1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0,0,.2,1); }
}
@keyframes pulse { 50% { opacity: .5; } }
.animate-bounce { animation: bounce 1s infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }

.hover\:text-secondary:hover { color: var(--secondary); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:brightness-105:hover { filter: brightness(1.05); }
.hover\:bg-primary-container:hover { background: var(--primary-container); }
.hover\:bg-primary\/5:hover { background: rgba(1,45,29,.05); }
.hover\:bg-secondary:hover { background: var(--secondary); }
.hover\:bg-secondary-container:hover { background: var(--secondary-container); }
.hover\:bg-secondary-fixed:hover { background: var(--secondary-fixed); }
.hover\:bg-secondary-fixed\/90:hover { background: rgba(166,249,40,.9); }
.hover\:bg-surface-container:hover { background: var(--surface-container); }
.hover\:bg-white\/20:hover { background: rgba(255,255,255,.2); }
.hover\:shadow-md:hover { box-shadow: 0 8px 22px rgba(1,45,29,.1); }
.hover\:shadow-lg:hover { box-shadow: 0 14px 32px rgba(1,45,29,.14); }
.hover\:shadow-2xl:hover { box-shadow: 0 32px 70px rgba(1,45,29,.18); }
.hover\:gap-3:hover { gap: 12px; }
.hover\:grayscale-0:hover { filter: grayscale(0); }
.active\:scale-95:active { transform: scale(.95); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:grayscale-0 { filter: grayscale(0); }
.group:hover .group-hover\:text-on-secondary-container { color: var(--on-secondary-container); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:visible { visibility: visible; }
.group\/btn:hover .group-hover\/btn\:translate-x-1 { transform: translateX(4px); }
.focus\:border-primary:focus { border-color: var(--primary); }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(1,45,29,.2); }
.focus\:ring-primary:focus { box-shadow: 0 0 0 2px var(--primary); }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0,1fr)); }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:w-1\/2 { width: 50%; }
  .md\:w-1\/3 { width: 33.333%; }
  .md\:w-5\/12 { width: 41.666%; }
  .md\:w-7\/12 { width: 58.333%; }
  .md\:h-\[600px\] { height: 600px; }
  .md\:order-1 { order: 1; }
  .md\:order-2 { order: 2; }
  .md\:items-start { align-items: flex-start; }
  .md\:text-left { text-align: left; }
  .md\:text-6xl { font-size: 60px; line-height: 68px; }
  .md\:p-12 { padding: 48px; }
  .md\:p-16 { padding: 64px; }
  .md\:p-20 { padding: 80px; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .lg\:w-1\/2 { width: 50%; }
  .lg\:text-\[56px\] { font-size: 56px; }
  .lg\:leading-tight { line-height: 1.1; }
  .bento-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .min-h-\[819px\] { min-height: auto; }
  .absolute.-bottom-6,
  .absolute.-left-6,
  .absolute.-right-8,
  .absolute.-top-8 {
    position: static;
    margin-top: 16px;
  }
  .text-headline-lg { font-size: 30px; line-height: 38px; }
  .py-24 { padding-top: 64px; padding-bottom: 64px; }
  .p-12 { padding: 28px; }
  header > div,
  nav > div {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  header > div > :first-child,
  nav > div > :first-child {
    max-width: calc(100vw - 180px);
    font-size: 20px;
    line-height: 28px;
  }
  header button,
  nav button {
    max-width: 100%;
  }
  footer nav,
  footer .flex.gap-stack-lg {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Khmer Fonts */
html:lang(km) {
  font-family: "Kantumruy Pro", "Source Sans 3", system-ui, sans-serif;
}
html:lang(km) .font-body-md, 
html:lang(km) .font-body-lg { 
  font-family: "Kantumruy Pro", "Source Sans 3", system-ui, sans-serif; 
}
html:lang(km) .font-headline-lg, 
html:lang(km) .font-headline-md, 
html:lang(km) .font-headline-sm, 
html:lang(km) .font-label-lg,
html:lang(km) .font-label-md,
html:lang(km) .font-label-sm {
  font-family: "Noto Sans Khmer", "Hanken Grotesk", system-ui, sans-serif;
}

html:lang(km) .text-label-lg {
  letter-spacing: 0;
  line-height: 24px;
}

html:lang(km) header nav a,
html:lang(km) nav[class*="sticky"] a {
  font-family: "Kantumruy Pro", "Noto Sans Khmer", system-ui, sans-serif;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0;
  font-weight: 650;
  text-rendering: optimizeLegibility;
}

html:lang(km) header nav a.font-bold,
html:lang(km) nav[class*="sticky"] a.font-bold {
  font-weight: 750;
}
