:root {
  --ink: #090909;
  --charcoal: #191919;
  --graphite: #2b2b2b;
  --paper: #fafaf7;
  --white: #ffffff;
  --muted: #696969;
  --soft: #f3f0e8;
  --orange: #f59a16;
  --orange-dark: #d86f05;
  --yellow: #f6c54a;
  --green: #4e9b45;
  --blue: #1664e8;
  --line: rgba(9, 9, 9, 0.14);
  --dark-line: rgba(255, 255, 255, 0.16);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(250, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  background: radial-gradient(circle at 35% 25%, #ffbd36 0 18%, var(--orange) 54%, #ee850d 100%);
  border: 1px solid rgba(9, 9, 9, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 -8px 20px rgba(216, 111, 5, 0.26);
  font-family: Oswald, "Noto Sans Thai", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-copy strong,
.brand-copy small {
  display: block;
  line-height: 1.05;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: Oswald, "Noto Sans Thai", sans-serif;
  letter-spacing: 0;
}

.brand-copy strong {
  font-size: 1.42rem;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(9, 9, 9, 0.74);
  font-size: 0.92rem;
  font-weight: 850;
}

.site-nav a:not(.nav-cta):hover {
  color: var(--orange-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.lang-toggle,
.nav-cta,
.button {
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 900;
}

.lang-toggle {
  width: 50px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--ink);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
}

.nav-cta,
.button.primary {
  color: var(--ink);
  background: var(--orange);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.08);
}

.button.messenger {
  color: var(--white);
  background: var(--blue);
}

.button.call {
  color: var(--white);
  background: var(--charcoal);
}

.hero {
  position: relative;
  display: grid;
  min-height: 96vh;
  align-items: end;
  padding: 150px clamp(20px, 6vw, 84px) 74px;
  overflow: hidden;
  color: var(--white);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.68) 48%, rgba(5, 5, 5, 0.16)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.78), transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-family: Oswald, "Noto Sans Thai", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
}

h1 {
  max-width: 940px;
  font-size: clamp(4rem, 11vw, 10rem);
  text-transform: uppercase;
}

h1 small {
  display: block;
  margin-top: 10px;
  color: var(--orange);
  font-size: clamp(1.45rem, 3vw, 3.15rem);
  line-height: 1.08;
  text-transform: none;
}

h2 {
  max-width: 900px;
  font-size: clamp(2.15rem, 5vw, 5rem);
}

h3 {
  font-size: 1.5rem;
}

.hero p:not(.eyebrow),
.intro-panel p,
.gallery-copy p,
.experience-copy p,
.contact p {
  max-width: 700px;
  line-height: 1.72;
}

.hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

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

.hero-card {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 42px;
  z-index: 2;
  width: min(350px, calc(100% - 36px));
  padding: 20px;
  color: var(--ink);
  background: rgba(250, 250, 247, 0.94);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card span,
.hero-card strong {
  display: block;
}

.hero-card span {
  color: var(--orange-dark);
  font-weight: 900;
}

.hero-card strong {
  margin: 5px 0 8px;
  font-family: Oswald, "Noto Sans Thai", sans-serif;
  font-size: 1.65rem;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--ink);
}

.proof-strip article {
  min-height: 126px;
  padding: 26px clamp(18px, 3vw, 42px);
  color: var(--white);
  border-right: 1px solid var(--dark-line);
}

.proof-strip span {
  display: block;
  color: var(--orange);
  font-family: Oswald, sans-serif;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.9;
}

.proof-strip .phone-number {
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  white-space: nowrap;
}

.proof-strip strong {
  display: block;
  margin-top: 12px;
  font-size: 0.94rem;
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 84px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  gap: 36px;
  align-items: end;
}

.intro-panel {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 8px solid var(--orange);
  border-radius: var(--radius);
}

.intro-panel p {
  margin-top: 0;
  color: var(--muted);
}

.tag-row,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span,
.feature-list span,
.gallery-filter {
  padding: 8px 11px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 900;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

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

.program-grid article {
  min-height: 284px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 8px solid var(--orange);
  border-radius: var(--radius);
}

.program-grid article:nth-child(even) {
  border-top-color: var(--yellow);
}

.program-grid span {
  color: var(--orange-dark);
  font-family: Oswald, sans-serif;
  font-size: 2.4rem;
}

.program-grid h3 {
  margin: 28px 0 12px;
}

.program-grid p,
.info-board p {
  color: var(--muted);
  line-height: 1.62;
}

.experience {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 84px);
  background: var(--soft);
}

.experience-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.experience-media img {
  width: 100%;
  height: min(72vh, 680px);
  object-fit: cover;
}

.experience-copy p {
  color: var(--muted);
}

.feature-list {
  margin-top: 22px;
}

.feature-list span {
  background: var(--white);
  border-color: var(--line);
}

.gallery-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 62px);
  padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 84px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(245, 154, 22, 0.24), transparent 34%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0)),
    var(--charcoal);
}

.gallery-copy {
  position: sticky;
  top: 108px;
  align-self: start;
}

.gallery-copy h2 {
  color: var(--orange);
}

.gallery-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.gallery-filter {
  min-height: 40px;
  background: transparent;
  color: var(--white);
  border-color: var(--dark-line);
}

.gallery-filter.active {
  color: var(--ink);
  background: var(--orange);
  border-color: var(--orange);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.photo-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--graphite);
}

.photo-card.wide {
  grid-column: span 2;
}

.photo-card.tall {
  min-height: 360px;
  grid-row: span 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 220ms ease;
}

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

.photo-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.84), transparent);
}

.photo-card small,
.photo-card strong {
  display: block;
}

.photo-card small {
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-card strong {
  margin-top: 4px;
  font-family: Oswald, "Noto Sans Thai", sans-serif;
  font-size: 1.25rem;
}

.info-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.info-board article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-board span {
  color: var(--orange-dark);
  font-family: Oswald, sans-serif;
  font-size: 1.5rem;
}

.info-board strong {
  display: block;
  margin: 18px 0 8px;
  font-size: 1.2rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 84px);
  color: var(--white);
  background: var(--ink);
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

textarea {
  min-height: 112px;
  padding-top: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 154, 22, 0.2);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 84px);
  color: var(--white);
  background: var(--charcoal);
  border-top: 1px solid var(--dark-line);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 16px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .program-grid,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 88px 14px auto;
    display: grid;
    gap: 8px;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a,
  .site-nav button {
    width: 100%;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

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

  .intro,
  .gallery-section,
  .experience,
  .contact {
    grid-template-columns: 1fr;
  }

  .gallery-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand-copy strong {
    font-size: 1.12rem;
  }

  .brand-copy small {
    font-size: 0.7rem;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .proof-strip,
  .program-grid,
  .photo-grid,
  .info-board {
    grid-template-columns: 1fr;
  }

  .photo-card,
  .photo-card.tall {
    min-height: 330px;
    grid-column: auto;
    grid-row: auto;
  }

  .photo-card.wide {
    grid-column: auto;
  }

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

  .contact-actions,
  .hero-actions {
    display: grid;
  }

  .site-footer {
    display: grid;
  }
}
