@font-face { font-family: Khmer; src: url("/reboot-assets/khmer.ttf") format("truetype"); font-display: swap; }
:root { color-scheme: light; color: #2b251e; background: #faf7f0; font: 16px/1.5 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { max-width: 1536px; padding: 0 clamp(18px, 5vw, 76px); margin: 0 auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid #a36127; outline-offset: 3px; }
:lang(km) { font-family: Khmer, sans-serif; line-height: 1.85; }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header { min-height: 72px; border-bottom: 1px solid #d9cdbc; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; letter-spacing: -.055em; font-weight: 650; }
.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); margin: 28px 0 42px; background: #241c18; color: #fff8eb; border-radius: 12px; overflow: hidden; }
.intro { align-self: center; padding: clamp(30px, 4.5vw, 72px); }
.icon { display: block; border-radius: 16px; }
.khmer-name { margin: 22px 0 2px; color: #f2ca91; font-size: 21px; }
h1, h2, p, figure { margin: 0; }
h1 { font: 500 clamp(36px, 4.65vw, 72px)/1.05 Georgia, serif; letter-spacing: -.06em; }
.description { display: grid; gap: 5px; color: #e7dbce; max-width: 33em; margin: 18px 0 24px; }
.platforms { display: flex; flex-wrap: wrap; gap: 9px; }
.platform { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid #665447; border-radius: 8px; background: #392d26; }
.platform:hover { text-decoration: none; background: #514034; }
.platform span { display: grid; }
.platform small { color: #e4ceaf; font-size: 11px; line-height: 1.2; }
.platform strong { font-size: 16px; line-height: 1.3; }
.tf { border-radius: 6px; }
.hero-art { position: relative; overflow: hidden; background: #e6c39e; }
.hero-art::before { content: ""; position: absolute; inset: 0 -65% 0 0; background: url("/apps/plengkhmer3d/instruments.jpg") left center / cover no-repeat; }
h2 { font: 500 clamp(26px, 2.6vw, 38px)/1.25 Georgia, serif; letter-spacing: -.04em; }
h2 span { font-size: .57em; vertical-align: middle; color: #755b43; letter-spacing: normal; }
.screens { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px, 2vw, 30px); margin-top: 20px; }
.screens a, .screens img { display: block; width: 100%; height: auto; border-radius: 7px; }
figcaption { padding: 9px 0; font-weight: 600; }
figcaption span { margin-left: 5px; color: #73624f; font-size: 13px; font-weight: 400; }
footer { padding: 18px 0; margin-top: 36px; border-top: 1px solid #d9cdbc; color: #685a4d; font-size: 13px; }
@media (max-width: 760px) {
  header { min-height: 55px; }
  .hero { grid-template-columns: 1fr; margin: 17px 0 28px; }
  .hero-art { grid-row: 1; aspect-ratio: 2.2; }
  .intro { padding: 22px; }
  .icon { width: 52px; height: 52px; border-radius: 11px; }
  .khmer-name { margin-top: 12px; font-size: 18px; }
  .description { margin: 13px 0 18px; }
  .screens { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 395px) {
  .intro { padding: 18px; }
  .platform { padding: 7px; gap: 5px; }
  .platform img { width: 24px; height: 24px; }
}
