/* =====================================================================
   TRIWAYS — SHARED VISUAL LAYER for the photograph-led hubs
   (/partner/, /services/, /capabilities/, /experiences/). Loaded after triways-hub.css, before the page
   file. Prefix: tv-   Only rules used by more than one hub live here;
   page-specific rules stay in triways-partner-hub.css (tv-ph-) and
   triways-services-hub.css (tv-sh-).
   ===================================================================== */

:root {
  --tv-ivory-deep: #EEE7DA;      /* one step warmer/deeper than --hb-ivory */
  --tv-scrim: 12, 12, 13;        /* charcoal as an rgb triplet for gradients */
}

/* ---------------------------------------------------------------------
   HEADER OVER A HERO PHOTOGRAPH — body.tv-over-hero + <!--@navbar transparent-->.
   Clear over the picture with a soft top scrim; hub.js swaps to the solid
   ink bar (.scrolled) once the page moves.   (promoted from .tv-ph)
   ------------------------------------------------------------------- */
.tv-over-hero .triways-navbar { transition: background-color 0.35s var(--hb-ease), border-color 0.35s var(--hb-ease); }
.tv-over-hero .triways-navbar.transparent {
  background: linear-gradient(180deg, rgba(var(--tv-scrim), 0.62), rgba(var(--tv-scrim), 0));
  border-bottom-color: transparent;
}

/* ---------------------------------------------------------------------
   HOSPITALITY STRIP ON CHARCOAL — logos in one ivory tone at an even
   optical size.   (promoted from .tv-ph-marquee)
   ------------------------------------------------------------------- */
.tv-marquee-ivory .tw-hospitality-marquee__label { color: var(--hb-champagne); }
.tv-marquee-ivory .tw-hospitality-marquee__group img { filter: grayscale(1) brightness(1.9) contrast(0.9); opacity: 0.82; }

/* ---------------------------------------------------------------------
   TOKENS for small type on ivory
   ------------------------------------------------------------------- */
:root {
  --tv-brass-text: #7D6339;      /* brass for small text on ivory: 4.9:1 on --hb-ivory */
}

/* ---------------------------------------------------------------------
   FAQ — heading on three lines left (4 cols), accordion right.
   The section sets its own ground.   (promoted from .tv-ch-faq, /capabilities/)
   ------------------------------------------------------------------- */
.tv-faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 2rem; align-items: start; }
.tv-faq__head { grid-column: 1 / span 4; }
.tv-faq__head .hb-eyebrow { color: var(--tv-brass-text); }
.tv-faq__head .hb-heading { width: min-content; margin: 0; }   /* Frequently / Asked / Questions */
.tv-faq__list { grid-column: 6 / -1; max-width: none; margin-top: 0.4rem; }
.tv-faq .hb-faq__item { padding: 1.4rem 0; }
.tv-faq .hb-faq__item > summary { font-size: 1.25rem; line-height: 1.35; }
.tv-faq .hb-faq__item > summary::after { font-weight: 300; font-size: 1.4rem; }
.tv-faq .hb-faq__item > summary:hover { color: var(--tv-brass-text); }
@media (max-width: 1199.98px) { .tv-faq__head { grid-column: 1 / span 5; } }
@media (max-width: 991.98px) {
  .tv-faq__head, .tv-faq__list { grid-column: 1 / -1; }
  .tv-faq__head .hb-heading { width: auto; }
}

/* ---------------------------------------------------------------------
   PRIMARY BUTTON — champagne, square, tracked caps, arrow.
   (promoted from .tv-ch-btn, /capabilities/)
   ------------------------------------------------------------------- */
.tv-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.6rem; border: 1px solid var(--hb-champagne); border-radius: 0;
  background: var(--hb-champagne); color: var(--hb-ink);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.2;
}
.tv-btn::after { content: "\2192" / ""; font-size: 0.9rem; transition: transform 0.4s var(--hb-ease); }
.tv-btn:hover, .tv-btn:focus-visible { background: var(--hb-ink); border-color: var(--hb-ink); color: var(--hb-ivory); }
.tv-btn:hover::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .tv-btn::after { transition: none !important; transform: none !important; } }
