/* Rapture landing. Colours are THE LOCK values from the brand rules. */
:root {
  --void: #0A0706;
  --ground: #15110F;
  --shadow: #272727;
  --cove: #F6E1CA;
  --gold: #C9A24E;
  --cream: #F2E8D5;
  --text: rgba(242, 232, 213, .78);
  --sans: Montserrat, Prompt, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Trirong, Georgia, serif;
  --track: .16em;
}
html[lang="th"] {
  --sans: Prompt, Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Trirong, "Cormorant Garamond", Georgia, serif;
  --track: 0; /* no letter spacing on Thai */
}

/* Both languages live in the page; only the active one shows. */
html[lang="en"] [data-l="th"],
html[lang="th"] [data-l="en"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--void); }
body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
html[lang="th"] body { line-height: 1.8; }
/* Fine film grain over everything, THE LOCK rule 3. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.55'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; }
p, ul, h1, h2, h3, address { margin: 0; padding: 0; font-style: normal; font-weight: inherit; font-size: inherit; }
ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* Top bar */
.top {
  position: absolute;
  z-index: 10;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 3vw, 40px);
}
.top-place {
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
html[lang="th"] .top-place { font-size: 14px; font-weight: 400; }
.lang { display: flex; gap: 2px; }
.lang button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(242, 232, 213, .55);
  transition: color .2s;
}
.lang button:hover { color: var(--cream); }
html[lang="en"] .lang [data-set-lang="en"],
html[lang="th"] .lang [data-set-lang="th"] { color: var(--gold); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 48vh;
  min-height: 48svh;
  overflow: hidden;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  animation: settle 2.4s ease-out both;
}
/* The photo falls away into the void, so type never sits on a lit area. */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--void), rgba(10, 7, 6, 0) 24%);
}
.hero-copy {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px clamp(28px, 5vh, 56px);
  text-align: center;
}
.hero-heart {
  width: clamp(44px, 5vw, 80px);
  height: auto;
  margin-bottom: clamp(10px, 2vh, 22px);
}
.wordmark img {
  width: clamp(220px, 28vw, 430px);
  height: auto;
}
@media (min-width: 900px) {
  .hero { flex-direction: row-reverse; }
  .hero-photo { flex: 0 0 58%; min-height: 100vh; min-height: 100svh; }
  .hero-photo img { object-position: 50% 30%; }
  .hero-photo::after {
    background:
      linear-gradient(to right, var(--void), rgba(10, 7, 6, 0) 12%),
      linear-gradient(to top, var(--void), rgba(10, 7, 6, 0) 10%);
  }
  .hero-copy {
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: center;
    padding: 72px clamp(28px, 2vw, 40px) 40px clamp(32px, 6vw, 96px);
    text-align: left;
  }
}
.line {
  margin-top: clamp(14px, 2.4vh, 24px);
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(26px, 2.5vw, 40px);
  line-height: 1.16;
}
html[lang="th"] .line { font-size: clamp(22px, 2vw, 32px); font-weight: 300; line-height: 1.4; }
.sub {
  margin-top: clamp(14px, 2.4vh, 22px);
  color: var(--gold);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
html[lang="th"] .sub { font-size: clamp(15px, 1.2vw, 18px); font-weight: 400; }
.hero-copy > * { animation: rise .9s ease-out .5s both; }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo img, .hero-copy > * { animation: none; }
}

/* Sections */
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.sec {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: clamp(44px, 7vw, 84px) 0;
  border-top: 1px solid var(--shadow);
}
@media (min-width: 720px) {
  .sec { grid-template-columns: 180px 1fr; gap: 40px; }
}
.label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--track);
  line-height: 1.5;
  text-transform: uppercase;
}
html[lang="th"] .label { font-size: 15px; font-weight: 400; }
@media (min-width: 720px) { .label { padding-top: .5em; } }
.statement {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
}
html[lang="th"] .statement { font-size: clamp(30px, 4.2vw, 50px); font-weight: 300; line-height: 1.35; }
.body { max-width: 56ch; font-size: clamp(16px, 1.3vw, 18px); }

.facts { margin-top: 24px; max-width: 56ch; }
.facts li + li { margin-top: 4px; }
.facts b { color: var(--cream); font-weight: 500; }

.address { color: var(--cream); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; }
.link {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s;
}
.link:hover { color: var(--cream); }
.address + .link, .address + .address + .link { display: inline-block; margin-top: 14px; padding: 6px 0; }
.contact { margin-top: 14px; font-size: clamp(16px, 1.6vw, 20px); overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.socials a { display: inline-block; padding: 8px 0; }
.socials a[hidden] { display: none; }
.socials li:has(> a[hidden]) { display: none; }

/* Footer */
.foot { border-top: 1px solid var(--shadow); background: var(--ground); }
.foot-in { padding-top: 36px; padding-bottom: 36px; font-size: 13px; line-height: 1.7; color: rgba(242, 232, 213, .66); }
.foot-heart { width: 30px; height: auto; margin-bottom: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 2px 22px; margin-top: 14px; }
.foot-links a {
  display: inline-block;
  padding: 7px 0;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.foot-links a:hover { color: var(--cream); }
.foot-small { margin-top: 12px; font-size: 12px; }

/* Policies page */
.top-page { position: relative; border-bottom: 1px solid var(--shadow); }
.top-home { display: block; padding: 8px 0; }
.top-home img { width: 128px; height: auto; }
.policy { max-width: 760px; padding-top: 32px; padding-bottom: 72px; }
.updated { font-size: 13px; color: rgba(242, 232, 213, .62); }
.policy section { padding: 34px 0 40px; scroll-margin-top: 12px; }
.policy section + section { border-top: 1px solid var(--shadow); }
.policy h1, .policy h2 {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.12;
  margin-bottom: 8px;
}
html[lang="th"] .policy h1, html[lang="th"] .policy h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 300; line-height: 1.4; }
.policy h3 { margin-top: 24px; color: var(--gold); font-size: 15px; font-weight: 500; }
.policy p { margin-top: 4px; }
