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

   Reusable on the other /experiences/ inside pages (rename nothing,
   link this file, add body.tv-cu):
     .tv-cu-hero      photo hero, facts ledger left, answer right
     .tv-cu-split     heading left with a short rule, prose right
     .tv-cu-gallery   four equal photographs with two-part captions
     .tv-cu-cap       caption: NAME ——— PLACE
     .tv-cu-museums   counted rows left, one tall photograph right
     .tv-cu-pair      two photographs side by side
     .tv-cu-greco     photograph left, statement right, on ink
     .tv-cu-faq       native details, plus / minus
     .tv-cu-enquiry   words left, underline fields right
   ===================================================================== */

/* Page tokens, mapped to the site tokens in triways-core.css and
   triways-visual.css rather than new hex values. */
.tv-cu {
  --tv-cu-ink: var(--hb-ink);                   /* #151515  hero, dark sections */
  --tv-cu-cream: var(--hb-ivory);               /* #F4F0E8  light sections */
  --tv-cu-paper: var(--hb-white);               /* #FBFAF7  FAQ */
  --tv-cu-gold: var(--hb-champagne);            /* accent on ink */
  --tv-cu-brass: var(--hb-gold);                /* rules and accents on cream */
  --tv-cu-gold-text: var(--tv-brass-text);      /* small gold text on cream: 4.9:1 */
  --tv-cu-rule: rgba(166, 138, 91, 0.4);        /* brass hairline on cream */
  --tv-cu-rule-dark: rgba(244, 240, 232, 0.17); /* ivory hairline on ink */
  --tv-cu-header: 3.8rem;                       /* the solid bar: 61px desktop, 54px mobile */
  --tv-cu-section-y: clamp(4rem, 3rem + 4.5vw, 7.25rem); /* 65px at 375, 113px at 1440 */
}
.tv-cu .hb-section { padding-block: var(--tv-cu-section-y); }

/* Small gold type on the light grounds */
.tv-cu .hb-section--ivory .hb-eyebrow,
.tv-cu .hb-section--white .hb-eyebrow { color: var(--tv-cu-gold-text); }

/* ---------------------------------------------------------------------
   1 · HERO — the colonnade at full bleed, darkened from the left. The
   four eras are a 2 x 2 ledger under the title; the answer sits right.
   ------------------------------------------------------------------- */
.tv-cu-hero { position: relative; isolation: isolate; overflow: hidden; padding: 0; }
.tv-cu-hero__media { position: absolute; inset: var(--tv-cu-header) 0 0; z-index: -1; overflow: hidden; background: var(--tv-cu-ink); }
.tv-cu-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.tv-cu-hero__media::after {
  content: ""; position: absolute; inset: -1px;
  background: linear-gradient(90deg, rgba(21, 21, 21, 0.96) 0%, rgba(21, 21, 21, 0.92) 30%, rgba(21, 21, 21, 0.8) 48%, rgba(21, 21, 21, 0.68) 74%, rgba(21, 21, 21, 0.2) 92%, rgba(21, 21, 21, 0.08) 100%);
}
.tv-cu-hero__inner {
  display: flex; flex-direction: column;
  min-height: clamp(32rem, 24rem + 14vw, 38rem);
  padding-top: calc(var(--tv-cu-header) + clamp(1.75rem, 1.2rem + 2vw, 3rem));
  padding-bottom: clamp(2.5rem, 2rem + 2.5vw, 4rem);
}
.tv-cu-hero .hub-crumbs { margin-bottom: clamp(1.5rem, 2.6vw, 2.25rem); }
.tv-cu-hero__grid {
  flex: 1; display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 28%);
  gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center;
}
.tv-cu-hero .hb-kicker { margin-bottom: 1.1rem; }
.tv-cu-hero .hb-kicker::after { display: none; }
.tv-cu-hero .hub-hero__title { font-size: clamp(2.9rem, 2rem + 3.5vw, 4.9rem); font-weight: 400; line-height: 1.02; max-width: 15ch; }

.tv-cu-hero .art-standing { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 27rem; margin-top: clamp(2rem, 3.5vw, 2.75rem); }
.tv-cu-hero .art-standing > div { display: block; padding: 0.95rem 1.25rem 1rem 0; border-top: 1px solid var(--tv-cu-rule-dark); }
.tv-cu-hero .art-standing > div:nth-child(even) { padding-left: 1.5rem; padding-right: 0; border-left: 1px solid var(--tv-cu-rule-dark); }
.tv-cu-hero .art-standing > div:nth-last-child(-n + 2) { border-bottom: 1px solid var(--tv-cu-rule-dark); }
.tv-cu-hero .art-standing dt { margin: 0 0 0.35rem; font-size: 0.68rem; letter-spacing: 0.16em; color: var(--tv-cu-gold); }
.tv-cu-hero .art-standing dd { font-family: var(--hb-sans); font-size: 0.9rem; line-height: 1.45; color: var(--hb-white); }

.tv-cu-hero .hub-hero__answer { padding-top: 0; border-top: 0; }
.tv-cu-hero .hub-hero__answer p:not(.art-hero__label) { font-size: 1rem; line-height: 1.75; color: rgba(251, 250, 247, 0.94); max-width: 34ch; }
.tv-cu-hero .art-hero__label { color: var(--tv-cu-gold); max-width: 30ch; line-height: 1.6; margin-bottom: 0.9rem; }

@media (max-width: 899.98px) {
  /* words over the photograph, under a heavier wash */
  .tv-cu { --tv-cu-header: 3.375rem; }
  .tv-cu-hero__media img { object-position: 78% 50%; }
  .tv-cu-hero__media::after {
    background: linear-gradient(180deg, rgba(21, 21, 21, 0.9) 0%, rgba(21, 21, 21, 0.84) 45%, rgba(21, 21, 21, 0.9) 100%);
  }
  .tv-cu-hero__inner { min-height: 0; }
  .tv-cu-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .tv-cu-hero .hub-hero__title { max-width: none; }
  .tv-cu-hero .hub-hero__answer { max-width: 34rem; }
  .tv-cu-hero .hub-hero__answer p:not(.art-hero__label) { max-width: none; }
}
@media (max-width: 399.98px) {
  .tv-cu-hero .art-standing > div { padding-right: 0.75rem; }
  .tv-cu-hero .art-standing > div:nth-child(even) { padding-left: 1rem; }
}

/* ---------------------------------------------------------------------
   2 · SPLIT — eyebrow, heading and a short rule left; the serif lead and
   the sub-headed blocks right. Used three times on cream.
   ------------------------------------------------------------------- */
.tv-cu-split .art-split { grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr); gap: clamp(2rem, 5vw, 5.5rem); }
.tv-cu-split .hb-kicker { margin-bottom: 1.15rem; }
.tv-cu-split .art-split__head .hb-kicker::after { display: none; }
.tv-cu-split .art-split__head .hb-heading--h2 { font-weight: 400; font-size: clamp(2.1rem, 1.55rem + 2.1vw, 3.2rem); line-height: 1.08; max-width: 13ch; }
.tv-cu-split .art-split__head .hb-heading--h2::after { content: ""; display: block; width: 46px; height: 1px; margin-top: clamp(1.4rem, 2.4vw, 2rem); background: var(--tv-cu-brass); }
.tv-cu-split .art-prose__lead { font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.95rem) !important; line-height: 1.26 !important; max-width: 24ch !important; margin-bottom: clamp(1.6rem, 3vw, 2.25rem); }
.tv-cu-split .art-prose p:not(.art-prose__lead) { font-size: 1rem; line-height: 1.8; color: var(--hb-text); max-width: 58ch; }
.tv-cu-split .art-entry + .art-entry { margin-top: clamp(1.75rem, 3vw, 2.4rem); padding-top: 0; border-top: 0; }
.tv-cu-split .art-entry h3 { font-weight: 500; font-size: clamp(1.4rem, 1.25rem + 0.5vw, 1.65rem); margin-bottom: 0.55rem; }

@media (max-width: 1023.98px) {
  .tv-cu-split .art-split { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .tv-cu-split .art-split__head .hb-heading--h2 { max-width: 18ch; }
  .tv-cu-split .art-prose__lead { max-width: 30ch !important; }
}

/* ---------------------------------------------------------------------
   CAPTION — the name in small capitals, a hairline, the place in gold.
   ------------------------------------------------------------------- */
.tv-cu .tv-cu-cap {
  display: flex; align-items: center; gap: 0.9rem;
  margin: 0.95rem 0 0; padding: 0; border: 0;
  font-family: var(--hb-sans); font-size: 0.68rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--hb-ink);
}
.tv-cu .tv-cu-cap > span:last-child {
  flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 0.9rem;
  font: inherit; letter-spacing: inherit; color: var(--tv-cu-gold-text); white-space: nowrap;
}
.tv-cu .tv-cu-cap > span:last-child::before { content: ""; flex: 1; min-width: 1rem; max-width: 5rem; height: 1px; margin-left: auto; background: var(--tv-cu-rule); }
.tv-cu .hb-section--dark .tv-cu-cap { color: rgba(244, 240, 232, 0.9); }
.tv-cu .hb-section--dark .tv-cu-cap > span:last-child { color: var(--tv-cu-gold); }
.tv-cu .hb-section--dark .tv-cu-cap > span:last-child::before { background: rgba(200, 183, 156, 0.4); }

/* The photograph holder: clips the slow hover zoom */
.tv-cu-frame { display: block; overflow: hidden; background: var(--hb-ink-soft); }
.tv-cu-frame img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 0; transition: transform 0.9s var(--hb-ease); }
@media (hover: hover) {
  .tv-cu-frame:hover img, figure:hover > .tv-cu-frame img { transform: scale(1.04); }
}

/* ---------------------------------------------------------------------
   3 · GALLERY — four equal photographs under the monuments text
   ------------------------------------------------------------------- */
.tv-cu .art-fleet.tv-cu-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(0.9rem, 1.6vw, 1.4rem); margin-top: clamp(3rem, 5vw, 4.5rem); }
.tv-cu .tv-cu-gallery .tv-cu-frame img { aspect-ratio: 9 / 10; }
@media (max-width: 1023.98px) {
  .tv-cu .art-fleet.tv-cu-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479.98px) {
  .tv-cu .art-fleet.tv-cu-gallery { grid-template-columns: minmax(0, 1fr); }
  .tv-cu .tv-cu-gallery .tv-cu-frame img { aspect-ratio: 5 / 4; }
}

/* ---------------------------------------------------------------------
   4 · MUSEUMS — three counted rows (the copy asks for them "in the right
   order") beside one tall photograph that runs the height of the text.
   ------------------------------------------------------------------- */
.tv-cu-museums { display: grid; grid-template-columns: minmax(0, 8.5fr) minmax(0, 3.5fr); gap: clamp(2.5rem, 5vw, 5.5rem); align-items: stretch; }
.tv-cu-museums .hb-intro { max-width: 34rem; margin-bottom: clamp(2rem, 3.5vw, 2.75rem); }
.tv-cu-museums .hb-kicker::after { display: none; }
.tv-cu-museums .hb-heading--h2 { font-weight: 400; }
.tv-cu-museums .hb-copy { font-size: 1rem; }
.tv-cu-rows { counter-reset: tv-cu-row; margin-top: 0; border-top: 1px solid rgba(200, 183, 156, 0.45); }
.tv-cu-rows .art-register__row {
  counter-increment: tv-cu-row;
  grid-template-columns: 2.25rem minmax(0, 4.2fr) minmax(0, 5.8fr);
  gap: 0.9rem clamp(1.25rem, 2.6vw, 2.75rem); align-items: start;
  padding: clamp(1.5rem, 2.4vw, 2.1rem) 0;
  border-bottom: 1px solid rgba(200, 183, 156, 0.3);
}
.tv-cu-rows .art-register__row::before {
  content: counter(tv-cu-row, decimal-leading-zero);
  font-family: var(--hb-sans); font-size: 0.72rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.12em;
  color: var(--tv-cu-gold); font-variant-numeric: lining-nums;
}
.tv-cu-rows .art-register__tag { margin-bottom: 0.5rem; font-size: 0.66rem; }
.tv-cu-rows .art-register__name { font-weight: 400; font-size: clamp(1.55rem, 1.25rem + 1vw, 2.05rem); line-height: 1.12; text-wrap: balance; }
.tv-cu-rows .art-prose p { font-size: 0.96rem; line-height: 1.75; color: rgba(244, 240, 232, 0.82); max-width: 46ch; }
.tv-cu-museums__photo { position: relative; margin: 0; min-height: 26rem; overflow: hidden; background: var(--hb-ink-soft); }
.tv-cu-museums__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform 0.9s var(--hb-ease); }
@media (hover: hover) { .tv-cu-museums__photo:hover img { transform: scale(1.04); } }

@media (max-width: 1023.98px) {
  .tv-cu-museums { grid-template-columns: minmax(0, 1fr); }
  .tv-cu-museums__photo { min-height: 0; max-width: 30rem; aspect-ratio: 4 / 5; }
}
@media (max-width: 767.98px) {
  .tv-cu-rows .art-register__row { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .tv-cu-rows .art-prose { grid-column: 2; }
}

/* ---------------------------------------------------------------------
   5 · PAIR — two photographs under the Coptic and Islamic text
   ------------------------------------------------------------------- */
.tv-cu-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.25rem) clamp(0.9rem, 1.6vw, 1.4rem); margin-top: clamp(2.5rem, 4vw, 3.5rem); max-width: 46rem; }
.tv-cu-pair figure { margin: 0; }
.tv-cu-pair .tv-cu-frame img { aspect-ratio: 4 / 3; }
@media (max-width: 479.98px) {
  .tv-cu-pair { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------------
   6 · GRECO-ROMAN — the relief left, the statement in gold serif right
   ------------------------------------------------------------------- */
.tv-cu-greco .art-duo { grid-template-columns: minmax(0, 5.3fr) minmax(0, 6.7fr); gap: clamp(2.25rem, 5vw, 5.5rem); align-items: center; }
.tv-cu-greco__photo { margin: 0; }
.tv-cu-greco__photo .tv-cu-frame img { aspect-ratio: 3 / 2; }
.tv-cu-greco .hb-kicker { margin-bottom: 1rem; }
.tv-cu-greco .hb-kicker::after { display: none; }
.tv-cu-greco .hb-heading--h2 { font-weight: 400; font-size: clamp(2.1rem, 1.55rem + 2.1vw, 3.2rem); line-height: 1.08; margin-bottom: 1.1rem; }
.tv-cu .tv-cu-greco .art-prose__lead { color: var(--tv-cu-gold) !important; font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem) !important; line-height: 1.26 !important; max-width: 26ch !important; margin-bottom: 1.4rem; }
.tv-cu-greco .art-prose p:not(.art-prose__lead) { font-size: 1rem; line-height: 1.8; color: rgba(244, 240, 232, 0.82); max-width: 58ch; }
.tv-cu-greco .art-prose strong { color: var(--hb-white); font-weight: 500; }
@media (max-width: 1023.98px) {
  .tv-cu-greco .art-duo { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .tv-cu-greco__photo { max-width: 40rem; }
}

/* ---------------------------------------------------------------------
   7 · QUESTIONS — native <details>; the plus becomes a minus. The whole
   question row is the 44px+ target. First item ships open.
   ------------------------------------------------------------------- */
.tv-cu-faq .hb-kicker::after { display: none; }
.tv-cu-faq .hub-faq__head .hb-heading { font-weight: 400; font-size: clamp(2.1rem, 1.55rem + 2.1vw, 3.2rem); line-height: 1.08; max-width: 9ch; }
.tv-cu-faq .hb-faq { border-top-color: var(--tv-cu-rule); }
.tv-cu-faq .hb-faq__item { padding: 0; border-bottom-color: var(--tv-cu-rule); }
.tv-cu-faq .hb-faq__item > summary { min-height: 2.75rem; padding: 1.25rem 0; font-size: 1.28rem; line-height: 1.35; transition: color 0.25s var(--hb-ease); }
.tv-cu-faq .hb-faq__item > summary:hover { color: var(--tv-cu-gold-text); }
.tv-cu-faq .hb-faq__item > summary:focus-visible { outline: 2px solid var(--tv-cu-brass); outline-offset: 3px; }
.tv-cu-faq .hb-faq__item > summary::after { font-weight: 300; font-size: 1.5rem; color: var(--tv-cu-gold-text); transition: none; }
.tv-cu-faq .hb-faq__item[open] > summary::after { content: "\2212"; transform: none; }
.tv-cu-faq .hb-faq__item > p { margin: 0; padding: 0 2.5rem 1.6rem 0; font-size: 1rem; line-height: 1.75; color: var(--hb-text); max-width: 62ch; }
.tv-cu-faq .hb-faq__item[open] > p { animation: tv-cu-fade 0.28s var(--hb-ease) both; }
@keyframes tv-cu-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023.98px) {
  .tv-cu-faq .hub-faq__head .hb-heading { max-width: none; }
}
@media (max-width: 479.98px) {
  .tv-cu-faq .hb-faq__item > summary { font-size: 1.15rem; }
  .tv-cu-faq .hb-faq__item > p { padding-right: 0; }
}

/* ---------------------------------------------------------------------
   8 · ENQUIRY — words left, underline fields right, champagne button
   ------------------------------------------------------------------- */
.tv-cu-enquiry .art-enquiry { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: clamp(2.5rem, 6vw, 6.5rem); }
.tv-cu-enquiry .hb-kicker::after { display: none; }
.tv-cu-enquiry .art-enquiry__head .hb-heading--h2 { font-weight: 400; font-size: clamp(1.95rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1.12; max-width: 15ch; }
.tv-cu-enquiry .art-enquiry__head .hb-copy { font-size: 1rem; color: rgba(244, 240, 232, 0.8); }
.tv-cu-enquiry .art-enquiry__head .hb-link, .tv-cu-enquiry .hub-close__direct { display: inline-flex; align-items: center; align-self: flex-start; min-height: 2.75rem; }
.tv-cu-enquiry .hub-close__direct { color: var(--tv-cu-gold); }
.tv-cu-enquiry .hub-close__direct:hover, .tv-cu-enquiry .hub-close__direct:focus-visible { color: var(--hb-white); }
.tv-cu-enquiry .art-enquiry__direct { margin-top: 0.6rem; }
.tv-cu-enquiry .art-enquiry__aside { margin-top: 0.75rem; color: rgba(244, 240, 232, 0.76); }
.tv-cu-enquiry .art-form { gap: 1.9rem clamp(1.5rem, 3vw, 2.5rem); }
.tv-cu-enquiry .art-form input, .tv-cu-enquiry .art-form select, .tv-cu-enquiry .art-form textarea { border-bottom-color: rgba(244, 240, 232, 0.36); }
.tv-cu-enquiry .art-form label i { color: rgba(244, 240, 232, 0.66); }
.tv-cu-enquiry .art-form input::placeholder, .tv-cu-enquiry .art-form textarea::placeholder { color: rgba(244, 240, 232, 0.55); }
.tv-cu-enquiry .art-form__submit { margin-top: 0.75rem; }
.tv-cu-enquiry .art-form__submit .hb-cta { min-height: 3rem; }
@media (max-width: 1023.98px) {
  .tv-cu-enquiry .art-enquiry { grid-template-columns: minmax(0, 1fr); }
  .tv-cu-enquiry .art-enquiry__head .hb-heading--h2 { max-width: 20ch; }
}

/* On phones <main> is ivory with bottom room for the fixed CTA bar; the
   last section here is ink, so the strip beneath it is ink too. */
body.tv-cu main { background-color: var(--tv-cu-ink); }

@media (prefers-reduced-motion: reduce) {
  .tv-cu-frame img, .tv-cu-museums__photo img, .tv-cu-faq .hb-faq__item > summary { transition: none !important; transform: none !important; }
  .tv-cu-faq .hb-faq__item[open] > p { animation: none !important; }
}
