:root {
  color-scheme: dark;
  --cream: #f7f0e4;
  --cream-muted: rgba(247, 240, 228, 0.76);
  --forest: #123c31;
  --forest-deep: #09251f;
  --copper: #d77a4d;
  --line: rgba(247, 240, 228, 0.26);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--forest-deep);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--forest-deep);
  color: var(--cream);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: #101d1a;
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image {
  background-image: url("/assets/may-thai-hero.jpg");
  background-position: 57% center;
  background-size: cover;
  transform: scale(1.015);
  animation: settle 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 25, 21, 0.93) 0%, rgba(6, 25, 21, 0.8) 34%, rgba(6, 25, 21, 0.16) 70%, rgba(6, 25, 21, 0.08) 100%),
    linear-gradient(0deg, rgba(6, 25, 21, 0.58) 0%, rgba(6, 25, 21, 0) 35%, rgba(6, 25, 21, 0.28) 100%);
}

.site-header,
.hero__content,
.site-footer {
  width: min(calc(100% - 64px), 1320px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(26px, 4vh, 48px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(247, 240, 228, 0.72);
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
}

.brand__text {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.brand__text small,
.site-header__place {
  color: var(--cream-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__content {
  align-self: center;
  max-width: 1320px;
  padding-block: clamp(56px, 8vh, 112px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: #efaa83;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 1px;
  background: var(--copper);
  content: "";
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(56px, 7.1vw, 112px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.86;
  text-wrap: balance;
}

.intro {
  max-width: 560px;
  margin: 34px 0 0;
  color: var(--cream-muted);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.65;
}

.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
}

.booking-button {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 22px 0 26px;
  border: 1px solid #e99669;
  background: var(--copper);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
  color: #fffaf2;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.booking-button:hover {
  background: #e18557;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.29);
  transform: translateY(-2px);
}

.booking-button:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
}

.booking-button__arrow {
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

.booking-note {
  color: var(--cream-muted);
  font-size: 12px;
  letter-spacing: 0.035em;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: clamp(24px, 4vh, 44px);
  color: rgba(247, 240, 228, 0.68);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__divider {
  width: 1px;
  height: 14px;
  background: var(--line);
}

.site-footer nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cream);
  text-decoration-color: currentColor;
}

@keyframes settle {
  from {
    filter: saturate(0.75);
    opacity: 0.5;
    transform: scale(1.06);
  }

  to {
    filter: saturate(1);
    opacity: 1;
    transform: scale(1.015);
  }
}

@media (max-width: 740px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    background: #061915;
  }

  .hero__image {
    inset: 0 0 auto;
    height: clamp(340px, 48svh, 440px);
    background-position: 80% center;
    transform: none;
    animation: none;
  }

  .hero__veil {
    inset: 0 0 auto;
    height: clamp(390px, 57svh, 520px);
    background: linear-gradient(
      180deg,
      rgba(6, 25, 21, 0.12) 0%,
      rgba(6, 25, 21, 0.08) 48%,
      rgba(6, 25, 21, 0.7) 76%,
      #061915 100%
    );
  }

  .site-header,
  .hero__content,
  .site-footer {
    width: min(calc(100% - 40px), 1320px);
  }

  .site-header {
    flex: 0 0 auto;
    padding-top: 22px;
  }

  .site-header__place {
    display: none;
  }

  .hero__content {
    flex: 1 0 auto;
    align-self: auto;
    margin-top: clamp(230px, 28svh, 280px);
    padding-block: 0 28px;
  }

  .eyebrow {
    max-width: 300px;
    margin-bottom: 16px;
    font-size: 9px;
    line-height: 1.5;
  }

  h1 {
    max-width: 350px;
    font-size: clamp(44px, 12.4vw, 54px);
    line-height: 0.92;
  }

  .intro {
    max-width: 350px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.5;
  }

  .actions {
    display: grid;
    gap: 12px;
    margin-top: 22px;
  }

  .booking-button {
    width: 100%;
    min-height: 60px;
    padding-inline: 22px;
  }

  .booking-button__arrow {
    display: inline-block;
    flex: 0 0 auto;
  }

  .booking-note {
    text-align: center;
  }

  .site-footer {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 0;
    padding-bottom: 20px;
    font-size: 9px;
    line-height: 1.4;
  }

  .site-footer__divider {
    display: none;
  }

  .site-footer span:last-child {
    text-align: left;
  }

  .site-footer nav {
    margin-top: 4px;
  }
}

@media (max-width: 390px) {
  .site-header,
  .hero__content,
  .site-footer {
    width: calc(100% - 32px);
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .hero__content {
    margin-top: 224px;
    padding-top: 0;
  }

  h1 {
    font-size: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__image {
    animation: none;
  }

  .booking-button {
    transition: none;
  }
}
