@charset "UTF-8";
/* ==========================================================================
   TRAVELNEST — Gallery
   Loaded after style.css and destination.css: tokens, top bar, breadcrumb,
   the "Four answers" enquiry block and the footer come from those two.
   No hero and no letterhead strip on purpose — the page opens on the wall.
   The claim of the page is provenance, so every frame carries place, month,
   photographer and roll number, and nothing sits between viewer and picture:
   no lightbox, no filters, no watermarks.
   --------------------------------------------------------------------------
   01. Page tokens and shared section furniture
   02. Thirty frames, five regions — the wall
   03. 06:00, Machu Picchu, November — the spread
   04. About these photographs — the footnote band
   05. Responsive — 1500 / 1200 / 1000 / 760 / 430
   --------------------------------------------------------------------------
   Authored in fixed pixels at any width (only the nav and footer scale).
   ========================================================================== */

/* ==========================================================================
   01. Page tokens and shared section furniture
   ========================================================================== */

.crumbs--gallery { margin-top: -8px; padding-top: 0; }

.page-gallery {
  /* the ink footnote band */
  --gl-panel: #17435A;
  --gl-panel-ink: #FBF6EC;
  --gl-panel-rgb: 251, 246, 236;
  /* the paper the FRAME OF THE YEAR chip is printed on */
  --gl-chip-paper: #FFFFFF;
}

[data-theme="dark"] .page-gallery {
  --gl-panel: rgba(16, 16, 16, 0.72);
  --gl-panel-ink: #EDE3D3;
  --gl-panel-rgb: 237, 227, 211;
  --gl-chip-paper: #EDE3D3;
}

/* on dark paper the structural ink rules soften to 45% */
[data-theme="dark"] .pstrip { border-top-color: rgba(var(--ink-rgb), 0.45); }

[data-theme="dark"] .bandhdr { border-color: rgba(var(--ink-rgb), 0.45); }
[data-theme="dark"] .railnote--top { border-top-color: rgba(var(--ink-rgb), 0.45); }

/* the enquiry block is the Europe planner frozen at the 1920 reference */
.page-gallery .planner { --u: 19.2px; }

@media (max-width: 1500px) {
  .page-gallery .planner { --u: 1.28vw; }
}

/* the section opens the same way as everywhere: heading pair, script, note */
.secthead {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin: 0 var(--gutter);
  padding: 42px 0 24px;
}

.secthead__stack {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
  min-width: 0;
}

.secthead .display--about { font-size: 92px; }

.secthead .script--about {
  font-size: 66px;
  padding-top: 0;
  padding-bottom: 18px;
}

.secthead__note {
  margin: 0 0 0 auto;
  max-width: 380px;
  padding-bottom: 10px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.45;
  text-align: right;
  opacity: 0.8;
  text-wrap: pretty;
}

/* five figures under the heading */
.pstrip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 var(--gutter) 22px;
  padding: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.22);
  list-style: none;
}

.pcell2 {
  flex: 1 1 180px;
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 13px 20px;
  border-left: 1px solid rgba(var(--ink-rgb), 0.22);
}

.pcell2:first-child { padding-left: 0; border-left: 0; }
.pcell2:last-child { padding-right: 0; }

.pcell2__value {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
}

.pcell2__label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* the sentence + CTA that closes the wall */
.railnote {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin: 30px var(--gutter) 0;
}

.railnote--top {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.railnote__text {
  max-width: 700px;
  font-size: 21px;
  font-weight: 500;
  opacity: 0.78;
  text-wrap: pretty;
}

.railnote__cta {
  margin-left: auto;
  border: 2px solid var(--accent);
  padding: 15px 32px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.16s ease-out, color 0.16s ease-out;
}

.railnote__cta:hover,
.railnote__cta:focus-visible {
  background: var(--accent);
  color: var(--cta-label);
}

/* ==========================================================================
   02. Thirty frames, five regions — the wall
   ========================================================================== */

.wall { padding: 0 0 62px; }

.wallbands {
  display: flex;
  flex-direction: column;
  margin: 0 var(--gutter);
}

/* five parts on one line: tag, region, who shot it, best light, the count */
.bandhdr {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
  padding: 14px 0 12px;
  border-top: 3px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-weight: 400;
}

.bandhdr__tag {
  color: var(--accent);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
}

.bandhdr__name {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 30px;
  font-weight: 600;
}

.bandhdr__shot {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.5;
}

.bandhdr__light {
  margin-left: auto;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bandhdr__count {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* the mosaic: spans and heights are per-frame data, not layout logic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 18px 0 30px;
  list-style: none;
}

.wallband:last-child .mosaic { padding-bottom: 0; }

.gframe {
  position: relative;
  overflow: hidden;
}

.gframe--s1 { grid-column: span 1; }
.gframe--s2 { grid-column: span 2; }

.gframe--h280 { height: 280px; }
.gframe--h290 { height: 290px; }
.gframe--h300 { height: 300px; }
.gframe--h340 { height: 340px; }
.gframe--h360 { height: 360px; }
.gframe--h380 { height: 380px; }
.gframe--h400 { height: 400px; }
.gframe--h420 { height: 420px; }

.gframe__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gframe__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.84) 0%, transparent 54%);
  pointer-events: none;
}

/* the frame of the year: accent outline and an accent-washed scrim */
.gframe--hot {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.gframe--hot .gframe__scrim {
  background: linear-gradient(to top, rgba(192, 82, 27, 0.9) 0%, rgba(10, 10, 10, 0.2) 48%, transparent 70%);
}

.gframe__top {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  pointer-events: none;
}

.gframe__chip {
  background: var(--gl-chip-paper);
  padding: 3px 10px;
  color: var(--accent);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.gframe__roll {
  margin-left: auto;
  color: #FFFFFF;
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  opacity: 0.75;
}

.gframe__cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 13px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  color: #FFFFFF;
  pointer-events: none;
}

.gframe__where {
  display: flex;
  flex-direction: column;
}

.gframe__place {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.05;
}

.gframe__month {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* the credit is white on the accent-washed scrim, sand everywhere else */
.gframe--hot .gframe__by { color: #FFFFFF; }

.gframe__by {
  margin-left: auto;
  color: var(--ab-panel-accent);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   03. 06:00, Machu Picchu, November — the spread
   ========================================================================== */

.spread-sec { padding: 40px var(--gutter) 46px; }

.spread {
  position: relative;
  height: 800px;
  overflow: hidden;
}

.spread__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spread__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.84) 0%, rgba(10, 10, 10, 0.14) 44%, transparent 66%);
  pointer-events: none;
}

/* the letterhead needs its own darkening: on a bright sky white 15px type
   lands at 1.6:1 against the photograph, far under the 4.5:1 minimum. The
   handoff's geometry notes call for this second, top-down scrim. */
.spread__scrim--head {
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.62) 0%, rgba(10, 10, 10, 0.28) 9%, transparent 18%);
}

.letterhead2 {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
}

.letterhead2__place {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ab-panel-accent);
}

.letterhead2__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentcolor;
}

.letterhead2__note { opacity: 0.7; }

.letterhead2__tag {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 4px 12px;
  letter-spacing: 0.16em;
}

.spread__body {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #FFFFFF;
  pointer-events: none;
}

.spread__row {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}

.spread__head {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
  margin: 0;
}

.spread__title {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 88px;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.spread__script {
  padding-top: 0;
  padding-bottom: 14px;
  color: var(--ab-panel-accent);
  font-size: 66px;
  font-weight: 400;
}

.spread__credit {
  margin: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  padding-bottom: 6px;
  text-align: right;
}

.spread__credit-label {
  color: var(--ab-panel-accent);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.spread__credit-name {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.spread__credit-role {
  font-size: 19px;
  font-weight: 500;
  opacity: 0.85;
}

.spread__quote {
  margin: 0;
  max-width: 620px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.92;
  text-wrap: pretty;
}

/* four figures bounded by white rules, over the photograph */
.figstrip4 {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  border-top: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  list-style: none;
}

.figstrip4__cell {
  flex: 1 1 190px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 14px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.figstrip4__cell:first-child { padding-left: 0; border-left: 0; }

.figstrip4__cell:last-child {
  flex: 1 1 220px;
  padding-right: 0;
}

.figstrip4__value {
  color: var(--ab-panel-accent);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
}

.figstrip4__label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ==========================================================================
   04. About these photographs — the footnote band
   ========================================================================== */

.gnote-sec { padding: 34px var(--gutter) 46px; }

.gnote {
  background: var(--gl-panel);
  color: var(--gl-panel-ink);
}

.gnote__head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0;
  padding: 14px 30px;
  border-top: 4px solid var(--ab-panel-accent);
  border-bottom: 1px solid rgba(var(--gl-panel-rgb), 0.25);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.gnote__place {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ab-panel-accent);
}

.gnote__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentcolor;
}

.gnote__note { opacity: 0.6; }

.gnote__tag {
  margin-left: auto;
  border: 1px solid rgba(var(--gl-panel-rgb), 0.5);
  padding: 5px 13px;
  letter-spacing: 0.16em;
}

.gcells {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gcell {
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 26px 30px;
  border-left: 1px solid rgba(var(--gl-panel-rgb), 0.3);
}

.gcell:first-child { border-left: 0; }

/* nought stock photographs is the point of the whole page */
.gcell--hot {
  flex: 1 1 280px;
  background: var(--accent);
  border-left: 0;
  color: var(--ab-on-accent-deep);
}

.gcell__figure {
  margin: 0;
  color: var(--ab-panel-accent);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 62px;
  font-weight: 600;
  line-height: 0.9;
}

.gcell--hot .gcell__figure { color: inherit; }

.gcell__label {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gcell__sub {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.7;
  text-wrap: pretty;
}

.gcell--hot .gcell__sub { opacity: 0.92; }

.gnote__foot {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 0;
  padding: 18px 30px;
  border-top: 1px solid rgba(var(--gl-panel-rgb), 0.3);
}

.gnote__text {
  max-width: 820px;
  font-size: 21px;
  font-weight: 500;
  opacity: 0.88;
  text-wrap: pretty;
}

.gnote__cta {
  margin-left: auto;
  background: var(--ab-panel-cta);
  padding: 15px 32px;
  color: var(--ab-panel-cta-ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.16s ease-out, color 0.16s ease-out;
}

.gnote__cta:hover,
.gnote__cta:focus-visible { background: var(--ab-panel-accent); }

/* ==========================================================================
   05. Responsive
   ========================================================================== */

@media (max-width: 1500px) {
  .secthead .display--about { font-size: 74px; }
  .spread__title { font-size: 70px; }
  .spread__script { font-size: 56px; }
  .spread { height: 700px; }
}

@media (max-width: 1200px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gframe--s2 { grid-column: span 2; }
  .spread { height: 620px; }
  .spread__title { font-size: 56px; }
  .spread__script { font-size: 46px; }
  .spread__quote { font-size: 20px; }
  .gcell { flex: 1 1 210px; padding: 20px 22px; }
  .gcell--hot { flex: 1 1 230px; }
  .gcell__figure { font-size: 50px; }
}

@media (max-width: 1000px) {
  .wall { padding-bottom: 40px; }
  .spread-sec { padding: 28px var(--gutter) 34px; }
  .gnote-sec { padding: 24px var(--gutter) 32px; }

  .secthead { padding: 26px 0 20px; gap: 14px; }

  .secthead__note {
    margin-left: 0;
    padding-bottom: 0;
    text-align: left;
    font-size: 18px;
  }

  .pcell2 { flex: 1 1 150px; padding: 10px 14px; }
  .pcell2__label { font-size: 14px; }

  .bandhdr { gap: 8px 14px; }
  .bandhdr__light { margin-left: 0; }
  .bandhdr__shot { flex: 1 1 100%; }

  .mosaic { gap: 12px; padding: 14px 0 24px; }

  /* the frames keep their proportions instead of their fixed heights */
  .gframe { height: auto; aspect-ratio: 16 / 10; }
  .gframe--s1 { aspect-ratio: 4 / 3; }

  /* the spread's text moves off the photograph and under it */
  .spread { height: auto; }

  .spread__img {
    position: static;
    height: 380px;
  }

  .spread__scrim { inset: 0 0 auto; height: 380px; }
  .spread__scrim--head { height: 380px; }

  .letterhead2 { left: 20px; right: 20px; top: 20px; }

  .spread__body {
    position: static;
    gap: 16px;
    padding: 22px 0 0;
    color: var(--ink);
  }

  .spread__quote { max-width: none; }
  .spread__credit { margin-left: 0; }

  /* off the photograph the white rules would not carry */
  .figstrip4 {
    border-top-color: rgba(var(--ink-rgb), 0.35);
    border-bottom-color: rgba(var(--ink-rgb), 0.35);
  }

  .figstrip4__cell { border-left-color: rgba(var(--ink-rgb), 0.22); }
  .figstrip4__value { color: var(--accent); }
  .spread__script { color: var(--accent); }
  .spread__credit-label { color: var(--accent); }

  .gnote__head { gap: 12px; padding: 12px 20px; font-size: 14px; }
  .gnote__tag { margin-left: 0; }
  .gcell { padding: 18px 20px; }
  .gcell__label { font-size: 17px; }
  .gcell__sub { font-size: 16px; }

  .gnote__foot { gap: 14px; padding: 14px 20px; }
  .gnote__text { font-size: 18px; }
  .gnote__cta { margin-left: 0; padding: 13px 24px; font-size: 16px; }

  .railnote { gap: 14px; }
  .railnote__text { font-size: 18px; }
  .railnote__cta { margin-left: 0; padding: 13px 24px; font-size: 16px; }
}

@media (max-width: 760px) {
  .mosaic { grid-template-columns: minmax(0, 1fr); }
  .gframe--s2 { grid-column: span 1; }
  .gframe,
  .gframe--s1 { aspect-ratio: 3 / 2; }

  .spread__img,
  .spread__scrim,
  .spread__scrim--head { height: 260px; }

  /* stacked cells are divided top to bottom, never by a stray left rule */
  .pstrip { display: block; }

  .pcell2 {
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid rgba(var(--ink-rgb), 0.22);
  }

  .pcell2:first-child { border-top: 0; }

  .figstrip4__cell {
    flex: 1 1 100%;
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid rgba(var(--ink-rgb), 0.22);
  }

  .figstrip4__cell:first-child { border-top: 0; }
  .figstrip4__cell:last-child { flex: 1 1 100%; }

  .gcell {
    flex: 1 1 100%;
    border-left: 0;
    border-top: 1px solid rgba(var(--gl-panel-rgb), 0.3);
  }

  .gcell:first-child { border-top: 0; }
  .gcell--hot { flex: 1 1 100%; border-top: 0; }
  .gcell__figure { font-size: 46px; }
}

@media (max-width: 430px) {
  .secthead .display--about { font-size: clamp(30px, 8.5vw, 48px); }
  .secthead .script--about { font-size: clamp(30px, 9vw, 46px); }
  .spread__title { font-size: clamp(28px, 8vw, 44px); }
  .spread__script { font-size: clamp(30px, 9vw, 44px); }
  .gframe__place { font-size: 19px; }
  .gframe__month,
  .gframe__by { font-size: 14px; }
  .letterhead2 { font-size: 12px; letter-spacing: 0.14em; gap: 10px; }
  .letterhead2__tag { margin-left: 0; }
  .gnote__tag { align-self: flex-start; }
}
