/* ==========================================================================
   THE TOURWALA — HOMEPAGE LAYER
   Extends tokens.css and components.css. Mobile first. Tested at
   320, 375, 390, 768, 1024, 1280, 1440 and 1920px.
   ========================================================================== */

dl, ul, ol { margin: 0; }
ul.hero__meta, ul.dest__highlights, ul.audience, ul.audience__note { list-style: none; padding: 0; }
.footer-lede { margin-top: 16px; max-width: 26em; color: var(--c-on-dark); font-size: 17px; }
.form-alert { margin: 0; padding: 16px 20px; background: #FBEDEB; border-left: 4px solid var(--c-error); color: var(--c-text); font-weight: 500; }
.label-legend { font-size: 17px; font-weight: 700; color: var(--c-text); font-family: var(--f-body); padding: 0; margin-bottom: 10px; }
.choice-group { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.field__error { display: block; font-size: 16px; color: var(--c-error); font-weight: 500; }
.enquiry-section .form legend { font-size: var(--fs-h3); }

/* 4. Trust statistics */
.section--stats { padding-block: clamp(40px, 5vw, 72px); }
.metrics dt, .metrics dd { margin: 0; }
.metrics__note { margin-top: 16px; font-size: 16px; color: var(--c-muted); }
.metrics sup a { color: var(--c-accent-ink); text-decoration: none; font-weight: 700; padding: 6px; display: inline-block; }
.metric .metric__label { order: 2; }
.metric .metric__num { order: 1; margin-bottom: 12px; }
.metric { display: flex; flex-direction: column; }

/* 1–3 hero helpers */
.hero__meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: 17px; color: var(--c-muted); }
.hero__meta li { position: relative; padding-left: 0; }
.hero__meta strong { color: var(--c-primary); }

/* 5. Journeys — cards with highlights and two real CTAs */
.dest__highlights { display: grid; gap: 8px; font-size: 17px; }
.dest__highlights li { position: relative; padding-left: 26px; }
.dest__highlights li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: var(--c-accent); }
.dest__actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 8px; }
.dest__actions .btn { min-height: 52px; }
.dest__index { z-index: 1; }
.dest .ph { padding-top: clamp(72px, 7vw, 92px); }

/* 6. Timeline note */
.journey__note { margin-top: 20px; font-size: 17px; color: var(--c-muted); padding-left: 16px; border-left: 2px solid var(--c-secondary); max-width: 32em; }

/* 7. Why choose — asymmetric bento */
.why { display: grid; gap: 20px; }
.why__card { background: var(--c-white); border: 1px solid var(--c-line); padding: clamp(28px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.why__card h3 { font-size: clamp(24px, 2.4vw, 30px); }
.why__card p { font-size: 17px; max-width: 34em; }
.why__num { font-family: var(--f-display); font-size: 20px; color: var(--c-accent-ink); letter-spacing: .04em; }
.why__card--lead { background: var(--c-primary); border-color: var(--c-primary); }
.why__card--lead h3 { color: var(--c-white); }
.why__card--lead p, .why__card--lead .why__num { color: var(--c-on-dark); }
.why__card--lead .why__num { color: #E6CBA2; }
@media (min-width: 720px) { .why { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .why__card--lead { grid-column: 1 / -1; } }
@media (min-width: 1080px) {
  .why { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 24px; }
  .why__card { grid-column: span 6; min-height: 280px; }
  .why__card--lead { grid-column: span 7; }
  .why__card:nth-child(3) { grid-column: span 5; margin-top: 56px; }
  .why__card:nth-child(4) { grid-column: 6 / span 7; }
  .why__card:nth-child(2) { grid-column: span 5; }
}

/* 8. Founders */
.founder__visual { position: relative; aspect-ratio: 4 / 5; background: var(--c-primary); color: var(--c-white); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 3vw, 40px); overflow: hidden; }
.founder__visual::before { content: ""; position: absolute; inset: 16px; border: 1px dashed rgba(255,255,255,.3); pointer-events: none; }
.founder__monogram { position: relative; display: flex; flex-direction: column; gap: 0; font-family: var(--f-display); font-size: clamp(88px, 16vw, 168px); line-height: .9; letter-spacing: -.02em; }
.founder__monogram span:last-child { color: #E6CBA2; font-style: italic; }
.founder__visual-note { position: relative; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--c-on-dark); margin: 0; }
.founder__names { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.founder__names > div { display: grid; gap: 4px; }
.founder__names dt { font-family: var(--f-display); font-size: 22px; color: var(--c-primary); font-weight: 600; }
.founder__names dd { margin: 0; font-size: 16px; color: var(--c-muted); }
.founder__copy p { max-width: 36em; }
.founder__copy h2 { margin-bottom: 20px; }
.founder__copy .founder__pull { display: none; }
.founder__copy > p:nth-of-type(1) { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-primary); }
@media (min-width: 900px) { .founder__visual { margin-right: -48px; z-index: 0; } .founder__copy { position: relative; z-index: 1; background: var(--c-white); padding: clamp(32px, 4vw, 64px); margin-top: clamp(40px, 6vw, 96px); } }

/* 9. Audience — dark band, four cards */
.audience { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.audience__item { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.2); display: grid; gap: 10px; }
.audience__item h3 { color: var(--c-white); font-size: clamp(26px, 2.6vw, 34px); }
.audience__item p { color: var(--c-on-dark); font-size: 17px; max-width: 34em; }
.audience__note { margin-top: 32px; font-size: 17px; color: var(--c-on-dark); }
@media (min-width: 720px) { .audience { grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 56px; } }
@media (min-width: 1080px) { .audience { grid-template-columns: repeat(4, minmax(0,1fr)); column-gap: 40px; border-top: 0; } .audience__item { border-top: 1px solid rgba(255,255,255,.3); padding: 32px 0 8px; } }

/* 10. Gallery — variable grid */
.gallery img { height: 100%; }
.gallery picture { display: block; height: 100%; }
@media (max-width: 899px) { .gallery figure:nth-child(3n+1) .frame { aspect-ratio: 1 / 1; } }

/* 12. Calendar: link inside row header */
.cal tbody th a { color: var(--c-primary); text-decoration: none; }
.cal tbody th a:hover { text-decoration: underline; }
.cal td .slot, .cal td .none { white-space: nowrap; }

/* 13. FAQ layout */
.faq-layout { display: grid; gap: clamp(40px, 5vw, 72px); }
.faq-layout .text-link { margin-top: 24px; }
.faq summary h3 { font-size: clamp(21px, 2.1vw, 26px); }
@media (min-width: 900px) { .faq-layout { grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: 96px; align-items: start; } .faq-layout__intro { position: sticky; top: 130px; } }

/* 14. Enquiry */
.enquiry-section { scroll-margin-top: 100px; }
.enquiry .form legend { font-size: var(--fs-h3); }

/* 15. Final CTA */
.cta-band { background: var(--c-primary); }
.cta-band__inner { display: grid; gap: 32px; align-items: center; }
.cta-band .lead { color: var(--c-on-dark); }
.cta-band__actions { margin-top: 0; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 64px; } .cta-band__actions { justify-content: flex-end; } }

/* 16. Footer tap targets */
.footer-cols a, .footer-bottom a, .footer-brand .social a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-cols address { font-style: normal; font-size: 17px; line-height: 1.6; color: var(--c-on-dark); margin-bottom: 12px; }
.footer-cols address + ul { display: grid; gap: 4px; }
.footer-cols ul { margin: 0; }
.footer-bottom nav a { min-height: 44px; }

/* Navigation tap targets */
.nav-link { min-height: 44px; display: inline-flex; align-items: center; }
.tours-dd > summary { min-height: 44px; }
.tours-dd__panel a { min-height: 56px; }
.nav-mobile__panel a { min-height: 52px; }
.nav-mobile > summary { min-height: 52px; }

/* ---- Breakpoint refinements ------------------------------------------ */
@media (max-width: 359px) {
  .brand img { width: 44px; height: 44px; }
  .brand__name { font-size: 19px; }
  .announce__inner { font-size: 15px; }
  .metric { padding-inline: 12px 8px !important; }
  .metric__num { font-size: 44px; }
  .metric__label { font-size: 16px; }
  .hero__meta { font-size: 16px; }
  .btn { padding-inline: 18px; font-size: 17px; }
}
@media (min-width: 1280px) {
  .hero__copy .lead { max-width: 30em; }
  .dest-grid { gap: 96px; }
}
@media (min-width: 1920px) {
  :root { --max: 1440px; }
  .hero__media { min-height: 680px; }
}

/* ---- Audit fixes (overflow, tap targets, type floor) ------------------ */
picture { display: block; max-width: 100%; }
.footer-top > *, .footer-brand, .footer-cols > * { min-width: 0; }
.footer-cols { grid-template-columns: minmax(0, minmax(0,1fr)); }
@media (min-width: 480px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, minmax(0,1fr))); } }
@media (min-width: 900px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, minmax(0,1fr))); } }
.footer-brand h2 { overflow-wrap: anywhere; }
.metrics sup { font-size: 1em; line-height: 1; vertical-align: top; }
.metrics sup a { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; padding: 0; font-size: 20px; }
.announce a { display: inline-flex; align-items: center; min-height: 44px; }
.text-link { min-height: 44px; align-items: center; }
.nav-link { min-width: 44px; justify-content: center; padding-inline: 8px; }
.cal-wrap { min-width: 0; overflow-x: auto; }
@media (min-width: 720px) and (max-width: 1079px) {
  .cal th, .cal td { padding: 16px 10px; }
  .cal tbody th { min-width: 0; font-size: 18px; }
  .cal .slot { font-size: 16px; padding: 6px 10px; }
  .cal caption { font-size: 22px; }
}
.cal td .slot, .cal td .none { white-space: normal; }

/* ---- Second audit pass ---------------------------------------------- */
.hero__grid > *, .hero__copy, .hero__media, .dest, .dest__media, .showcase > *, .gallery figure, .strip > *, .feature-gallery figure, .founder > *, .enquiry > *, .journey > *, .faq-layout > * { min-width: 0; }
.footer-top { grid-template-columns: minmax(0, minmax(0,1fr)); }
@media (min-width: 1280px) { .footer-top { grid-template-columns: minmax(0, minmax(0,1fr)) minmax(0, minmax(0,1.6fr)); } }
.footer-cols a { overflow-wrap: anywhere; }
.footer-cols li a { display: flex; min-height: 44px; align-items: center; }
.cal tbody th a { display: inline-flex; min-height: 44px; align-items: center; }
.contact-list a { display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; }
.contact-text { min-width: 0; }
@media (min-width: 1080px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, minmax(0,1fr))); }
  .why { grid-template-columns: repeat(12, minmax(0, minmax(0,1fr))); }
  .dest-grid { grid-template-columns: repeat(12, minmax(0, minmax(0,1fr))); }
  .showcase { grid-template-columns: repeat(12, minmax(0, minmax(0,1fr))); }
}
/* Photo frames: images are absolutely positioned so intrinsic image size never drives layout. */
.hero__media, .dest__media, .showcase__media, .gallery .frame, .feature-gallery .frame, .strip .frame { position: relative; }
.hero__media picture, .dest__media picture, .showcase__media picture, .gallery .frame picture, .feature-gallery .frame picture, .strip .frame picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media picture img, .dest__media picture img, .showcase__media picture img, .gallery .frame picture img, .feature-gallery .frame picture img, .strip .frame picture img { width: 100%; height: 100%; object-fit: cover; }
.hero__media { width: 100%; }
.timeline__step, .dest__meta, .dest__meta span, .announce, .announce__inner, .metric__label { font-size: 16px; }
.contact-list dt, .footer-cols h3, .brand__name small, .footer-bottom { font-size: 16px; }
.brand__name small { font-size: 16px; }
.tours-dd__panel a span, .cal thead th, .cal caption, .eyebrow, .ph__note { font-size: 16px; }

/* Utility classes replacing inline style attributes (the Content-Security-Policy forbids style attributes). */
.fs-16px{font-size:16px}
.fs-varfsh3{font-size:var(--fs-h3)}
.mt-24px{margin-top:24px}
.mt-32px{margin-top:32px}
.mt-36px{margin-top:36px}
.mt-40px{margin-top:40px}
.mt-48px{margin-top:48px}
.mw-760px{max-width:760px}
.mw-820px{max-width:820px}

/* Lead form feedback */
.form-notice { margin: 12px 0 0; padding: 12px 14px; border-left: 3px solid var(--c-accent); background: var(--c-ivory); color: var(--c-text); font-size: 15px; line-height: 1.5; }
.form-notice[hidden], .form-summary[hidden] { display: none; }
.form-summary:focus { outline: 2px solid var(--c-secondary); outline-offset: 3px; }
.form-alert { margin: 0 0 16px; padding: 12px 14px; border-left: 3px solid #A23B2C; background: #FBF1EE; color: var(--c-text); font-size: 15px; }
[data-lead-form] button[aria-busy="true"] { opacity: .7; cursor: progress; }
