
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}





:root {
  --bg: #ffffff;
  --surface: #f7f9fc;
  --card: #ffffff;
  --ink: #08213d;
  --muted: #55697f;
  --accent: #0b4a8f;
  --accent-ink: #ffffff;
  --line: #e3eaf3;
  --shadow: 0 1px 2px rgba(8, 33, 61, .04), 0 8px 24px rgba(8, 33, 61, .06);
  --radius: 18px;
  --wrap: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06111f;
    --surface: #08182b;
    --card: #0c1c31;
    --ink: #eaf2fb;
    --muted: #9db2c9;
    --accent: #7cb6ff;
    --accent-ink: #06111f;
    --line: #17293f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Kantumruy Pro', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6rem; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); font-weight: 600; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 600; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 0 0 12px 0; z-index: 10;
}
.skip:focus { left: 0; }

header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.mark { width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto; }
.lang-link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600;
  white-space: nowrap;
}
.lang-link:hover { color: var(--accent); border-color: var(--accent); }
/* LEM-3 — the Khmer label on an English page is drawn with the visitor's OWN Khmer
   font: the Kantumruy webfonts must not be fetched by a page that is not Khmer. */
.lang-link[lang="km"] {
  font-family: 'Khmer OS', 'Khmer UI', 'Noto Sans Khmer', 'Leelawadee UI',
               'Nirmala UI', 'Kantumruy Pro', system-ui, sans-serif;
  font-weight: 400;
  /* Khmer sets smaller on the system fonts than Kantumruy did: one step up keeps
     the switch looking like a label, not a footnote. */
  font-size: 1rem;
}
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

main { display: block; }
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
.hero { padding: 72px 0 60px; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 34em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 600; color: var(--accent); margin: 0 0 14px; }

.cards { display: grid; gap: 20px; margin-top: 26px; align-items: start; }
@media (min-width: 820px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px;
}
.card.muted { box-shadow: none; background: var(--surface); color: var(--muted); }
.card img.cover { border-radius: 12px; border: 1px solid var(--line); }
.card h3 { margin: 0; }
.card .desc { color: var(--muted); margin: 0; }
.proof {
  margin: 0; padding: 10px 14px; border-left: 3px solid var(--accent);
  background: var(--surface); border-radius: 0 12px 12px 0; font-size: .92rem; color: var(--muted);
}
.badge {
  align-self: flex-start; font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 5px 12px;
}
/* VD-WEB-1 — Apple's official App Store badge: the artwork keeps its own proportions, and a
   focus ring is the only style added (the badge may not be recoloured or re-laid-out). */
.store-badge { display: inline-flex; align-self: flex-start; border-radius: 8px; }
/* VD-WEB-1 — this must out-specify `.icon-row img` (56x56), which also matches the badge because the
   badge sits inside .icon-row: same specificity, later rule, so the badge was being squashed square.
   No CSS radius either: Apple's artwork carries its own corners. */
.icon-row .store-badge img, .store-badge img { width: 132px; height: 44px; border-radius: 0; }
.store-badge:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 18px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .95rem; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink);
}
.btn.secondary { background: transparent; color: var(--accent); }
.icon-row { display: flex; align-items: center; gap: 14px; }
.icon-row img { width: 56px; height: 56px; border-radius: 14px; }
.icon-row .t { display: flex; flex-direction: column; }

.points { display: grid; gap: 22px; margin-top: 24px; }
@media (min-width: 760px) { .points { grid-template-columns: repeat(3, 1fr); } }
.point h3 { margin: 0 0 4px; }
.point p { margin: 0; color: var(--muted); font-size: .95rem; }
.point .dot {
  width: 38px; height: 38px; border-radius: 12px; background: var(--surface);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; color: var(--accent); font-weight: 600;
}
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.contact-list .k { min-width: 108px; color: var(--muted); font-size: .9rem; }
.contact-list a { font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }

footer { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--muted); font-size: .9rem; }
.foot { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; }
footer a { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* LEM-1A — Client work: the section subtitle, and the anchor the SlotFlow card links to.
   Nothing else in the sheet changes; both rules are new selectors. */
.sub { color: var(--muted); margin: 0; max-width: 36em; }
#tokyo-barber-shop { scroll-margin-top: 84px; }

/* LEM-3 — shared pieces for the language pages (/slotflow/, /veasdei/, /work/…). */
.crumbs { font-size: .88rem; color: var(--muted); margin: 0 0 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.prose { max-width: 42em; }
.prose h2 { margin-top: 2.2rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.15rem; }
.prose li { margin: .35rem 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.note { color: var(--muted); font-size: .92rem; }
.facts { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.facts b { display: block; font-size: 1.5rem; color: var(--accent); }
.hero-split { display: grid; gap: 26px; align-items: start; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 1.1fr .9fr; } }
.hero-split img { border-radius: var(--radius); border: 1px solid var(--line); }
/* LEM-3 phase 2 — the card titles/covers link to the pages, and the subpages need
   figures. Colour inherits so a linked title looks exactly like the old one. */
.card h3 a, .card picture a, .card a.cover { color: inherit; text-decoration: none; }
/* LEM-3 phase 3 — a card title that became a link is also a tap target: the inline
   box of an h3 was ~23 px tall and Lighthouse's target-size audit failed it on /km/
   (accessibility 0.96). Padding grows the hit area by 6 px; the negative margin keeps
   the layout exactly as it was. */
.card h3 a { display: inline-block; padding-block: 3px; margin-block: -3px; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card p.more { margin: 0; font-size: .93rem; font-weight: 600; }
figure { margin: 26px 0 0; }
figure img, .shots img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; }
figcaption { color: var(--muted); font-size: .88rem; margin-top: 8px; }
.shots { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 760px) { .shots.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shots figure { margin: 0; }
.shots.phones { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
.stack { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.stack li { border-left: 3px solid var(--line); padding-left: 14px; }
.stack b { display: block; }
