/* LOCKED SPEC — public home v2 desktop · FROZEN 2026-05-29 · docs/public-home-v2-LOCKED-SPEC.md */
/* SiTAM public home — shared tokens + section base */
/* Concept 06 — Jade & Serif Index */
:root {
  --jade: #2d6a4f;
  --jade-mid: #40916c;
  --jade-light: #74c69d;
  --jade-pale: #d8f3dc;
  --gold: #b5892a;
  --gold-light: #d4a843;
  --cream: #faf6ef;
  --warm-white: #f5efe6;
  --text-dark: #1a1a1a;
  --text-mid: #3d3d3d;
  --text-soft: #6b6b6b;
  --text-muted: #9a9a9a;
  /* --nav-h set on .sitm-v2-sanctuary-header (sitam-header-v2.css) */
  /* Signature radius — hero only */
  --hero-radius-main: 36px 14px 28px 12px;
  --hero-radius-accent: 14px 32px 12px 26px;
  --hero-radius-badge: 18px 6px 14px 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

.sitm-index1-page {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ─── THAI SERIF UTIL ─────────────────── */
.thai { font-family: 'Noto Serif Thai', serif; }
.serif { font-family: 'Cormorant Garamond', serif; }

/* ─── NOISE OVERLAY ───────────────────── */
.sitm-index1-page::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ─── HERO ────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(45,106,79,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(116,198,157,0.06) 0%, transparent 50%),
    var(--cream);
}
/* decorative lotus line art */
.hero-ornament {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  opacity: 0.04;
}
.hero-grid-line {
  position: absolute; top: 0; bottom: 0;
  width: 1px; background: rgba(45,106,79,0.08);
  animation: fadeIn 2s ease both;
}
.hero-grid-line:nth-child(1) { left: 33.33%; animation-delay: 0.2s; }
.hero-grid-line:nth-child(2) { left: 66.66%; animation-delay: 0.4s; }

.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 80px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-left {}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  opacity: 0;
  animation: slideUp 0.8s ease 0.3s both;
}
.hero-eyebrow-line {
  width: 32px; height: 1px; background: var(--gold);
}
.hero-eyebrow span {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}
.hero-title {
  font-family: 'Noto Serif Thai', serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 300;
  line-height: 1.35;
  color: var(--jade);
  margin-bottom: 8px;
  opacity: 0;
  animation: slideUp 0.8s ease 0.5s both;
}
.hero-title-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  font-style: italic;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  opacity: 0;
  animation: slideUp 0.8s ease 0.65s both;
}
.hero-desc {
  font-family: 'Noto Serif Thai', serif;
  font-size: 15px; line-height: 2;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 44px;
  opacity: 0;
  animation: slideUp 0.8s ease 0.8s both;
}
.hero-actions {
  display: flex; gap: 16px; align-items: center;
  opacity: 0;
  animation: slideUp 0.8s ease 0.95s both;
}
.btn-primary {
  display: inline-block;
  background: var(--jade);
  color: white;
  text-decoration: none;
  font-family: 'Noto Serif Thai', serif;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border-radius: 2px;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--jade-mid);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(45,106,79,0.2);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-mid);
  text-decoration: none;
  font-family: 'Noto Serif Thai', serif;
  font-size: 13px;
  transition: all 0.3s;
}
.btn-ghost svg { width: 16px; height: 16px; stroke: currentColor; transition: transform 0.3s; }
.btn-ghost:hover { color: var(--jade); }
.btn-ghost:hover svg { transform: translateX(4px); }

.hero-right {
  position: relative;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.6s both;
}
.hero-image-stack {
  position: relative;
  height: 520px;
}
  .hero-img-main {
    position: absolute;
    top: 0; left: 30px; right: 0; bottom: 60px;
    width: calc(100% - 30px);
    height: calc(100% - 60px);
    object-fit: cover;
    border-radius: var(--hero-radius-main);
    box-shadow: 0 32px 80px rgba(0,0,0,0.12);
    display: block;
  }
  .hero-img-accent {
    position: absolute;
    bottom: 0; left: 0;
    width: 200px; height: 200px;
    object-fit: cover;
    border-radius: var(--hero-radius-accent);
    border: 4px solid var(--cream);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
    display: block;
  }
.hero-img-badge {
  position: absolute;
  top: 30px; left: 0;
  background: white;
  padding: 16px 20px;
  border-radius: var(--hero-radius-badge);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 12px;
  border-left: 3px solid var(--jade);
}
.hero-img-badge .number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 300;
  color: var(--jade);
  line-height: 1;
}
.hero-img-badge .label {
  font-family: 'Noto Serif Thai', serif;
  font-size: 11px; color: var(--text-soft);
  line-height: 1.5; font-weight: 300;
}

/* ─── SECTION COMMONS ─────────────────── */
.sitm-index1-page section { position: relative; z-index: 1; }
.section-inner {
  max-width: 1200px; margin: 0 auto;
  padding-top: clamp(48px, 5vw, 64px);
  padding-right: clamp(1.25rem, 5vw, 3rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.25rem);
  padding-left: clamp(1.25rem, 5vw, 3rem);
}
.section-header { margin-bottom: 60px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.section-eyebrow-line { width: 24px; height: 1px; background: var(--gold); }
.section-eyebrow span {
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
}
.section-title {
  font-family: 'Noto Serif Thai', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  color: var(--jade);
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-title-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-style: italic;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.section-lead {
  font-family: 'Noto Serif Thai', serif;
  font-size: 15px; line-height: 2;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 580px;
}

/* ─── ABOUT ───────────────────────────── */
.about-section { background: var(--warm-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-image-wrap {
  position: relative;
}
.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}
.about-img-overlay {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 180px;
  background: var(--jade);
  padding: 24px;
  border-radius: 3px;
  color: white;
}
.about-img-overlay .quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px; font-weight: 300;
  line-height: 0.6;
  opacity: 0.4;
  margin-bottom: 12px;
  display: block;
}
.about-img-overlay p {
  font-family: 'Noto Serif Thai', serif;
  font-size: 11px; line-height: 1.8;
  font-weight: 300;
  opacity: 0.9;
}
.about-content { padding-top: 20px; }
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}
.vm-card {
  background: white;
  border: 1px solid rgba(45,106,79,0.1);
  padding: 28px 24px;
  border-radius: 3px;
  border-top: 2px solid var(--jade);
  transition: box-shadow 0.3s, transform 0.3s;
}
.vm-card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.vm-card-icon {
  width: 36px; height: 36px;
  background: var(--jade-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.vm-card-icon svg { width: 16px; height: 16px; stroke: var(--jade); fill: none; }
.vm-card h4 {
  font-family: 'Noto Serif Thai', serif;
  font-size: 14px; font-weight: 500;
  color: var(--jade);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.vm-card p {
  font-family: 'Noto Serif Thai', serif;
  font-size: 13px; line-height: 1.9;
  color: var(--text-soft);
  font-weight: 300;
}

/* ─── HIGHLIGHTS / PROGRAM ────────────── */
.programs-section { background: var(--cream); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
  .program-card {
    display: block;
    background: white;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(45,106,79,0.08);
    transition: all 0.4s;
    text-decoration: none;
    color: inherit;
  }
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
  border-color: transparent;
}
.program-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.program-card:hover .program-card-img { transform: scale(1.04); }
.program-card-img-wrap { overflow: hidden; }
.program-card-body { padding: 28px 24px; }
.program-tag {
  display: inline-block;
  font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--jade);
  background: var(--jade-pale);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
  font-weight: 400;
}
.program-card h3 {
  font-family: 'Noto Serif Thai', serif;
  font-size: 16px; font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 10px;
}
.program-card p {
  font-family: 'Noto Serif Thai', serif;
  font-size: 13px; line-height: 1.9;
  color: var(--text-soft);
  font-weight: 300;
}
.program-card-footer {
  padding: 0 24px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.program-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: 0.08em;
  color: var(--jade);
  text-decoration: none;
  font-weight: 400;
  transition: gap 0.3s;
}
.program-link svg { width: 14px; height: 14px; stroke: currentColor; }
.program-link:hover { gap: 10px; }

/* ─── NEWS ────────────────────────────── */
.news-section { background: var(--warm-white); }
.news-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.news-article {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 32px;
  align-items: start;
  background: white;
  border: 1px solid rgba(45,106,79,0.08);
  border-radius: 3px;
  padding: 28px;
}
.news-article-media { min-width: 0; }
.news-article-media-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.news-photo-count {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jade);
  background: var(--jade-pale);
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 400;
}
.news-gallery-hint {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 300;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}
.news-article:hover .news-gallery-hint,
.news-article:focus-within .news-gallery-hint {
  opacity: 1;
}
.news-article.is-single-photo .news-gallery-hint,
.news-article.is-single-photo .news-gallery-fade { display: none; }
.news-gallery-scroll-wrap {
  position: relative;
  margin: 0 -4px;
}
.news-gallery-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  cursor: grab;
  padding: 4px 4px 8px;
  touch-action: pan-x;
}
.news-gallery-strip.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}
.news-gallery-strip.is-dragging img { pointer-events: none; }
.news-gallery-strip::-webkit-scrollbar { display: none; }
.news-gallery-item {
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
}
.news-gallery-item img {
  width: min(420px, 72vw);
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.news-gallery-item:hover img { transform: scale(1.03); }
.news-gallery-fade {
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: calc(100% - 8px);
  pointer-events: none;
  background: linear-gradient(to left, white, rgba(255,255,255,0));
}
.news-article-body {
  padding-top: 4px;
}
.news-date {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(181,137,42,0.1);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
  font-weight: 400;
}
.news-article h3 {
  font-family: 'Noto Serif Thai', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.55;
  margin-bottom: 12px;
}
.news-article p {
  font-family: 'Noto Serif Thai', serif;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-soft);
  font-weight: 300;
}
.news-source-note {
  margin-top: 14px;
  font-size: 11px !important;
  line-height: 1.7 !important;
  color: rgba(45,106,79,0.65) !important;
  font-style: italic;
}

/* ─── SERVICES / FACILITIES ───────────── */
.facilities-section {
  background: var(--jade);
  overflow: hidden;
}
.facilities-section .section-title { color: white; }
.facilities-section .section-lead { color: rgba(255,255,255,0.7); max-width: 600px; }
.facilities-section .section-eyebrow span { color: var(--gold-light); }
.facilities-section .section-eyebrow-line { background: var(--gold-light); }
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 60px;
}
.facility-item {
  background: rgba(255,255,255,0.04);
  padding: 40px 28px;
  transition: background 0.3s;
  cursor: default;
}
.facility-item:hover { background: rgba(255,255,255,0.06); }
.facility-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.facility-icon svg { width: 22px; height: 22px; stroke: rgba(255,255,255,0.9); fill: none; }
.facility-item h4 {
  font-family: 'Noto Serif Thai', serif;
  font-size: 15px; font-weight: 400;
  color: white;
  margin-bottom: 10px;
}
.facility-item p {
  font-family: 'Noto Serif Thai', serif;
  font-size: 12px; line-height: 1.9;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}
.facilities-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.facilities-stat {
  background: rgba(255,255,255,0.04);
  padding: 28px 20px;
  text-align: center;
}
.facilities-stat-num {
  font-size: 36px;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.facilities-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}
.facilities-rooms {
  margin-top: 56px;
}
.facilities-subtitle {
  font-family: 'Noto Serif Thai', serif;
  font-size: 22px;
  font-weight: 500;
  color: white;
  margin-bottom: 10px;
}
.facilities-sublead {
  font-family: 'Noto Serif Thai', serif;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
  max-width: 720px;
  margin-bottom: 28px;
}
.facilities-rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.facilities-room-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.facilities-room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.2);
}
.facilities-room-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.facilities-room-body {
  padding: 22px 20px 24px;
}
.facilities-room-type {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.facilities-room-body h4 {
  font-family: 'Noto Serif Thai', serif;
  font-size: 16px;
  font-weight: 500;
  color: white;
  margin-bottom: 8px;
}
.facilities-room-body p {
  font-family: 'Noto Serif Thai', serif;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}
.facilities-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.facilities-detail-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.facilities-detail-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.facilities-detail-body {
  padding: 22px 20px 24px;
}
.facilities-detail-body h4 {
  font-family: 'Noto Serif Thai', serif;
  font-size: 15px;
  font-weight: 500;
  color: white;
  margin-bottom: 10px;
}
.facilities-detail-body p {
  font-family: 'Noto Serif Thai', serif;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
}
.facilities-av-list {
  list-style: none;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
}
.facilities-av-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
}
.facilities-av-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
}
.facilities-booking {
  margin-top: 40px;
  padding: 24px 28px;
  border: 1px solid rgba(181,137,42,0.25);
  border-radius: 3px;
  background: rgba(0,0,0,0.15);
  text-align: center;
}
.facilities-booking p {
  font-family: 'Noto Serif Thai', serif;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
}
.facilities-booking a {
  color: var(--gold-light);
  text-decoration: none;
}
.facilities-booking a:hover { text-decoration: underline; }
.facilities-booking-note {
  margin-top: 8px;
  font-size: 12px !important;
  color: rgba(255,255,255,0.55) !important;
}
.facilities-section .section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.facilities-cta-secondary {
  margin-left: 0;
}
.location-info .contact-item-text a {
  color: var(--jade);
  text-decoration: none;
}
.location-info .contact-item-text a:hover {
  text-decoration: underline;
}

/* ─── GALLERY STRIP ───────────────────── */
.gallery-section { background: var(--warm-white); padding: 0; overflow: hidden; }
.gallery-header { padding: 80px 48px 40px; max-width: 1200px; margin: 0 auto; }
.gallery-strip {
  display: flex; gap: 3px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 106, 79, 0.35) transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  cursor: grab;
  padding-bottom: 80px;
  padding-left: 48px;
  touch-action: pan-x;
}
.gallery-strip.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}
.gallery-strip.is-dragging img {
  pointer-events: none;
}
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-item {
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.4s;
}
.gallery-item img {
  width: 320px; height: 220px;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

/* ─── LOCATION ────────────────────────── */
.location-section { background: var(--cream); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.location-info h3 {
  font-family: 'Noto Serif Thai', serif;
  font-size: 20px; font-weight: 400;
  color: var(--jade);
  margin-bottom: 8px;
}
.location-address {
  font-family: 'Noto Serif Thai', serif;
  font-size: 14px; line-height: 2;
  color: var(--text-soft);
  font-weight: 300;
  margin-bottom: 32px;
}
.contact-items { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.contact-item-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--jade-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.contact-item-icon svg { width: 14px; height: 14px; stroke: var(--jade); fill: none; }
.contact-item-text {
  font-family: 'Noto Serif Thai', serif;
  font-size: 14px; line-height: 1.8;
  color: var(--text-mid);
  font-weight: 300;
}
.location-map {
  border-radius: 3px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
  aspect-ratio: 4/3;
  background: var(--jade-pale);
  position: relative;
}
.location-map iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}

/* ─── CTA BAND ────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--jade) 0%, var(--jade-mid) 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.cta-band-thai-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.065;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d4a843' stroke-width='0.9'%3E%3Cpath d='M60 12c14 18 14 38 0 48-14-10-14-30 0-48z'/%3E%3Cpath d='M12 60c18 14 38 14 48 0-10-14-30-14-48 0z'/%3E%3Cpath d='M60 108c-14-18-14-38 0-48 14 10 14 30 0 48z'/%3E%3Cpath d='M108 60c-18-14-38-14-48 0 10 14 30 14 48 0z'/%3E%3Ccircle cx='60' cy='60' r='5' fill='%23d4a843' stroke='none' opacity='0.55'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 140px;
}
.cta-band-motif {
  position: absolute;
  width: min(200px, 22vw);
  height: min(200px, 22vw);
  pointer-events: none;
  z-index: 0;
  color: var(--gold-light);
  opacity: 0.11;
}
.cta-band-motif--left {
  left: -24px;
  bottom: -32px;
}
.cta-band-motif--right {
  right: -24px;
  top: -36px;
  transform: scaleX(-1);
}
.cta-band-motif svg {
  width: 100%;
  height: 100%;
}
.cta-band-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 {
  font-family: 'Noto Serif Thai', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  color: white;
  line-height: 1.4;
  max-width: 520px;
}
.cta-band h2 em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1em;
  opacity: 0.85;
}
.cta-band-actions { display: flex; gap: 16px; flex-shrink: 0; }
.btn-white {
  background: white;
  color: var(--jade);
  text-decoration: none;
  font-family: 'Noto Serif Thai', serif;
  font-size: 13px;
  padding: 14px 32px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-white:hover { background: var(--cream); transform: translateY(-1px); }
.btn-outline-white {
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
  text-decoration: none;
  font-family: 'Noto Serif Thai', serif;
  font-size: 13px;
  padding: 14px 32px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* ─── FOOTER ──────────────────────────── */
.sitm-index1-page footer {
  background: #0f1f17;
  padding: 64px 48px calc(32px + 64px);
  color: rgba(255,255,255,0.6);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 400;
  color: white;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.footer-brand .logo-th {
  font-family: 'Noto Serif Thai', serif;
  font-size: 11px; font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-brand p {
  font-family: 'Noto Serif Thai', serif;
  font-size: 12px; line-height: 2;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}
.footer-col h5 {
  font-family: 'Noto Serif Thai', serif;
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-family: 'Noto Serif Thai', serif;
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--jade-light); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p {
  font-size: 11px; letter-spacing: 0.05em;
  font-family: 'Noto Serif Thai', serif;
  font-weight: 300;
}
.footer-bottom .sitm-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.25);
}

/* ─── DIVIDER ──────────────────────────── */
.divider {
  display: flex; align-items: center; gap: 20px;
  margin: 0 0 48px;
}
.divider-line { flex: 1; height: 1px; background: rgba(45,106,79,0.15); }
.divider-ornament {
  width: 8px; height: 8px;
  border: 1px solid var(--jade);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ─── SCROLL REVEAL ───────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(13px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── KEYFRAMES ───────────────────────── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── RESPONSIVE ──────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.25rem, 4vw, 2rem);
  }
  .hero-image-stack {
    height: min(420px, 52vw);
    max-height: 480px;
  }
  .hero-img-main {
    left: 12px;
    bottom: 48px;
    width: calc(100% - 12px);
    height: calc(100% - 48px);
  }
  .hero-img-accent {
    width: min(160px, 38vw);
    height: min(160px, 38vw);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 2.5rem);
  }
  .about-image-wrap {
    max-width: 520px;
    margin-inline: auto;
  }
  .about-img-overlay {
    right: 12px;
    bottom: -16px;
  }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .news-article { grid-template-columns: 1fr; gap: 24px; }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-stats { grid-template-columns: repeat(2, 1fr); }
  .facilities-rooms-grid { grid-template-columns: 1fr 1fr; }
  .facilities-detail-grid { grid-template-columns: 1fr 1fr; }
  .location-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-header { padding-inline: clamp(1.25rem, 4vw, 2rem); }
}

@media (max-width: 768px) {
  .hero-inner { padding: 2.5rem 1.25rem 3.5rem; }
  .hero-title { font-size: 32px; }
  .hero-image-stack { height: 300px; }
  .hero-img-accent { width: 120px; height: 120px; }
  .hero {
    --hero-radius-main: 28px 10px 22px 10px;
    --hero-radius-accent: 12px 24px 10px 20px;
    --hero-radius-badge: 14px 5px 12px 5px;
  }
  .cta-band-motif {
    opacity: 0.07;
    width: 130px;
    height: 130px;
  }
  .cta-band-thai-pattern {
    opacity: 0.055;
  }
  .programs-grid { grid-template-columns: 1fr; }
  .news-article { padding: 20px; }
  .news-gallery-item img { height: 220px; }
  .facilities-grid { grid-template-columns: 1fr; }
  .facilities-stats { grid-template-columns: 1fr 1fr; }
  .facilities-rooms-grid { grid-template-columns: 1fr; }
  .facilities-detail-grid { grid-template-columns: 1fr; }
  .facilities-section .section-cta { flex-direction: column; }
  .gallery-header { padding: 3rem 1.25rem 1.5rem; }
  .gallery-strip { padding-left: 1.25rem; padding-bottom: 3.5rem; }
  .cta-band-inner { flex-direction: column; text-align: center; padding: 56px 20px; }
  .cta-band-actions { flex-direction: column; width: 100%; }
  .btn-white, .btn-outline-white { text-align: center; min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .sitm-index1-page footer { padding: 48px 20px calc(24px + 56px); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .vision-mission-grid { grid-template-columns: 1fr; }
}

/* ─── ENHANCEMENTS (design polish) ─────── */
.sitm-index1-page :is(a, button):focus-visible {
  outline: 2px solid var(--jade-mid);
  outline-offset: 3px;
}

.section-divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(181, 137, 42, 0.45) 20%,
    rgba(181, 137, 42, 0.45) 80%,
    transparent
  );
}

.sitm-index1-page .hero-ornament {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: min(480px, 42vw);
  height: min(480px, 42vw);
  opacity: 0.05;
  color: var(--jade);
  pointer-events: none;
  z-index: 1;
}

.sitm-index1-page .hero-ornament svg {
  width: 100%;
  height: 100%;
}

/* Hero — desktop density (mobile/tablet unchanged) */
@media (min-width: 1025px) {
  .hero {
    min-height: min(92vh, 820px);
    align-items: center;
  }

  .hero-bg {
    background:
      radial-gradient(ellipse 72% 75% at 88% 42%, rgba(45, 106, 79, 0.14) 0%, transparent 58%),
      radial-gradient(ellipse 50% 55% at 12% 78%, rgba(116, 198, 157, 0.08) 0%, transparent 52%),
      var(--cream);
  }

  .sitm-index1-page .hero-ornament {
    opacity: 0.09;
    width: min(520px, 44vw);
    height: min(520px, 44vw);
  }

  .hero-inner {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 64px;
    padding: 64px 48px;
    align-items: center;
  }

  .hero-left {
    position: relative;
    padding-left: 22px;
    border-left: 2px solid rgba(181, 137, 42, 0.38);
  }

  .hero-desc {
    max-width: 520px;
  }

  .hero-image-stack {
    height: 580px;
  }
}

@media (min-width: 1280px) {
  .hero-image-stack {
    height: 600px;
  }

  .hero-inner {
    gap: 72px;
  }
}

.gallery-scroll-wrap {
  position: relative;
}

.gallery-hint {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem) 12px;
  font-family: 'Noto Serif Thai', serif;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.gallery-fade {
  position: absolute;
  top: 0;
  bottom: 80px;
  width: 72px;
  pointer-events: none;
  z-index: 2;
}

.gallery-fade-right {
  right: 0;
  background: linear-gradient(90deg, transparent, var(--warm-white));
}

.location-map::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(45, 106, 79, 0.12), transparent 55%),
    linear-gradient(135deg, var(--jade-pale), var(--cream));
}

.location-map iframe {
  position: relative;
  z-index: 1;
}

.news-gallery-strip:focus-visible {
  outline: 2px solid var(--jade-mid);
  outline-offset: 3px;
}
.program-card:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 4px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

.facilities-section .section-title-en {
  color: rgba(255, 255, 255, 0.5);
}

.gallery-strip:focus-visible {
  outline: 2px solid var(--jade-mid);
  outline-offset: 4px;
}

.location-info .section-eyebrow {
  margin-bottom: 16px;
}

.location-info .section-title-en {
  margin-bottom: 24px;
}

.about-section-header {
  margin-bottom: 32px;
}

.about-cta {
  margin-top: 8px;
}

.location-section-cta {
  margin-top: 0;
  text-align: left;
}

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

  .sitm-index1-page *,
  .sitm-index1-page *::before,
  .sitm-index1-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-eyebrow,
  .hero-title,
  .hero-title-en,
  .hero-desc,
  .hero-actions,
  .hero-right,
  .hero-grid-line {
    opacity: 1;
    animation: none;
  }
}
