/* Chut Thai — Dressing for the Occasion. Do not reuse on other pages. */

.tl-main.tl-main--chut {
  padding: 0;
  background: #f3ebe0;
}

.tl-chut {
  --chut-gold: #c9a24a;
  --chut-gold-deep: #8b6914;
  --chut-gold-soft: #e8d5a3;
  --chut-saffron: #c4782a;
  --chut-crimson: #7a2e2e;
  --chut-ink: #1a1008;
  --chut-muted: #5e4f40;
  --chut-paper: #f3ebe0;
  --chut-silk: #faf6ef;
  --chut-white: #fffcf7;
  --chut-teak: #2a1c10;
  --chut-line: rgba(139, 105, 20, 0.22);
  --chut-serif: "Cormorant Garamond", "Times New Roman", serif;
  --chut-script: Caveat, "Segoe Script", cursive;
  color: var(--chut-ink);
  background: var(--chut-paper);
}

/* ——— Hero ——— */
.tl-chut-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: var(--tl-cover-min-height);
  padding: var(--tl-cover-pad-top) 40px var(--tl-cover-pad-bottom);
  color: #f8ecd8;
  overflow: hidden;
  background-color: var(--chut-teak);
  background-image: var(--tl-chut-hero);
  background-position: 72% top;
  background-repeat: no-repeat;
  background-size: cover;
}

/* PC: nudge cover up so the frame fills edge-to-edge */
@media (min-width: 981px) {
  .tl-chut-hero {
    background-position: 72% -56px;
  }
}

.tl-chut-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      rgba(26, 16, 8, 0.88) 0%,
      rgba(42, 28, 16, 0.5) 45%,
      rgba(122, 46, 46, 0.25) 100%
    ),
    linear-gradient(
      to top,
      rgba(26, 16, 8, 0.8) 0%,
      rgba(26, 16, 8, 0.15) 55%,
      transparent 100%
    );
}

.tl-chut-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--chut-gold) 20%,
    var(--chut-gold-soft) 50%,
    var(--chut-gold) 80%,
    transparent 100%
  );
  opacity: 0.85;
  pointer-events: none;
}

.tl-chut-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.tl-chut-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.tl-chut-crumb li + li::before {
  content: "·";
  margin-right: 10px;
  color: rgba(248, 236, 216, 0.45);
}

.tl-chut-crumb a {
  color: rgba(248, 236, 216, 0.78) !important;
  text-decoration: none !important;
}

.tl-chut-crumb a:hover,
.tl-chut-crumb a:focus-visible {
  color: var(--chut-gold-soft) !important;
}

.tl-chut-crumb [aria-current="page"] {
  color: rgba(248, 236, 216, 0.95);
}

.tl-chut-kicker {
  margin: 0 0 12px;
  color: var(--chut-gold-soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.tl-chut-hero h1 {
  margin: 0 0 10px;
  max-width: 14ch;
  color: #faf3e6;
  font-family: var(--chut-serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.tl-chut-thai {
  margin: 0 0 16px;
  color: rgba(232, 213, 163, 0.95);
  font-family: var(--chut-serif);
  font-size: clamp(18px, 2.2vw, 24px);
  font-style: italic;
  font-weight: 500;
}

.tl-chut-hero__lead {
  max-width: 36em;
  margin: 0;
  color: rgba(250, 243, 230, 0.88);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 300;
  line-height: 1.55;
}

/* ——— Section nav ——— */
.tl-chut-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 252, 247, 0.94);
  border-bottom: 1px solid var(--chut-line);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(26, 16, 8, 0.04);
}

.tl-chut-nav__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 12px 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tl-chut-nav a {
  flex: 0 0 auto;
  padding: 10px 16px;
  color: var(--chut-ink) !important;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none !important;
  border-radius: 2px;
  transition: color 0.2s ease, background 0.2s ease;
}

.tl-chut-nav a:hover,
.tl-chut-nav a:focus-visible {
  color: var(--chut-crimson) !important;
  background: rgba(201, 162, 74, 0.12);
}

/* ——— Shared section shell ——— */
.tl-chut-section {
  padding: 64px 40px 72px;
  scroll-margin-top: 64px;
}

.tl-chut-section--silk {
  background:
    radial-gradient(ellipse 70% 50% at 8% 0%, rgba(201, 162, 74, 0.12), transparent 55%),
    linear-gradient(180deg, #faf6ef 0%, #f0e4d4 100%);
}

.tl-chut-section--paper {
  background: var(--chut-white);
  border-top: 1px solid var(--chut-line);
  border-bottom: 1px solid var(--chut-line);
}

.tl-chut-section--warm {
  background: var(--chut-silk);
}

.tl-chut-section__inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.tl-chut-section__head {
  max-width: 42em;
  margin-bottom: 36px;
}

.tl-chut-ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: var(--chut-gold-deep);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tl-chut-ornament::before,
.tl-chut-ornament::after {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--chut-gold));
}

.tl-chut-ornament::after {
  background: linear-gradient(90deg, var(--chut-gold), transparent);
}

.tl-chut-section h2 {
  margin: 0 0 10px;
  font-family: var(--chut-serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.tl-chut-section__th {
  display: block;
  margin-bottom: 12px;
  color: var(--chut-crimson);
  font-family: var(--chut-serif);
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
}

.tl-chut-section__head > p {
  margin: 0;
  color: var(--chut-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

/* ——— Standard style cards ——— */
.tl-chut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tl-chut-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid transparent;
  border-bottom: 2px solid var(--chut-gold);
  box-shadow: 0 10px 28px rgba(26, 16, 8, 0.04);
  overflow: hidden;
}

.tl-chut-card:hover {
  border-color: rgba(201, 162, 74, 0.4);
  box-shadow: 0 16px 36px rgba(26, 16, 8, 0.08);
}

.tl-chut-card__media {
  position: relative;
  aspect-ratio: 2 / 3;
  margin: 0;
  overflow: hidden;
  background: #eadbc6;
}

.tl-chut-card__media--empty {
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(250, 246, 239, 0.95), rgba(232, 213, 163, 0.35));
}

.tl-chut-card__media--empty span {
  color: var(--chut-gold-deep);
  font-family: var(--chut-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.tl-chut-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.tl-chut-card:hover .tl-chut-card__media img {
  transform: scale(1.03);
}

.tl-chut-card__body {
  padding: 20px 18px 24px;
}

.tl-chut-card__num {
  display: block;
  margin-bottom: 10px;
  color: var(--chut-gold);
  font-family: var(--chut-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.tl-chut-card h3 {
  margin: 0 0 4px;
  font-family: var(--chut-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}

.tl-chut-card__th {
  display: block;
  margin-bottom: 10px;
  color: var(--chut-crimson);
  font-size: 13px;
  font-weight: 500;
}

.tl-chut-card__when {
  margin: 0 0 10px;
  color: var(--chut-saffron);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tl-chut-card p {
  margin: 0;
  color: var(--chut-muted);
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-chut-note {
  margin: 32px 0 0;
  max-width: 48em;
  margin-left: auto;
  margin-right: auto;
  color: var(--chut-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
}

/* ——— Region / tribe / rental grids ——— */
.tl-chut-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tl-chut-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Dress by Region: keep all four cards on one row (desktop) */
.tl-chut-grid--region {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.tl-chut-panel {
  padding: 26px 24px 28px;
  background: var(--chut-white);
  border: 1px solid var(--chut-line);
  border-top: 3px solid var(--chut-gold);
  box-shadow: 0 8px 24px rgba(26, 16, 8, 0.03);
  overflow: hidden;
}

.tl-chut-panel:has(.tl-chut-panel__media) {
  padding: 0;
}

.tl-chut-panel__media {
  position: relative;
  aspect-ratio: 2 / 3;
  margin: 0;
  overflow: hidden;
  background: #eadbc6;
}

.tl-chut-panel__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s ease;
}

.tl-chut-panel:hover .tl-chut-panel__media img {
  transform: scale(1.03);
}

.tl-chut-panel__body {
  padding: 22px 24px 26px;
}

.tl-chut-panel h3 {
  margin: 0 0 4px;
  font-family: var(--chut-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.tl-chut-panel__th {
  display: block;
  margin-bottom: 12px;
  color: var(--chut-crimson);
  font-size: 13px;
  font-weight: 500;
}

.tl-chut-panel__tag {
  margin: 0 0 12px;
  color: var(--chut-saffron);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tl-chut-panel p {
  margin: 0;
  color: var(--chut-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-chut-panel ul {
  margin: 14px 0 0;
  padding: 0 0 0 1.1em;
  color: var(--chut-muted);
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-chut-panel li + li {
  margin-top: 4px;
}

.tl-chut-callout {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--chut-line);
  background: linear-gradient(145deg, rgba(255, 252, 247, 0.95), rgba(248, 236, 216, 0.7));
}

.tl-chut-callout p {
  margin: 0;
  color: var(--chut-ink);
  font-family: var(--chut-script);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.tl-chut-callout span {
  display: block;
  margin-top: 10px;
  color: var(--chut-muted);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.65;
  font-style: normal;
}

/* ——— Close ——— */
.tl-chut-close {
  position: relative;
  display: block;
  color: #f8ecd8;
  overflow: hidden;
  background-color: var(--chut-teak);
}

.tl-chut-close__img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
}

.tl-chut-close__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.6);
}

.tl-chut-close__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 64px 40px;
}

.tl-chut-close h2 {
  margin: 0 0 12px;
  font-family: var(--chut-serif);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.08;
}

.tl-chut-close p:not(.tl-chut-kicker) {
  max-width: 32em;
  margin: 0 0 24px;
  color: rgba(248, 236, 216, 0.82);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

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

.tl-chut-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 2px;
  background: rgba(26, 16, 8, 0.5);
  color: #faf3e6 !important;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.65);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.25s ease;
}

.tl-chut-btn:hover,
.tl-chut-btn:focus-visible {
  background: var(--chut-gold-deep);
  color: #fff8ea !important;
}

.tl-chut-btn--ghost {
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .tl-chut-card:hover .tl-chut-card__media img {
    transform: none;
  }
}

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

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

@media (max-width: 1024px) {
  .tl-chut-hero {
    background-position: 74% top;
  }
}

@media (max-width: 780px) {
  .tl-chut-hero,
  .tl-chut-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .tl-chut-close__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .tl-chut-hero {
    background-position: 78% 8%;
  }

  .tl-chut-grid--2,
  .tl-chut-grid--3,
  .tl-chut-grid--region {
    grid-template-columns: 1fr;
  }

  .tl-chut-hero h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .tl-chut-grid {
    grid-template-columns: 1fr;
  }

  .tl-chut-hero {
    background-position: 82% 10%;
  }

  .tl-chut-section {
    padding-top: 48px;
    padding-bottom: 56px;
  }
}
