/* =====================================================================
   TRIWAYS — /experiences/egypt-gastronomy/
   Loaded by that page only, after triways-article.css, triways-visual.css
   and triways-culture-heritage.css. Prefix: tv-ga-   (body.tv-cu.tv-ga)
   Nothing here styles the header, the navigation or the footer.

   Reused as they are from triways-culture-heritage.css (tv-cu-):
     .tv-cu-hero      photo hero, facts left, answer right
     .tv-cu-split     heading left, prose right
     .tv-cu-frame     photograph holder with the slow hover zoom
     .tv-cu-faq       native details, plus / minus
     .tv-cu-enquiry   words left, underline fields right
   New here, and reusable on the other /experiences/ inside pages
   (link this file after triways-culture-heritage.css, add body.tv-ga):
     .tv-ga-hero      facts as three ruled columns, answer low on the right, outlined tags
     .tv-ga-route     a vertical line with four dots under a sticky heading
     .tv-ga-place     counted row: numeral | title and text | 3:2 photograph
     .tv-ga-rows      three-column ledger on ink: label | title | description
     .tv-ga-gallery   four photographs, the first wider, one height, wider than the text
     .tv-ga-practical heading | photograph | text
     .tv-ga-faq       a plus before each question as well as the plus / minus after it
     .tv-ga-enquiry   a tall photograph down the left edge, then words, then the form
   ===================================================================== */

/* Page tokens, mapped to the culture-heritage and site tokens. */
.tv-ga {
  --tv-ga-gold: var(--tv-cu-gold);               /* champagne, on ink */
  --tv-ga-gold-text: var(--tv-cu-gold-text);     /* small gold text on cream: 4.9:1 */
  --tv-ga-rule: var(--tv-cu-rule);               /* brass hairline on cream */
  --tv-ga-rule-gold: rgba(200, 183, 156, 0.34);  /* champagne hairline on ink */
  --tv-ga-rule-gold-strong: rgba(200, 183, 156, 0.85);
  --tv-ga-dim: rgba(244, 240, 232, 0.82);        /* body copy on ink */
  --tv-ga-side: clamp(11rem, 17vw, 20rem);       /* the enquiry photograph */
}

/* Eyebrows keep their short trailing hairline on this page */
body.tv-ga .hb-kicker.hb-kicker::after { display: block; }
.tv-ga main section[id] { scroll-margin-top: 5rem; }
@media (max-width: 479.98px) {
  .tv-ga main .hb-wrap, .tv-ga .art-fleet.tv-ga-gallery { padding-inline: 1rem; }   /* 16px side gutters on phones */
}

/* ---------------------------------------------------------------------
   1 · HERO — the table by the Nile at full bleed. The chef's hand is top
   right, so the words sit on the dark left and the answer low on the right.
   ------------------------------------------------------------------- */
.tv-ga-hero .tv-cu-hero__media picture { display: contents; }
.tv-ga-hero .hub-crumbs { margin-bottom: clamp(0.7rem, 1.8vw, 1.45rem); }
.tv-ga-hero .hub-crumbs a, .tv-ga-hero .hub-crumbs [aria-current="page"] { display: inline-block; padding: 0.8rem 0.2rem; margin-inline: -0.2rem; }
.tv-ga-hero .hub-hero__title { font-size: clamp(2.75rem, 1.9rem + 3.1vw, 4.5rem); max-width: 11ch; }

/* Walk / Taste / Dine: three columns, each opened by a thin gold rule */
.tv-ga .tv-ga-hero .art-standing { grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; max-width: none; }
.tv-ga .tv-ga-hero .art-standing > div:nth-child(n) { display: block; padding: 0.1rem clamp(1.1rem, 2.2vw, 2rem) 0.15rem 1rem; border: 0; border-left: 1px solid rgba(200, 183, 156, 0.7); }
.tv-ga .tv-ga-hero .art-standing dt { margin: 0 0 0.4rem; }
.tv-ga .tv-ga-hero .art-standing dd { font-family: var(--hb-serif); font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); line-height: 1.2; max-width: 9.5ch; }

/* The answer: a gold hairline above, the five named arrangements as outlined tags */
.tv-ga-hero .hub-hero__answer { padding-top: 1.1rem; border-top: 1px solid rgba(200, 183, 156, 0.6); }
.tv-ga-hero .art-hero__label { max-width: none; }
.tv-ga-hero .hub-hero__answer p:not(.art-hero__label) { font-size: 0.94rem; line-height: 1.7; max-width: none; }
.tv-ga-hero .art-named { gap: 0.4rem; margin-top: 1.2rem; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; line-height: 1.4; color: var(--tv-ga-gold); }
.tv-ga-hero .art-named li { padding: 0.34rem 0.6rem 0.3rem; border: 1px solid rgba(200, 183, 156, 0.6); border-radius: 1px; }
.tv-ga-hero .art-named li::after { content: none; }

@media (min-width: 900px) {
  .tv-ga-hero .tv-cu-hero__media img { object-position: 100% 42%; }
  /* darkened left to right for the title */
  .tv-ga-hero .tv-cu-hero__media::after {
    background: linear-gradient(90deg, rgba(21, 21, 21, 0.96) 0%, rgba(21, 21, 21, 0.9) 28%, rgba(21, 21, 21, 0.72) 46%, rgba(21, 21, 21, 0.36) 64%, rgba(21, 21, 21, 0.22) 100%);
  }
  /* and a soft-edged pool of ink that travels with the answer, so its small gold type clears AA
     wherever the block lands on the photograph */
  .tv-ga-hero .hub-hero__answer { position: relative; isolation: isolate; }
  .tv-ga-hero .hub-hero__answer::before { content: ""; position: absolute; inset: -1.75rem -2.5rem -3.5rem; z-index: -1; background: rgba(21, 21, 21, 0.87); filter: blur(22px); }
  .tv-ga-hero .tv-cu-hero__inner { min-height: clamp(35rem, 27rem + 15vw, 42rem); }
  .tv-ga-hero .tv-cu-hero__grid { grid-template-columns: minmax(0, 31rem) minmax(0, 28rem); gap: clamp(2rem, 4vw, 4.5rem); justify-content: space-between; align-items: end; }
}
@media (max-width: 899.98px) {
  /* the phone crop is the chef's hand and the table; words go over it under a heavier wash */
  .tv-ga-hero .tv-cu-hero__media img { object-position: 62% 50%; }
  .tv-ga-hero .tv-cu-hero__media::after {
    background: linear-gradient(180deg, rgba(21, 21, 21, 0.84) 0%, rgba(21, 21, 21, 0.82) 42%, rgba(21, 21, 21, 0.93) 100%);
  }
  .tv-ga-hero .hub-hero__title { max-width: none; }
}
@media (max-width: 559.98px) {
  /* label left, value right, one fact to a line */
  .tv-ga .tv-ga-hero .art-standing { grid-template-columns: minmax(0, 1fr); max-width: 22rem; }
  .tv-ga .tv-ga-hero .art-standing > div:nth-child(n) { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); align-items: baseline; gap: 1rem; padding: 0.7rem 0 0.7rem 0.9rem; }
  .tv-ga .tv-ga-hero .art-standing dt { margin: 0; }
  .tv-ga .tv-ga-hero .art-standing dd { max-width: none; }
}

/* ---------------------------------------------------------------------
   2 · EGYPT'S TABLE — the heading stays put with a route line under it;
   four counted rows on the right, each with its photograph.
   ------------------------------------------------------------------- */
.tv-ga-table .art-split__head .hb-heading--h2::after,
.tv-ga-practical .art-split__head .hb-heading--h2::after { display: none; }
.tv-ga-route { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 7px; height: clamp(11rem, 21vw, 18rem); margin-top: clamp(1.9rem, 3.2vw, 2.75rem); }
.tv-ga-route::before { content: ""; position: absolute; top: 0; bottom: 0; left: 3px; width: 1px; background: var(--tv-cu-brass); opacity: 0.55; }
.tv-ga-route i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--tv-cu-brass); }

.tv-ga-table .art-prose { counter-reset: tv-ga-place; }
.tv-ga .tv-ga-table .art-prose__lead { max-width: 30ch !important; margin-bottom: clamp(1.5rem, 2.6vw, 2rem); }
.tv-ga .tv-ga-table .art-prose .tv-ga-place {
  counter-increment: tv-ga-place;
  display: grid; grid-template-columns: 3.1rem minmax(0, 1fr) minmax(0, 17.5rem);
  gap: 1rem clamp(1.1rem, 2.4vw, 2.25rem); align-items: start;
  margin: 0; padding: clamp(1.4rem, 2.3vw, 1.9rem) 0;
  border-top: 1px solid var(--tv-ga-rule);
}
.tv-ga .tv-ga-table .art-prose .tv-ga-place:last-child { border-bottom: 1px solid var(--tv-ga-rule); }
.tv-ga-place::before {
  content: counter(tv-ga-place, decimal-leading-zero);
  font-family: var(--hb-serif); font-weight: 400; font-size: clamp(1.7rem, 1.45rem + 0.8vw, 2.15rem); line-height: 1;
  color: var(--tv-ga-gold-text); font-variant-numeric: lining-nums;
}
.tv-ga .tv-ga-table .tv-ga-place h3 { font-weight: 400; font-size: clamp(1.45rem, 1.3rem + 0.5vw, 1.7rem); margin-bottom: 0.45rem; }
.tv-ga .tv-ga-table .tv-ga-place p { font-size: 0.94rem; line-height: 1.75; max-width: 46ch; }
.tv-ga-place__photo { margin: 0; }
.tv-ga-place__photo .tv-cu-frame img { aspect-ratio: 3 / 2; }

@media (max-width: 1023.98px) {
  .tv-ga-route { display: none; }
}
@media (max-width: 767.98px) {
  /* photograph first, then the numeral beside the words */
  .tv-ga .tv-ga-table .art-prose .tv-ga-place { grid-template-columns: 2.6rem minmax(0, 1fr); align-items: start; gap: 1.1rem 0.9rem; padding: 1.5rem 0 1.6rem; }
  .tv-ga-place__photo { order: -1; grid-column: 1 / -1; }
  .tv-ga .tv-ga-table .tv-ga-place p { max-width: none; }
}

/* ---------------------------------------------------------------------
   3 · WHAT WE ARRANGE — label | title | description, gold hairlines that
   brighten under the pointer; then four photographs wider than the text.
   ------------------------------------------------------------------- */
.tv-ga-arranged .hb-intro { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.tv-ga-arranged .hb-heading--h2 { font-weight: 400; font-size: clamp(2.1rem, 1.55rem + 2.1vw, 3.2rem); line-height: 1.08; }
.tv-ga-rows { border-top: 1px solid rgba(200, 183, 156, 0.5); }
.tv-ga-rows .art-register__row { padding: clamp(1.35rem, 2.2vw, 1.85rem) 0; border-bottom: 1px solid var(--tv-ga-rule-gold); transition: border-color 0.35s var(--hb-ease); }
.tv-ga-rows .art-register__tag { margin: 0 0 0.5rem; color: var(--tv-ga-gold); }
.tv-ga-rows .art-register__name { font-weight: 400; font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); line-height: 1.12; text-wrap: balance; }
.tv-ga-rows .art-prose p { font-size: 0.96rem; line-height: 1.75; color: var(--tv-ga-dim); max-width: 52ch; }
@media (hover: hover) {
  .tv-ga-rows .art-register__row:hover { border-bottom-color: var(--tv-ga-rule-gold-strong); }
}
@media (min-width: 768px) {
  .tv-ga-rows .art-register__row { grid-template-columns: 6.25rem minmax(0, 3.5fr) minmax(0, 6.5fr); gap: 0.6rem clamp(1.25rem, 3vw, 3rem); align-items: center; }
  .tv-ga-rows .art-register__row > div:first-child { display: contents; }   /* the label and the title become two columns */
  .tv-ga-rows .art-register__tag { margin: 0; }
}

.tv-ga .art-fleet.tv-ga-gallery {
  grid-template-columns: 2fr 1.2fr 1fr 1fr; gap: 1.5rem clamp(0.7rem, 1.4vw, 1.25rem);
  max-width: 1560px; margin: clamp(2.75rem, 5vw, 4.25rem) auto 0; padding: 0 clamp(1rem, 2.6vw, 2.5rem);
}
.tv-ga .tv-ga-gallery .tv-cu-frame img { aspect-ratio: auto; height: clamp(15rem, 22vw, 21rem); }
.tv-ga .tv-ga-gallery .art-fleet__item:nth-child(1) img { object-position: 50% 68%; }
.tv-ga .tv-ga-gallery .art-fleet__item:nth-child(2) img { object-position: 50% 58%; }
.tv-ga .tv-ga-gallery .art-fleet__item:nth-child(3) img { object-position: 50% 48%; }
.tv-ga .tv-ga-gallery .art-fleet__item:nth-child(4) img { object-position: 50% 34%; }
.tv-ga .tv-ga-gallery figcaption { display: block; margin-top: 0.75rem; padding: 0; border: 0; font-family: var(--hb-serif); font-size: 1.08rem; line-height: 1.3; color: rgba(244, 240, 232, 0.92); }
@media (max-width: 767.98px) {
  .tv-ga .art-fleet.tv-ga-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
  .tv-ga .tv-ga-gallery .tv-cu-frame img { height: auto; aspect-ratio: 4 / 5; }
  .tv-ga .tv-ga-gallery .art-fleet__item:nth-child(1) img { object-position: 50% 60%; }
}

/* ---------------------------------------------------------------------
   4 · PRACTICAL — heading | photograph | text
   ------------------------------------------------------------------- */
.tv-ga-practical__photo { margin: 0; }
.tv-ga-practical__photo .tv-cu-frame img { aspect-ratio: 3 / 2; }
.tv-ga .tv-ga-practical .art-prose__lead { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem) !important; max-width: 26ch !important; margin-bottom: 1.2rem; }
.tv-ga-practical .art-prose p:not(.art-prose__lead) { font-size: 0.96rem; }
.tv-ga-practical .art-prose a { color: var(--tv-ga-gold-text); border-bottom-color: var(--tv-ga-rule); }
.tv-ga-practical .art-prose a:hover, .tv-ga-practical .art-prose a:focus-visible { color: var(--hb-ink); border-bottom-color: var(--hb-ink); }
@media (min-width: 1024px) {
  .tv-ga-practical .art-split { grid-template-columns: minmax(0, 3.4fr) minmax(0, 3.5fr) minmax(0, 5.1fr); gap: clamp(1.75rem, 3.4vw, 3.5rem); }
  .tv-ga-practical .art-split__head { position: static; }
  .tv-ga-practical .art-split__head .hb-heading--h2 { font-size: clamp(2rem, 1.3rem + 1.6vw, 2.75rem); max-width: 11ch; }
  .tv-ga-practical__photo { margin-top: 0.35rem; }
}
@media (max-width: 1023.98px) {
  .tv-ga-practical__photo { max-width: 36rem; }
}

/* ---------------------------------------------------------------------
   5 · QUESTIONS — a plus before each question, the plus / minus after it.
   ------------------------------------------------------------------- */
.tv-ga-faq .hub-faq__head .hb-heading { max-width: 16ch; }
.tv-ga-faq .hb-faq { overflow: visible; }
.tv-ga-faq .hb-faq__item > summary { justify-content: flex-start; gap: 1.1rem; }
.tv-ga-faq .hb-faq__item > summary::before {
  content: "+"; content: "+" / "";
  flex: 0 0 0.8rem; text-align: center;
  font-family: var(--hb-sans); font-weight: 300; font-size: 1.25rem; line-height: 1; color: var(--tv-ga-gold-text);
}
.tv-ga-faq .hb-faq__item > summary::after { margin-left: auto; }
.tv-ga-faq .hb-faq__item > p { padding-left: 1.9rem; }
@media (max-width: 1023.98px) {
  .tv-ga-faq .hub-faq__head .hb-heading { max-width: none; }
}
@media (max-width: 479.98px) {
  .tv-ga-faq .hb-faq__item > summary { gap: 0.8rem; }
  .tv-ga-faq .hb-faq__item > p { padding-left: 1.6rem; }
}

/* ---------------------------------------------------------------------
   6 · ENQUIRY — a tall photograph down the left edge of the section, then
   the words, then the form. The form ends on the page's right margin.
   ------------------------------------------------------------------- */
.tv-ga-enquiry { position: relative; overflow: hidden; }
.tv-ga-enquiry .art-enquiry__head .hb-heading--h2 { text-wrap: balance; }
.tv-ga-enquiry__photo { display: none; margin: 0; }
.tv-ga-enquiry .art-form__field--wide input, .tv-ga-enquiry .art-form__field--wide textarea { width: 100%; }
@media (min-width: 1024px) {
  .tv-ga-enquiry__photo { display: block; position: absolute; inset: 0 auto 0 0; width: var(--tv-ga-side); overflow: hidden; background: var(--hb-ink-soft); }
  .tv-ga-enquiry__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 24% 60%; }
  .tv-ga-enquiry__photo::after { content: ""; position: absolute; inset: 0; background: rgba(21, 21, 21, 0.18); }
  .tv-ga-enquiry .hb-wrap.art-enquiry {
    width: auto; max-width: none; margin: 0 0 0 var(--tv-ga-side);
    padding-left: clamp(2rem, 4vw, 4.5rem);
    padding-right: max(clamp(1.25rem, 4vw, 2.5rem), calc((100vw - 1280px) / 2 + 2.5rem));
    grid-template-columns: minmax(0, 4.3fr) minmax(0, 7fr); gap: clamp(2.25rem, 4.5vw, 5rem);
  }
  .tv-ga-enquiry .art-enquiry__head .hb-heading--h2 { font-size: clamp(1.9rem, 1.2rem + 1.5vw, 2.7rem); max-width: 17ch; text-wrap: balance; }
}
@media (min-width: 768px) {
  /* nine fields: the first shares a row, so no row is left half empty */
  .tv-ga-enquiry .art-form__field--wide:first-child { grid-column: auto; }
}
@media (max-width: 767.98px) {
  .tv-ga-enquiry .art-form { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .tv-ga-rows .art-register__row { transition: none !important; }
}
