@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/open-sans-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
:root {
  --paper: #f8f6f2;
  --ink: #17171a;
  --muted: #6b6b73;
  --line: #d9d7d3;
  --accent: #5239f5;
  --gutter: max(24px, 6vw, calc((100vw - 1320px) / 2));
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
a,
button,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
::selection {
  background: var(--accent);
  color: white;
}
.small-brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.small-brand img {
  display: block;
}
.hero {
  position: relative;
  padding: clamp(40px, 4.5vw, 72px) var(--gutter) 64px;
  min-height: 540px;
  background:
    linear-gradient(
      90deg,
      var(--paper) 0%,
      var(--paper) 38%,
      rgba(248, 246, 242, 0.98) 44%,
      rgba(248, 246, 242, 0.91) 50%,
      rgba(248, 246, 242, 0.74) 56%,
      rgba(248, 246, 242, 0.5) 62%,
      rgba(248, 246, 242, 0.26) 68%,
      rgba(248, 246, 242, 0.09) 74%,
      rgba(248, 246, 242, 0.02) 80%,
      rgba(248, 246, 242, 0) 86%
    ),
    url("/assets/bangkok-condo.jpg") right 52%/66% auto no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(
    to right,
    rgb(23 23 26 / 10%),
    rgb(23 23 26 / 20%) 30%,
    rgb(23 23 26 / 20%) 70%,
    rgb(23 23 26 / 10%)
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: min(740px, 65%);
  animation: arrive 0.8s ease-out both;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero h1 {
  margin: 0 0 30px;
  line-height: 1;
}
.hero h1 img {
  display: block;
  width: clamp(230px, 22vw, 300px);
  max-width: 100%;
  height: auto;
}
.hero h2 {
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1.11;
  font-weight: 500;
  letter-spacing: -1.7px;
  margin: 0 0 24px;
}
.hero-description {
  font-size: 18px;
  line-height: 1.7;
  max-width: 560px;
  color: #505057;
  margin: 0 0 27px;
}
.primary-link,
#submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s;
}
.primary-link:hover {
  background: #eae7e1;
}
#submit-button {
  gap: 12px;
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
#submit-button:hover:not(:disabled) {
  background: #452bdc;
  border-color: #452bdc;
}
.primary-link:active,
#submit-button:active:not(:disabled) {
  transform: translateY(1px);
}
.contact {
  padding: 64px var(--gutter) 48px;
  background: white;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 8%;
}
.contact h2 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin: 0 0 18px;
}
.contact-intro > p {
  max-width: 390px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
form {
  padding-top: 0;
  min-width: 0;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.field input,
.field textarea {
  width: 100%;
  background: white;
  border: 1px solid #8c8c95;
  border-radius: 6px;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
  line-height: 1.6;
  font-size: 16px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(82 57 245 / 10%);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #75757d;
  opacity: 1;
}
.message-field {
  margin-top: 27px;
}
.field textarea {
  resize: vertical;
  min-height: 128px;
  max-height: 400px;
}
.form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}
#form-status {
  min-height: 24px;
  font-size: 13px;
  line-height: 1.6;
  margin: 15px 0 0;
}
#form-status[data-state="error"] {
  color: #9d3628;
}
.honeypot {
  display: none;
}
footer {
  position: relative;
  margin: 0;
  padding: 27px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    to right,
    rgb(23 23 26 / 10%),
    rgb(23 23 26 / 20%) 30%,
    rgb(23 23 26 / 20%) 70%,
    rgb(23 23 26 / 10%)
  );
  pointer-events: none;
}
footer .small-brand img {
  width: 110px;
  height: auto;
}
.footer-details {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px 24px;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}
.footer-details > span {
  white-space: nowrap;
}
.footer-details a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.privacy-note a,
.privacy-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-note a:hover,
.privacy-content a:hover {
  color: var(--accent);
}
.privacy-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.privacy-content {
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) 24px 64px;
  flex: 1;
  font-size: 16px;
  line-height: 1.75;
}
.privacy-brand {
  display: inline-block;
  margin-bottom: 36px;
}
.privacy-brand img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}
.privacy-content h1 {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0 0 12px;
}
.privacy-content h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 28px 0 8px;
}
.privacy-content p {
  margin: 0 0 16px;
  color: #505057;
}
.privacy-content .privacy-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.error-content .primary-link {
  margin-top: 12px;
  text-decoration: none;
}
.skip-link {
  position: absolute;
  left: 15px;
  top: -100px;
  background: var(--paper);
  padding: 14px;
  z-index: 10;
}
.skip-link:focus {
  top: 15px;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1100px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact {
    gap: 6%;
  }
}
@media (max-width: 800px) {
  .hero {
    min-height: 0;
    background:
      linear-gradient(
        90deg,
        var(--paper) 0%,
        rgba(248, 246, 242, 0.98) 40%,
        rgba(248, 246, 242, 0.7) 100%
      ),
      url("/assets/bangkok-condo.jpg") right center / cover no-repeat;
  }
  .hero-content {
    max-width: 620px;
  }
  .hero-description {
    max-width: 540px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 32px;
  }
  .contact h2 {
    font-size: 32px;
  }
  .contact-intro > p {
    max-width: 540px;
    margin-bottom: 0;
  }
  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .hero {
    padding-bottom: 48px;
    background:
      linear-gradient(
        180deg,
        var(--paper) 0%,
        rgba(248, 246, 242, 0.98) 55%,
        rgba(248, 246, 242, 0.8) 100%
      ),
      url("/assets/bangkok-condo.jpg") center 60% / cover no-repeat;
  }
  .hero h1 {
    margin-bottom: 26px;
  }
  .hero h1 img {
    width: 230px;
  }
  .hero h2 {
    font-size: clamp(30px, 5.75vw, 32px);
    line-height: 1.15;
    letter-spacing: -1.2px;
  }
  .hero-description {
    font-size: 16px;
    max-width: 100%;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  footer {
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
