@font-face {
  font-family: "Noto Sans Myanmar";
  src: url("assets/fonts/NotoSansMyanmar-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Myanmar";
  src: url("assets/fonts/NotoSansMyanmar-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f3efe6;
  --bg-tint: #ebe6db;
  --paper: #fbfaf6;
  --ink: #141820;
  --ink-soft: #5c5f66;
  --navy: #1b2434;
  --navy-deep: #121821;
  --gold: #8a7048;
  --gold-line: #cbbba0;
  --line: #ddd6c8;
  --focus: #1b2434;
  --radius: 2px;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-mm: "Noto Sans Myanmar", "Myanmar Text", Padauk, "Source Sans 3", sans-serif;
  --header-h: 4.5rem;
  --space: clamp(1.35rem, 4.5vw, 3rem);
  --measure: 70rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  margin: 0 0 0.55em;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.45rem); }
h3 { font-size: 1.4rem; margin-bottom: 0.25em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--navy);
  text-underline-offset: 0.18em;
}
a:hover { color: var(--navy-deep); }

.mm {
  font-family: var(--font-mm);
  line-height: 2.2;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 0.9rem;
}
.skip-link:focus { top: 0; color: #fff; }

/* Header
   ---------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 239, 230, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0.85rem var(--space);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  text-decoration: none;
  color: var(--navy-deep);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.wordmark:hover { color: var(--navy); }
.wordmark-en {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.wordmark-mm {
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 0.15rem;
  line-height: 2;
}

.nav-toggle {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 0.4rem var(--space) 1.1rem;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 0.65rem 0.2rem;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy-deep);
}

/* Hero
   ---------------------------------------- */
.hero {
  padding: 2.5rem var(--space) 3.25rem;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: var(--measure);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.hero-copy { padding-top: 0.2rem; }
.hero-copy h1 { margin: 0 0 0.3rem; }

.hero-mm {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 1.05rem;
}

.hero-role {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 28rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.3rem;
  min-height: 2.7rem;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--navy);
  color: #f7f4ee;
}
.btn-primary:hover {
  background: var(--navy-deep);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--navy-deep);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy-deep);
}

.hero-portrait { justify-self: center; width: min(100%, 17.5rem); }

.portrait {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--gold-line);
  padding: 7px;
}
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Sections
   ---------------------------------------- */
.section { padding: 3.5rem var(--space); }
.section-tint { background: var(--bg-tint); }
.section-inner { max-width: var(--measure); margin: 0 auto; }

.section-lead {
  color: var(--ink-soft);
  max-width: 38rem;
  margin: -0.25rem 0 1.85rem;
  font-size: 1.05rem;
}
.section-lead a { font-weight: 500; }

/* About
   ---------------------------------------- */
.about-grid {
  display: grid;
  gap: 1.75rem;
}
.about-prose { max-width: 40rem; font-size: 1.07rem; }

.about-facts {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.4rem 1.45rem;
}
.about-facts dl { margin: 0; display: grid; gap: 1.05rem; }
.about-facts dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.15rem;
}
.about-facts dd { margin: 0; font-weight: 500; color: var(--navy-deep); }

/* Work
   ---------------------------------------- */
.work-grid {
  display: grid;
  gap: 1.15rem;
}
.work-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.6rem 1.55rem 1.7rem;
  display: flex;
  flex-direction: column;
}
.work-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.5rem;
}
.work-role {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: -0.15rem 0 0.85rem;
  font-weight: 500;
}
.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--navy);
  margin-top: 0.85rem;
  line-height: 1.45;
}
.work-note {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.text-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid var(--gold-line);
  align-self: flex-start;
}
.text-link:hover { color: var(--navy-deep); border-bottom-color: var(--navy-deep); }

/* Videos
   ---------------------------------------- */
.video-grid {
  display: grid;
  gap: 1.25rem;
}
.video-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.video-card:hover {
  border-color: var(--gold-line);
  transform: translateY(-2px);
  color: inherit;
}
.video-thumb {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}
.video-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 22%;
  transition: opacity 0.2s ease;
}
.video-card:hover .video-thumb img { opacity: 0.92; }
.video-duration {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  background: rgba(18, 24, 33, 0.88);
  color: #f7f4ee;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
}
.video-body {
  padding: 0.95rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.video-title {
  font-family: var(--font-mm);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.85;
  color: var(--navy-deep);
  margin: 0;
}
.video-meta {
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin: auto 0 0;
  padding-top: 0.45rem;
}

/* Contact
   ---------------------------------------- */
.contact-layout {
  display: grid;
  gap: 2.25rem;
}
.contact-cols {
  display: grid;
  gap: 1.15rem;
}
.contact-block {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem 1.45rem;
}
.contact-block a { font-weight: 500; text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }

.channel-list { max-width: 36rem; }
.channel-list h3 { margin-bottom: 0.7rem; }
.channel-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.channel-list li {
  display: grid;
  grid-template-columns: 6.2rem 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.channel-lane {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.channel-list a { font-weight: 600; text-decoration: none; }
.channel-list a:hover { text-decoration: underline; }
.channel-meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: right;
}

/* Footer
   ---------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.7rem var(--space);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.footer-inner {
  max-width: var(--measure);
  margin: 0 auto;
  text-align: center;
}
.site-footer p { margin: 0; }
.footer-mm { margin-top: 0.2rem; font-size: 0.95rem; font-weight: 500; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* Desktop
   ---------------------------------------- */
@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.35rem;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .site-nav a { padding: 0.3rem 0; }

  .hero { padding-top: 4rem; padding-bottom: 4.75rem; }
  .hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
  }
  .hero-copy { padding-top: 0.6rem; }
  .hero-portrait {
    justify-self: end;
    width: min(100%, 22rem);
  }

  .section { padding: 5rem var(--space); }

  .about-grid {
    grid-template-columns: 1.45fr 0.7fr;
    gap: 3rem;
    align-items: start;
  }

  .work-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-cols { grid-template-columns: 1fr 1fr; }
  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: start;
  }
}

@media (max-width: 799px) {
  .channel-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  .channel-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .video-card, .nav-toggle span, .video-thumb img { transition: none; }
}
