/* ==========================================================================
   Shay Saung — shared brand foundation
   Prototype only. No production app styles are imported or changed.
   ========================================================================== */

@font-face {
  font-family: 'Noto Sans Myanmar';
  src: url('../fonts/noto-sans-myanmar-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans Myanmar';
  src: url('../fonts/noto-sans-myanmar-700.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  /* Core palette */
  --forest: #183d32;
  --forest-deep: #102b23;
  --forest-soft: #245246;
  --ivory: #f5f1e7;
  --ivory-deep: #ebe5d5;
  --ivory-soft: #fbf8f0;
  --lime: #c5e86c;
  --lime-deep: #7d9f25;
  --lime-dark: #5f7a1f;
  --charcoal: #242a26;
  --charcoal-soft: #3b433d;
  --muted: #5b665f;
  --muted-on-dark: #c3d0c4;
  --white: #ffffff;
  --danger: #a33a2a;

  /* Type */
  --font-mm: 'Noto Sans Myanmar', 'Myanmar Text', 'Padauk', sans-serif;
  --font-en: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font: var(--font-en), var(--font-mm);

  /* Spacing and shape */
  --page: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(76px, 10vw, 150px);
  --radius: 0px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.75;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul[class],
ol[class] {
  padding: 0;
  list-style: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

:target {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

::selection {
  background: var(--lime);
  color: var(--forest);
}

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

.wrap {
  width: min(var(--page), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--lime);
  color: var(--forest);
  font-family: var(--font-en);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Brand lockup
   -------------------------------------------------------------------------- */

.brand {
  --mark-accent: var(--lime-deep);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  color: var(--forest);
}

.brand__mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.brand__mark svg {
  width: 100%;
  height: 100%;
}

.brand__type {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand__name {
  font-family: var(--font-mm);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.brand__en {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.19em;
  color: var(--muted);
}

.brand--light {
  --mark-accent: var(--lime);
  color: var(--ivory);
}

.brand--light .brand__en {
  color: var(--muted-on-dark);
}

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-family: var(--font-mm);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition:
    background-color 160ms var(--ease),
    color 160ms var(--ease),
    transform 160ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--lime);
  color: var(--forest);
}

.btn--primary:focus-visible,
.btn--on-dark:focus-visible {
  outline-color: var(--forest);
}

.cta .btn--primary:focus-visible {
  outline-color: var(--ivory);
}

.btn--primary:hover {
  background: #d4f286;
}

.btn--dark {
  background: var(--forest);
  color: var(--ivory);
}

.btn--dark:hover {
  background: var(--forest-deep);
}

.btn--light {
  background: var(--ivory);
  color: var(--forest);
}

.btn--light:hover {
  background: var(--white);
}

.btn--ghost {
  background: var(--ivory-deep);
  color: var(--forest);
}

.btn--ghost:hover {
  background: #e2dbc9;
}

.btn--on-dark {
  background: var(--lime);
  color: var(--forest);
}

.btn--on-dark:hover {
  background: #d4f286;
}

.btn--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-mm);
  font-size: 16px;
  font-weight: 700;
  color: var(--forest);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--lime-deep);
}

.text-link:hover {
  color: var(--forest-deep);
  text-decoration-color: var(--forest);
}

.text-link--light {
  color: var(--ivory);
  text-decoration-color: var(--lime);
}

.text-link--light:hover {
  color: var(--white);
  text-decoration-color: var(--ivory);
}

/* --------------------------------------------------------------------------
   Section headings and shared copy
   -------------------------------------------------------------------------- */

.section-kicker {
  font-family: var(--font-mm);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--lime-dark);
}

.section-heading {
  font-family: var(--font-mm);
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--forest);
  text-wrap: balance;
}

.section-heading--light {
  color: var(--ivory);
}

.section-lede {
  max-width: 58ch;
  font-family: var(--font-mm);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.85;
  color: var(--muted);
}

.section-lede--light {
  color: var(--muted-on-dark);
}

.body-copy {
  font-family: var(--font-mm);
  font-size: 17px;
  line-height: 1.85;
  color: var(--charcoal);
}

/* --------------------------------------------------------------------------
   Motion helpers
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 640ms var(--ease),
    transform 640ms var(--ease);
}

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

.js .reveal--delay-1 {
  transition-delay: 80ms;
}

.js .reveal--delay-2 {
  transition-delay: 160ms;
}

.js .reveal--delay-3 {
  transition-delay: 240ms;
}

.path-draw {
  stroke-dasharray: var(--path-length, 900);
  stroke-dashoffset: var(--path-length, 900);
}

.js .path-draw {
  animation: draw-path 1.25s var(--ease) 160ms forwards;
}

@keyframes draw-path {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .path-draw {
    stroke-dashoffset: 0;
  }
}

/* --------------------------------------------------------------------------
   Product UI base
   These are real interface fragments, not decorative cards. The data-ui
   attribute marks them for the design review tooling.
   -------------------------------------------------------------------------- */

[data-ui] {
  font-family: var(--font-en), var(--font-mm);
  line-height: 1.4;
}

[data-ui] p,
[data-ui] h1,
[data-ui] h2,
[data-ui] h3,
[data-ui] h4 {
  margin: 0;
}

[data-ui] table {
  border-collapse: collapse;
  width: 100%;
}

[data-ui] button,
[data-ui] a {
  cursor: default;
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */

.nowrap {
  white-space: nowrap;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
