/* =====================================================================
   TRIWAYS — /capabilities/nile-cruising/
   Loaded after triways-article.css and triways-visual.css. Prefix: tv-nc-
   (body.tv-nc). Kept apart from triways-capabilities-inside.css (tv-ci-),
   which the Private Transportation rebuild owns. Every block is a
   standalone component a sibling capability page can adopt: .tv-nc-hero (+ .tv-nc-chips), .tv-nc-access + .tv-nc-trio,
   .tv-nc-fleet, .tv-nc-select + .tv-nc-rows + .tv-nc-route,
   .tv-nc-journeys + .tv-nc-teasers, .tv-nc-faq, .tv-nc-brief.
   Photography and hairlines only: no ornament, no boxes, no shadows.
   ===================================================================== */

:root {
  --tv-nc-header: 3.8rem;                     /* height of the fixed solid header the hero sits under */
  --tv-nc-rule: rgba(125, 99, 57, 0.34);      /* brass hairline on ivory */
  --tv-nc-rule-dark: rgba(200, 183, 156, 0.26); /* champagne hairline on ink */
}

/* ---------------------------------------------------------------------
   1. HERO — the ship fills the picture from bow to stern, so nothing is
   set over it: the picture runs edge to edge under the header at its own
   proportion, and the title and the answer share the ink beneath.
   ------------------------------------------------------------------- */
.tv-nc-hero { padding: var(--tv-nc-header) 0 0; border-bottom: 0; }
/* width is stated: with max-height alone the ratio would narrow the box instead of cropping the picture */
.tv-nc-hero__media { position: relative; width: 100%; margin: 0; aspect-ratio: 1920 / 683; max-height: 58vh; overflow: hidden; background: var(--tw-obsidian); }
.tv-nc-hero__media picture { display: contents; }
.tv-nc-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
/* the foot of the picture settles into the ink it stands on */
.tv-nc-hero__media::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 22%; pointer-events: none; background: linear-gradient(0deg, var(--hb-ink) 0%, rgba(21, 21, 21, 0) 100%); }
.tv-nc-hero__grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start;
  padding: clamp(1.75rem, 3vw, 2.75rem) 0 clamp(3rem, 5vw, 5rem);
}
.tv-nc-hero__lead { min-width: 0; }
.tv-nc-hero__lead .hub-crumbs { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.tv-nc-hero .hub-hero__title { font-size: clamp(3.4rem, 2.2rem + 5vw, 6.5rem); line-height: 0.98; }
.tv-nc-hero .art-title-sub { margin-top: 1.1rem; }

.tv-nc-hero__answer { border-top-color: var(--hb-gold); padding-top: 1.25rem; margin-top: clamp(2.6rem, 4.6vw, 4.1rem); }
.tv-nc-hero__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 2.5vw, 2.5rem); }
.tv-nc-hero__cols p { font-size: 0.98rem; line-height: 1.72; color: rgba(244, 240, 232, 0.86); max-width: none; }
.tv-nc-hero__cols p + p { margin-top: 0; }

/* The five names, each a jump to its photograph. Square outlines, not pills. */
.tv-nc-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.9rem 0 0; padding: 0; list-style: none; }
.tv-nc-chips a {
  display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0.3rem 0.85rem;
  border: 1px solid rgba(200, 183, 156, 0.55); border-radius: 2px;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3; color: var(--hb-champagne);
  transition: background-color 0.3s var(--hb-ease), border-color 0.3s var(--hb-ease), color 0.3s var(--hb-ease);
}
.tv-nc-chips a:hover, .tv-nc-chips a:focus-visible { background: var(--hb-champagne); border-color: var(--hb-champagne); color: var(--hb-ink); }
.tv-nc-chips a:focus-visible { outline: 2px solid var(--hb-champagne); outline-offset: 3px; }
/* a jump from a chip lands the photograph clear of the fixed header */
.tv-nc-fleet__item { scroll-margin-top: calc(var(--tv-nc-header) + 1.5rem); }

@media (max-width: 1199.98px) {
  .tv-nc-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .tv-nc-hero__answer { max-width: none; margin-top: 0; }
}
@media (max-width: 767.98px) {
  .tv-nc-hero__media { aspect-ratio: 16 / 9; max-height: none; }
  .tv-nc-hero__media img { object-position: 50% 50%; }
  .tv-nc-hero__grid { gap: 2rem; }
  .tv-nc-hero__cols { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .tv-nc-chips a { min-height: 2.75rem; padding-inline: 0.9rem; }
}

/* ---------------------------------------------------------------------
   2. ACCESS — heading against the opening statement, then three columns
   ruled apart by brass hairlines. One icon weight throughout.
   ------------------------------------------------------------------- */
.tv-nc-access .hb-eyebrow, .tv-nc-selection .hb-eyebrow { color: var(--tv-brass-text); }
.tv-nc-access__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 7rem); align-items: start; }
.tv-nc-access__head .hb-heading { margin: 0; font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); text-wrap: balance; }
.tv-nc-access__intro .art-prose__lead { margin-top: 0.2rem; }

.tv-nc-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(3rem, 6vw, 5.5rem); border-top: 1px solid var(--tv-nc-rule); }
.tv-nc-trio__item { padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 3rem) 0; border-left: 1px solid var(--tv-nc-rule); }
.tv-nc-trio__item:first-child { padding-left: 0; border-left: 0; }
.tv-nc-trio__item:last-child { padding-right: 0; }
.tv-nc-icon { display: block; width: 2.5rem; height: 2.5rem; margin-bottom: 1.5rem; fill: none; stroke: var(--hb-gold); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.tv-nc-trio__item h3 { font-family: var(--hb-serif); font-weight: 500; font-size: var(--hb-h3); line-height: 1.2; color: var(--hb-ink); margin: 0 0 0.8rem; }
.tv-nc-trio__item p { font-size: 0.97rem; line-height: 1.8; color: var(--hb-text-dim); max-width: 38ch; }
.tv-nc-trio__item a, .tv-nc-select__head .hb-copy a { color: var(--hb-ink); border-bottom: 1px solid var(--hb-gold); transition: color 0.25s var(--hb-ease); }
.tv-nc-trio__item a:hover, .tv-nc-trio__item a:focus-visible,
.tv-nc-select__head .hb-copy a:hover, .tv-nc-select__head .hb-copy a:focus-visible { color: var(--tv-brass-text); }
.tv-nc-trio__item a:focus-visible, .tv-nc-select__head .hb-copy a:focus-visible { outline: 2px solid var(--tv-brass-text); outline-offset: 3px; }

@media (max-width: 991.98px) {
  .tv-nc-access__top { grid-template-columns: minmax(0, 1fr); }
  .tv-nc-trio { grid-template-columns: minmax(0, 1fr); }
  .tv-nc-trio__item { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 1.25rem; padding: 1.75rem 0; border-left: 0; border-bottom: 1px solid var(--tv-nc-rule); }
  .tv-nc-trio__item .tv-nc-icon { grid-row: 1 / span 2; margin: 0.15rem 0 0; }
  .tv-nc-trio__item h3, .tv-nc-trio__item p { grid-column: 2; }
  .tv-nc-trio__item p { max-width: 60ch; }
}

/* ---------------------------------------------------------------------
   3. THE NAMED VESSELS — four at one ratio, then the panorama at its own.
   Caption: tag above the name. On a phone the four become a list.
   ------------------------------------------------------------------- */
.tv-nc-fleet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 2vw, 1.75rem); margin: 0; padding: 0; list-style: none; }
.tv-nc-fleet__item { margin: 0; min-width: 0; }
.tv-nc-fleet__item--lead { grid-column: 1 / -1; }
.tv-nc-fleet figure { margin: 0; }
.tv-nc-fleet__frame { overflow: hidden; background: var(--hb-ink-soft); aspect-ratio: 16 / 9; }
.tv-nc-fleet__item--lead .tv-nc-fleet__frame { aspect-ratio: 21 / 9; }
.tv-nc-fleet__item--lead .tv-nc-fleet__frame img { object-position: 50% 78%; }
.tv-nc-fleet__frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--hb-ease); }
.tv-nc-fleet__item:hover .tv-nc-fleet__frame img { transform: scale(1.04); }
.tv-nc-fleet figcaption {
  display: flex; flex-direction: column-reverse; gap: 0.3rem; margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--tv-nc-rule-dark);
  font-family: var(--hb-serif); font-size: 1.35rem; line-height: 1.2; color: var(--hb-white);
}
.tv-nc-fleet figcaption span { font-family: var(--hb-sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hb-champagne); }
.tv-nc-fleet__item--lead figcaption { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.tv-nc-vessels .tv-nc-fleet-note { margin-top: 1.75rem; color: rgba(244, 240, 232, 0.66); }

@media (max-width: 767.98px) {
  .tv-nc-fleet { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--tv-nc-rule-dark); }
  .tv-nc-fleet__item:not(.tv-nc-fleet__item--lead) { border-bottom: 1px solid var(--tv-nc-rule-dark); }
  .tv-nc-fleet__item:not(.tv-nc-fleet__item--lead) figure { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1.1rem; align-items: center; padding: 0.9rem 0; }
  .tv-nc-fleet__item:not(.tv-nc-fleet__item--lead) figcaption { margin: 0; padding: 0; border: 0; font-size: 1.25rem; }
  .tv-nc-fleet__item--lead { margin-top: 2rem; }
  .tv-nc-fleet__item--lead .tv-nc-fleet__frame { aspect-ratio: 16 / 9; margin-inline: calc(-1 * clamp(1.25rem, 4vw, 2.5rem)); }
}
@media (prefers-reduced-motion: reduce) {
  .tv-nc-fleet__frame img { transition: none; }
  .tv-nc-fleet__item:hover .tv-nc-fleet__frame img { transform: none; }
}

/* ---------------------------------------------------------------------
   4. SELECTION — the head and the river on the left; the four questions
   of the brief, counted, on the right.
   ------------------------------------------------------------------- */
.tv-nc-select { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem clamp(2rem, 5vw, 6rem); align-items: start; }
.tv-nc-select__head .hb-heading { font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); text-wrap: balance; }
.tv-nc-select__head .hb-copy { font-size: 0.97rem; max-width: 34rem; }

.tv-nc-route { display: block; width: 10.5rem; height: auto; margin-top: clamp(2.5rem, 4vw, 3.5rem); overflow: visible; }
.tv-nc-route__river { fill: none; stroke: var(--hb-gold); stroke-width: 1; stroke-linecap: round; opacity: 0.55; }
.tv-nc-route__stops circle { fill: var(--hb-ivory); stroke: var(--hb-gold); stroke-width: 1; }
.tv-nc-route__names text { font-family: var(--hb-sans); font-size: 7px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; fill: var(--tv-brass-text); opacity: 0.8; }

.tv-nc-rows { counter-reset: tv-nc-row; border-top-color: var(--tv-nc-rule); }
.tv-nc-rows .art-cases__row {
  counter-increment: tv-nc-row; position: relative;
  grid-template-columns: 3.25rem minmax(0, 5fr) minmax(0, 6fr); gap: 0.75rem clamp(1.25rem, 3vw, 3rem);
  padding: clamp(1.9rem, 3.4vw, 3rem) 0; border-bottom-color: var(--tv-nc-rule);
}
.tv-nc-rows .art-cases__row::before { content: counter(tv-nc-row, decimal-leading-zero); font-family: var(--hb-serif); font-style: italic; font-size: 1.5rem; line-height: 1.25; color: var(--tv-brass-text); }
.tv-nc-rows .art-cases__moment { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem); line-height: 1.18; max-width: 14ch; }
.tv-nc-rows .art-cases__label { color: var(--tv-brass-text); }
.tv-nc-rows .art-cases__body p { font-size: 0.97rem; }

@media (max-width: 1199.98px) {
  .tv-nc-select { grid-template-columns: minmax(0, 1fr); }
  .tv-nc-route { display: none; }
}
@media (max-width: 767.98px) {
  .tv-nc-rows .art-cases__row { grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.6rem 0.75rem; }
  .tv-nc-rows .art-cases__moment { max-width: none; }
  .tv-nc-rows .art-cases__body { grid-column: 2; }
}

/* ---------------------------------------------------------------------
   5. SAMPLE JOURNEYS — a line of display type against three linked rows.
   ------------------------------------------------------------------- */
.tv-nc-journeys { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 6rem); align-items: start; margin-top: clamp(4rem, 8vw, 7.5rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--tv-nc-rule); }
.tv-nc-journeys__title { margin: 0; font-family: var(--hb-serif); font-weight: 500; font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); line-height: 1.12; color: var(--hb-ink); max-width: 11ch; text-wrap: balance; }
.tv-nc-teasers { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--tv-nc-rule); }
.tv-nc-teasers li { border-bottom: 1px solid var(--tv-nc-rule); }
.tv-nc-teasers a { display: grid; grid-template-columns: 9rem minmax(0, 6fr) minmax(0, 5fr) auto; gap: 0.4rem clamp(1.25rem, 2.5vw, 2.25rem); align-items: center; min-height: 2.75rem; padding: 1rem 0; color: var(--hb-ink); }
.tv-nc-teasers__thumb { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--tv-ivory-deep); }
.tv-nc-teasers__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--hb-ease); }
.tv-nc-teasers__name { font-family: var(--hb-serif); font-weight: 500; font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); line-height: 1.18; transition: color 0.25s var(--hb-ease); }
.tv-nc-teasers__days { font-style: italic; font-weight: 400; color: var(--tv-brass-text); }
.tv-nc-teasers__line { font-size: 0.93rem; line-height: 1.65; color: var(--hb-text-dim); }
.tv-nc-teasers__go { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; color: var(--tv-brass-text); }
.tv-nc-teasers__go .hb-arrow { display: inline-block; margin-left: 0.35rem; transition: transform 0.25s var(--hb-ease); }
.tv-nc-teasers a:hover .tv-nc-teasers__thumb img { transform: scale(1.05); }
.tv-nc-teasers a:hover .tv-nc-teasers__go .hb-arrow { transform: translateX(4px); }
.tv-nc-teasers a:hover .tv-nc-teasers__name, .tv-nc-teasers a:focus-visible .tv-nc-teasers__name { color: var(--tv-brass-text); }
.tv-nc-teasers a:focus-visible { outline: 2px solid var(--tv-brass-text); outline-offset: 4px; }

@media (max-width: 991.98px) {
  .tv-nc-journeys { grid-template-columns: minmax(0, 1fr); }
  .tv-nc-journeys__title { max-width: none; }
}
@media (max-width: 767.98px) {
  .tv-nc-teasers a { grid-template-columns: 6.5rem minmax(0, 1fr); align-items: start; column-gap: 1rem; padding: 1.15rem 0; }
  .tv-nc-teasers__thumb { grid-row: 1 / span 3; }
  .tv-nc-teasers__name, .tv-nc-teasers__line, .tv-nc-teasers__go { grid-column: 2; }
  .tv-nc-teasers__go { margin-top: 0.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tv-nc-teasers__thumb img, .tv-nc-teasers__go .hb-arrow { transition: none; }
  .tv-nc-teasers a:hover .tv-nc-teasers__thumb img, .tv-nc-teasers a:hover .tv-nc-teasers__go .hb-arrow { transform: none; }
}

/* ---------------------------------------------------------------------
   6. FAQ — the shared .tv-faq layout, counted, with a plus that becomes
   a minus. Native <details>: keyboard and screen-reader state built in.
   ------------------------------------------------------------------- */
.tv-nc-faq .hb-faq { counter-reset: tv-nc-faq; border-top-color: var(--tv-nc-rule); }
.tv-nc-faq .hb-faq__item { counter-increment: tv-nc-faq; border-bottom-color: var(--tv-nc-rule); padding: 0; }
.tv-nc-faq .hb-faq__item > summary { justify-content: flex-start; align-items: baseline; gap: 1.25rem; min-height: 2.75rem; padding: 1.35rem 0; }
.tv-nc-faq .hb-faq__item > summary::before { content: counter(tv-nc-faq, decimal-leading-zero); flex: 0 0 2rem; font-family: var(--hb-serif); font-style: italic; font-size: 1.1rem; color: var(--tv-brass-text); }
.tv-nc-faq .hb-faq__item > summary::after { content: "+"; margin-left: auto; width: 1rem; text-align: center; color: var(--tv-brass-text); transition: none; }
.tv-nc-faq .hb-faq__item[open] > summary::after { content: "\2212"; transform: none; }
.tv-nc-faq .hb-faq__item > summary:focus-visible { outline: 2px solid var(--tv-brass-text); outline-offset: 2px; }
.tv-nc-faq .hb-faq__item p { margin: -0.35rem 0 0; padding: 0 2.5rem 1.6rem 3.25rem; }
@media (max-width: 575.98px) {
  .tv-nc-faq .hb-faq__item > summary { gap: 0.85rem; font-size: 1.15rem; }
  .tv-nc-faq .hb-faq__item > summary::before { flex-basis: 1.6rem; }
  .tv-nc-faq .hb-faq__item p { padding: 0 0 1.5rem 2.45rem; }
}

/* ---------------------------------------------------------------------
   7. BRIEF — the existing underline form; the direct lines made quiet.
   ------------------------------------------------------------------- */
.tv-nc-brief .hub-close__direct { min-height: 2.75rem; justify-content: flex-start; }
.tv-nc-brief .hub-close__direct .bi, .tv-nc-brief .art-enquiry__aside .bi { font-size: 1.05rem; color: var(--hb-champagne); }
.tv-nc-brief .art-enquiry__direct { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--tv-nc-rule-dark); max-width: 30rem; }
.tv-nc-brief .art-enquiry__aside { margin-top: 0.5rem; }
.tv-nc-brief .art-enquiry__aside .bi { margin-right: 0.5rem; vertical-align: -0.1em; }
.tv-nc-brief .art-enquiry__aside a { display: inline-block; padding: 0.4rem 0; }

/* journeys rows between phone and wide desktop: the line sits under the title */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .tv-nc-teasers a { grid-template-columns: 9rem minmax(0, 1fr) auto; }
  .tv-nc-teasers__thumb { grid-row: 1 / span 2; }
  .tv-nc-teasers__name { align-self: end; }
  .tv-nc-teasers__line { grid-column: 2; grid-row: 2; align-self: start; }
  .tv-nc-teasers__go { grid-column: 3; grid-row: 1 / span 2; }
}

/* the photograph behind the brief (as .tv-sc-close / .tv-ta-close on the other inside pages):
   lighter over the heading on the left, near-ink under the form so every field reads */
.tv-nc-brief { position: relative; isolation: isolate; background: var(--tw-obsidian); }
.tv-nc-brief__media { position: absolute; inset: 0; z-index: -2; }
.tv-nc-brief__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
.tv-nc-brief__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--tv-scrim), 0.72) 0%, rgba(var(--tv-scrim), 0.8) 38%, rgba(var(--tv-scrim), 0.93) 62%, rgba(var(--tv-scrim), 0.95) 100%),
    linear-gradient(180deg, var(--hb-ink) 0%, rgba(21, 21, 21, 0) 16%, rgba(21, 21, 21, 0) 80%, rgba(var(--tv-scrim), 0.9) 100%);
}
.tv-nc-brief .art-enquiry__head .hb-copy { color: rgba(244, 240, 232, 0.9); }
.tv-nc-brief .art-enquiry__aside { color: rgba(244, 240, 232, 0.86); }
.tv-nc-brief .art-form input, .tv-nc-brief .art-form select, .tv-nc-brief .art-form textarea { border-bottom-color: rgba(244, 240, 232, 0.5); }
.tv-nc-brief .art-form input::placeholder, .tv-nc-brief .art-form textarea::placeholder { color: rgba(244, 240, 232, 0.55); }
@media (max-width: 991.98px) {
  /* one column: the form runs under the heading, so the whole picture takes the deeper scrim */
  .tv-nc-brief__media::after { background: linear-gradient(180deg, var(--hb-ink) 0%, rgba(var(--tv-scrim), 0.78) 12%, rgba(var(--tv-scrim), 0.9) 42%, rgba(var(--tv-scrim), 0.95) 100%); }
  .tv-nc-brief__media img { object-position: 50% 50%; }
}
