:root {
  color-scheme: light;
  --ink: #16211e;
  --muted: #5a6964;
  --forest: #174b3f;
  --forest-strong: #0f342c;
  --teal: #167a74;
  --gold: #d69a3d;
  --coral: #bd5b46;
  --mist: #eef6f3;
  --paper: #ffffff;
  --line: rgba(22, 33, 30, 0.13);
  --shadow: 0 24px 70px rgba(18, 42, 36, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", "Noto Sans Khmer", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7faf9;
}

body::selection {
  color: #ffffff;
  background: var(--teal);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(247, 250, 249, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
}

.brand-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.main-nav {
  display: flex;
  gap: 8px;
}

.main-nav a {
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--forest-strong);
  background: rgba(22, 122, 116, 0.09);
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  width: min(100%, 278px);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.language-switcher button {
  min-width: 0;
  min-height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.language-switcher button[aria-pressed="true"] {
  color: #ffffff;
  background: var(--forest);
  box-shadow: 0 10px 22px rgba(23, 75, 63, 0.22);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 76svh, 780px);
  overflow: hidden;
  color: #ffffff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--slide-image-mobile, url("/assets/hero-lumitree-global-mobile.png"));
  background-position: var(--slide-position, center);
  background-size: cover;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 800ms ease,
    transform 6400ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.01);
}

@media (min-width: 640px) {
  .hero-slide {
    background-image: var(--slide-image, url("/assets/hero-lumitree-global.png"));
  }
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 28, 24, 0.78), rgba(12, 35, 31, 0.56) 42%, rgba(12, 35, 31, 0.1) 72%),
    linear-gradient(0deg, rgba(8, 24, 21, 0.3), transparent 48%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1160px, calc(100% - 40px));
  min-height: clamp(560px, 76svh, 780px);
  margin: 0 auto;
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--forest), var(--teal));
  box-shadow: 0 15px 35px rgba(15, 52, 44, 0.2);
}

.hero .button.primary {
  background: #ffffff;
  color: var(--forest-strong);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.12);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 170px));
  gap: 12px;
  max-width: 590px;
  margin: 44px 0 0;
}

.hero-stats div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-stats dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 7px 0 0;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
}

.hero-carousel-controls {
  display: inline-grid;
  grid-template-columns: 42px auto 42px;
  gap: 12px;
  align-items: center;
  width: fit-content;
  margin-top: 24px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 24, 21, 0.24);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-carousel-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 900;
}

.hero-carousel-button:hover,
.hero-carousel-button:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

.hero-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dot {
  width: 30px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.hero-dot[aria-selected="true"] {
  background: #ffffff;
}

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

  .hero-slide {
    transition: none;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}

section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 4vw, 56px);
}

.section-heading {
  width: min(860px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.governance-copy h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.governance-copy p:not(.eyebrow),
.contact-section p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.notice-band {
  background:
    linear-gradient(180deg, #ffffff, #f7faf9),
    radial-gradient(circle at 16% 12%, rgba(22, 122, 116, 0.13), transparent 28%);
}

.notice-list,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.notice-card,
.service-card,
.governance-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(22, 33, 30, 0.08);
}

.notice-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  grid-column: span 3;
  padding: clamp(22px, 4vw, 34px);
}

.notice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
}

.notice-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--forest);
  background: var(--mist);
}

.notice-card h3,
.service-card h3 {
  margin: 18px 0 0;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.24;
}

.notice-card p,
.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.notice-card .notice-source {
  margin-top: auto;
  padding-top: 24px;
  color: var(--coral);
  font-size: 0.9rem;
  font-weight: 900;
}

.work-section {
  background: #f7faf9;
}

.service-card {
  min-height: 254px;
  padding: 24px;
}

.service-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-card:nth-child(2n) .service-number {
  background: var(--teal);
}

.service-card:nth-child(3n) .service-number {
  background: var(--coral);
}

.governance-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(23, 75, 63, 0.96), rgba(22, 122, 116, 0.9)),
    #174b3f;
  color: #ffffff;
}

.governance-section .eyebrow {
  color: #f3c776;
}

.governance-copy {
  width: min(720px, 100%);
  justify-self: end;
}

.governance-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.governance-panel {
  padding: clamp(24px, 4vw, 38px);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.governance-panel p {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.35;
}

.governance-panel span {
  display: block;
  margin-top: 22px;
  color: var(--teal);
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  gap: 24px;
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.provision-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px clamp(20px, 4vw, 56px);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.provision-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forest-strong);
  animation: provision-pulse 2.4s ease infinite;
}

@keyframes provision-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.about-section {
  background: var(--mist);
}

.coming-soon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-column: span 3;
  min-height: 200px;
  padding: clamp(32px, 5vw, 56px);
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: center;
}

.coming-soon-card p {
  margin: 0;
}

.provision-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding: 28px clamp(20px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--forest-strong);
}

.site-footer p {
  margin: 0;
}

.footer-provision {
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    position: relative;
  }

  .main-nav {
    order: 3;
    justify-content: space-between;
  }

  .main-nav a {
    padding-right: 8px;
    padding-left: 8px;
  }

  .language-switcher {
    width: 100%;
  }

  .provision-banner {
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    min-height: 660px;
    justify-content: flex-end;
    padding-top: 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(8, 24, 21, 0.85), rgba(8, 24, 21, 0.42) 64%, rgba(8, 24, 21, 0.18)),
      linear-gradient(90deg, rgba(10, 28, 24, 0.42), rgba(12, 35, 31, 0.12));
  }

  .hero-stats,
  .notice-list,
  .service-grid,
  .governance-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .notice-card {
    grid-column: span 1;
  }

  .governance-copy {
    justify-self: start;
  }

  .contact-section {
    width: auto;
    margin: 0;
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 0.94rem;
  }

  .main-nav a {
    font-size: 0.8rem;
    padding-right: 6px;
    padding-left: 6px;
  }

  .language-switcher button {
    min-height: 36px;
    padding: 0 5px;
    font-size: 0.78rem;
  }

  .provision-banner {
    font-size: 0.8rem;
  }

  .provision-tag {
    display: block;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    margin-top: 12px;
  }

  .hero-content {
    width: min(100% - 32px, 1160px);
    min-height: 640px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 18vw, 4.25rem);
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-carousel-controls {
    grid-template-columns: 38px auto 38px;
    width: 100%;
    justify-content: center;
  }

  .hero-carousel-button {
    width: 38px;
    height: 38px;
  }

  .hero-dot {
    width: 24px;
  }

  .hero-stats div {
    min-height: 74px;
    padding: 13px;
  }

  .button {
    width: 100%;
  }
}
