/* Prompt (SIL OFL 1.1, see fonts/OFL-Prompt.txt), Thai and Latin subsets from Google Fonts, served from this site */
@font-face { font-family: Prompt; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/prompt-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: Prompt; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/prompt-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Prompt; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/prompt-500-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: Prompt; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/prompt-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Prompt; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/prompt-600-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: Prompt; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/prompt-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Pakkub design system v2 (source: pms-brand-assets/tokens/tokens.css) */
:root {
  --blue: #1E63D5;
  --navy: #092A6B;
  --sky: #4C9DF0;
  --sky-light: #BBDCFF;
  --tint: #EAF1FF;
  --surface: #F6F9FF;
  --white: #FFFFFF;
  --muted: #5B6B8C;
  --border: #D5E0F5;
  --on-navy: #D9E6FB;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font-text: Prompt, system-ui, sans-serif;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100svh; display: flex; flex-direction: column; background: var(--white); color: var(--navy); font-family: var(--font-text); font-size: 16px; line-height: 28px; overflow-x: hidden; }
img { display: block; height: auto; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
.nb { white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

svg.i { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: 20px 0 32px; position: relative; overflow: hidden; }
.hero::before { /* soft pillow shape, decoration only */
  content: ""; position: absolute; width: 460px; height: 460px; right: -160px; top: -200px;
  border-radius: 50%; background: var(--sky); opacity: .16; pointer-events: none;
}
.hero .wrap { position: relative; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar img { height: 32px; width: auto; }
.topbar-end { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.link-btn { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--white); text-decoration: none;
  border: 1px solid rgba(187, 220, 255, .5); border-radius: var(--radius-sm); padding: 4px 14px; }
.link-btn:hover { background: rgba(255, 255, 255, .08); }
.link-btn:focus-visible { outline: 2px solid var(--sky-light); outline-offset: 2px; }
.pill { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--navy); background: var(--sky-light);
  border-radius: var(--radius-pill); padding: 4px 14px; }

.hero-grid { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center; margin-top: 28px; }
.hero-copy, .cal { flex: 1 1 420px; min-width: 0; }
.hero h1 { font-size: 30px; line-height: 46px; }
.hero h1 em { font-style: normal; color: var(--sky-light); }
.lead { margin-top: 10px; font-size: 16px; line-height: 28px; color: var(--on-navy); max-width: 32em; }

.ota { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; line-height: 20px; }
.ota > span { color: var(--on-navy); margin: 0 4px; }
.ota > span:first-child { margin-left: 0; }
.ota ul { display: contents; }
.ota li { font-weight: 600; border: 1px solid rgba(187, 220, 255, .35); border-radius: var(--radius-sm); padding: 4px 10px; }

/* calendar illustration */
.cal { background: var(--white); color: var(--navy); border-radius: var(--radius-lg); padding: 14px;
  display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 16px; }
.cal-row { display: grid; grid-template-columns: 36px repeat(7, minmax(0, 1fr)); gap: 4px; align-items: center; min-height: 28px; }
.cal-days { min-height: auto; padding-bottom: 8px; border-bottom: 1px solid var(--border); color: var(--muted); text-align: center; }
.room { grid-column: 1; grid-row: 1; font-weight: 600; color: var(--muted); }
.bar { grid-row: 1; font-style: normal; font-weight: 500; border-radius: var(--radius-sm); padding: 6px 8px; white-space: nowrap; overflow: hidden; }
.bar.b1 { background: var(--blue); color: var(--white); }
.bar.b2 { background: var(--sky-light); color: var(--navy); }
.bar.b3 { background: var(--tint); color: var(--navy); box-shadow: inset 0 0 0 1px var(--border); }

/* ---------- features ---------- */
.features { flex: 1; padding: 32px 0; }
.features h2 { font-size: 22px; line-height: 34px; margin-bottom: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px 32px; }
.feature { display: flex; gap: 12px; align-items: flex-start; }
.ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--tint); color: var(--blue); display: grid; place-items: center; }
.feature h3 { font-size: 16px; line-height: 24px; }
.feature p { margin-top: 2px; font-size: 14px; line-height: 22px; color: var(--muted); }

/* ---------- contact ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--border); padding: 32px 0; scroll-margin-top: 16px; }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-start; }
.contact-copy { flex: 1 1 280px; }
.contact h2 { font-size: 22px; line-height: 34px; }
.contact-copy p { margin-top: 6px; color: var(--muted); }
.contact-form { flex: 2 1 480px; min-width: 0; position: relative; display: grid; grid-template-columns: 1fr; gap: 16px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.field label { display: block; font-size: 14px; line-height: 20px; font-weight: 500; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { display: block; width: 100%; font: inherit; font-size: 16px; line-height: 24px; color: var(--navy);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 9px 12px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn { font: inherit; font-weight: 600; color: var(--white); background: var(--blue); border: 0; border-radius: var(--radius-sm);
  padding: 10px 28px; cursor: pointer; }
.btn:hover { background: var(--navy); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.note { font-size: 14px; line-height: 22px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* spam trap for bots */

/* thank-you page */
.thanks { flex: 1; display: grid; place-items: center; padding: 48px 0; text-align: center; }
.thanks img { margin: 0 auto 24px; height: 36px; width: auto; }
.thanks h1 { font-size: 28px; line-height: 42px; }
.thanks p { margin-top: 8px; color: var(--muted); }
.thanks .btn { display: inline-block; margin-top: 24px; text-decoration: none; }

.footer { border-top: 1px solid var(--border); padding: 16px 0; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer img { height: 28px; width: auto; }
.footer small { color: var(--muted); font-size: 14px; }

/* ---------- motion (only with JS, and never with reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy { animation: rise .7s var(--ease) both; }
  .cal { animation: rise .7s .12s var(--ease) both; }
  .bar { transform-origin: left center; animation: grow .6s calc(.45s + var(--d, 0s)) var(--ease) both; }
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .feature:nth-child(4n+2) { transition-delay: .06s; }
  .js .feature:nth-child(4n+3) { transition-delay: .12s; }
  .js .feature:nth-child(4n) { transition-delay: .18s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { opacity: 0; transform: scaleX(.2); } to { opacity: 1; transform: none; } }

/* ---------- tablet and desktop ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .cal { padding: 16px; }
  .cal-row { grid-template-columns: 40px repeat(7, minmax(0, 1fr)); }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .field.full, .form-foot { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .hero { padding: 24px 0 40px; }
  .topbar img { height: 36px; }
  .hero-grid { margin-top: 32px; }
  .hero h1 { font-size: 40px; line-height: 60px; }
  .lead { font-size: 17px; line-height: 30px; }
  .features { padding: 40px 0; }
  .features h2 { font-size: 24px; line-height: 36px; margin-bottom: 24px; }
  .feature-grid { gap: 24px 32px; }
  .contact { padding: 40px 0; }
  .contact h2 { font-size: 24px; line-height: 36px; }
  .contact-form { padding: 24px; }
}
