:root {
  --cream: #f4eedf;
  --cream-2: #fff8eb;
  --ink: #302619;
  --muted: #786b5b;
  --gold: #9f7b3f;
  --dark: #191511;
  --line: rgba(48, 38, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Noto Sans Thai", system-ui, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(244, 238, 223, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  gap: 1px;
}

.brand-name {
  font: 700 24px/1 "Playfair Display", serif;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #4d4134;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  white-space: nowrap;
}

.nav-stacked {
  display: inline-grid;
  gap: 1px;
  line-height: 1.1;
  text-align: center;
}

.nav-stacked span {
  display: block;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255, 248, 235, 0.72);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 235, 0.58);
}

.lang-button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--ink);
  color: var(--cream-2);
}

.hero {
  position: relative;
  min-height: min(860px, calc(92vh - 70px));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(244, 238, 223, 0.96), rgba(244, 238, 223, 0.84) 37%, rgba(244, 238, 223, 0.12) 68%),
    linear-gradient(0deg, rgba(244, 238, 223, 0.98), rgba(244, 238, 223, 0) 26%);
}

.hero-content {
  width: min(720px, calc(100% - 36px));
  margin: 0 clamp(18px, 7vw, 110px) clamp(42px, 7vh, 82px);
}

.top-note,
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow {
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font: 700 clamp(46px, 8vw, 98px) / 0.92 "Playfair Display", serif;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.2;
}

.hero h2 {
  max-width: 660px;
  font-size: clamp(30px, 4.7vw, 62px);
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.hero p:not(.top-note) {
  max-width: 600px;
  color: #4e4235;
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-subactions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}

.hero-subactions a {
  color: #4e4235;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: var(--cream-2);
}

.button.line {
  background: #06c755;
  color: #07170d;
}

.button.ghost {
  border-color: rgba(48, 38, 25, 0.34);
  color: var(--ink);
}

.best-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 6vw, 88px);
  background: var(--dark);
  color: var(--cream-2);
  border-top: 1px solid rgba(255, 248, 235, 0.14);
  border-bottom: 1px solid rgba(255, 248, 235, 0.14);
}

.best-banner strong,
.best-banner small,
.best-banner b {
  display: block;
}

.best-banner strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.best-banner small {
  margin-top: 4px;
  color: rgba(255, 248, 235, 0.74);
  font-size: 15px;
  line-height: 1.6;
}

.best-banner b {
  flex: 0 0 auto;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--dark);
}

.intro,
.featured-products,
.gallery-section,
.updates-section,
.client-questions,
.materials,
.contact {
  padding: clamp(54px, 8vw, 108px) clamp(18px, 6vw, 88px);
}

.featured-products {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.featured-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7f1e3;
  box-shadow: 0 18px 34px rgba(48, 38, 25, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 123, 63, 0.5);
  box-shadow: 0 22px 42px rgba(48, 38, 25, 0.12);
}

.featured-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}

.featured-card-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.featured-card-body b {
  width: fit-content;
  padding: 5px 8px;
  background: rgba(159, 123, 63, 0.12);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-card-body strong {
  font-size: 20px;
  line-height: 1.25;
}

.featured-card-body small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.featured-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.client-questions {
  background: #efe6d4;
  border-bottom: 1px solid var(--line);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
}

.intro-copy {
  max-width: 680px;
}

.intro-image {
  overflow: hidden;
  border: 1px solid var(--line);
}

.intro-image img {
  width: 100%;
  aspect-ratio: 1 / 0.9;
  object-fit: cover;
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 30px;
}

.questions-shell {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: stretch;
  gap: 12px;
}

.questions-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 32%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 2px 2px 12px;
}

.question-card {
  min-height: 270px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  scroll-snap-align: start;
  background: var(--cream-2);
  border: 1px solid rgba(159, 123, 63, 0.32);
  box-shadow: 0 14px 32px rgba(48, 38, 25, 0.08);
}

.question-card span {
  width: fit-content;
  padding: 5px 9px;
  color: var(--gold);
  border: 1px solid rgba(159, 123, 63, 0.34);
  font-size: 12px;
  font-weight: 900;
}

.question-card h3 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
}

.question-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mosaic figure {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  background: #ded4c4;
}

.mosaic figure.wide {
  grid-column: span 2;
}

.mosaic img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 320ms ease;
}

.mosaic figure:hover img {
  transform: scale(1.035);
}

.mosaic figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: rgba(244, 238, 223, 0.9);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.updates-section {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
}

.updates-shell {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 12px;
}

.updates-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 32%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 2px 2px 12px;
}

.update-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #ded4c4;
  border: 1px solid var(--line);
}

.update-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 320ms ease;
}

.update-card:hover img {
  transform: scale(1.035);
}

.update-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 52px 16px 16px;
  color: var(--cream-2);
  background: linear-gradient(0deg, rgba(25, 21, 17, 0.88), rgba(25, 21, 17, 0));
}

.update-info strong,
.update-info span {
  display: block;
}

.update-info strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.update-info span {
  color: rgba(255, 248, 235, 0.76);
  font-size: 13px;
}

.slider-control {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.updates-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--cream);
}

.statement {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(42px, 7vw, 86px);
  color: var(--cream-2);
}

.statement img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(25, 21, 17, 0.82), rgba(25, 21, 17, 0.04) 70%);
}

.statement div {
  max-width: 820px;
}

.statement h2 {
  margin-bottom: 0;
}

.statement .eyebrow {
  color: #d2b36d;
}

.materials {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 78px);
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.materials p {
  margin-bottom: 0;
  font-size: 17px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--dark);
  color: var(--cream-2);
}

.contact p {
  margin-bottom: 0;
  color: rgba(255, 248, 235, 0.74);
}

.contact .button.primary {
  background: var(--gold);
  color: var(--dark);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-proof-widget {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 30;
  width: min(360px, calc(100vw - 36px));
  padding: 14px 38px 14px 14px;
  border: 1px solid rgba(159, 123, 63, 0.38);
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 14px 32px rgba(33, 24, 18, 0.16);
  color: var(--ink);
}

.social-proof-close {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.social-proof-live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.social-proof-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
  flex: 0 0 auto;
}

.social-proof-event {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 6vw, 88px);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 66px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    display: none;
    order: 4;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    background: rgba(255, 248, 235, 0.98);
    box-shadow: 0 18px 36px rgba(48, 38, 25, 0.14);
    overflow: visible;
  }

  .site-header.is-menu-open .nav {
    display: flex;
  }

  .nav a {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(48, 38, 25, 0.1);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav-stacked {
    display: block;
    line-height: 1.35;
    text-align: left;
  }

  .language-switch {
    order: 3;
  }

  .hero {
    min-height: 680px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(244, 238, 223, 0.98), rgba(244, 238, 223, 0.72) 60%, rgba(244, 238, 223, 0.12)),
      linear-gradient(90deg, rgba(244, 238, 223, 0.88), rgba(244, 238, 223, 0.2));
  }

  .intro,
  .materials {
    grid-template-columns: 1fr;
  }

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

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

  .updates-shell {
    grid-template-columns: 1fr;
  }

  .questions-shell {
    grid-template-columns: 1fr;
  }

  .slider-control {
    display: none;
  }

  .updates-track,
  .questions-track {
    grid-auto-columns: minmax(240px, 82%);
  }

  .mosaic figure.wide {
    grid-column: span 2;
  }

  .contact,
  .footer,
  .best-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 21px;
  }

  .hero {
    min-height: 650px;
  }

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

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

  .mosaic figure.wide {
    grid-column: span 1;
  }
}
