:root {
  --bg: #070707;
  --panel: #111111;
  --panel-2: #18130c;
  --text: #fff8e7;
  --muted: #b9ad92;
  --gold: #f4c76a;
  --gold-2: #ffd986;
  --orange: #ff7a1a;
  --line: rgba(244, 199, 106, 0.24);
  --shadow: 0 24px 80px rgba(255, 120, 26, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans Thai", "Segoe UI", Tahoma, sans-serif;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 122, 26, 0.22), transparent 28rem),
    linear-gradient(115deg, rgba(244, 199, 106, 0.08), transparent 32rem),
    var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(244, 199, 106, 0.16);
  background: rgba(7, 7, 7, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand img {
  width: 150px;
  height: auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  box-shadow: 0 0 26px rgba(244, 199, 106, 0.24);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 15px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(244, 199, 106, 0.09);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 217, 134, 0.55);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f4c76a, #ff7a1a);
  color: #140b02;
  font-weight: 800;
  box-shadow: 0 12px 36px rgba(255, 122, 26, 0.22);
  transition: transform 160ms ease, filter 160ms ease;
}

.nav-login {
  border: 1px solid var(--line);
  color: var(--gold-2) !important;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-2);
  border-color: var(--line);
  box-shadow: none;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 36px 0 56px;
  overflow: hidden;
}

.hero-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gold-2);
  font-weight: 800;
  font-size: 14px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.22;
}

p {
  color: var(--muted);
  line-height: 1.8;
}

.lead {
  max-width: 650px;
  font-size: clamp(18px, 2vw, 22px);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.metric {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.metric strong {
  display: block;
  color: var(--gold);
  font-size: 28px;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

.hero-stage {
  position: relative;
}

.hero-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(244, 199, 106, 0.32);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame::after,
.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 217, 134, 0.24);
  pointer-events: none;
}

.hero-strip {
  position: absolute;
  right: -18px;
  bottom: 30px;
  width: min(78%, 430px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 7, 7, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
}

.hero-strip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-2);
}

.hero-strip p {
  margin: 0;
  font-size: 14px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.feature-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-copy {
  padding: 20px 0;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border-left: 2px solid var(--orange);
  padding: 12px 0 12px 16px;
  color: var(--text);
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.1), transparent);
}

.bands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.band {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 122, 26, 0.15), transparent 48%),
    var(--panel);
}

.band span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 900;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.post-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 170ms ease, border-color 170ms ease;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 217, 134, 0.5);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-body {
  padding: 20px;
}

.post-body small {
  color: var(--gold);
  font-weight: 900;
}

.post-body h3 {
  margin: 8px 0 8px;
  font-size: 20px;
}

.post-body p {
  margin-bottom: 0;
  font-size: 15px;
}

.promo-panel {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(130deg, rgba(244, 199, 106, 0.13), transparent 36%),
    linear-gradient(320deg, rgba(255, 122, 26, 0.16), transparent 42%),
    #0d0d0d;
  box-shadow: var(--shadow);
}

.promo-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.promo-item,
.contact-item,
.article-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.promo-item strong,
.contact-item strong {
  display: block;
  color: var(--gold-2);
  margin-bottom: 8px;
}

.article-list {
  display: grid;
  gap: 16px;
}

.content-flow {
  display: grid;
  gap: 22px;
}

.content-flow h2,
.content-flow h3 {
  margin-bottom: 0;
}

.content-flow p {
  margin-bottom: 0;
}

.content-block {
  border-left: 2px solid var(--orange);
  padding-left: 18px;
}

.post-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: center;
}

.post-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home-page {
  overflow: hidden;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 54px 0 68px;
  isolation: isolate;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 217, 134, 0.5), transparent);
}

.home-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.32;
}

.home-hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
}

.home-hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.98) 0%, rgba(7, 7, 7, 0.72) 46%, rgba(7, 7, 7, 0.92) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.05), #070707 100%);
}

.home-hero-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.home-hero-copy h1 {
  max-width: 850px;
  font-size: clamp(42px, 6.8vw, 88px);
}

.home-hero-copy .lead {
  max-width: 760px;
}

.home-hero-visual {
  position: relative;
  min-height: 560px;
}

.home-device {
  position: absolute;
  inset: 0 0 0 8%;
  overflow: hidden;
  border: 1px solid rgba(255, 217, 134, 0.42);
  border-radius: var(--radius);
  background: #111;
  box-shadow: 0 34px 110px rgba(255, 122, 26, 0.22);
  transform: perspective(1100px) rotateY(-9deg) rotateX(2deg);
}

.home-device::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(255, 217, 134, 0.22);
  pointer-events: none;
}

.home-device::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 217, 134, 0.18), transparent 28%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), transparent 42%);
  pointer-events: none;
}

.home-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-orbit {
  position: absolute;
  z-index: 2;
  min-width: 128px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 217, 134, 0.36);
  border-radius: var(--radius);
  background: rgba(7, 7, 7, 0.76);
  color: var(--gold-2);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

.home-orbit-one {
  top: 44px;
  left: 0;
}

.home-orbit-two {
  right: -8px;
  top: 46%;
}

.home-orbit-three {
  left: 8%;
  bottom: 42px;
}

.home-highlights {
  width: min(1180px, calc(100% - 32px));
  margin: -38px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.highlight-tile {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  padding: 22px;
  border: 1px solid rgba(255, 217, 134, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.16), transparent 44%),
    rgba(10, 10, 10, 0.92);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
  transition: transform 170ms ease, border-color 170ms ease;
}

.highlight-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 217, 134, 0.58);
}

.highlight-tile span {
  color: var(--gold);
  font-weight: 900;
}

.highlight-tile strong {
  font-size: 18px;
  line-height: 1.38;
}

.home-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 34px;
  align-items: center;
}

.home-feature.reverse {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}

.home-feature-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow);
}

.home-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 217, 134, 0.22);
  pointer-events: none;
}

.home-feature-media img {
  width: 100%;
  aspect-ratio: 16 / 12;
  object-fit: cover;
}

.home-feature-copy,
.home-final-copy,
.home-text-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(255, 122, 26, 0.11), transparent 36%),
    rgba(255, 255, 255, 0.035);
  padding: clamp(24px, 4vw, 42px);
}

.home-feature-copy h2,
.home-final-copy h2,
.home-text-panel h2 {
  font-size: clamp(30px, 4.1vw, 54px);
}

.home-panorama {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  min-height: 620px;
  margin: 46px auto 0;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(255, 217, 134, 0.26);
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow);
}

.home-panorama img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-panorama::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 7, 7, 0.92), rgba(7, 7, 7, 0.46), rgba(7, 7, 7, 0.82));
}

.home-panorama-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: clamp(24px, 5vw, 58px);
}

.home-stack {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.home-text-panel {
  display: grid;
  align-content: center;
}

.accent-panel {
  background:
    linear-gradient(160deg, rgba(244, 199, 106, 0.18), transparent 44%),
    rgba(255, 255, 255, 0.045);
}

.home-final {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
}

.article-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
}

.article-row img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.article-row h3 {
  font-size: 23px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  background: rgba(0, 0, 0, 0.32);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.notice {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid rgba(244, 199, 106, 0.16);
  padding: 34px 0;
  background: #050505;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-inner img {
  width: 130px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 920px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 16px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-cta {
    width: 100%;
  }

  .hero-grid,
  .post-hero,
  .home-hero-inner,
  .home-feature,
  .home-feature.reverse,
  .home-stack,
  .home-final,
  .split,
  .promo-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    padding: 36px 0 56px;
  }

  .home-hero-visual {
    min-height: 440px;
    order: -1;
  }

  .home-device {
    inset: 0;
    transform: none;
  }

  .home-highlights {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding-top: 18px;
  }

  .home-panorama {
    min-height: auto;
  }

  .home-panorama img {
    position: relative;
    aspect-ratio: 16 / 11;
  }

  .home-panorama::after {
    background: linear-gradient(0deg, rgba(7, 7, 7, 0.9), transparent 62%);
  }

  .home-panorama-copy {
    background: rgba(7, 7, 7, 0.92);
  }

  .hero-grid {
    padding-top: 24px;
  }

  .hero-stage {
    order: -1;
  }

  .hero-frame {
    aspect-ratio: 16 / 12;
  }

  .hero-strip {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .bands,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 54px 0;
  }

  .brand img {
    width: 128px;
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .home-hero-copy h1 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .home-hero-visual {
    min-height: 340px;
  }

  .home-orbit {
    min-width: auto;
    padding: 10px 12px;
    font-size: 13px;
  }

  .home-orbit-one {
    top: 18px;
    left: 12px;
  }

  .home-orbit-two {
    right: 12px;
  }

  .home-orbit-three {
    left: 12px;
    bottom: 18px;
  }

  .hero-metrics,
  .bands,
  .blog-grid,
  .article-row {
    grid-template-columns: 1fr;
  }

  .article-row {
    gap: 14px;
  }

  .promo-panel {
    padding: 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
