/* SEA UGC — creator page styles. Clean & soft. Mobile-first. */
:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --ink: #29231f;
  --muted: #7d726a;
  --line: #eee4d9;
  --accent: #e8836b;
  --accent-ink: #b95a44;
  --accent-soft: #fbe7df;
  --sage: #9db5a0;
  --sage-soft: #e6eee6;
  --phone: #1c1b1f;
  --radius: 24px;
  --shadow: 0 10px 30px -12px rgba(63, 40, 25, .18);
  --font-display: "Fraunces", "Prompt", Georgia, serif;
  --font-body: "Prompt", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-weight: 300; line-height: 1.6; font-size: 16px;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
p { margin: 0; }
ul, dl { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

/* Language toggle: show one language at a time */
html[data-lang="en"] [lang="th"] { display: none !important; }
html[data-lang="th"] [lang="en"] { display: none !important; }
html[data-lang="th"] body { font-weight: 400; }
html[data-lang="th"] h1, html[data-lang="th"] h2 { font-family: var(--font-body); font-weight: 600; }
.lang [data-l] { opacity: .45; }
html[data-lang="en"] .lang [data-l="en"], html[data-lang="th"] .lang [data-l="th"] { opacity: 1; font-weight: 600; }

/* Layout */
main { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 9vw, 110px) 0; border-top: 1px solid var(--line); }
.section__head { text-align: center; max-width: 560px; margin: 0 auto clamp(28px, 5vw, 48px); }
.section__head p { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }
.section__head--left { text-align: left; margin-left: 0; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 20px; background: rgba(250, 246, 240, .85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .02em; white-space: nowrap; }
.nav__mark { color: var(--accent); margin-right: 3px; }
.nav__links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; justify-content: center; }
.nav__links::-webkit-scrollbar { display: none; }
.nav__links a { padding: 6px 12px; border-radius: 999px; font-size: .92rem; white-space: nowrap; color: var(--muted); font-weight: 400; }
.nav__links a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav .nav__cta { display: none; }
@media (min-width: 900px) { .nav .nav__cta { display: inline-flex; } }
.nav__links a.is-active { background: var(--accent-soft); color: var(--accent-ink); }
.lang {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 6px 12px; cursor: pointer; font-size: .85rem; white-space: nowrap; display: flex; gap: 4px;
}
.lang__sep { opacity: .3; }
@media (max-width: 640px) {
  .nav { flex-wrap: wrap; }
  .nav__links { order: 3; flex-basis: 100%; justify-content: flex-start; margin: 0 -20px; padding: 4px 20px 0; }
}

/* Hero */
.hero {
  display: grid; gap: 36px; align-items: center;
  padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 8vw, 96px);
}
@media (min-width: 860px) { .hero { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.eyebrow { color: var(--accent-ink); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; margin-bottom: 14px; }
.hero__name { font-size: clamp(3rem, 9vw, 5.4rem); font-weight: 600; }
.hero__thai { display: block; font-size: .5em; color: var(--muted); font-weight: 400; margin-top: 6px; }
.hero__tagline { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--muted); margin-top: 18px; max-width: 34ch; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pills li { background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 400; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-weight: 500; font-size: .98rem; transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(232, 131, 107, .7); }
.btn--primary:hover { background: var(--accent-ink); }
.btn--ghost { background: var(--surface); border: 1px solid var(--line); }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.hero__media { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.hero__photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 200px 200px 32px 32px; box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute; left: -12px; bottom: -20px; right: 24px;
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border-radius: 18px; padding: 12px 14px;
  box-shadow: var(--shadow); font-size: .82rem; line-height: 1.45; color: var(--muted);
}
.hero__badge img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.hero__badge span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 859px) { .hero__media { max-width: 360px; } .hero__badge { position: static; margin-top: 14px; } .hero__badge span { -webkit-line-clamp: 6; } }

/* Phones */
.phones {
  display: grid; gap: 32px 24px; justify-content: center;
  grid-template-columns: repeat(2, minmax(0, 240px));
}
@media (min-width: 860px) { .phones { grid-template-columns: repeat(3, minmax(0, 250px)); gap: 40px 36px; } }
@media (max-width: 560px) {
  .phones {
    grid-auto-flow: column; grid-auto-columns: 68%; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; padding: 0 20px 12px; margin: 0 -20px;
    scrollbar-width: none;
  }
  .phones::-webkit-scrollbar { display: none; }
  .phone { scroll-snap-align: start; }
}
.phone { margin: 0; }
.phone__frame {
  position: relative; aspect-ratio: 9 / 19.2; border-radius: 40px;
  background: var(--phone); padding: 9px; box-shadow: 0 24px 40px -20px rgba(30, 20, 15, .45), inset 0 0 0 2px #3a383d;
}
.phone__frame::after { /* subtle side button highlight */
  content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 12%; border-radius: 2px; background: #3a383d;
}
.phone__island {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 26%; height: 18px; background: #000; border-radius: 999px; z-index: 2;
}
.phone__video { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; background: #111; }
.phone__sound {
  position: absolute; right: 18px; bottom: 18px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .85); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; z-index: 2; backdrop-filter: blur(6px);
}
.phone__sound svg { width: 18px; height: 18px; }
.phone__frame { transition: transform .3s ease; }
.phone:hover .phone__frame { transform: translateY(-4px); }
.phone figcaption { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag--format { background: var(--accent-soft); color: var(--accent-ink); }
.phone__result { font-size: .82rem; color: var(--muted); }
.tag {
  align-self: flex-start; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500;
  background: var(--sage-soft); color: #4f6b53; padding: 3px 10px; border-radius: 999px;
}
.phone__label { font-weight: 400; }

/* Services */
.services__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; box-shadow: var(--shadow); }
.service h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 14px; }
.service__icon { width: 36px; height: 36px; display: grid; place-items: center; background: var(--accent-soft); border-radius: 12px; font-size: 1.1rem; }
.service li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid var(--line); font-size: .95rem; font-weight: 400; }
.service li:first-child { border-top: 0; }
.service__check { flex: none; width: 18px; height: 18px; margin-top: 4px; color: #4f6b53; }
.service__check svg { width: 18px; height: 18px; }
.packages { margin-top: 40px; background: linear-gradient(135deg, var(--accent-soft), var(--sage-soft)); border-radius: 32px; padding: clamp(24px, 4vw, 40px); }
.packages__title { text-align: center; font-size: 1.5rem; margin-bottom: 20px; }
.packages__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.package { background: var(--surface); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.package strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
html[data-lang="th"] .package strong { font-family: var(--font-body); }
.package p { color: var(--muted); font-size: .95rem; }
.package--featured { outline: 2px solid var(--accent); }
.package__price { font-weight: 500; color: var(--accent-ink); margin-top: auto; }
.packages__note { text-align: center; margin-top: 18px; color: #4a423c; font-weight: 400; }

/* Testimonials */
.testimonials__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.testimonial { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 20px; box-shadow: var(--shadow); position: relative; }
.testimonial__mark { position: absolute; top: 14px; right: 18px; width: 28px; height: 28px; color: var(--accent-soft); }
.testimonial p { font-size: 1.05rem; color: #4a423c; margin-bottom: 14px; }
.testimonial footer { font-size: .88rem; color: var(--muted); }

/* About */
.about__grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .about__grid { grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start; } }
.about__text h2 { margin-bottom: 20px; }
.about__text p { font-size: 1.08rem; margin-bottom: 16px; color: #4a423c; }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; box-shadow: var(--shadow); }
.fact { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { color: var(--muted); font-size: .88rem; }
.fact dd { margin: 0; font-weight: 400; }

/* Interests */
.chips-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; margin: 0 auto; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line);
  padding: 12px 18px 12px 12px; border-radius: 999px; font-weight: 400; box-shadow: var(--shadow);
}
.chip__icon { width: 34px; height: 34px; display: grid; place-items: center; background: var(--accent-soft); border-radius: 50%; font-size: 1.1rem; }

/* Gallery */
.gallery__grid { columns: 2; column-gap: 14px; }
@media (min-width: 700px) { .gallery__grid { columns: 3; column-gap: 18px; } }
@media (min-width: 1000px) { .gallery__grid { columns: 4; } }
.gallery__item {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  margin-bottom: 14px; break-inside: avoid; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
}
.gallery__item img { width: 100%; height: auto; transition: transform .35s ease; }
.gallery__item:hover img { transform: scale(1.03); }

/* Contact */
.contact__box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 32px;
  padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow);
  display: grid; gap: 28px;
}
@media (min-width: 860px) { .contact__box { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; } }
.contact__cards { display: grid; gap: 12px; }
.contact__card {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--bg);
  transition: transform .15s ease, border-color .15s;
}
.contact__card:hover { transform: translateX(3px); border-color: var(--accent); }
.contact__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.contact__icon svg { width: 22px; height: 22px; }
.contact__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.contact__text small { color: var(--muted); font-size: .78rem; }
.contact__text strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact__arrow { color: var(--muted); }
.contact__arrow svg { width: 18px; height: 18px; }

/* Footer */
.footer { text-align: center; padding: 40px 20px 60px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 40px; }
.footer p + p { margin-top: 8px; }
.footer__pitch a { color: var(--accent-ink); font-weight: 500; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 14, 10, .85); }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 16px; object-fit: contain; }
.lightbox__close {
  position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); font-size: 1.6rem; cursor: pointer; line-height: 1;
}

/* Motion: elements with .reveal fade up when scrolled into view (JS adds .in) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i, 0) * 50ms); }
  .reveal.in { opacity: 1; transform: none; }
  .hero__text > * { animation: rise .7s ease both; }
  .hero__text > :nth-child(2) { animation-delay: .06s } .hero__text > :nth-child(3) { animation-delay: .12s }
  .hero__text > :nth-child(4) { animation-delay: .18s } .hero__text > :nth-child(5) { animation-delay: .24s }
  .hero__media { animation: rise .8s ease both .15s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
/* Subtle background glow behind the hero */
.hero { position: relative; }
.hero::before { content: ""; position: absolute; inset: -10% 0 auto auto; width: 60vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(232, 131, 107, .16), transparent 70%); pointer-events: none; }
html, body { overflow-x: clip; }
main { overflow-x: clip; }
