/* Landing pages (/cheapest-flights-to-bhutan/, /bhutan-flight-tickets/, /book-flights-to-bhutan/).
   Loaded after /styles.css. Every block sits on the shared frame: content between var(--gut) and var(--gut). */

/* ---------- hero, shared ---------- */
.l-hero { position: relative; display: flex; flex-direction: column; min-height: 100svh; background: var(--ink); color: #f2eee6; overflow: hidden; }
.l-hero > .nav { position: relative; z-index: 2; }
.l-hero h1 { font-size: clamp(40px, 6vw, 88px); line-height: .98; letter-spacing: -.04em; max-width: none; text-wrap: balance; }
.l-hero h1 span { display: block; color: rgba(242, 238, 230, .55); }
.l-hero .lede { color: #e6e1d7; max-width: 52ch; text-shadow: none; }
.l-crumbs { color: rgba(242, 238, 230, .7); margin-bottom: 22px; }
.l-crumbs a { color: #f2eee6; text-decoration: none; display: inline-block; padding: 12px 0; margin: -12px 0; }
.l-crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.l-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.l-act .go.big { width: auto; min-height: 60px; }
.l-hero .go.ghost { color: #f2eee6; border-color: rgba(242, 238, 230, .5); min-height: 60px; }
.l-hero .go.ghost:hover { background: #f2eee6; color: var(--ink); border-color: #f2eee6; }
.l-hero .chips { margin-top: 22px; }
.l .pill { min-height: 44px; display: inline-flex; align-items: center; }

/* full-bleed photograph (page 1) */
.l-bg { position: absolute; inset: 0; }
.l-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; animation: drift 24s ease-out both; }
.l-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 20, 18, .7) 0%, rgba(13, 20, 18, .25) 26%, rgba(13, 20, 18, .45) 55%, rgba(13, 20, 18, .92) 100%); }
.l-full > :not(.l-bg) { position: relative; z-index: 1; }
.l-copy { margin-top: auto; padding: 48px var(--gut) 40px; }
.l-under { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: end; margin-top: 26px; }
.l-under .lede { font-size: clamp(16px, 1.4vw, 19px); }
.l-under .l-act { margin-top: 0; }
.l-full .idx { position: relative; z-index: 1; }
a.idx-c { text-decoration: none; min-height: 44px; }

/* split hero: text one half, photograph the other (pages 2 and 3) */
.l-split { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
.l-text { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; padding: clamp(40px, 6vw, 96px) clamp(24px, 4vw, 64px) clamp(40px, 5vw, 72px) var(--gut); }
.l-split.flip .l-text { padding-left: clamp(24px, 4vw, 64px); padding-right: var(--gut); }
.l-split .l-text h1 { font-size: clamp(40px, 4.8vw, 76px); }
.l-photo { position: relative; min-height: 320px; overflow: hidden; }
.l-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; animation: drift 24s ease-out both; }

@media (prefers-reduced-motion: reduce) { .l-bg img, .l-photo img { animation: none; } }

/* ---------- route and fare rows: four equal columns, hairlines with equal padding ---------- */
.l-fares { border-top: 1px solid var(--ink); }
.l-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: background .2s; }
.l-row > div { min-width: 0; padding: 22px 24px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.l-row > div:first-child { padding-left: 0; border-left: 0; }
.l-row > div:last-child { padding-right: 0; }
.l-row .mono { color: var(--mut); }
.l-row > div:first-child .mono { color: var(--sun); }
.l-row h3 { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.1; }
.l-row p { font-size: 15px; font-weight: 500; }
.l-row small { color: var(--mut); font-size: 13px; line-height: 1.45; }
.l-fare { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.l-fare.l-none { font-size: clamp(19px, 1.7vw, 22px); letter-spacing: -.02em; }
.l-months { list-style: none; margin: 0; padding: 0; width: 100%; }
.l-months li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 14px; }
.l-months li span { color: var(--mut); } .l-months li b { font-weight: 500; font-variant-numeric: tabular-nums; }
.l-arrow { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 500; }
.l-arrow i { font-style: normal; color: var(--sun); display: inline-block; transition: transform .2s; }
.l-row:hover { background: var(--card); }
.l-row:hover .l-arrow i { transform: translateX(4px); }
.l-note { margin-top: 20px; color: var(--mut); font-size: 13.5px; max-width: 80ch; }

/* ---------- columns separated by hairlines: thirds, or halves with .n2 ---------- */
.l-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.l-cols.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.l-cols > div { min-width: 0; padding: 26px 28px 8px; border-left: 1px solid var(--line); }
.l-cols > div:first-child { padding-left: 0; border-left: 0; }
.l-cols > div:last-child { padding-right: 0; }
.l-cols .mono { display: block; color: var(--sun); margin-bottom: 18px; }
.l-cols h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; margin-bottom: 10px; }
.l-cols h3 a { text-decoration: none; } .l-cols h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.l-cols p { color: var(--mut); font-size: 15px; line-height: 1.6; max-width: 52ch; }
.band.dark .l-cols, .band.dark .l-cols > div { border-color: var(--line-d); }
.band.dark .l-cols p { color: var(--mut-d); }

/* the four steps on a light band */
.band:not(.dark) .how { border-top-color: var(--ink); }
.band:not(.dark) .how li { border-color: var(--line); }
.band:not(.dark) .how p { color: var(--mut); }
.ledger dt.mono { color: var(--sun); }

/* closing call */
.l-cta .go.big { max-width: 520px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .l-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-row > div:nth-child(2) { padding-right: 0; }
  .l-row > div:nth-child(3), .l-row > div:nth-child(4) { grid-column: 1 / -1; border-left: 0; padding: 0 0 18px; }
  .l-row > div:nth-child(3):has(.l-months) { padding-top: 2px; }
  .l-months { max-width: 420px; }
  .l-cols:not(.n2) { grid-template-columns: minmax(0, 1fr); }
  .l-cols:not(.n2) > div { border-left: 0; padding: 22px 0; border-top: 1px solid var(--line); }
  .l-cols:not(.n2) > div:first-child { border-top: 0; }
  .band.dark .l-cols > div { border-top-color: var(--line-d); }
  .l-split, .l-split.flip { grid-template-columns: minmax(0, 1fr); }
  .l-splithero { min-height: 0; }
  .l-split .l-text, .l-split.flip .l-text { padding: 48px var(--gut) 44px; }
  .l-split .l-photo { order: 2; height: 56svh; min-height: 300px; }
}
@media (max-width: 700px) {
  .l-under { grid-template-columns: minmax(0, 1fr); }
  .l-copy { padding-top: 36px; padding-bottom: 28px; }
  .l-hero h1, .l-split .l-text h1 { font-size: clamp(36px, 10.6vw, 52px); }
  .l-cols.n2 { grid-template-columns: minmax(0, 1fr); }
  .l-cols.n2 > div { border-left: 0; padding: 22px 0; border-top: 1px solid var(--line); }
  .l-cols.n2 > div:first-child { border-top: 0; }
  .l-act .go { flex: 1 1 100%; justify-content: space-between; }
  .l .g-links { grid-template-columns: minmax(0, 1fr); }
  .l .foot p a { display: inline-block; padding: 10px 0; }
}

/* director's pass: split-hero headlines sit on two clean lines, never four */
@media (min-width: 981px) {
  .l-split .l-text h1 { font-size: clamp(30px, 3.5vw, 54px); line-height: 1.02; white-space: nowrap; text-wrap: nowrap; }
  .l-split .l-text h1 br { display: none; }
  .l-split .l-text h1 span { white-space: nowrap; margin-top: 2px; }
  .l-split .l-text .lede { margin-top: 18px; }
}
@media (max-width: 560px) {
  .l-hero h1, .l-split .l-text h1 { font-size: 7.4vw; line-height: 1.04; white-space: nowrap; text-wrap: nowrap; }
  .l-hero h1 span, .l-split .l-text h1 span { white-space: nowrap; }
}
.l-hero h1 { text-wrap: pretty; }
