:root {
  --quartz: #f4f8fc;
  --ink: #163044;
  --muted: #4d6474;
  --emerald: #19a37a;
  --aurora-a: #6ff3c4;
  --aurora-b: #7ac8ff;
  --aurora-c: #9b7cff;
  --silver: #eef5fb;
  --glass: rgba(255, 255, 255, 0.58);
  --stroke: rgba(123, 92, 214, 0.22);
  --shadow: 0 22px 48px rgba(22, 48, 68, 0.12);
  --radius: 28px;
  --font: "Sarabun", "Manrope", sans-serif;
  --display: "Manrope", "Sarabun", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(111, 243, 196, 0.32), transparent 58%),
    radial-gradient(820px 380px at 100% 8%, rgba(155, 124, 255, 0.28), transparent 52%),
    radial-gradient(700px 500px at 70% 100%, rgba(122, 200, 255, 0.22), transparent 55%),
    linear-gradient(180deg, #e7f4fb 0%, var(--quartz) 38%, #e3eef8 100%);
  min-height: 100vh;
  line-height: 1.75;
}

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

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

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

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

.shell {
  width: min(1080px, calc(100% - 28px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 248, 252, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--stroke);
}

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

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

.brand-mark {
  width: 26px;
  height: 30px;
  clip-path: polygon(50% 0, 100% 28%, 82% 100%, 18% 100%, 0 28%);
  background: linear-gradient(135deg, var(--aurora-a), var(--aurora-c) 55%, var(--aurora-b));
  box-shadow: 0 0 16px rgba(111, 243, 196, 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: 16px;
}

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

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(111, 243, 196, 0.4), rgba(155, 124, 255, 0.28));
}

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

.hero-bleed {
  position: relative;
  min-height: 46vh;
}

.hero-bleed img {
  width: 100%;
  height: min(62vh, 560px);
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.hero-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(244, 248, 252, 0.05), rgba(22, 48, 68, 0.18) 55%, rgba(244, 248, 252, 0.55)),
    linear-gradient(90deg, rgba(111, 243, 196, 0.12), transparent 40%, rgba(155, 124, 255, 0.16));
  pointer-events: none;
}

.hero-slab {
  position: relative;
  margin-top: -120px;
  padding: 28px 28px 32px;
  z-index: 2;
}

.place-chip {
  display: inline-block;
  margin: 0 0 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #1c6b56;
  background: rgba(111, 243, 196, 0.28);
  padding: 5px 12px;
  border-radius: 999px;
}

.hero-slab h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.2vw, 3.05rem);
  line-height: 1.28;
  margin: 0 0 14px;
  font-weight: 700;
}

.hero-slab .lead {
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.06rem;
}

.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: #082018;
  background: linear-gradient(120deg, var(--aurora-a), #e7fff6 42%, var(--aurora-c));
}

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

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

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

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: inherit;
}

.section {
  padding: 44px 0;
}

.section h2 {
  font-family: var(--display);
  font-size: 1.7rem;
  margin: 0 0 8px;
}

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

.primary-offer {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  margin-top: 18px;
}

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

.offer-copy {
  padding: 24px;
}

.card-grid,
.blog-grid,
.team-grid,
.wall-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

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

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

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

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

.card-body {
  padding: 16px 18px 20px;
}

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

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

.quote-block {
  padding: 26px 28px;
}

.quote-block blockquote {
  margin: 0;
  font-size: 1.18rem;
}

.facet-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.facet {
  padding: 18px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

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

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 0 0 12px;
}

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

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

.prose ul {
  padding-left: 1.2rem;
}

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

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

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

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

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

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

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

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

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

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

.footer-brand {
  font-weight: 700;
  margin-top: 0;
}

.footer-label {
  font-weight: 700;
  margin-bottom: 4px;
}

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

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: linear-gradient(120deg, rgba(22, 48, 68, 0.94), rgba(48, 36, 92, 0.92));
  color: #f4fbff;
  padding: 16px 0;
  border-top: 1px solid rgba(111, 243, 196, 0.35);
}

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

.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;
}

.not-found {
  text-align: center;
  padding: 80px 0;
}

@media (min-width: 901px) {
  .site-nav[hidden] {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .primary-offer,
  .card-grid,
  .blog-grid,
  .team-grid,
  .wall-grid,
  .facet-row,
  .split,
  .footer-grid,
  .cookie-inner {
    grid-template-columns: 1fr;
  }

  .hero-slab {
    margin-top: -72px;
  }

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

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

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

  .site-nav[hidden] {
    display: none;
  }
}
