@font-face {
  font-family: "Cosen";
  src: url("./fonts/CosenLight/font.woff2") format("woff2"), url("./fonts/CosenLight/font.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cosen";
  src: url("./fonts/CosenLightItalic/font.woff2") format("woff2"), url("./fonts/CosenLightItalic/font.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Cosen";
  src: url("./fonts/Cosen.woff2") format("woff2"), url("./fonts/CosenRegular/font.woff2") format("woff2"), url("./fonts/Cosen.woff") format("woff"), url("./fonts/CosenRegular/font.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cosen";
  src: url("./fonts/CosenRegularItalic/font.woff2") format("woff2"), url("./fonts/CosenRegularItalic/font.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Cosen";
  src: url("./fonts/CosenMedium/font.woff2") format("woff2"), url("./fonts/CosenMedium/font.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cosen";
  src: url("./fonts/CosenMediumItalic/font.woff2") format("woff2"), url("./fonts/CosenMediumItalic/font.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Cosen";
  src: url("./fonts/CosenBold/font.woff2") format("woff2"), url("./fonts/CosenBold/font.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cosen";
  src: url("./fonts/CosenBoldItalic/font.woff2") format("woff2"), url("./fonts/CosenBoldItalic/font.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --pine: #2e3d30;
  --star-white: #efefe8;
  --cream: #d2c2ac;
  --black: #18181a;
  --olive: #6b6623;
  --line: rgba(46, 61, 48, 0.2);
  --light-line: rgba(239, 239, 232, 0.2);
  --serif: "Cosen", Didot, "Times New Roman", serif;
  --sans: "Cosen", "IBM Plex Sans Thai", Arial, sans-serif;
  --shell: min(1320px, calc(100vw - 96px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--star-white);
}

body {
  margin: 0;
  color: var(--black);
  background: var(--star-white);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  line-height: 1.8;
}

h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 400;
}

.section {
  position: relative;
  width: var(--shell);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow.accent {
  color: var(--olive);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--pine);
  background: var(--cream);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: 76px;
  display: grid;
  grid-template-columns: 220px 1fr 160px;
  align-items: center;
  padding: 0 42px;
  color: var(--star-white);
  background: var(--pine);
  border-bottom: 1px solid var(--light-line);
}

.brand img {
  width: 156px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 38px);
}

.site-nav>a:not(.nav-cta) {
  position: relative;
  font-size: 0.875rem;
  opacity: 0.84;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.site-nav>a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--cream);
  transition: right 0.3s ease;
}

.site-nav>a:not(.nav-cta):hover::after,
.site-nav>a:not(.nav-cta):focus-visible::after,
.site-nav>a:not(.nav-cta).active::after {
  right: 0;
}

.site-nav>a:not(.nav-cta):hover,
.site-nav>a:not(.nav-cta):focus-visible,
.site-nav>a:not(.nav-cta).active {
  opacity: 1;
  color: var(--cream);
}

.nav-cta {
  padding: 12px 18px;
  color: var(--cream);
  border: 1px solid rgba(210, 194, 172, 0.64);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.nav-cta.active,
.site-nav>a.nav-cta.active {
  background: var(--cream);
  color: var(--pine);
  border-color: var(--cream);
}

.nav-cta.active:hover,
.site-nav>a.nav-cta.active:hover {
  background: var(--cream);
  color: var(--pine);
  opacity: 0.92;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.language {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.language i {
  width: 20px;
  height: 1px;
  background: rgba(239, 239, 232, 0.36);
}

.language .language-link {
  transition: .3s;
}

.language .language-link:hover,
.language .language-link.active {
  font-weight: 700;
  font-size: 16px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.25s ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  height: calc(100vh - 76px);
  min-height: 620px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--pine);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(46, 61, 48, .18), rgba(46, 61, 48, .02) 62%, rgba(46, 61, 48, .15));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.glass-panel {
  position: absolute;
  top: 50%;
  left: max(48px, calc((100vw - 1320px) / 2));
  z-index: 2;
  width: min(620px, 50vw);
  padding: 35px;
  color: var(--pine);
  background: linear-gradient(105deg, rgba(239, 239, 232, .84), rgba(239, 239, 232, .66) 72%, rgba(239, 239, 232, .34));
  border: solid rgba(239, 239, 232, .86);
  border-width: 1px 0 1px 1px;
  box-shadow: 0 14px 48px rgba(24, 24, 26, .1);
  backdrop-filter: blur(7px) saturate(.88);
  transform: translateY(-50%);
}

.hero-copy .eyebrow {
  margin-bottom: 20px;
  color: var(--olive);
}

.hero-copy h1 {
  max-width: 560px;
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.hero-thai {
  max-width: 520px;
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 400;
}

.hero-values {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
  border-block: 1px solid rgba(46, 61, 48, .26);
}

.hero-values span {
  padding: 10px 18px 10px 0;
  margin-right: 18px;
  font-size: 0.8rem;
  letter-spacing: .04em;
}

.hero-values span+span {
  padding-left: 18px;
  border-left: 1px solid rgba(46, 61, 48, .26);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  color: var(--olive);
  font-size: inherit;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.text-link.light {
  color: var(--cream);
}

.hero-form {
  position: absolute;
  top: 50%;
  right: max(48px, calc((100vw - 1320px) / 2));
  z-index: 3;
  width: min(390px, 31vw);
  transform: translateY(-50%);
}

.lead-form {
  padding: 32px;
  color: var(--star-white);
  background: rgba(46, 61, 48, .95);
  border: 1px solid rgba(210, 194, 172, .54);
  box-shadow: 0 24px 80px rgba(24, 24, 26, .18);
  backdrop-filter: blur(16px);
}

.form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.form-heading .eyebrow {
  margin-bottom: 8px;
  color: var(--cream);
}

.form-heading h2 {
  font-family: var(--sans);
  font-size: 1.45rem;
  line-height: 1.35;
}

.form-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(239, 239, 232, .28);
  border-radius: 50%;
  font-family: var(--sans);
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid label>span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-grid input,
.form-grid select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: var(--star-white);
  background: rgba(239, 239, 232, .06);
  border: 1px solid rgba(239, 239, 232, .24);
  border-radius: 0;
  outline: 0;
}

.form-grid input::placeholder {
  color: rgba(239, 239, 232, .68);
}

.form-grid select {
  color: rgba(239, 239, 232, .75);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cream) 50%), linear-gradient(135deg, var(--cream) 50%, transparent 50%);
  background-position: calc(100% - 17px) 20px, calc(100% - 12px) 20px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.form-grid select option {
  color: var(--black);
  background: var(--star-white);
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: var(--cream);
  box-shadow: 0 0 0 1px var(--cream);
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: rgba(239, 239, 232, .7);
  font-size: .75rem;
  line-height: 1.55;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--cream);
}

.submit-button {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--pine);
  background: var(--cream);
  border: 1px solid var(--cream);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

.submit-button:hover,
.submit-button:focus-visible {
  color: var(--star-white);
  background: var(--olive);
  border-color: var(--olive);
}

.form-status {
  min-height: 1.45em;
  margin-top: 10px;
  color: var(--cream);
  font-size: .78rem;
}

.project {
  display: grid;
  grid-template-columns: 62% 1fr;
  gap: 2.5vw;
  align-items: center;
  padding-block: 50px;
}

.section-number {
  position: absolute;
  top: 78px;
  right: 0;
  color: rgba(46, 61, 48, .42);
  font-family: var(--sans);
  font-size: .85rem;
}

.media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-frame figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 9px 12px;
  color: var(--star-white);
  background: rgba(46, 61, 48, .82);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-copy h2,
.section-heading h2,
.residence-heading h2,
.gallery-heading h2,
.location-intro h2,
.faq-heading h2 {
  color: var(--black);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.project-copy .eyebrow {
  margin-bottom: 26px;
}

.project-copy h2 {
  margin-bottom: 34px;
}

.project-copy>p {
  color: rgba(24, 24, 26, .68);
}

.project-copy .lead {
  margin-bottom: 18px;
  color: var(--black);
  font-weight: 400;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.facts>div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts>.parking-fact {
  align-content: flex-start;
}

.facts strong {
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.facts span {
  margin: 0 0 0 3px;
  color: var(--olive);
}

.facts small {
  width: 100%;
  margin-top: 9px;
  color: rgba(46, 61, 48, .64);
}

.highlights {
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 0;
  color: var(--star-white);
  background: var(--pine);
}

.highlight-media {
  position: relative;
  min-height: 0;
}

.highlight-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-copy {
  padding: 50px max(48px, calc((100vw - 1320px) / 2)) 50px 50px;
}

.highlight-copy .eyebrow {
  margin-bottom: 24px;
  color: var(--cream);
}

.highlight-copy h2 {
  margin-bottom: 30px;
  color: var(--cream);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.highlight-copy>p {
  color: rgba(239, 239, 232, .72);
}

.highlight-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}

.highlight-list article {
  position: relative;
}

.highlight-list svg {
  color: var(--cream);
  stroke-width: 1.25px;
  width: 35px;
  height: 35px;
}

.highlight-list h3 {
  margin: 18px 0 10px;
  font-family: var(--sans);
  font-size: inherit;
  font-weight: 500;
  line-height: 1.35;
}

.highlight-list p {
  margin: 0;
  color: rgba(239, 239, 232, .55);
  font-size: inherit;
  line-height: 1.6;
}

.facilities {
  display: grid;
  grid-template-columns: 32% 1fr;
  column-gap: 6vw;
  row-gap: 40px;
  padding-block: 50px;
}

.section-heading .eyebrow {
  margin-bottom: 24px;
}

.section-heading>p {
  max-width: 430px;
  color: rgba(24, 24, 26, .64);
}

.facility-grid {
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr;
  align-self: start;
  display: grid;
}

.facility-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(150px, .75fr) minmax(220px, 1.25fr);
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.facility-card .card-index {
  display: none;
}

.facility-card svg {
  grid-column: 1;
  width: 35px;
  height: 35px;
  color: var(--olive);
  stroke-width: 1.2px;
}

.facility-card h3 {
  grid-column: 2;
  margin: 0;
  color: var(--pine);
  font-family: var(--sans);
  font-size: inherit;
  font-weight: 500;
}

.facility-card p {
  grid-column: 3;
  margin: 0;
  color: rgba(24, 24, 26, .62);
  font-size: inherit;
  line-height: 1.6;
}

.facility-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.facility-gallery figure {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--pine);
}

.facility-gallery-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.facility-gallery-button:focus-visible {
  outline: 2px solid var(--star-white);
  outline-offset: -4px;
}

.facility-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.facility-gallery figure:hover img {
  transform: scale(1.025);
}

.facility-gallery figcaption {
  pointer-events: none;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 48px 18px 16px;
  color: var(--star-white);
  background: linear-gradient(transparent, rgba(46, 61, 48, .84));
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.residences {
  padding-block: 50px;
  background: var(--star-white);
  border-block: 1px solid var(--line);
}

.residence-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 58px;
}

.residence-heading .eyebrow {
  margin-bottom: 20px;
}

.residence-heading>p {
  max-width: 450px;
  color: rgba(24, 24, 26, .64);
}

.residence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.residence-card {
  background: var(--star-white);
  border: 1px solid var(--line);
}

.residence-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.residence-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transition: transform .9s ease;
}

.residence-card:hover .residence-image img {
  transform: scale(1.025);
}

.residence-info {
  padding: 34px;
}

.type-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.type-title h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1;
}

.type-title span {
  color: var(--olive);
  font-size: .9rem;
}

.residence-info>p:not(.eyebrow) {
  margin: 20px 0;
  color: rgba(24, 24, 26, .64);
  min-height: 3.6em;
}

.residence-info ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.residence-info li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: rgba(24, 24, 26, .75);
  font-size: inherit;
}

.residence-info li svg {
  width: 25px;
  height: 25px;
  color: var(--cream);
  stroke-width: 1.2px;
  flex-shrink: 0;
}

.gallery {
  padding-block: 50px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 54px;
}

.carousel {
  position: relative;
}

.carousel-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  position: relative;
  display: flex;
  gap: 14px;
}

.gallery-card {
  position: relative;
  flex: 0 0 calc((100% - 42px)/4);
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  color: var(--star-white);
  background: var(--pine);
  border: 0;
  cursor: zoom-in;
  scroll-snap-align: start;
  text-align: left;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.025);
}

.gallery-card>span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 58px 22px 18px;
  background: linear-gradient(transparent, rgba(24, 24, 26, .76));
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gallery-card i {
  color: var(--cream);
  font-style: normal;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--pine);
  background: rgba(239, 239, 232, .95);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 10px 30px rgba(24, 24, 26, .14);
}

.carousel-arrow:hover {
  color: var(--star-white);
  background: var(--pine);
}

.carousel-arrow.prev {
  left: -24px;
}

.carousel-arrow.next {
  right: -24px;
}

.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--star-white);
  background: rgba(24, 24, 26, .98);
  border: 0;
}

.lightbox::backdrop {
  background: rgba(24, 24, 26, .78);
  backdrop-filter: blur(5px);
}

.lightbox>img {
  width: auto;
  height: auto;
  max-width: calc(100% - 60px);
  max-height: calc(100% - 118px);
  min-width: 0;
  min-height: 0;
  margin: 30px auto 88px;
  padding: 0;
  align-self: center;
  justify-self: center;
  object-fit: contain;
}

.lightbox>div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  background: linear-gradient(transparent, rgba(24, 24, 26, .98) 36%);
}

.lightbox>div span {
  color: var(--cream);
  font-size: .75rem;
  letter-spacing: .12em;
}

.lightbox h2 {
  font-family: var(--sans);
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 20px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  color: var(--star-white);
  background: rgba(24, 24, 26, .72);
  border: 1px solid rgba(239, 239, 232, .35);
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close svg {
  display: block;
}

.location {
  display: grid;
  grid-template-columns: 31% 1fr;
  gap: 7vw;
  padding-block: 50px;
}

.location-intro .eyebrow {
  margin-bottom: 22px;
}

.location-intro>p:last-child {
  margin-top: 26px;
  color: rgba(24, 24, 26, .64);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  border-top: 1px solid var(--line);
}

.location-grid article {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-content: start;
  row-gap: 2px;
  padding: 26px 20px 26px 0;
  border-bottom: 1px solid var(--line);
}

.location-grid article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.location-grid article:nth-child(even) {
  padding-left: 24px;
}

.location-grid span {
  grid-row: 1/3;
  color: var(--olive);
  font-family: var(--sans);
}

.location-grid svg {
  align-self: center;
  color: var(--olive);
  stroke-width: 1.2px;
  width: 35px;
  height: 35px;
}

.location-grid h3 {
  align-self: center;
  margin: 0;
  font-family: var(--sans);
  font-size: inherit;
  font-weight: 500;
}

.location-grid ul {
  grid-column: 2;
}

.location-grid li {
  position: relative;
  padding-left: 13px;
  color: rgba(24, 24, 26, .62);
  font-size: inherit;
  line-height: 1.85;
}

.location-grid li::before {
  content: "";
  position: absolute;
  top: .75em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--cream);
  border-radius: 50%;
}

.map-section {
  display: grid;
  grid-template-columns: 34% 66%;
  min-height: 460px;
  color: var(--star-white);
  background: var(--pine);
}

.map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 45px clamp(32px, 4vw, 64px) 45px clamp(48px, calc((100vw - 1320px) / 2), 140px);
}

.map-copy .eyebrow {
  margin-bottom: 22px;
  color: var(--cream);
}

.map-copy h2 {
  color: var(--cream);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.map-copy>p {
  margin: 26px 0 0;
  color: rgba(239, 239, 232, .66);
}

.map-image {
  min-height: 460px;
  overflow: hidden;
  background: var(--star-white);
}

.map-image img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  transition: transform .7s ease;
}

.map-image:hover img {
  transform: scale(1.015);
}

.faq {
  display: grid;
  grid-template-columns: 33% 1fr;
  gap: 8vw;
  padding-block: 50px;
}

.faq-heading .eyebrow {
  margin-bottom: 22px;
}

.faq-heading>p:last-child {
  margin-top: 26px;
  color: rgba(24, 24, 26, .62);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: flex-start;
  padding: 24px 4px 24px 0;
  color: var(--pine);
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  flex: 0 0 44px;
  color: var(--olive);
  font-family: var(--sans);
}

.faq-list summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--olive);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  transform-origin: center;
  transition: transform .3s cubic-bezier(0.2, 0, 0, 1), color .3s ease;
}

.faq-list details[open] summary {
  padding-bottom: 10px;
}

.faq-list details[open] summary::after {
  content: "+";
  transform: rotate(45deg);
  color: var(--pine);
}

.faq-list details p {
  padding: 0 44px 24px;
  color: rgba(24, 24, 26, .66);
}

.site-footer {
  padding: 50px max(48px, calc((100vw - 1320px)/2)) 34px;
  color: var(--star-white);
  background: var(--pine);
}

.footer-about {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: 7vw;
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--light-line);
}

.footer-about .eyebrow {
  margin-bottom: 24px;
  color: var(--cream);
}

.footer-about h2 {
  color: var(--cream);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.about-copy {
  display: grid;
  gap: 20px;
  align-content: start;
}

.about-copy>p {
  color: rgba(239, 239, 232, .72);
}

.team {
  margin-top: 22px;
  padding-top: 30px;
  border-top: 1px solid var(--light-line);
}

.team h3 {
  margin-bottom: 16px;
  color: var(--cream);
  font-size: 2.2rem;
}

.team ul {
  display: grid;
  gap: 8px;
}

.team li {
  position: relative;
  padding-left: 18px;
  color: rgba(239, 239, 232, .72);
}

.team li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--cream);
}

.footer-cta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--light-line);
}

.footer-cta img {
  width: 210px;
  height: auto;
}

.footer-cta p {
  color: rgba(239, 239, 232, .68);
  font-family: var(--sans);
  font-size: 1.4rem;
  line-height: 1.15;
}

.footer-cta .text-link {
  justify-self: end;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 25px 0;
  border-bottom: 1px solid var(--light-line);
}

.footer-contact>div+div {
  padding-left: 32px;
  border-left: 1px solid var(--light-line);
}

.footer-contact small {
  display: block;
  margin-bottom: 10px;
  color: rgba(239, 239, 232, .48);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-contact a,
.footer-contact p {
  color: rgba(239, 239, 232, .8);
}

.footer-social-links {
  display: flex;
  gap: 8px;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--light-line);
  border-radius: 50%;
}

.footer-social-links a:hover {
  color: var(--cream);
  background: rgba(210, 194, 172, .12);
  border-color: var(--cream);
}

.footer-social-links svg {
  flex-shrink: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding-top: 26px;
  color: rgba(239, 239, 232, .48);
  font-size: .75rem;
}

.footer-legal small {
  margin-left: auto;
  color: var(--cream);
  opacity: .72;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1180px) {
  :root {
    --shell: calc(100vw - 64px);
  }

  .site-header {
    grid-template-columns: 180px 1fr 100px;
    padding-inline: 28px;
  }

  .site-nav {
    gap: 16px;
  }

  .nav-cta {
    display: none;
  }

  .glass-panel {
    width: 52vw;
    padding-right: 36px;
  }

  .hero-form {
    width: 35vw;
  }

  .project {
    gap: 5vw;
    padding-block: 60px;
  }


  .highlights {
    grid-template-columns: 54% 46%;
  }

  .highlight-copy {
    padding-left: 46px;
  }

  .highlight-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .highlight-list article {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
  }

  .highlight-list svg {
    width: 30px;
    height: 30px;
  }

  .highlight-list h3 {
    margin: 0;
  }

  .highlight-list p {
    grid-column: 2;
  }

  .facilities {
    column-gap: 5vw;
    padding-block: 60px;
  }

  .residences,
  .gallery,
  .faq {
    padding-block: 60px;
  }

  .location-grid svg {
    width: 25px;
    height: 25px;
  }

  .map-image img {
    object-fit: cover;
  }

  .site-footer {
    padding: 50px max(48px, calc((100vw - 1320px) / 2)) 34px;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: calc(100vw - 40px);
  }

  .site-header {
    height: 64px;
    grid-template-columns: 1fr auto;
    padding-inline: 20px;
  }

  .brand img {
    width: 134px;
    height: 54px;
  }

  .header-actions {
    gap: 10px;
  }

  .language .language-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    padding: 14px 20px 24px;
    color: var(--star-white);
    background: var(--pine);
    border-top: 1px solid var(--light-line);
    box-shadow: 0 20px 40px rgba(24, 24, 26, .14);
  }

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

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-line);
    transition: color 0.25s ease, padding-left 0.25s ease, border-color 0.25s ease;
  }

  .site-nav>a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav>a:not(.nav-cta).active {
    color: var(--cream);
    font-weight: 600;
    padding-left: 10px;
    border-left: 3px solid var(--cream);
  }

  .hero {
    display: grid;
    height: auto;
    min-height: 0;
    background: var(--pine);
  }

  .hero-media {
    position: relative;
    grid-row: 1;
    height: min(68vh, 560px);
  }

  .hero-media img {
    object-position: 80% 58%;
  }

  .hero-form {
    position: relative;
    inset: auto;
    grid-row: 2;
    width: auto;
    padding: 20px;
    transform: none;
  }

  .lead-form {
    max-width: 640px;
    margin: 0 auto;
  }

  .glass-panel {
    position: relative;
    inset: auto;
    grid-row: 3;
    width: auto;
    padding: 38px 32px 34px;
    background: var(--star-white);
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
  }

  .project {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 20px;
  }

  .section-number {
    top: 42px;
  }


  .highlights {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .highlight-media {
    height: 520px;
  }

  .highlight-copy {
    padding: 40px 32px;
  }

  .highlight-list {
    margin-top: 42px;
  }

  .facilities {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 40px;
  }

  .facility-card {
    grid-template-columns: 42px minmax(145px, .75fr) minmax(200px, 1.25fr);
    gap: 18px;
  }

  .facility-gallery {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -28px;
  }

  .residences {
    padding-block: 40px;
  }

  .residence-heading {
    display: block;
    margin-bottom: 30px;
  }

  .residence-heading>p {
    margin-top: 24px;
  }

  .residence-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    padding-block: 40px;
  }

  .gallery-heading {
    margin-bottom: 30px;
  }

  .gallery-card {
    flex-basis: calc((100% - 14px)/2);
  }

  .carousel-arrow.prev {
    left: -18px;
  }

  .carousel-arrow.next {
    right: -18px;
  }

  .location {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 30px;
  }

  .map-section {
    grid-template-columns: 1fr;
  }

  .map-copy {
    padding: 40px 32px;
  }

  .map-image {
    min-height: auto;
    display: block;
  }

  .map-image img {
    height: auto;
    display: block;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 40px;
  }

  .site-footer {
    padding: 40px 28px 82px;
  }

  .footer-about {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .about-copy {
    padding-top: 0;
  }

  .footer-cta {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 15px;
  }

  .footer-cta .text-link {
    grid-column: 1/-1;
    justify-self: start;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px 0;
  }

  .footer-contact small {
    margin-bottom: 5px;
  }

  .footer-contact>div+div {
    padding: 15px 0 0;
    border-top: 1px solid var(--light-line);
    border-left: 0;
  }

  .footer-legal {
    padding-top: 15px;
  }

  .footer-legal small {
    flex-basis: 100%;
    margin-left: 0;
    padding: 30px 0;
  }

  .mobile-cta {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 80;
    display: flex;
    height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    color: var(--pine);
    background: var(--cream);
    border: 1px solid rgba(46, 61, 48, .24);
    box-shadow: 0 12px 40px rgba(24, 24, 26, .18);
    font-size: .85rem;
    font-weight: 500;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  .hero-media {
    height: 420px;
  }

  .hero-media img {
    object-position: 82% 58%;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
  }

  .glass-panel {
    padding: 30px 20px 28px;
  }

  .hero-thai {
    font-size: .9rem;
  }

  .hero-values span {
    flex: 1 1 45%;
    margin: 0;
    padding: 9px 10px 9px 0;
    font-size: .7rem;
  }

  .hero-values span+span {
    padding-left: 10px;
  }

  .hero-values span:last-child {
    flex-basis: 100%;
    padding-left: 0;
    border-top: 1px solid rgba(46, 61, 48, .26);
    border-left: 0;
  }

  .lead-form {
    padding: 24px 20px;
  }

  .form-heading h2 {
    font-size: 1.3rem;
  }

  .project {
    padding-block: 20px;
  }

  .section-number {
    top: 34px;
  }


  .project-copy h2,
  .section-heading h2,
  .residence-heading h2,
  .gallery-heading h2,
  .location-intro h2,
  .faq-heading h2,
  .highlight-copy h2 {
    font-size: 2.7rem;
  }

  .facts>div {
    padding: 15px 13px;
  }

  .facts strong {
    font-size: 1.65rem;
  }

  .highlight-media {
    height: 360px;
  }

  .highlight-copy {
    padding: 40px 20px;
  }

  .facilities {
    padding-block: 40px;
  }

  .facility-grid {
    grid-template-columns: 1fr;
  }

  .facility-card {
    grid-template-columns: 38px 1fr;
    gap: 10px 16px;
    padding: 10px 0;
  }

  .facility-card svg {
    grid-area: 1 / 1 / 3;
    width: 26px;
    height: 26px;
  }

  .facility-card h3 {
    grid-area: 1 / 2;
  }

  .facility-card p {
    grid-area: 2 / 2;
  }

  .facility-gallery {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .residences {
    padding-block: 40px;
  }

  .residence-heading {
    margin-bottom: 36px;
  }

  .residence-info {
    padding: 28px 22px;
  }

  .type-title h3 {
    font-size: 3rem;
  }

  .residence-info ul {
    grid-template-columns: 1fr;
  }

  .gallery {
    padding-block: 30px;
  }

  .gallery-heading {
    display: block;
    margin-bottom: 36px;
  }

  .gallery-heading h2 {
    text-align: left;
  }

  .carousel {
    width: calc(100vw - 48px);
  }

  .gallery-card {
    flex-basis: 100%;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-arrow.prev {
    left: -20px;
  }

  .carousel-arrow.next {
    right: -20px;
  }

  .lightbox>img {
    max-width: calc(100% - 36px);
    max-height: calc(100% - 96px);
    margin: 18px auto 78px;
  }

  .lightbox>div {
    padding: 20px 18px;
  }

  .location {
    padding-block: 20px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-grid article:nth-child(n) {
    padding: 15px 0;
    border-right: 0;
  }

  .map-copy {
    padding: 40px 20px;
  }


  .faq {
    padding-block: 40px;
  }

  .faq-list summary {
    font-size: .9rem;
  }

  .faq-list summary span {
    flex-basis: 34px;
  }

  .faq-list details p {
    padding: 0 12px 22px 34px;
    font-size: .9rem;
  }

  .footer-about h2 {
    font-size: 2.4rem;
  }

  .footer-cta {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer-cta .text-link {
    grid-column: auto;
    margin-top: 0px;
  }

  .footer-cta p {
    font-size: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* --------------------------------------------------------------------------
   Refinement layer — preserves the reference layout while improving
   responsive behavior, interaction feedback, accessibility and 300px–4K use.
   -------------------------------------------------------------------------- */
:root {
  --shell-max: 1320px;
  --gutter: clamp(16px, 3.2vw, 48px);
  --header-h: 76px;
}

html {
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

/* Typography: Cosen = English display, IBM Plex Sans Thai = Thai/UI. */
:where(h1, h2, h3, .serif, .footer-cta p) {
  font-family: "Cosen", Didot, "Times New Roman", serif;
  text-wrap: balance;
}

:where(p, a, button, input, select, summary, li) {
  overflow-wrap: anywhere;
}

/* Explicit interaction affordances. */
a,
button,
summary,
select,
input[type="checkbox"] {
  cursor: pointer;
}

input:not([type="checkbox"]),
textarea {
  cursor: text;
}

button:disabled {
  cursor: not-allowed;
}

/* Touch targets and visible keyboard focus. */
button,
a,
summary,
select,
input[type="checkbox"] {
  touch-action: manipulation;
}

:where(a, button, summary, input, select):focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

/* Anchored sections are aligned flush beneath the sticky header via html { scroll-padding-top: var(--header-h) }. */

/* Prevent accidental horizontal overflow from long grid children. */
:where(.project-copy, .highlight-copy, .section-heading, .residence-heading,
  .residence-info, .location-intro, .faq-heading, .about-copy,
  .facility-card > *, .location-grid article > *) {
  min-width: 0;
}

/* Interactive links get an explicit visual response. */
.text-link,
.nav-cta,
.footer-contact a,
.brand,
.mobile-cta,
.map-image {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease,
    opacity .25s ease, transform .25s ease;
}

.text-link:hover {
  opacity: .72;
}

.text-link:focus-visible {
  opacity: 1;
}

.nav-cta:hover {
  color: var(--star-white);
  background: rgba(210, 194, 172, .12);
}

/* Form usability. */
.form-grid input,
.form-grid select {
  min-width: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-grid input:hover,
.form-grid select:hover {
  border-color: rgba(239, 239, 232, .5);
}

.consent {
  cursor: pointer;
}

.consent input {
  cursor: pointer;
}

.submit-button {
  touch-action: manipulation;
}

.submit-button:disabled {
  opacity: .72;
}

/* Carousel: avoid arrow controls falling outside narrow viewports. */
.carousel {
  padding-inline: 0;
}

.carousel-viewport {
  overscroll-behavior-x: contain;
}

.gallery-card {
  min-width: 0;
}

/* Dialog: prevent background scrolling and contain touch overscroll. */
.lightbox {
  overscroll-behavior: contain;
  margin: 0;
}

.lightbox[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: stretch;
}

/* 4K+: keep the reference's restrained editorial composition rather than
   allowing text columns to become excessively wide. */
@media (min-width: 1800px) {
  :root {
    --shell: min(var(--shell-max), calc(100vw - 128px));
  }

  .site-header {
    padding-inline: max(42px, calc((100vw - 1680px) / 2));
  }

  .hero-copy {
    left: max(48px, calc((100vw - 1320px) / 2));
  }

  .hero-form {
    right: max(48px, calc((100vw - 1320px) / 2));
  }

  .project,
  .facilities,
  .location,
  .faq {
    max-width: var(--shell-max);
  }
}

/* Ultra-wide displays (2300px+): maintain ample editorial width and balanced proportions for split sections */
@media (min-width: 2300px) {
  .map-section {
    grid-template-columns: minmax(560px, 36%) 1fr;
  }

  .map-copy {
    padding: 84px clamp(40px, 4vw, 80px) 84px clamp(64px, 6vw, 180px);
  }

  .map-copy h2 {
    font-size: 3.5rem;
  }

  .map-copy>p {
    max-width: 520px;
    font-size: 1.125rem;
    line-height: 1.7;
  }

  .highlight-copy {
    padding-right: clamp(48px, 6vw, 180px);
  }
}

/* 900–1180px: protect the hero composition before switching to mobile. */
@media (min-width: 901px) and (max-width: 1180px) {
  .site-header {
    grid-template-columns: 160px minmax(0, 1fr) 72px;
  }

  .site-nav {
    gap: clamp(10px, 1.5vw, 18px);
  }

  .site-nav>a:not(.nav-cta) {
    font-size: .78rem;
  }

  .language {
    font-size: .68rem;
  }

  .hero {
    min-height: 680px;
  }

  .glass-panel {
    width: min(52vw, 600px);
    left: 32px;
  }

  .hero-form {
    width: min(35vw, 390px);
    right: 32px;
  }
}

/* Mobile header/nav and hero. */
@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    position: sticky;
  }

  .site-nav {
    z-index: 91;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
  }

  .menu-button {
    cursor: pointer;
    touch-action: manipulation;
  }

  .hero-media img {
    height: 100%;
  }

  .hero-form {
    padding-bottom: 0;
  }

  .lead-form {
    width: 100%;
  }

  .mobile-cta {
    padding-bottom: env(safe-area-inset-bottom);
    min-height: 52px;
    height: calc(52px + env(safe-area-inset-bottom));
  }

  .site-footer {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }
}

/* 620–900px: avoid oversized headings and cramped two-column cards. */
@media (min-width: 621px) and (max-width: 900px) {

  .hero-copy h1,
  .project-copy h2,
  .section-heading h2,
  .residence-heading h2,
  .gallery-heading h2,
  .location-intro h2,
  .faq-heading h2,
  .highlight-copy h2 {
    font-size: clamp(2.8rem, 7vw, 4.1rem);
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 300–620px: dense but readable layout. */
@media (max-width: 620px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand img {
    width: 122px;
  }

  .hero-media {
    height: clamp(320px, 92vw, 420px);
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 11vw, 2.7rem);
    line-height: 1.2;
  }

  .hero-thai {
    line-height: 1.7;
  }

  .hero-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-values span,
  .hero-values span:last-child {
    min-width: 0;
    padding: 9px 8px 9px 0;
    margin: 0;
  }

  .hero-values span+span {
    padding-left: 8px;
  }

  .hero-values span:nth-child(2) {
    border-left: 1px solid rgba(46, 61, 48, .26);
  }

  .hero-values span:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(46, 61, 48, .26);
    border-left: 0;
  }

  .form-heading {
    gap: 12px;
  }

  .form-heading h2 {
    max-width: 18ch;
    font-size: 1.2rem;
  }

  .form-number {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
  }

  .form-grid input,
  .form-grid select {
    height: 50px;
  }

  .submit-button {
    min-height: 56px;
    padding-inline: 14px;
    text-align: left;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .facts>div {
    min-width: 0;
  }

  .facts strong {
    font-size: clamp(1.35rem, 7vw, 1.65rem);
  }


  .type-title h3 {
    font-size: clamp(2.5rem, 14vw, 3rem);
  }

  .carousel {
    width: calc(100vw - 32px);
    margin-inline: auto;
  }

  .carousel-arrow.prev {
    left: 8px;
  }

  .carousel-arrow.next {
    right: 8px;
  }

  .gallery-card>span {
    padding-inline: 14px;
  }

  .lightbox {
    width: 100vw;
    height: 100svh;
    border: 0;
  }

  .lightbox>img {
    max-width: calc(100% - 20px);
    max-height: calc(100% - 142px);
    margin: 64px auto 78px;
  }

  .lightbox>div {
    padding-inline: 14px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}

/* Extra-small phones: never let the 300px viewport become horizontally tight. */
@media (max-width: 380px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding-inline: 10px;
  }

  .brand img {
    width: 112px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
  }

  .glass-panel {
    padding: 26px 14px 24px;
  }

  .hero-thai {
    font-size: .86rem;
  }

  .hero-values span {
    font-size: .66rem;
  }

  .hero-form {
    padding-inline: 10px;
  }

  .lead-form {
    padding: 20px 14px;
  }

  .consent {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    font-size: .7rem;
  }

  .project {
    padding-block: 20px;
  }

  .facilities,
  .gallery,
  .location,
  .faq {
    padding-block: 40px;
  }

  .project-copy h2,
  .section-heading h2,
  .residence-heading h2,
  .gallery-heading h2,
  .location-intro h2,
  .faq-heading h2,
  .highlight-copy h2 {
    font-size: 2.25rem;
  }

  .facts>div {
    padding: 12px 9px;
  }

  .facts strong {
    font-size: 1.25rem;
  }

  .facility-card {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 2px 10px;
  }

  .residence-info {
    padding: 22px 16px;
  }

  .location-grid article {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .faq-list summary {
    padding-right: 0;
    font-size: inherit;
    padding: 15px 4px 15px 0;
  }

  .faq-list details[open] summary {
    padding-bottom: 8px;
  }

  .faq-list summary span {
    flex-basis: 28px;
  }

  .faq-list details p {
    padding-left: 28px;
    font-size: inherit;
  }

  .site-footer {
    padding-inline: 14px;
  }

  .footer-cta img {
    width: 170px;
  }

  .footer-cta p {
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .text-link,
  .nav-cta,
  .footer-contact a,
  .brand,
  .mobile-cta,
  .map-image,
  .form-grid input,
  .form-grid select,
  .faq-list summary::after {
    transition: none;
  }
}

.grecaptcha-badge {
  visibility: hidden !important;
}

/* Homepage cookie banner. */
body.has-cookie-banner {
  padding-bottom: var(--cookie-banner-height, 0px);
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 95;
  width: 100%;
  max-height: 100dvh;
  overflow-y: auto;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  color: var(--pine);
  background: var(--star-white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(24, 24, 26, .1);
  font-family: "IBM Plex Sans Thai", Arial, sans-serif;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  display: flex;
  width: min(1320px, 100%);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.cookie-banner p {
  max-width: 78ch;
  margin: 0;
  font-size: .775rem;
  line-height: 1.4;
}

.cookie-banner a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

.cookie-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px 7px;
  color: var(--pine);
  background: transparent;
  border: 1px solid var(--pine);
  border-radius: 3px;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
}

.cookie-button:hover {
  background: var(--cream);
}

.cookie-button-primary {
  color: var(--star-white);
  background: var(--pine);
}

.cookie-button-primary:hover {
  color: var(--star-white);
  background: #3c503f;
}

.cookie-button:focus-visible,
.cookie-banner a:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 4px;
}

body.has-cookie-banner .mobile-cta {
  bottom: calc(14px + var(--cookie-banner-height, 0px));
}

@media (max-width: 900px) {
  .cookie-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .cookie-actions {
    gap: 8px;
  }

  .cookie-button {
    flex: 1;
    padding-inline: 12px;
  }

  .dk-only {
    display: none;
  }
}
