/* ==========================================================================
   Access site pages - /access/{slug}/
   Loaded after site.css via $meta['page_css'] = 'access'.

   Round 2 conformance: hero-first full-bleed order, title block with a ruled
   "today" column, content + 340px sticky rail, ruled rail blocks, neighbour
   cards. Paper ground, radius 0, separation by 1px hairlines or whitespace.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Breadcrumb strip - thin full-width band directly under the header.
   Trail in the reading face; only the figures on the right are mono.
   -------------------------------------------------------------------------- */
.crumbs {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.crumbs__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  flex-wrap: wrap;
}
.crumbs__trail {
  font: 400 12.5px var(--font-body);
  color: var(--ink-faint);
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}
.crumbs__trail a {
  color: var(--glacier-deep);
  text-decoration: none;
}
.crumbs__trail a:hover { color: var(--ink); text-decoration: underline; }
.crumbs__here { color: var(--ink); font-weight: 600; }
.crumbs__sep { color: var(--ink-faint); }
.crumbs__coords {
  font: 400 12px var(--font-data);
  letter-spacing: .06em;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   Full-bleed 360 hero, measured overlay attached to its bottom edge.
   The viewer component is aspect-ratio 16/9 inside a column; here it runs
   edge to edge at a fixed 660px. The overlay strip stays full width while its
   inner content aligns to the 1360 grid.
   -------------------------------------------------------------------------- */
.access-hero { background: var(--spruce-black); }
.access-hero .viewer {
  aspect-ratio: auto;
  height: 660px;
}
.access-hero .measured-strip {
  /* Inner content lands on the 1360 grid: viewport overhang plus the page
     gutter, minus the 28px the strip cells already carry. */
  padding-inline: max(0px, calc((100% - var(--page-max)) / 2 + var(--gutter) - 28px));
}

/* --------------------------------------------------------------------------
   Journey strip - the walk from the parking area to the water's edge, one
   labeled scene tile per waypoint, directly under the 360 hero. Tiles are
   links; site.js remounts the hero viewer at the clicked scene and pans a
   hovered tile through the scene's four cube faces. Paper band, hairline
   bottom rule; the row scrolls inside itself on narrow screens.
   -------------------------------------------------------------------------- */
.journey {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.journey__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 20px var(--gutter) 24px;
}
.journey__eyebrow { display: block; margin: 0 0 14px; }
.journey__row {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  padding-bottom: 6px;
}
/* Tiles share the row equally, so the strip runs edge to edge on the grid
   whether a site has four waypoints or five. Below 780 they go back to a
   fixed width and the row scrolls inside itself. */
.journey__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  text-decoration: none;
}
/* The connective tissue: an arrow in each gap, at thumb mid-height. Tile
   width is fluid, so the offset is padding-top (a % of the ITEM's width):
   half the 4:3 thumb's height, minus half the glyph. */
.journey__item + .journey__item::before {
  content: "\2192";
  position: absolute;
  left: -26px;
  top: 0;
  padding-top: calc(37.5% - 8px);
  font: 400 15px var(--font-body);
  line-height: 1;
  color: var(--ink-faint);
}
.journey__thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
}
.journey__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.journey__spin {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 7px;
  font: 700 10px var(--font-data);
  letter-spacing: .08em;
  color: var(--on-dark);
  background: rgba(26, 32, 29, .72);
  opacity: 0;
}
.journey__item:hover .journey__spin,
.journey__item:focus-visible .journey__spin { opacity: 1; }
.journey__item:hover .journey__thumb,
.journey__item:focus-visible .journey__thumb { border-color: var(--ink); }
.journey__num {
  display: block;
  margin-top: 9px;
  font: 400 11px var(--font-data);
  letter-spacing: .08em;
  color: var(--ink-faint);
}
.journey__label {
  display: block;
  margin-top: 3px;
  font: 700 12.5px var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--ink);
}
.journey__item:hover .journey__label { text-decoration: underline; }
.journey__note {
  display: block;
  margin-top: 3px;
  font: 400 12px var(--font-body);
  line-height: 1.4;
  color: var(--ink-faint);
}
@media (max-width: 780px) {
  .journey__item { flex: 0 0 auto; width: 150px; }
}
@media (max-width: 560px) {
  .journey__row { gap: 24px; }
  .journey__item { width: 128px; }
  .journey__item + .journey__item::before { left: -19px; font-size: 13px; }
}

/* --------------------------------------------------------------------------
   Title block - h1 + intro prose left, today's flow in a 280px ruled column.
   The column opens with a 1.5px ink rule on paper: not a boxed panel.
   -------------------------------------------------------------------------- */
.access-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 44px;
  align-items: start;
  padding-bottom: 30px;
}
.access-title__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.access-title__h1 {
  font-size: var(--text-display-2);
  line-height: 1.02;
  color: var(--ink);
}
.access-title__p {
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 680px;
}
.access-today {
  border-top: var(--rule-section) solid var(--ink);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.access-today__label {
  font: 700 var(--text-label) var(--font-body);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
}
.access-today__figure { line-height: 1; }
.access-today__figure .fig {
  font-size: var(--data-xl);
  color: var(--ink);
}
.access-today__figure--dim {
  font: 700 var(--data-lg) var(--font-data);
  color: var(--ink-faint);
}
.access-today__trend { font: 600 14px var(--font-body); }
.access-today__trend--dropping { color: var(--mercantile); }
.access-today__trend--rising,
.access-today__trend--holding { color: var(--glacier-deep); }
.access-today__context {
  font: 400 var(--text-label) var(--font-data);
  letter-spacing: .04em;
  line-height: 1.55;
  color: var(--ink-soft);
}
.access-today__context b { color: var(--glacier-deep); }
.access-today__note {
  font: 400 12.5px var(--font-body);
  color: var(--ink-faint);
}
.access-today__flag {
  font: 600 12px var(--font-body);
  line-height: 1.5;
  color: var(--mercantile);
}
.access-today__foot {
  margin-top: 3px;
  font: 400 11px var(--font-data);
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ink-faint);
}

.access-alert-band { padding-top: 0; padding-bottom: 8px; }

/* --------------------------------------------------------------------------
   Content column + 340px sticky rail.
   body keeps overflow-x: clip, so sticky works; the rail shares this grid
   with the content it tracks.
   -------------------------------------------------------------------------- */
.access-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: start;
  padding-top: 16px;
}
.access-main__content {
  display: flex;
  flex-direction: column;
  gap: 52px;
  min-width: 0;
}
.access-rail {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 34px;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Section heading rows - hairline rule beneath, right-aligned mono caption.
   -------------------------------------------------------------------------- */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 18px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
}
.sec-head__title {
  font-size: var(--text-display-4);
  line-height: 1.12;
  color: var(--ink);
}
.sec-head__cap {
  font: 700 11px var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: right;
}

/* --------------------------------------------------------------------------
   Access concerns - verbatim rows, 4px mercantile inset, hairline separators.
   (`.access-` prefixed: site.css still carries a legacy `.concerns` box.)
   -------------------------------------------------------------------------- */
.access-concerns { display: flex; flex-direction: column; gap: 8px; }
.access-concerns__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.access-concerns__row {
  box-shadow: inset var(--rule-accent) 0 0 var(--mercantile);
  padding: 16px 10px 16px 22px;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Photographs - 1px seams via gap over a rule-coloured grid, radius 0.
   .gallery img keeps height:auto from site.css (load-bearing).
   -------------------------------------------------------------------------- */
.photos { display: flex; flex-direction: column; gap: 16px; }
.gallery--seamed {
  gap: 1px;
  background: var(--rule);
}
.gallery--seamed figure { background: var(--paper); gap: 0; }
.gallery--seamed figcaption { padding: 8px 10px 10px; }
.photos__credit {
  font: 700 11px var(--font-body);
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   Getting there
   -------------------------------------------------------------------------- */
.getting { display: flex; flex-direction: column; gap: 14px; }
.getting__p {
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 680px;
}
.getting__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.getting__actions .btn { font-size: 13.5px; padding: 10px 18px; }

/* --------------------------------------------------------------------------
   Rail blocks - each opens with a 1.5px ink rule, on paper. No boxes.
   -------------------------------------------------------------------------- */
.rail-block {
  border-top: var(--rule-section) solid var(--ink);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rail-block__label {
  font: 700 var(--text-label) var(--font-body);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
}
.rail-block__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.rail-block__note {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-faint);
}

/* Audio description: 48px zero-radius play control + mono time over a hidden
   audio element. The native player chrome was the only rounded UI on the page. */
.ad-ctl { display: flex; align-items: center; gap: 14px; }
.ad-ctl audio { display: none; }
.ad-ctl__btn {
  width: 48px;
  height: 48px;
  flex: none;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 400 15px/1 var(--font-body);
  padding: 0;
}
.ad-ctl__btn:hover { background: var(--glacier-deep); }
.ad-ctl__glyph { transform: translateX(1px); letter-spacing: -.08em; }
.ad-ctl__time {
  font: 400 var(--data-sm) var(--font-data);
  letter-spacing: .05em;
  color: var(--ink-faint);
}
.ad-transcript summary {
  font: 600 13px var(--font-body);
  color: var(--glacier-deep);
  cursor: pointer;
}
.ad-transcript summary:hover { color: var(--ink); }
.ad-transcript__body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-height: 260px;
  overflow-y: auto;
  border-top: 1px solid var(--rule);
  margin-top: 10px;
  padding-top: 10px;
}

/* Parking + facilities: 7px square markers, hairline separators. */
.fac-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.fac-list__row {
  position: relative;
  padding: 10px 0 10px 19px;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.fac-list__row:last-child { border-bottom: 0; }
.fac-list__row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 7px;
  height: 7px;
}
.fac-list__row--ok::before { background: var(--glacier-deep); }
.fac-list__row--flag::before { background: var(--mercantile); }

/* --------------------------------------------------------------------------
   Neighbour sites - flow rail, then two cards on a 1px seam, then the profile.
   -------------------------------------------------------------------------- */
.access-neigh {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 24px;
}
/* On this page the rail sits directly on paper, per the mock - not in the
   quiet box it uses elsewhere. Separation is whitespace, not tint. */
.access-neigh .flow-rail {
  background: none;
  padding: 6px 0 2px;
}
.neigh-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.neigh-card {
  background: var(--paper);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 28px 22px 0;
  text-decoration: none;
  min-width: 0;
}
.neigh-card--right {
  flex-direction: row-reverse;
  text-align: right;
  padding: 22px 0 22px 28px;
}
.neigh-card__thumb {
  width: 150px;
  height: 94px;
  object-fit: cover;
  flex: none;
  border-radius: 0;
}
.neigh-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.neigh-card--right .neigh-card__body { align-items: flex-end; }
.neigh-card__label {
  font: 700 var(--text-label-sm) var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.neigh-card__name {
  font: 600 var(--text-display-5) var(--font-display);
  line-height: 1.12;
  color: var(--ink);
  overflow-wrap: anywhere;
}
a.neigh-card:hover .neigh-card__name { color: var(--glacier-deep); }
.neigh-card__name--quiet { color: var(--ink-faint); }
.neigh-card__meta {
  font: 400 var(--data-sm) var(--font-data);
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--ink-faint);
}
.neigh-card__meta--flag { color: var(--mercantile); }
.neigh-card--end { cursor: default; }

.access-profile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Breakpoints: 560 stack / 780 card / 1080 rail.
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .access-title { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .access-today { max-width: 380px; }
  .access-main { grid-template-columns: minmax(0, 1fr); }
  .access-rail { position: static; }
}

@media (max-width: 780px) {
  .access-hero .viewer { height: 420px; }
  .access-title__h1 { font-size: 46px; }
  .sec-head__title { font-size: 30px; }
  .neigh-cards { grid-template-columns: 1fr; }
  .neigh-card,
  .neigh-card--right { padding: 18px 0; }
}

@media (max-width: 560px) {
  .access-title__h1 { font-size: 38px; }
  .access-hero .viewer { height: 360px; }
  .neigh-card__thumb { width: 108px; height: 72px; }
  .concerns__row { padding: 14px 6px 14px 18px; }
}

/* --------------------------------------------------------------------------
   Scene-level observations - hazards + facilities with tour deep links.
   Sits inside the assessment's 360 sequence block; each row is one distinct
   observation and links the panoramas it was seen in.
   -------------------------------------------------------------------------- */
.assessment--evidence .assessment__grid--obs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.obs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.obs__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: var(--rule-hair) solid var(--rule);
}
.obs__row:last-child { border-bottom: 0; }
.obs__label { font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.obs__scenes { display: flex; gap: 10px; flex: 0 0 auto; }
.obs__scene {
  font: 700 10px var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--glacier-deep);
  text-decoration: none;
  white-space: nowrap;
}
.obs__scene:hover, .obs__scene:focus-visible { text-decoration: underline; }
.obs__more {
  margin: 8px 0 0;
  font: 700 10px var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
@media (max-width: 780px) {
  .assessment--evidence .assessment__grid--obs { grid-template-columns: 1fr; }
}

/* On Terrain360 - the rail's outbound button to the full platform tour */
.rail-block__btn {
  display: block;
  text-align: center;
  margin: 2px 0 4px;
}

/* The fork in pictures - every launch under the profile, in river order */
.profile-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 18px 2px 6px;
}
.profile-strip__item {
  flex: 0 0 auto;
  width: 104px;
  text-decoration: none;
}
.profile-strip__thumb {
  display: block;
  width: 104px;
  height: 59px;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
}
.profile-strip__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-strip__name {
  display: block;
  margin-top: 6px;
  font: 700 10px var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.35;
}
.profile-strip__item:hover .profile-strip__name,
.profile-strip__item:focus-visible .profile-strip__name { color: var(--ink); }
.profile-strip__item.is-here .profile-strip__thumb { outline: 2px solid var(--mercantile); outline-offset: -2px; }
.profile-strip__item.is-here .profile-strip__name { color: var(--mercantile); }
