:root {
  --quartz: #eef4fb;
  --ink: #102033;
  --muted: #4b6076;
  --emerald: #149e7a;
  --glow: #7dffd2;
  --violet: #6a46ff;
  --cyan: #3ad0ea;
  --glass: rgba(255, 255, 255, 0.48);
  --stroke: rgba(106, 70, 255, 0.2);
  --shadow: 0 22px 48px rgba(16, 32, 51, 0.14);
  --radius: 28px;
  --display: "Syne", "IBM Plex Sans Thai", sans-serif;
  --body: "IBM Plex Sans Thai", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.75;
  background-color: var(--quartz);
  background-image:
    radial-gradient(900px 420px at 8% -8%, rgba(125, 255, 210, 0.42), transparent 58%),
    radial-gradient(720px 380px at 100% 4%, rgba(106, 70, 255, 0.28), transparent 52%),
    radial-gradient(640px 360px at 70% 110%, rgba(58, 208, 234, 0.22), transparent 55%),
    linear-gradient(165deg, #f7fbff 0%, #e8f1fa 42%, #e3eef8 100%);
  background-attachment: fixed;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 12px;
  background: #fff;
  padding: 8px 12px;
  z-index: 50;
}

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

a {
  color: #3a2aa8;
  text-underline-offset: 3px;
}

.wrap {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(238, 244, 251, 0.7);
  border-bottom: 1px solid var(--stroke);
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
}

.facet {
  width: 26px;
  height: 30px;
  clip-path: polygon(50% 0, 100% 28%, 82% 100%, 18% 100%, 0 28%);
  background: linear-gradient(150deg, var(--glow), var(--violet) 55%, var(--cyan));
  box-shadow: 0 0 16px rgba(125, 255, 210, 0.55);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--stroke);
  background: var(--glass);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.nav-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(125, 255, 210, 0.4), rgba(106, 70, 255, 0.22));
}

.crystal {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.hero-collage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  padding: 40px 0 12px;
  align-items: center;
}

.stack {
  position: relative;
  min-height: 420px;
}

.stack img {
  width: 72%;
  height: 280px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.stack img:first-child {
  position: absolute;
  left: 0;
  top: 0;
  transform: rotate(-3deg);
}

.stack img:last-child {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 68%;
  height: 250px;
  transform: rotate(4deg);
}

.place-chip {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #14624c;
  background: rgba(20, 158, 122, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 14px;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.25;
}

.hero-collage h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  margin: 0 0 16px;
}

.hero-collage p {
  color: var(--muted);
  max-width: 42ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  padding: 12px 20px;
  border-radius: 999px;
}

.btn-pulse {
  position: relative;
  overflow: hidden;
  color: #07141c;
  background: linear-gradient(120deg, var(--glow), #e7fff8 42%, #d5ccff);
}

.btn-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translateX(-120%);
}

.btn-pulse:hover::after,
.btn-pulse.is-firing::after {
  animation: crystalPulse 0.7s ease;
}

@keyframes crystalPulse {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--stroke);
  color: inherit;
}

.section {
  padding: 48px 0;
}

.section h2 {
  font-size: 1.75rem;
  margin: 0 0 8px;
}

.lede {
  color: var(--muted);
  max-width: 62ch;
}

.primary-offer {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  margin-top: 20px;
}

.primary-offer img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.grid-3,
.grid-2,
.grid-4,
.team-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.grid-3,
.team-grid {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card img,
.cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3,
.card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.muted {
  color: var(--muted);
}

.quote {
  padding: 28px;
}

.quote blockquote {
  margin: 0;
  font-size: 1.18rem;
  font-family: var(--display);
}

.lane {
  padding: 18px;
}

.lane b {
  display: block;
  color: var(--violet);
  margin-bottom: 6px;
}

.page-hero {
  padding: 40px 0 8px;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 12px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.prose p {
  margin: 0 0 14px;
}

form {
  display: grid;
  gap: 12px;
  padding: 22px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 500;
}

input,
select,
textarea {
  font: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.82);
}

.field-error,
.island-error {
  color: #9b1c3a;
  font-size: 0.9rem;
  margin: 0;
}

.form-success {
  padding: 16px;
  border-radius: 14px;
  background: rgba(20, 158, 122, 0.14);
}

.portrait {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.price-tag {
  font-weight: 600;
  color: #14624c;
}

.site-footer {
  margin-top: 48px;
  padding: 36px 0 20px;
  border-top: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.32);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 24px;
}

.foot-grid a {
  display: block;
  margin-top: 6px;
}

.foot-name {
  font-family: var(--display);
  font-weight: 700;
  margin-top: 0;
}

.foot-label {
  font-weight: 600;
  margin-bottom: 4px;
}

.foot-copy {
  opacity: 0.7;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(16, 32, 51, 0.92), rgba(24, 20, 48, 0.94));
  color: #f4fbff;
  padding: 16px 0;
  border-top: 1px solid rgba(125, 255, 210, 0.35);
}

.cookie-banner a {
  color: var(--glow);
}

.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.legal-list {
  padding-left: 18px;
}

.lost {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 0;
}

@media (max-width: 900px) {
  .hero-collage,
  .primary-offer,
  .grid-3,
  .grid-2,
  .grid-4,
  .team-grid,
  .split,
  .foot-grid,
  .cookie-inner {
    grid-template-columns: 1fr;
  }

  .stack {
    min-height: 320px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 16px;
    top: 62px;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    background: #eef4fb;
    border: 1px solid var(--stroke);
    border-radius: 16px;
  }

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