/* ACHALA page styles: loaded after tailwind.css, so these win over Tailwind utilities. Sections appear in page order. */

/* ---- Launch polish: demo badge, skip link, header contrast ---- */
.demo-badge {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 60;
  padding: 8px 14px;
  border-radius: 999px;
  background: #22160f;
  color: #faf6ef;
  font:
    600 12px/1.2 Raleway,
    'Noto Sans Thai',
    system-ui,
    sans-serif;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  max-width: calc(100vw - 100px);
}
.ac-skip {
  position: absolute;
  left: 12px;
  top: -72px;
  z-index: 100;
  padding: 12px 18px;
  background: #22160f;
  color: #faf6ef;
  font:
    600 13px/1 Raleway,
    'Noto Sans Thai',
    system-ui,
    sans-serif;
  border-radius: 999px;
  text-decoration: none;
  transition: top 0.15s ease;
}
.ac-skip:focus {
  top: 12px;
  outline: 3px solid #ffe3c2;
  outline-offset: 2px;
}
#main:focus {
  outline: none;
}
/* nav links on the pale scrolled header: 7.4:1 instead of 4.26:1 */
#site-header.bg-ac-bg :is(nav a, #mobile-menu a:not(.ac-cta)) {
  color: #7a3f27 !important;
}
#site-header.bg-ac-bg :is(#lang-toggle-btn, #lang-current-label, #lang-toggle-btn i) {
  color: #7a3f27 !important;
}
@media (prefers-reduced-motion: reduce) {
  .ac-skip {
    transition: none;
  }
}

/* ---- #site-header ---- */
/* top-bar logo: same mark as the welcome screen (Clay mountain, Raleway / Noto Sans Thai lettering that follows the bar's text colour: cream on the dark bar, dark once the bar turns light) */
#site-header .hl-m {
  width: 58px;
  height: auto;
  display: block;
  flex: none;
}
#site-header .hl-t {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Raleway', 'Noto Sans Thai', system-ui, sans-serif;
  color: inherit;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
#site-header .hl-w {
  font-size: 19px;
  letter-spacing: 0.2em;
  font-weight: 500;
}
#site-header .hl-s {
  font-size: 8.5px;
  letter-spacing: 0.36em;
  font-weight: 500;
}
html[lang='th'] #site-header .hl-t {
  font-family: 'Noto Sans Thai', system-ui, sans-serif;
}
html[lang='th'] #site-header .hl-w {
  font-size: 17px;
  letter-spacing: 0.08em;
}
html[lang='th'] #site-header .hl-s {
  font-size: 9px;
  letter-spacing: 0.12em;
}

/* ---- #reservation-pill-minimized ---- */
/* Welcome screen: fonts Raleway (English) / Noto Sans Thai (Thai); logo colours Ripe Cherry Clay + cream */
#hero {
  --wl-f: 'Raleway', 'Noto Sans Thai', system-ui, sans-serif;
  --wl-s: 0.95;
  --lw: clamp(220px, 28vw, 400px);
}
html[lang='th'] #hero {
  --wl-s: 1;
}
#hero .wl-logo {
  width: var(--lw);
  display: block;
}
#hero .wl-logo svg {
  display: block;
  width: 100%;
  height: auto;
}
#hero .wl-t {
  display: block;
  text-align: center;
  color: #f2eddf;
  white-space: nowrap;
  line-height: 1;
  font-family: var(--wl-f);
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
#hero .wl-t span {
  display: inline-block;
}
#hero .wl-w {
  margin-top: calc(var(--lw) * 0.115);
  letter-spacing: 0.2em;
  padding-left: 0.2em;
}
#hero .wl-s {
  margin-top: calc(var(--lw) * 0.06);
  letter-spacing: 0.38em;
  padding-left: 0.38em;
}
html[lang='th'] #hero .wl-w {
  letter-spacing: 0.08em;
  padding-left: 0.08em;
}
html[lang='th'] #hero .wl-s {
  letter-spacing: 0.12em;
  padding-left: 0.12em;
}
#hero .wl-ph,
#hero .wl-df {
  font-family: var(--wl-f);
  font-style: italic;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: #f6f2e8;
  margin: 0;
}
html[lang='th'] #hero .wl-ph,
html[lang='th'] #hero .wl-df {
  font-style: normal;
}
#hero .wl-ph {
  margin-top: clamp(12px, 1.5vw, 22px);
  font-size: calc(var(--wl-s) * clamp(13px, 0.95vw, 18px));
  letter-spacing: 0.05em;
}
#hero .wl-df {
  margin-top: 8px;
  font-size: calc(var(--wl-s) * clamp(11px, 0.72vw, 14px));
  max-width: 60ch;
  opacity: 0.8;
  transition: opacity 2.2s;
}
#hero .wl-df b {
  font-weight: 500;
  font-style: inherit;
  transition:
    color 1.6s,
    text-shadow 1.6s;
}
#hero .wl-cue {
  margin: 22px 0 0;
  font: 500 11px/1 var(--wl-f);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #a9b3c8;
}
html[lang='th'] #hero .wl-cue {
  letter-spacing: 0.08em;
  font-size: 12px;
}
#hero .wl-df.on {
  opacity: 1;
}
#hero .wl-df.on b {
  color: #fff;
  text-shadow: 0 0 18px rgba(242, 239, 232, 0.45);
}

/* ---- #villa ---- */
/* #villa restyle: full-bleed strips + split panel (layout only, current palette) */
#villa .vz-strips {
  display: flex;
  gap: 2px;
  height: min(78vh, 720px);
  min-height: 440px;
  background: var(--ac-bg);
}
#villa .vz-strip {
  position: relative;
  flex: 1 1 0;
  min-width: 48px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
#villa .vz-strip:hover,
#villa .vz-strip:focus {
  flex: 7 1 0;
  outline: none;
}
#villa .vz-strip:focus-visible {
  outline: 2px solid var(--ac-focus);
  outline-offset: -4px;
}
#villa .vz-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#villa .vz-cap {
  min-width: 320px;
  padding: 24px 28px;
}
#villa .vz-strip:hover .vz-cap,
#villa .vz-strip:focus .vz-cap {
  opacity: 1;
}
#villa .vz-split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  margin-top: 2px;
  background: var(--ac-card);
  color: var(--ac-on-card);
}
#villa .vz-split-img {
  position: relative;
  min-height: 560px;
  background: var(--ac-strip);
  overflow: hidden;
}
#villa .vz-split-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
#villa .vz-split-body {
  display: grid;
  gap: 28px;
  align-content: center;
  padding: clamp(36px, 6vw, 88px) max(24px, env(safe-area-inset-right, 0px)) clamp(36px, 6vw, 88px)
    clamp(32px, 5vw, 80px);
}
@media (max-width: 800px) {
  #villa .vz-strips {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: 460px;
    min-height: 0;
  }
  #villa .vz-strip {
    flex: 0 0 82vw;
    scroll-snap-align: start;
  }
  #villa .vz-strip:hover,
  #villa .vz-strip:focus {
    flex: 0 0 82vw;
  }
  #villa .vz-cap {
    opacity: 1 !important;
    min-width: 0;
    padding: 20px;
  }
}
@media (max-width: 860px) {
  #villa .vz-split {
    grid-template-columns: 1fr;
  }
  #villa .vz-split-img {
    min-height: 320px;
  }
  #villa .vz-split-body {
    padding-left: max(24px, env(safe-area-inset-left, 0px));
  }
}
@media (prefers-reduced-motion: reduce) {
  #villa .vz-strip {
    transition: none;
  }
}

/* #villa interactive sketch: tap a dot to open that spot's photos (slideshow) */
#villa .vz-split-img.hs-stage {
  background: #f0ece3;
}
#villa .hs-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
#villa .hs-stage .hs-sk {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: fill;
}
/* soft edges: the sketch paper fades into the background instead of ending in a hard line */
#villa .hs-stage .hs-sk {
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

#villa .hs-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #9c5b3b;
  border: 1.5px solid rgba(250, 246, 239, 0.5);
  padding: 0;
  cursor: pointer;
  animation: hsPulse 2.6s infinite;
}
#villa .hs-dot::after {
  content: '';
  position: absolute;
  inset: -10px;
}
#villa .hs-dot:focus-visible {
  outline: 2px solid #22160f;
  outline-offset: 3px;
}
#villa .hs-dot.on {
  background: #22160f;
  animation: none;
  transform: scale(1.2);
}
@keyframes hsPulse {
  70% {
    box-shadow: 0 0 0 9px rgba(156, 91, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(156, 91, 59, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  #villa .hs-dot {
    animation: none;
  }
}

/* ---- #cf-room-wrap ---- */
/* footer logo: identical to the top bar and welcome screen (Clay mountain, Raleway / Noto Sans Thai lettering in the footer text colour) */
footer .hl-m {
  width: 58px;
  height: auto;
  display: block;
  flex: none;
}
footer .hl-t {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Raleway', 'Noto Sans Thai', system-ui, sans-serif;
  color: inherit;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
footer .hl-w {
  font-size: 19px;
  letter-spacing: 0.2em;
  font-weight: 500;
}
footer .hl-s {
  font-size: 8.5px;
  letter-spacing: 0.36em;
  font-weight: 500;
}
html[lang='th'] footer .hl-t {
  font-family: 'Noto Sans Thai', system-ui, sans-serif;
}
html[lang='th'] footer .hl-w {
  font-size: 17px;
  letter-spacing: 0.08em;
}
html[lang='th'] footer .hl-s {
  font-size: 9px;
  letter-spacing: 0.12em;
}

/* ---- #cf-room-wrap ---- */
#form-popup .fp-card {
  border-top: 4px solid #58442c;
}
#form-popup[data-kind='problem'] .fp-card {
  border-top-color: #9c5b3b;
}
#form-popup .fp-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #faf6ef;
  background: #58442c;
  flex: none;
}
#form-popup[data-kind='problem'] .fp-icon {
  background: #9c5b3b;
}
#contact-form [aria-invalid='true'],
#booking-form [aria-invalid='true'] {
  border-color: #9c5b3b !important;
}
#contact-form button[disabled],
#booking-form button[disabled] {
  opacity: 0.6;
  cursor: wait;
}
/* the "book a stay" line in the contact card: opens the booking dialog */
#contact-form .cf-book {
  background: color-mix(in srgb, #58442c 6%, #faf6ef);
}

/* ---- #booking-dialog ---- */
.bk-backdrop {
  background: rgba(34, 22, 15, 0.55);
}
html.bk-open {
  overflow: hidden;
}
#booking-form {
  border-top: 4px solid #58442c;
}
#booking-form .bk-close {
  color: #3b2418;
}
#booking-form .bk-close:hover {
  background: color-mix(in srgb, #58442c 10%, transparent);
}
#booking-form .bk-close:focus-visible {
  outline: 2px solid #9c5b3b;
  outline-offset: 2px;
}
/* the hidden "website" field: a trap for spam robots, out of sight and out of reach for people */
.ac-trap {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- #view ---- */
#view {
  overflow-x: clip;
}
#view .gfilmwrap {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  --film: #ded2c1;
}
#view .gfilm {
  position: relative;
  overflow: hidden;
  background: var(--film);
  border-top: 1px solid #d3c6b4;
  border-bottom: 1px solid #d3c6b4;
  box-shadow: 0 18px 40px -26px rgba(34, 22, 15, 0.55);
}
#view .gfilm:focus-visible {
  outline: 2px solid #9c5b3b;
  outline-offset: -4px;
}
#view .gfilm:before,
#view .gfilm:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 22px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.92;
  background-repeat: repeat-x;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='22'><rect x='8' y='5' width='14' height='11' rx='3' fill='%233B2418'/></svg>");
}
#view .gfilm:before {
  top: 6px;
}
#view .gfilm:after {
  bottom: 6px;
}
#view .greel {
  display: flex;
  flex-direction: row;
  gap: 14px;
  position: relative;
  padding: 34px 0 62px;
  --fh: clamp(220px, calc(100vh - 340px), 600px);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
}
/* The slow drift is a CSS animation, so the browser runs it on the graphics side and it stays smooth even when the page is busy. JS only sets its length (--gloop, --gdur). */
@keyframes gscroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--gloop)), 0, 0);
  }
}
#view .greel.gdrift {
  animation: gscroll var(--gdur, 1000s) linear infinite;
  transition: none;
}
#view .gheld .greel,
#view .goff .greel {
  animation-play-state: paused;
}
#view .gcell {
  position: relative;
  flex: 0 0 auto;
  height: var(--fh);
  aspect-ratio: var(--ar);
  opacity: 0.5;
  transform: scale(0.94);
  transition:
    opacity 0.5s,
    transform 0.5s;
  cursor: pointer;
}
#view .gcell.on {
  opacity: 1;
  transform: scale(1);
}
#view .gcell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  background: #2a1c14;
  user-select: none;
  -webkit-user-drag: none;
}
#view .gnum {
  position: absolute;
  left: 2px;
  bottom: -24px;
  font-size: 9px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #5e3a30;
  opacity: 0.9;
  white-space: nowrap;
  pointer-events: none;
}
#view .gocap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 30px 14px 10px;
  text-align: center;
  pointer-events: none;
  color: #faf6ef !important;
  background: linear-gradient(0deg, rgba(34, 22, 15, 0.55), rgba(34, 22, 15, 0));
  font-family: 'Dancing Script', 'Segoe Script', 'Brush Script MT', cursive;
  font-weight: 500;
  font-size: clamp(14px, 1.45vw, 19px);
  line-height: 1.1;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  border-radius: 0 0 4px 4px;
}
#glb {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(34, 22, 15, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 64px;
}
#glb.show {
  display: flex;
}
/* one frame size for every photo, whatever its shape: a round-cornered box, the photo fitted inside, a blurred copy behind it */
#glb .glf {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #22160f;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.6);
  width: min(calc(100vw - 32px), 1040px);
  height: min(calc(100vh - 128px), calc((100vw - 32px) * 0.667), 700px);
}
@media (orientation: portrait) {
  #glb .glf {
    width: min(calc(100vw - 32px), 620px);
    height: min(calc(100vh - 128px), calc((100vw - 32px) * 1.2), 760px);
  }
}
#glb .glf img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#glb .glf .glbg {
  object-fit: cover;
  filter: blur(22px) brightness(0.62);
  transform: scale(1.15);
}
#glb .glf .glfg {
  object-fit: contain;
}
#glb .glempty {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: #e6ddcf;
  color: #7a6a5c;
  font-size: 14px;
  letter-spacing: 0.08em;
}
#glb .glf.empty .glempty {
  display: flex;
}
#glb .glf.empty img {
  display: none;
}
#glb .glcap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  color: #ede6da;
  font-size: 12px;
  letter-spacing: 0.08em;
}
#glb button {
  position: absolute;
  background: rgba(250, 246, 239, 0.12);
  color: #faf6ef;
  border: 0;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 22px;
  cursor: pointer;
}
#glb button:hover {
  background: rgba(250, 246, 239, 0.25);
}
#glb .glc {
  top: 12px;
  right: 12px;
}
#glb .glp {
  left: 12px;
  top: 50%;
}
#glb .gln {
  right: 12px;
  top: 50%;
}
@media (prefers-reduced-motion: reduce) {
  #view .greel,
  #view .gcell {
    transition: none;
  }
}

/* ---- #coming-soon ---- */
#coming-soon {
  background-color: #9c5b3b !important;
}
#coming-soon span.bg-\[\#3B2418\] {
  background-color: #9c5b3b !important;
  color: #faf6ef !important;
}
#coming-soon div.bg-\[\#3B2418\] {
  background-color: #3b2418 !important;
  border-color: #6b5a4e !important;
  border-radius: 16px !important;
}
#coming-soon h2,
#coming-soon h3 {
  font-family: Raleway, 'Noto Sans Thai', system-ui, sans-serif;
  font-weight: 400;
}
#coming-soon h2 {
  letter-spacing: -0.01em;
}
#coming-soon .font-mono {
  font-family: Raleway, 'Noto Sans Thai', system-ui, sans-serif;
  letter-spacing: 0.08em;
}
html:lang(th) #coming-soon * {
  font-family: 'Noto Sans Thai', Raleway, system-ui, sans-serif;
}
/* Coming Soon: one dwelling at a time, the next two peek out underneath, and the arrow loops */
#coming-soon .cs-head {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 64px;
  align-items: flex-end;
  margin-bottom: 44px;
}
#coming-soon .cs-head-l {
  flex: 1 1 380px;
  min-width: 0;
}
#coming-soon .cs-head-r {
  flex: 1.2 1 420px;
  min-width: 0;
}
#coming-soon .cs-stage {
  position: relative;
  padding-bottom: 64px;
  margin-bottom: 40px;
}
#coming-soon .cs-deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
#coming-soon .cs-card {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  background: #faf6ef;
  color: #3b2418;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 -1px 0 rgba(59, 36, 24, 0.18),
    0 10px 28px rgba(34, 22, 15, 0.22);
  transform-origin: 50% 100%;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
#coming-soon .cs-card[data-pos='0'] {
  transform: none;
  z-index: 3;
}
#coming-soon .cs-card[data-pos='1'] {
  transform: translateY(28px) scale(0.965);
  z-index: 2;
  pointer-events: none;
}
#coming-soon .cs-card[data-pos='2'] {
  transform: translateY(56px) scale(0.93);
  z-index: 1;
  pointer-events: none;
}
#coming-soon .cs-inner {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  transition:
    opacity 0.45s ease,
    visibility 0.45s;
}
#coming-soon .cs-card:not([data-pos='0']) .cs-inner {
  opacity: 0;
  visibility: hidden;
}
#coming-soon .cs-pic {
  flex: 1.3 1 460px;
  min-width: 0;
  min-height: 440px;
  background: #eee9e0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
#coming-soon .cs-pic img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}
#coming-soon .cs-txt {
  flex: 1 1 380px;
  min-width: 0;
  padding: 44px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
#coming-soon .cs-kick {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8a4b30;
}
#coming-soon .cs-card h3 {
  margin: 0;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.1;
  color: #22160f;
}
#coming-soon .cs-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4a3b33;
}
#coming-soon .cs-specs {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
#coming-soon .cs-specs li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
}
#coming-soon .cs-ic {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ede0d2;
  color: #8a4b30;
  display: flex;
  align-items: center;
  justify-content: center;
}
#coming-soon .cs-ic svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#coming-soon .cs-specs b {
  font-weight: 600;
  display: block;
}
#coming-soon .cs-v {
  color: #4a3b33;
}
#coming-soon .cs-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d9cdbb;
  padding-top: 14px;
  margin-top: 4px;
  font-size: 13px;
  color: #5e3a30;
}
#coming-soon .cs-foot strong {
  color: #3b2418;
  font-weight: 600;
}
#coming-soon .cs-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #8a4b30;
  color: #faf6ef;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 22px;
  min-height: 44px;
  border-radius: 999px;
}
#coming-soon .cs-cta::after {
  content: '→';
}
#coming-soon .cs-cta:hover {
  background: #6b3a26;
}
#coming-soon .cs-tab {
  position: absolute;
  left: 28px;
  bottom: 0;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  color: #5e3a30;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
}
#coming-soon .cs-tab:hover {
  text-decoration: underline;
}
#coming-soon .cs-card[data-pos='0'] .cs-tab {
  opacity: 0;
  visibility: hidden;
}
#coming-soon .cs-go {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid #9c5b3b;
  background: #8a4b30;
  color: #faf6ef;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#coming-soon .cs-go:hover {
  background: #6b3a26;
}
#coming-soon .cs-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: 0;
}
#coming-soon .cs-go:focus-visible,
#coming-soon .cs-tab:focus-visible,
#coming-soon .cs-cta:focus-visible {
  outline: 3px solid #ffe3c2;
  outline-offset: 3px;
}
#coming-soon .cs-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
#coming-soon .cs-consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #e4d6c6;
  cursor: pointer;
}
#coming-soon .cs-consent label {
  font-size: 12px;
  line-height: 1.6;
  color: #ede6da;
  cursor: pointer;
}
#coming-soon .cs-consent input:focus-visible {
  outline: 3px solid #ffe3c2;
  outline-offset: 2px;
}
@media (max-width: 640px) {
  #coming-soon .cs-txt {
    padding: 32px 24px;
  }
  #coming-soon .cs-pic {
    padding: 24px;
    min-height: 0;
  }
  #coming-soon .cs-card h3 {
    font-size: 34px;
  }
  #coming-soon .cs-tab {
    left: 20px;
  }
  #coming-soon .cs-go {
    left: auto;
    right: 20px;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #coming-soon .cs-card,
  #coming-soon .cs-inner {
    transition: none;
  }
}
#coming-soon [style*='background-color'] {
  border-radius: 14px !important;
}
#coming-soon input,
#coming-soon select {
  border-radius: 12px;
}
#coming-soon button[type='submit'] {
  border-radius: 999px;
}

/* ---- Hero runway: how far the welcome stays pinned while the mountain rises (about 2 screens) ---- */
.hero-runway {
  height: 200vh;
}

/* ---- Welcome scene layers move on scroll: keep them on the graphics card so scrolling stays smooth ---- */
#hero-real,
#hero-water-layer,
#welcome {
  will-change: transform, opacity;
}
