:root {
  --night: #071018;
  --deep: #0c1a28;
  --quartz: rgba(244, 250, 255, 0.12);
  --quartz-strong: rgba(248, 252, 255, 0.22);
  --emerald: #6ff3c4;
  --violet: #c9b4ff;
  --cyan: #7adfff;
  --silver: #e8f4f8;
  --ink: #eef7fb;
  --muted: rgba(232, 244, 248, 0.72);
  --line: rgba(186, 230, 255, 0.28);
  --danger: #ffc2d1;
  --ok: #9dffd4;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(3, 10, 18, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans Thai", "Outfit", sans-serif;
  background:
    radial-gradient(1200px 700px at 8% -10%, rgba(111, 243, 196, 0.18), transparent 55%),
    radial-gradient(900px 600px at 92% 8%, rgba(201, 180, 255, 0.22), transparent 50%),
    radial-gradient(800px 500px at 70% 100%, rgba(122, 223, 255, 0.16), transparent 45%),
    linear-gradient(180deg, #08131d 0%, #0a1826 40%, #071018 100%);
  min-height: 100vh;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--emerald); }
.shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(8, 18, 28, 0.82), rgba(8, 18, 28, 0.42));
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--silver);
  text-decoration: none;
  font-family: Outfit, sans-serif;
  letter-spacing: 0.04em;
}
.brand-mark {
  width: 14px;
  height: 22px;
  background: linear-gradient(160deg, var(--emerald), var(--violet) 55%, var(--cyan));
  clip-path: polygon(50% 0, 100% 28%, 78% 100%, 22% 100%, 0 28%);
  box-shadow: 0 0 18px rgba(122, 223, 255, 0.55);
}
.nav-toggle {
  display: none;
  background: var(--quartz);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
}
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-nav a { color: var(--silver); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: var(--emerald); }

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  margin: 28px auto 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: var(--quartz);
}
.hero-photo { min-height: 520px; object-fit: cover; height: 100%; width: 100%; }
.hero-copy {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.08), rgba(122,223,255,0.05) 40%, rgba(201,180,255,0.08));
}
.kicker {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  font-family: Outfit, sans-serif;
}
h1, h2, h3 { font-weight: 600; line-height: 1.35; }
h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 12px 0 18px; }
h2 { font-size: 1.55rem; }
.pullquote {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--violet);
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-meta { margin-top: 28px; color: var(--muted); font-size: 0.95rem; }
.crystal-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--silver);
  text-decoration: none;
  border-bottom: 1px solid var(--emerald);
  padding-bottom: 2px;
}

.pane {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
}
.section { margin: 0 auto 64px; }
.section-head { margin-bottom: 22px; }
.lede { color: var(--muted); max-width: 62ch; }

.primary-service {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 28px;
}
.primary-service img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 18px;
}
.offer-grid, .card-grid, .post-grid, .team-grid, .work-grid {
  display: grid;
  gap: 18px;
}
.offer-grid, .post-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
.card-grid, .team-grid { grid-template-columns: repeat(3, 1fr); }
.card, .offer, .post-card, .team-card, .work-card {
  padding: 18px;
  background: var(--quartz);
  border: 1px solid var(--line);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.card::after, .offer::after, .work-card::after {
  content: "";
  position: absolute;
  inset: auto -20% 0 40%;
  height: 90px;
  background: linear-gradient(90deg, transparent, rgba(111,243,196,0.18), rgba(201,180,255,0.2));
  transform: rotate(-8deg);
  pointer-events: none;
}
.card img, .post-card img, .team-card img, .work-card img, .article-hero {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
.article-hero { height: 340px; margin: 8px 0 24px; }
.price { color: var(--emerald); font-family: Outfit, sans-serif; }
.muted { color: var(--muted); }

.evidence {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
}
blockquote {
  margin: 0;
  font-size: 1.2rem;
  color: var(--silver);
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(111,243,196,0.95), rgba(122,223,255,0.9) 50%, rgba(201,180,255,0.95));
  color: #062018;
  font-weight: 600;
  font-family: inherit;
  border-radius: 999px;
  padding: 11px 18px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25), 0 8px 24px rgba(90, 220, 200, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--silver);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.is-pulsing {
  animation: crystal-pulse 0.75s ease-out;
}
@keyframes crystal-pulse {
  0% { box-shadow: 0 0 0 0 rgba(122, 223, 255, 0.7), 0 0 12px rgba(201,180,255,0.6); }
  70% { box-shadow: 0 0 0 18px rgba(122, 223, 255, 0), 0 0 28px rgba(111,243,196,0.15); }
  100% { box-shadow: 0 0 0 0 rgba(122, 223, 255, 0); }
}

.legal, .prose { max-width: 74ch; }
.legal p, .prose p { margin: 0 0 14px; }
.page-hero { padding: 42px 0 10px; }

form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 0.95rem; }
input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: rgba(7, 16, 24, 0.45);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
textarea { min-height: 140px; resize: vertical; }
.field-error { color: var(--danger); font-size: 0.88rem; }
.form-status { margin-top: 8px; }
.form-status.is-error { color: var(--danger); }
.form-status.is-ok { color: var(--ok); }

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 36px 0 24px;
  background: rgba(5, 12, 18, 0.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 22px;
}
.footer-brand { font-family: Outfit, sans-serif; letter-spacing: 0.04em; }
.footer-label { color: var(--emerald); margin-bottom: 6px; }
.footer-note { opacity: 0.7; margin-top: 18px; }

.cookie-banner {
  position: sticky;
  bottom: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(16, 32, 48, 0.92), rgba(8, 18, 28, 0.96));
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 0;
  align-items: center;
}
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.list { padding-left: 18px; }
.notfound { text-align: center; padding: 12vh 0 18vh; }

@media (max-width: 900px) {
  .hero-split, .primary-service, .evidence, .footer-grid, .cookie-inner,
  .offer-grid, .card-grid, .post-grid, .team-grid, .work-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo { min-height: 240px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(8, 18, 28, 0.96);
    border: 1px solid var(--line);
    flex-direction: column;
  }
  .site-header.is-open .site-nav { display: flex; }
  .hero-copy { padding: 28px 22px; }
}
