:root {
  color-scheme: light;
  --ink: #082f22;
  --ink-soft: #3b5147;
  --peach: #ff7e49;
  --peach-light: #ffd3b8;
  --cream: #fff8ef;
  --paper: #fffdf9;
  --green: #0a5539;
  --line: rgba(8, 47, 34, 0.13);
  --shadow: 0 28px 80px rgba(47, 68, 52, 0.14);
  font-family: "IBM Plex Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 211, 184, 0.68), transparent 27rem),
    linear-gradient(180deg, var(--cream), #fff 58%, #f5f7ee);
}

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

a {
  color: inherit;
}

.page-shell {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(2rem, 5vw, 5rem) 1.25rem;
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  width: min(32vw, 30rem);
  aspect-ratio: 1;
  border: 1px solid rgba(8, 47, 34, 0.09);
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: -12vw;
  left: -8vw;
}

.hero::after {
  right: -12vw;
  bottom: -14vw;
}

.hero__glow {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.65;
}

.hero__glow--peach {
  top: 10%;
  right: 4%;
  width: 24rem;
  height: 24rem;
  background: rgba(255, 166, 112, 0.27);
}

.hero__glow--green {
  bottom: 6%;
  left: 1%;
  width: 20rem;
  height: 20rem;
  background: rgba(83, 148, 92, 0.2);
}

.hero__content {
  display: flex;
  width: min(100%, 66rem);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.logo-frame {
  width: min(78vw, 40rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: clamp(1.75rem, 4vw, 3.5rem);
  background: #fff;
  box-shadow: var(--shadow);
}

.brand-logo {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 623;
  object-fit: contain;
}

h1,
h2,
p {
  text-wrap: balance;
}

h1 {
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.hero__lead {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.06em;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.scroll-cue:hover {
  transform: translateY(2px);
  border-color: rgba(8, 47, 34, 0.28);
  background: #fff;
}

.scroll-cue svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.location {
  display: grid;
  width: min(100% - 2rem, 82rem);
  margin: 0 auto clamp(4rem, 8vw, 8rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(8, 47, 34, 0.09);
  border-radius: clamp(1.6rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(22rem, 0.95fr) minmax(20rem, 1.35fr);
  backdrop-filter: blur(16px);
}

.location__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.location__copy .eyebrow {
  margin-bottom: 0.9rem;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.brand-place {
  white-space: nowrap;
}

.location__copy > p:not(.eyebrow) {
  margin: 1.4rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.map-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.7rem;
  margin-top: 2rem;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(10, 85, 57, 0.2);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.map-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(10, 85, 57, 0.28);
}

.map-link svg {
  width: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.map-card {
  min-height: 32rem;
  overflow: hidden;
  border-radius: clamp(1.15rem, 3vw, 2.2rem);
  background: #e9eadf;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 32rem;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  padding: 2rem 1rem 3rem;
  color: rgba(8, 47, 34, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 6rem;
  }

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

  .location__copy {
    padding-bottom: 0;
  }

  .map-card,
  .map-card iframe {
    min-height: 25rem;
  }
}

@media (max-width: 520px) {
  .logo-frame {
    width: 92vw;
    border-radius: 1.6rem;
  }

  .location {
    width: calc(100% - 1rem);
    padding: 0.65rem;
  }

  .location__copy {
    padding: 1.35rem 1rem 1rem;
  }

  .map-card,
  .map-card iframe {
    min-height: 22rem;
  }

  .site-footer {
    flex-wrap: wrap;
  }
}

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

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