/* Shared base for the Shwe Lamplight family of websites (shwelamplight.com, whiteelephantenglish.com).
   Colours and fonts match the Shwe Sin Phyu app: teal #0B5D57, deep teal #073F3B, gold #C1852B / light gold #E2B25E.
   Baloo 2 for headings, Work Sans for text, Noto Sans Myanmar for Burmese (served from this site, no outside hosts). */
@font-face { font-family: "Baloo 2"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/baloo-2-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/baloo-2-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/baloo-2-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/work-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/work-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/work-sans-latin-700-normal.woff2") format("woff2"); }

@font-face { font-family: "Noto Sans Myanmar"; font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+1000-109F, U+200B-200D, U+25CC; src: url("/fonts/noto-sans-myanmar-Regular.woff") format("woff"); }
@font-face { font-family: "Noto Sans Myanmar"; font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+1000-109F, U+200B-200D, U+25CC; src: url("/fonts/noto-sans-myanmar-Bold.woff") format("woff"); }

:root {
  --bg: #ffffff; --card: #eaf3f2; --line: #d2e4e2; --text: #073f3b; --muted: #3f5e5b;
  --accent: #0b5d57; --on-accent: #ffffff; --accent-text: #0b5d57; --gold: #c1852b;
  --deep: #073f3b; --on-deep: #ffffff; --danger: #b3261e; --ok: #1b6b3a;
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #073f3b; --card: #0b5d57; --line: #12756e; --text: #ffffff; --muted: #c9dedb;
    --accent: #c1852b; --on-accent: #073f3b; --accent-text: #e2b25e; --gold: #e2b25e;
    --deep: #052e2b; --on-deep: #ffffff; --danger: #ff8a80; --ok: #7fd49a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
a { color: var(--accent-text); text-underline-offset: 3px; }
h1, h2, h3 { font-family: "Baloo 2", "Work Sans", system-ui, sans-serif; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* header + footer */
header.site { background: #073f3b; color: #fff; }
header.site .bar { max-width: 1040px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 22px; }
.brand img { border-radius: 50%; display: block; }
header.site nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
header.site nav a { color: #e2b25e; text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 0; display: inline-block; min-height: 44px; box-sizing: border-box; }
header.site nav a:hover, header.site nav a:focus-visible { text-decoration: underline; }
footer.site { background: #073f3b; color: #cfe3e0; margin-top: 56px; }
footer.site .wrap { padding-top: 32px; padding-bottom: 36px; display: grid; gap: 16px; font-size: 15px; }
footer.site a { color: #e2b25e; }
footer.site .links { display: flex; gap: 0 20px; flex-wrap: wrap; }
footer.site .links a, footer.site p a { display: inline-block; padding: 11px 0; min-height: 44px; box-sizing: border-box; }
footer.site a:focus-visible, header.site nav a:focus-visible { outline: 2px solid #e2b25e; outline-offset: 3px; border-radius: 3px; }

/* home */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #12756e 0%, rgba(18,117,110,0) 60%), #073f3b; color: #fff; border-radius: 0 0 40px 40px; }
.hero-in { display: grid; gap: 28px; align-items: center; padding-top: 44px; padding-bottom: 56px; grid-template-columns: 1fr; justify-items: start; }
.hero-logo { width: 150px; height: 150px; border-radius: 50%; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.hero h1 { font-size: clamp(40px, 8vw, 64px); font-weight: 800; color: #fff; }
.hero .lead { font-size: clamp(19px, 3vw, 24px); margin: 10px 0 0; color: #f2e6c8; max-width: 30ch; }
.hero .small { margin: 14px 0 0; color: #cfe3e0; font-size: 15px; }
.pill { display: inline-block; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; background: rgba(226,178,94,.18); color: #e2b25e; font-weight: 600; font-size: 14px; border: 1px solid rgba(226,178,94,.5); }
@media (min-width: 760px) { .hero-in { grid-template-columns: auto 1fr; gap: 48px; padding-top: 64px; padding-bottom: 72px; } .hero-logo { width: 240px; height: 240px; } }

section.block { padding: 52px 0 0; }
.block h2 { font-size: clamp(28px, 5vw, 38px); font-weight: 800; color: var(--accent-text); margin-bottom: 8px; }
.block .sub { margin: 0 0 24px; color: var(--muted); max-width: 60ch; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.three { grid-template-columns: repeat(2, 1fr); } .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--card); border-radius: var(--radius); padding: 22px; }
.tile h3 { font-size: 21px; font-weight: 700; margin-bottom: 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.tile .num { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 34px; color: var(--accent-text); line-height: 1; margin-bottom: 8px; }
.guide { text-align: center; }
.guide img { width: 150px; height: auto; display: block; margin: 0 auto 8px; }
.guide .role { color: var(--accent-text); font-weight: 600; font-size: 14px; margin: 0 0 4px; }
.privacy-band { background: var(--card); border-radius: 28px; padding: 28px; margin-top: 52px; }
.privacy-band h2 { font-size: clamp(26px, 4.5vw, 34px); font-weight: 800; color: var(--accent-text); }
.privacy-band ul { margin: 14px 0 0; padding-left: 22px; }
.privacy-band li { margin: 6px 0; }
.privacy-band p { margin: 14px 0 0; }

/* article pages (privacy, terms, delete my data) */
main.article { max-width: 760px; margin: 0 auto; padding: 36px 20px 8px; }
main.article h1 { font-size: clamp(34px, 6vw, 46px); font-weight: 800; color: var(--accent-text); margin-bottom: 6px; }
main.article h2 { font-size: 26px; font-weight: 700; margin: 36px 0 8px; color: var(--accent-text); }
main.article p, main.article li { max-width: 68ch; }
main.article ol, main.article ul { padding-left: 22px; }
main.article li { margin: 6px 0; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.callout { background: var(--card); border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; border-radius: 16px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--card); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.muted { color: var(--muted); font-size: 15px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Burmese text: any element with lang="my". Brand rule: line-height never below 1.5. */
:lang(my) { font-family: "Noto Sans Myanmar", "Myanmar Text", "Padauk", sans-serif; line-height: 1.8; letter-spacing: 0; }
h1:lang(my), h2:lang(my), h3:lang(my), .brand:lang(my) { line-height: 1.6; }
/* Burmese has no spaces, so a browser may split a word anywhere. Keep short inline Burmese words in one piece. */
span:lang(my) { white-space: nowrap; }

/* ---- White Elephant English extras ---- */
.hero .my-title { font-size: clamp(26px, 5.5vw, 40px); font-weight: 700; color: #e2b25e; margin: 4px 0 0; }
.hero .lead { margin-top: 14px; }
.hero .lead-my { font-size: clamp(17px, 3vw, 21px); color: #f2e6c8; margin: 2px 0 0; }
.btn { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; padding: 11px 20px; border-radius: 14px; }
.btn:hover, .btn:focus-visible { filter: brightness(1.1); }
.sub.note { margin-top: 22px; font-size: 15px; }
.band { background: var(--card); border-radius: 28px; padding: 28px; margin-top: 52px; }
.band h2 { font-size: clamp(26px, 4.5vw, 34px); font-weight: 800; color: var(--accent-text); }
.band p { margin: 12px 0 0; max-width: 62ch; }
.covers { gap: 28px 20px; }
.level { margin: 0; display: grid; gap: 12px; align-content: start; }
.level figcaption { display: grid; gap: 2px; }
.level figcaption strong { font-family: "Baloo 2", sans-serif; font-size: 22px; font-weight: 800; color: var(--accent-text); line-height: 1.2; }
.level figcaption span { color: var(--muted); font-size: 16px; }
/* a booklet cover drawn in CSS: same look in light and dark mode, like a real object */
.cover { position: relative; aspect-ratio: 3 / 4; max-width: 300px; width: 100%; border-radius: 10px 18px 18px 10px; border-left: 12px solid rgba(0,0,0,.28); padding: 20px 18px 20px 14px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.22), 0 0 0 1px rgba(226,178,94,.4); }
.cover img { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; }
.cover .lvl { margin-top: 56px; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: clamp(34px, 9vw, 46px); line-height: 1; }
.cover .names { display: grid; gap: 2px; }
.cover .t-en { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 21px; line-height: 1.15; }
.cover .t-my { font-size: 15px; font-weight: 700; }
.cover.a { background: #0b5d57; color: #fff; }
.cover.b { background: #052e2b; color: #fff; }
.cover.c { background: #e2b25e; color: #073f3b; }
.cover.a .lvl, .cover.b .lvl { color: #e2b25e; }

/* Burmese lines (lang="my"), same pattern as shwesinphyu.com */
.my { font-family: "Noto Sans Myanmar", "Myanmar Text", "Padauk", sans-serif; line-height: 1.85; color: var(--muted); font-size: 15.5px; margin: 6px 0 0; }
.my.sh { font-size: 18px; font-weight: 700; color: var(--text); margin: -4px 0 14px; }
.hero .my { color: #e8d9b0; }
.band .my { color: #e8d9b0; }
.tile .my { font-size: 15px; margin-top: 8px; }
.block .sub + .my { margin: -14px 0 24px; max-width: 60ch; }
.callout .my { margin-top: 6px; }

/* ---- Burmese first (Oct 31, 2026): the Burmese line comes first and reads as the main text; the English line sits under it, smaller. ---- */
.my { color: var(--text); font-size: 16.5px; line-height: 1.85; margin: 0; }
p.en { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 4px 0 0; }
.hero .my { color: #f2e6c8; }
.hero .my.big { font-size: clamp(21px, 3.6vw, 27px); line-height: 1.7; margin: 10px 0 0; max-width: 30ch; }
.hero p.en { color: #cfe3e0; font-size: 15px; margin: 2px 0 0; }
.hero p.lead.en { font-size: 16px; color: #cfe3e0; max-width: none; margin: 2px 0 0; }
.hero .my + .small, .hero p.small.en { margin-top: 2px; }
.hero .my:not(.big) { margin-top: 16px; }
.band .my { color: var(--text); }
.tile .my { font-size: 16.5px; color: var(--text); margin: 8px 0 0; }
.tile p.en { font-size: 14.5px; margin: 6px 0 0; }
.block .my + .sub, .block .my + p.sub.en { margin: 4px 0 24px; max-width: 60ch; }
.callout .my { margin: 4px 0 0; }
.callout p.en { margin: 2px 0 0; }
h2.my-h { font-family: "Noto Sans Myanmar", "Myanmar Text", "Padauk", sans-serif; font-weight: 700; line-height: 1.6; letter-spacing: 0; margin: 0; }
.block h2.my-h { font-size: clamp(22px, 4.2vw, 30px); color: var(--accent-text); margin-bottom: 0; }
.band h2.my-h, .privacy-band h2.my-h { font-size: clamp(23px, 4.4vw, 30px); color: var(--accent-text); }
main.article h2.my-h { font-size: 24px; margin: 36px 0 0; color: var(--accent-text); }
p.en-h { font-family: "Baloo 2", "Work Sans", system-ui, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--muted); margin: 2px 0 14px; letter-spacing: -0.01em; }
main.article p.en-h { margin-bottom: 8px; }
.meta.en { font-size: 15px; margin: 4px 0 20px; }
main.article p.my { max-width: 68ch; }
li > p.my { margin-top: 4px; }
li > p.en { margin-top: 2px; }
.hero .my.lead-my, .hero .lead-my { font-size: clamp(21px, 3.6vw, 27px); color: #f2e6c8; margin: 14px 0 0; }
h2.my-h { text-wrap: balance; }
p.my { text-wrap: pretty; }

/* ---- Burmese names in the header and titles (Oct 31, 2026) ---- */
.brand .names { display: flex; flex-direction: column; line-height: 1.1; }
.brand .names .my-sub { font-family: "Noto Sans Myanmar", "Myanmar Text", "Padauk", sans-serif; font-weight: 700; font-size: 13px; line-height: 1.5; color: #e2b25e; letter-spacing: 0; }
header.site nav { gap: 2px 20px; }
header.site nav a { display: inline-flex; flex-direction: column; justify-content: center; padding: 6px 0; min-height: 48px; text-decoration: none; }
header.site nav a .nm { font-family: "Noto Sans Myanmar", "Myanmar Text", "Padauk", sans-serif; font-weight: 700; font-size: 15px; line-height: 1.5; }
header.site nav a .ne { font-size: 12px; font-weight: 600; line-height: 1.2; color: #cfe3e0; }
header.site nav a:hover .nm, header.site nav a:focus-visible .nm { text-decoration: underline; }
.hero .my-title { font-size: clamp(26px, 5.5vw, 40px); font-weight: 700; color: #e2b25e; margin: 4px 0 0; line-height: 1.5; }
main.article .my-title { font-size: 24px; font-weight: 700; color: var(--accent-text); margin: 0 0 6px; line-height: 1.6; }
.my-name { font-family: "Noto Sans Myanmar", "Myanmar Text", "Padauk", sans-serif; font-size: 18px; font-weight: 700; color: var(--accent-text); margin: 0 !important; line-height: 1.6; }

header.site nav { gap: 2px 14px; }
header.site nav a .nm { font-size: 14px; }
header.site nav a .ne { font-size: 11.5px; }
