/* Flavors in Motion — Chao Phraya dinner cruise (dark river luxury) */

.tl-page--flavors {
  --fm-bg: #0a1628;
  --fm-bg-soft: #0f1e33;
  --fm-ink: #f2efe8;
  --fm-muted: rgba(242, 239, 232, 0.68);
  --fm-gold: #c9a05a;
  --fm-gold-soft: rgba(201, 160, 90, 0.18);
  --fm-river: #3a7ca5;
  --fm-line: rgba(242, 239, 232, 0.1);
  --fm-card: #121f34;
  background: var(--fm-bg);
  color: var(--fm-ink);
}

.tl-main--flavors {
  padding: 0;
  background: var(--fm-bg);
}

.tl-fm {
  font-family: "Bricolage Grotesque", sans-serif;
}

.tl-fm__wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

/* —— Full-bleed hero —— */
.tl-fm-hero {
  position: relative;
  min-height: min(56vh, 480px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.35) 0%, rgba(10, 22, 40, 0.55) 40%, rgba(10, 22, 40, 0.92) 100%),
    var(--fm-hero-image) center / cover no-repeat;
  color: var(--fm-ink);
}

.tl-fm-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 48px;
  max-width: 44rem;
  animation: fm-hero-in 0.9s ease-out both;
}

@keyframes fm-hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tl-fm-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  color: rgba(242, 239, 232, 0.62);
  font-size: 12px;
}

.tl-fm-crumb li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  opacity: 0.55;
}

.tl-fm-crumb a {
  color: inherit;
  text-decoration: none;
}

.tl-fm-crumb a:hover {
  color: var(--fm-gold);
}

.tl-fm-brandline {
  margin: 0 0 8px;
  color: var(--fm-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tl-fm-brandline span {
  color: rgba(242, 239, 232, 0.85);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
}

.tl-fm-hero h1 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 5.2vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.tl-fm-hero__sub {
  margin: 0;
  color: rgba(242, 239, 232, 0.82);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 300;
  line-height: 1.55;
  max-width: 38rem;
}

/* —— Sections —— */
.tl-fm-section {
  padding: 72px 0;
}

.tl-fm-section--soft {
  background: var(--fm-bg-soft);
}

.tl-fm-head {
  max-width: 40rem;
  margin: 0 0 36px;
}

.tl-fm-num {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--fm-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tl-fm-head h2 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}

.tl-fm-head p {
  margin: 0;
  color: var(--fm-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-fm-reveal {
  animation: fm-reveal 0.7s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% cover 28%;
}

@keyframes fm-reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports not (animation-timeline: view()) {
  .tl-fm-reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* —— Magic intro —— */
.tl-fm-magic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.tl-fm-magic__copy p {
  margin: 0 0 16px;
  color: var(--fm-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

.tl-fm-magic__copy p:last-child {
  margin-bottom: 0;
}

.tl-fm-magic__media {
  display: grid;
  gap: 14px;
}

.tl-fm-magic__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.tl-fm-magic__media img:nth-child(2) {
  aspect-ratio: 16 / 9;
  max-width: 88%;
  margin-left: auto;
}

/* —— Manohra spotlight —— */
.tl-fm-spot {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.tl-fm-spot__media {
  position: sticky;
  top: 88px;
}

.tl-fm-spot__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}

.tl-fm-spot__kicker {
  margin: 0 0 8px;
  color: var(--fm-river);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tl-fm-spot__body h3 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.tl-fm-spot__lead {
  margin: 0 0 28px;
  color: var(--fm-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

.tl-fm-features {
  display: grid;
  gap: 18px;
}

.tl-fm-feature {
  padding: 18px 0;
  border-top: 1px solid var(--fm-line);
}

.tl-fm-feature:last-child {
  border-bottom: 1px solid var(--fm-line);
}

.tl-fm-feature strong {
  display: block;
  margin: 0 0 6px;
  color: var(--fm-gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tl-fm-feature p {
  margin: 0;
  color: var(--fm-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

/* —— Cruise card grid —— */
.tl-fm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tl-fm-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--fm-card);
  border: 1px solid var(--fm-line);
  border-radius: 12px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.tl-fm-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 160, 90, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.tl-fm-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #162338;
}

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

.tl-fm-card:hover .tl-fm-card__media img {
  transform: scale(1.04);
}

.tl-fm-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 22px;
}

.tl-fm-card__vibe {
  margin: 0;
  color: var(--fm-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tl-fm-card__body h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.tl-fm-card__body p:not(.tl-fm-card__vibe) {
  margin: 0;
  color: var(--fm-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

/* —— Tips —— */
.tl-fm-tips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tl-fm-tip {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 22px;
  background: var(--fm-gold-soft);
  border: 1px solid rgba(201, 160, 90, 0.22);
  border-radius: 12px;
}

.tl-fm-tip__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--fm-gold);
}

.tl-fm-tip strong {
  display: block;
  margin: 0 0 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.tl-fm-tip p {
  margin: 0;
  color: var(--fm-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}

/* —— Closing CTA —— */
.tl-fm-close {
  padding: 80px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 50% at 50% 0%, rgba(58, 124, 165, 0.22), transparent 60%),
    linear-gradient(180deg, var(--fm-bg-soft) 0%, #07101c 100%);
}

.tl-fm-close h2 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}

.tl-fm-close > .tl-fm__wrap > p {
  max-width: 34rem;
  margin: 0 auto 28px;
  color: var(--fm-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-fm-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tl-fm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tl-fm-btn--gold {
  background: var(--fm-gold);
  color: #0a1628;
}

.tl-fm-btn--gold:hover {
  background: #d4b06e;
}

.tl-fm-btn--ghost {
  background: transparent;
  color: var(--fm-ink);
  border: 1px solid var(--fm-line);
}

.tl-fm-btn--ghost:hover {
  border-color: var(--fm-gold);
  color: var(--fm-gold);
}

.tl-fm-close__note {
  margin-top: 28px;
  color: var(--fm-gold);
  font-family: "Caveat", cursive;
  font-size: 24px;
  font-weight: 600;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .tl-fm-magic,
  .tl-fm-spot {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tl-fm-spot__media {
    position: static;
  }

  .tl-fm-spot__media img {
    aspect-ratio: 16 / 10;
  }

  .tl-fm-magic__media img:nth-child(2) {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .tl-fm__wrap,
  .tl-fm-hero__inner {
    width: min(100% - 32px, 1120px);
  }

  .tl-fm-hero {
    min-height: min(48vh, 400px);
  }

  .tl-fm-hero__inner {
    padding: 64px 0 40px;
  }

  .tl-fm-section {
    padding: 52px 0;
  }

  .tl-fm-grid,
  .tl-fm-tips {
    grid-template-columns: 1fr;
  }

  .tl-fm-close {
    padding: 64px 0;
  }
}
