/* Helios Patagonia
   Tokens, type and usage rules: the "Helios Patagonia" design system.
   Layout: the owner's Version 4 canvas. */

@font-face {
  font-family: "Tan Mon Cheri";
  src: url(assets/fonts/TanMonCheri.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  ascent-override: 100%;
  descent-override: 12%;
  line-gap-override: 0%;
}

/* The running text's face, served from the site itself rather than from Google: its Latin slice, which covers
   English and Spanish, in the two weights the site sets. The range is the one Google publishes for that slice. */
@font-face {
  font-family: "Gowun Batang";
  src: url(assets/fonts/gowun-batang-400-latin.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Gowun Batang";
  src: url(assets/fonts/gowun-batang-700-latin.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Colour */
  --deep: #091b20;
  --white: #ffffff;
  --mist: #e9eceb;
  --glacier: #f2fdfd;
  --stone-light: #9ca9a7;
  --stone: #5e6b69;
  --sun: #ffa700;
  --ember: #ed4319;
  --coral: #eb6b57;
  /* The deep ink as channels, for its translucent uses: the shades over photographs and the scrims. */
  --deep-rgb: 9, 27, 32;

  /* Roles on the dark ground, the default */
  --surface: var(--deep);
  --surface-raised: rgba(233, 236, 235, 0.05);
  /* The same surface as one flat colour, for a card that lies on a photograph. */
  --surface-raised-solid: #14252a;
  --ink: var(--white);
  --ink-muted: var(--stone-light);
  --line: rgba(156, 169, 167, 0.28);
  --line-strong: var(--stone-light);
  --accent: var(--sun);
  --on-accent: var(--deep);
  --accent-hover: var(--coral);
  --eyebrow: var(--sun);
  --mark: var(--sun);
  --focus: var(--sun);

  /* Type */
  --font-display: "Tan Mon Cheri", Georgia, serif;
  --font-serif: "Gowun Batang", Georgia, "Times New Roman", serif;

  /* Space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --section: var(--space-9);
  /* A short section: the facts under an experience's hero, the founders. */
  --section-tight: var(--space-8);
  --gutter: var(--space-5);
  --wrap: 1200px;
  /* One step below a section's opening, and between the three columns of a row. */
  --below-head: var(--space-7);
  --col-gap: var(--space-6);
  /* The longest line of running text under a title. */
  --measure: 37rem;
  /* How far a photograph takes to dissolve into the ground beside it. */
  --melt: clamp(72px, 10vw, 144px);
  /* The longer distance a photograph takes to rise out of a light ground. */
  --rise: clamp(150px, 21vw, 300px);

  --radius-1: 4px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --isotype: url(assets/logo/helios-isotype-white.webp);
}

/* Light sections: glacier, mist and white grounds */
[data-theme="light"] {
  --surface: var(--white);
  --surface-raised: var(--white);
  --ink: var(--deep);
  --ink-muted: var(--stone);
  --line: rgba(94, 107, 105, 0.3);
  --line-strong: var(--stone);
  --eyebrow: var(--stone);
  --mark: var(--deep);
  --focus: var(--deep);
}

/* Below the full container the three columns close up a step. */
@media (max-width: 1199px) {
  :root {
    --col-gap: var(--space-5);
  }
}

@media (max-width: 720px) {
  :root {
    --section: var(--space-8);
    --section-tight: var(--space-7);
    --below-head: var(--space-6);
  }
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--stone) var(--deep);
}

body {
  margin: 0;
  /* One continuous contour texture under the whole page, never restarted per section. */
  background: var(--deep) url(assets/patterns/topo-tile.svg) 0 0 / 1200px 1200px repeat;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--sun);
  color: var(--deep);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -80px;
  z-index: 100;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  background: var(--sun);
  color: var(--deep);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Type */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

/* 30px on a phone to 44px from 1100px up */
.display-lg {
  font-size: clamp(1.875rem, 1.4225rem + 1.931vw, 2.75rem);
}

/* 26px to 36px */
.display-md {
  font-size: clamp(1.625rem, 1.302rem + 1.379vw, 2.25rem);
}

/* 22px to 28px */
.display-sm {
  font-size: clamp(1.375rem, 1.181rem + 0.8276vw, 1.75rem);
}

.numeral {
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--accent);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.eyebrow--strong {
  gap: 10px;
  font-weight: 700;
}

/* The sun isotype, tinted for the ground it sits on */
.mk,
.watermark,
.hero__mark,
.bullets li::before {
  background-color: var(--mark);
  -webkit-mask: var(--isotype) center / contain no-repeat;
  mask: var(--isotype) center / contain no-repeat;
}

.mk {
  flex: none;
  display: inline-block;
  width: 14px;
  height: 14px;
}

/* Where a label runs to a second line, its mark stays beside the first. */
.eyebrow > .mk {
  align-self: flex-start;
  margin-top: calc((1.4em - 14px) / 2);
}

/* One part of an "A · B · C" label. A line breaks only before a separator, so the dot travels with the word after
   it; a part longer than the whole line still wraps inside itself instead of running off the screen. */
.label-part {
  display: inline-block;
  max-width: 100%;
}

.muted {
  color: var(--ink-muted);
}

.caption {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.2s ease-out,
    border-color 0.2s ease-out,
    color 0.2s ease-out;
}

.btn--sun {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--sun:hover {
  background: var(--accent-hover);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--deep {
  background: var(--deep);
  color: var(--white);
}

.btn--deep:hover {
  background: var(--coral);
  color: var(--deep);
}

.btn--block {
  width: 100%;
}

.btn .icon {
  flex: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.text-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* The arrow runs in the text after the last word, so it never leaves that word when the label wraps. */
.text-link .icon {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

.text-link:hover span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* Header */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  min-height: 44px; /* the lockup is 32px on phones; its link stays a full touch target */
}

.lockup {
  width: auto;
  height: 44px;
}

/* The navigation and its Programs item stand the bar's full 84px, so the pointer never leaves the item on its way down
   from the word to the panel (until 2026-11-18 the item was 44px tall and the panel closed in the 20px between). */
.site-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 36px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 0.2s ease-out;
}

.nav-link:hover {
  color: var(--sun);
}

/* The current page keeps white text, which holds its contrast over any photograph, and gains a sun rule. */
.nav-link[aria-current] {
  box-shadow: inset 0 -2px 0 var(--sun);
}

/* Programs opens a panel the width of the page with its two programs as photographs (the owner's option B,
   2026-11-15). It opens on hover and on focus; the word itself is a link to the Programs page. The photographs
   are lazy, so they are fetched only when the panel is first shown. */
.nav-item {
  display: inline-flex;
  align-self: stretch;
  align-items: center;
}

.nav-link .icon {
  margin-left: 6px;
  transition: transform 0.2s ease-out;
}

.nav-item.is-open > .nav-link .icon {
  transform: rotate(180deg);
}

.nav-panel {
  position: absolute;
  top: 84px;
  right: 0;
  left: 0;
  z-index: 30;
  display: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--deep);
}

.nav-item.is-open > .nav-panel,
.no-js .nav-item:hover > .nav-panel,
.no-js .nav-item:focus-within > .nav-panel {
  display: block;
}

.nav-panel__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  column-gap: var(--col-gap);
  padding-block: 32px 40px;
}

.nav-panel__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* The panel's line has more air between its lines than a title (1.3 against 1.15), at the owner's ask of 2026-11-18. */
.nav-panel__intro .display {
  max-width: 12em;
  line-height: 1.3;
}

.nav-panel__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-panel__photo {
  display: block;
  aspect-ratio: 16 / 9;
  margin-bottom: 6px;
  overflow: hidden;
  background: var(--surface-raised-solid);
}

.nav-panel__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

/* Under the panel's line, one muted sentence at the cards' size (the owner's words, 2026-11-18). */
.nav-panel__lead {
  max-width: 22em;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* The last two words hold together, so the line never breaks at the hyphen of tailor-made. */
.nav-panel__lead span {
  white-space: nowrap;
}

.nav-panel__card strong {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease-out;
}

.nav-panel__card > span:not(.nav-panel__photo) {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.nav-panel__card:hover strong,
.nav-panel__card[aria-current] strong {
  color: var(--sun);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn--nav {
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-btn__open,
.menu-btn__close {
  display: inline-flex;
}

.menu-btn__close,
.is-open .menu-btn__open {
  display: none;
}

.is-open .menu-btn__close {
  display: inline-flex;
}

.site-header.is-open {
  background: var(--deep);
  border-bottom: 1px solid var(--line);
}

.site-menu {
  border-top: 1px solid var(--line);
}

.site-menu__list {
  display: flex;
  flex-direction: column;
  padding-block: 8px 16px;
}

.site-menu__link {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-menu__link:last-child {
  border-bottom: 0;
}

.site-menu__link[aria-current] {
  color: var(--sun);
}

/* In the phone menu Programs lists its two pages under it; the chevron shows or hides them. */
.site-menu__group {
  border-bottom: 1px solid var(--line);
}

.site-menu__row {
  display: flex;
  align-items: stretch;
}

.site-menu__row .site-menu__link {
  flex: 1;
  border-bottom: 0;
}

.site-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.site-menu__toggle .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease-out;
}

.site-menu__toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.site-menu__sub {
  display: flex;
  flex-direction: column;
  padding: 0 0 12px 24px;
}

.site-menu__sub[hidden] {
  display: none;
}

.site-menu__sub-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 0.9375rem;
}

.site-menu__sub-link::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-right: 12px;
  background: var(--sun);
  -webkit-mask: var(--isotype) center / contain no-repeat;
  mask: var(--isotype) center / contain no-repeat;
}

.site-menu__sub-link[aria-current] {
  color: var(--sun);
}

/* Five entries and the button need more room than two did: the compact menu comes in under 1060px. */
@media (max-width: 1060px) {
  .site-nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }
}

@media (min-width: 1061px) {
  .site-menu {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .lockup {
    height: 36px;
  }
}

@media (max-width: 400px) {
  .lockup {
    height: 32px;
  }

  .btn--nav {
    padding: 0 14px;
    letter-spacing: 0.1em;
  }

  /* The lockup never gives up its proportions to make room: the row's gaps and the button's padding give instead. */
  .site-header__brand {
    flex: none;
  }
}

/* Under 360px the three parts of the bar do not fit at their sizes: the gutters and the gaps close a step and the
   button's letters sit tighter, so the lockup keeps its 32px and the button its words. */
@media (max-width: 359px) {
  .site-header__bar {
    gap: 12px;
    padding-inline: 16px;
  }

  .btn--nav {
    padding: 0 12px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }
}

/* Hero */

/* Every page opens the same way since 2026-11-16 (the owner's instruction, extending the catalogue's transition of
   2026-11-15 to every hero): the photograph stands behind the words to 64% of the screen, runs on --under below
   them and dissolves slowly into the night over that distance, photograph and shade masked as one layer
   (.hero__media), so no pale bar shows where a shade would fade alone. The section after comes up over the
   dissolve, --gap under the words, the way the home's cards come up over their photograph. The words sit at the
   same place on every page: 140px under the top of the page and 48px above the foot of the photograph's whole part. */
.hero,
.hero + .section {
  --under: 340px;
  --gap: 120px;
}

.hero {
  --fade: var(--under);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: calc(clamp(440px, 64vh, 600px) + var(--under));
  min-height: calc(clamp(440px, 64svh, 600px) + var(--under));
  padding-bottom: var(--under);
  overflow: hidden;
}

/* Whole down to the foot of the words, then a slow start, so the first of the fade cannot be told from the
   photograph. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 calc(100% - var(--fade)),
    rgba(0, 0, 0, 0.92) calc(100% - var(--fade) * 0.9),
    rgba(0, 0, 0, 0.74) calc(100% - var(--fade) * 0.76),
    rgba(0, 0, 0, 0.5) calc(100% - var(--fade) * 0.6),
    rgba(0, 0, 0, 0.28) calc(100% - var(--fade) * 0.45),
    rgba(0, 0, 0, 0.12) calc(100% - var(--fade) * 0.3),
    rgba(0, 0, 0, 0.03) calc(100% - var(--fade) * 0.15),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 calc(100% - var(--fade)),
    rgba(0, 0, 0, 0.92) calc(100% - var(--fade) * 0.9),
    rgba(0, 0, 0, 0.74) calc(100% - var(--fade) * 0.76),
    rgba(0, 0, 0, 0.5) calc(100% - var(--fade) * 0.6),
    rgba(0, 0, 0, 0.28) calc(100% - var(--fade) * 0.45),
    rgba(0, 0, 0, 0.12) calc(100% - var(--fade) * 0.3),
    rgba(0, 0, 0, 0.03) calc(100% - var(--fade) * 0.15),
    transparent 100%
  );
}

.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

/* Three shades: the top one keeps the navigation legible over sky or ice; the lower one is measured from the foot
   of the words, not of the hero, even behind the title block and lighter above it, so the photograph shows; the
   side one deepens the left, where the text sits. */
.hero__shade {
  /* The top shade's depth and reach; a page whose subject stands high in the photograph shortens it (.hero--sky). */
  --shade-top: 0.7;
  --shade-top-mid: 0.58;
  --shade-top-end: 30%;
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      to bottom,
      rgba(var(--deep-rgb), var(--shade-top)) 0%,
      rgba(var(--deep-rgb), var(--shade-top-mid)) calc(var(--shade-top-end) / 3),
      rgba(var(--deep-rgb), 0) var(--shade-top-end)
    ),
    linear-gradient(
      to top,
      rgba(var(--deep-rgb), 0.84) 0,
      rgba(var(--deep-rgb), 0.84) var(--fade),
      rgba(var(--deep-rgb), 0.76) calc(var(--fade) + 200px),
      rgba(var(--deep-rgb), 0.4) calc(var(--fade) + 420px),
      rgba(var(--deep-rgb), 0) calc(var(--fade) + 660px)
    ),
    linear-gradient(to right, rgba(var(--deep-rgb), 0.5) 0%, rgba(var(--deep-rgb), 0) 70%);
}

/* Programs: the towers stand in the upper fifth of the owner's photograph, where the top shade fell on them at desktop
   widths. Here that shade is lighter and ends sooner; the lockup and the navigation sit over dark sky and cloud. */
.hero--sky .hero__shade {
  --shade-top: 0.55;
  --shade-top-mid: 0.3;
  --shade-top-end: 16%;
}

.hero__mark {
  position: absolute;
  top: 80px;
  right: 6%;
  z-index: -1;
  width: 280px;
  height: 280px;
  --mark: var(--white);
  opacity: 0.12;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-top: 140px;
  padding-bottom: var(--space-7);
}

.hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.hero__back:hover {
  color: var(--sun);
}

/* 36px on a phone to 44px; below 390px it follows the screen so the longest word still fits. The measure is wide
   enough for the home's title to hold one line at 44px ("Find Your Way Into the Wild", the owner's words of
   2026-11-16); a longer title still wraps. */
.hero__title {
  max-width: 22em;
  font-size: clamp(1.75rem, min(9.2vw, 1.991rem + 1.1034vw), 2.75rem);
}

/* The home's title is smaller than the other page titles, to the measure of its line (the owner's instruction of
   2026-11-16): at 32.5px its one line ends where the lead's first line ends. */
.hero--home .hero__title {
  font-size: clamp(1.75rem, min(9.2vw, 2.03rem), 2.03rem);
}

.hero__lead {
  max-width: 34em;
  font-size: 1.25rem;
  line-height: 1.5;
}

/* In a band of text the action stands a step further from the words than the words do from each other. */
.hero .actions,
.cta .actions,
.notfound .actions {
  margin-top: var(--space-2);
}

/* The section after comes up over the photograph's foot; a hairline there would cut across the dissolve. */
.hero + .section {
  z-index: 1;
  margin-top: calc(var(--gap) - var(--under));
  padding-top: 0;
  border-top: 0;
}

/* On a phone and a tablet the photograph keeps to the top, behind the title, and dissolves over a longer distance
   behind what follows; the words keep their first screen. */
@media (max-width: 880px) {
  .hero,
  .hero + .section {
    --under: 240px;
    --gap: var(--space-6);
  }

  .hero {
    --fade: 440px;
    min-height: calc(min(520px, 76vh) + var(--under));
    min-height: calc(min(520px, 76svh) + var(--under));
  }

  .hero__inner {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  /* The text sits over the subject, so the lower shade reaches higher; the side shade is dropped. */
  .hero__shade {
    background:
      linear-gradient(to bottom, rgba(var(--deep-rgb), 0.7) 0%, rgba(var(--deep-rgb), 0.58) 8%, rgba(var(--deep-rgb), 0) 24%),
      linear-gradient(
        to top,
        rgba(var(--deep-rgb), 0.9) 0%,
        rgba(var(--deep-rgb), 0.84) 44%,
        rgba(var(--deep-rgb), 0.56) 66%,
        rgba(var(--deep-rgb), 0) 92%
      );
  }
}

@media (max-width: 720px) {
  /* Here the label crosses the brightest part of the photograph, where small sun text cannot hold its contrast:
     the words turn white and the sun stays in the mark. */
  .hero .eyebrow--strong {
    --eyebrow: var(--white);
  }

  .hero__lead {
    font-size: 1.125rem;
  }

  .hero__mark {
    width: 180px;
    height: 180px;
  }
}

/* The home keeps the hero it had before 2026-11-16, at the owner's instruction, the one page that differs: as tall
   as the screen, the words over the canvas's own shade, and its foot dissolving into the statement over its last
   168px, with the statement on its own padding. */
.hero--home,
.hero--home + .section {
  --under: 0px;
  --gap: 0px;
}

.hero--home {
  min-height: clamp(560px, 100vh, 900px);
  min-height: clamp(560px, 100svh, 900px);
  padding-bottom: 0;
}

.hero--home .hero__media {
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 calc(100% - 168px),
    rgba(0, 0, 0, 0.78) calc(100% - 112px),
    rgba(0, 0, 0, 0.4) calc(100% - 56px),
    rgba(0, 0, 0, 0.1) calc(100% - 16px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 calc(100% - 168px),
    rgba(0, 0, 0, 0.78) calc(100% - 112px),
    rgba(0, 0, 0, 0.4) calc(100% - 56px),
    rgba(0, 0, 0, 0.1) calc(100% - 16px),
    transparent 100%
  );
}

.hero--home .hero__shade {
  background:
    linear-gradient(to bottom, rgba(var(--deep-rgb), 0.7) 0%, rgba(var(--deep-rgb), 0.58) 10%, rgba(var(--deep-rgb), 0) 30%),
    linear-gradient(
      to top,
      rgba(var(--deep-rgb), 0.92) 0%,
      rgba(var(--deep-rgb), 0.62) 28%,
      rgba(var(--deep-rgb), 0.16) 54%,
      rgba(var(--deep-rgb), 0) 76%
    ),
    linear-gradient(
      to right,
      rgba(var(--deep-rgb), 0.64) 0%,
      rgba(var(--deep-rgb), 0.56) 26%,
      rgba(var(--deep-rgb), 0.28) 46%,
      rgba(var(--deep-rgb), 0) 70%
    );
}

.hero--home .hero__inner {
  padding-top: 160px;
  padding-bottom: 88px;
}

.hero--home + .section {
  margin-top: 0;
  padding-top: var(--section-tight);
}

@media (max-width: 880px) {
  .hero--home {
    min-height: min(640px, 100vh);
    min-height: min(640px, 100svh);
  }

  .hero--home .hero__inner {
    padding-top: 120px;
    padding-bottom: 48px;
  }

  .hero--home .hero__shade {
    background:
      linear-gradient(to bottom, rgba(var(--deep-rgb), 0.7) 0%, rgba(var(--deep-rgb), 0.58) 10%, rgba(var(--deep-rgb), 0) 30%),
      linear-gradient(
        to top,
        rgba(var(--deep-rgb), 0.94) 0%,
        rgba(var(--deep-rgb), 0.8) 36%,
        rgba(var(--deep-rgb), 0.46) 60%,
        rgba(var(--deep-rgb), 0) 84%
      );
  }
}

/* Sections */

.section {
  position: relative;
  padding-block: var(--section);
}

.section--tight {
  padding-block: var(--section-tight);
}

.section--line {
  border-top: 1px solid var(--line);
}

.section--glacier,
.section--mist,
.section--white {
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  border-top: 1px solid var(--line);
  background-image: url(assets/patterns/topo-tile-light.svg);
  background-position: var(--tile-x, 0) var(--tile-y, 0);
  background-size: 1200px 1200px;
  color: var(--ink);
}

.section--glacier {
  background-color: var(--glacier);
}

.section--mist {
  background-color: var(--mist);
}

.section--white {
  background-color: var(--white);
}

/* The oversized isotype behind a section, bleeding off one edge */
.watermark {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.watermark--bl {
  --hang: 160px;
  bottom: calc(var(--hang) * -1);
  left: -240px;
  width: 600px;
  height: 600px;
  --mark: var(--deep);
  opacity: 0.06;
}

/* The tile starts lower here, so its survey crosses fall behind the photograph and in the padding, never beside a label. */
.section--tile-low {
  --tile-y: 345px;
}

/* A phone's column is narrow enough that a cross would always sit beside a word: there the tiles shift until the crosses are off the screen. */
@media (max-width: 560px) {
  body {
    background-position-x: 270px;
  }

  .section--glacier,
  .section--mist,
  .section--white {
    --tile-x: 270px;
  }
}

/* How every section opens: hung from the left edge like the hero, its label, its title, its text. */
.head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.head__lead,
.head__prose {
  max-width: var(--measure);
  font-size: 1.125rem;
  line-height: 1.55;
}

.head__lead {
  color: var(--ink-muted);
}

/* A lead the owner wants on one line at desktop widths (the home's Programs section, 2026-11-18): the container
   is its measure, so it wraps only where the screen makes it. */
.head__lead--wide {
  max-width: none;
}

.head__prose {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 10px;
  color: var(--glacier);
}

/* The way on from a section, at its foot and on the same edge. */
.section-more {
  display: flex;
}

/* The statement under the hero (the owner's choice of 2026-11-18, lámina 17 B with his two changes): a band of
   words on the night ground, no taller than what it says, on the tight padding. The title alone across the top, in
   display-small; under it one paragraph across the container; and at the foot the three steps as a rail, three
   across, each its label over its sentence under a sun rule, without numerals. The steps are marked up as one
   paragraph, not a list of terms, so a screen reader reads the sentence they make. */
.statement__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5) var(--col-gap);
  align-items: start;
}

.statement__title,
.statement__prose,
.statement .statement__role {
  grid-column: 1 / -1;
}

.statement__prose {
  max-width: none;
  margin-top: 0;
}

/* From 881px the second thought starts the second line (the statement's second sentence, the Programs lead after its
   comma), so the paragraph breaks on its sense and never leaves two words alone. */
@media (min-width: 881px) {
  .statement__turn {
    display: block;
  }
}

.statement .statement__role {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 var(--col-gap);
  width: 100%;
  margin-top: var(--space-3);
}

.statement__role .fact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 4px;
  padding: 14px 0 0;
}

.statement__role .fact__value {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

/* One column: the steps one under another at their own height. */
@media (max-width: 880px) {
  .statement .statement__role {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
  }

  .statement__role .fact {
    padding: 12px 0 14px;
  }

  .statement__role .fact:last-child {
    padding-bottom: 0;
  }
}

/* Photographs that dissolve into the ground beside them instead of ending on an edge: every hero at its foot (its
   mask lives with the hero above), and on the home the Helios way told on a photograph and the contact band. */
.way-band,
.cta--melts {
  /* Out of the ground at the head: a slow start, so the first of the rise cannot be told from the ground. */
  --rise-in:
    transparent 0, rgba(0, 0, 0, 0.03) calc(var(--rise) * 0.15), rgba(0, 0, 0, 0.12) calc(var(--rise) * 0.3),
    rgba(0, 0, 0, 0.28) calc(var(--rise) * 0.45), rgba(0, 0, 0, 0.5) calc(var(--rise) * 0.6),
    rgba(0, 0, 0, 0.74) calc(var(--rise) * 0.76), rgba(0, 0, 0, 0.92) calc(var(--rise) * 0.9), #000 var(--rise);
  /* Back into it at the foot. */
  --melt-out:
    #000 calc(100% - var(--melt)), rgba(0, 0, 0, 0.78) calc(100% - var(--melt) * 0.67),
    rgba(0, 0, 0, 0.4) calc(100% - var(--melt) * 0.34), rgba(0, 0, 0, 0.1) calc(100% - var(--melt) * 0.1),
    transparent 100%;
}

/* The light section runs under the head of the photograph that follows it, so the photograph clears into the
   section's own ground, contour lines and all. Its way on stays above the part of the rise that can be seen. */
.section--before-way {
  padding-bottom: calc(var(--rise) * 0.8 + var(--space-6));
}

/* The Helios way: how Helios works and who does it, as one section. Its title stands on a photograph that rises
   out of the light section like mist, through the photograph's own clouds: the white of the section becomes the
   cloud, and the cloud darkens into the storm. The people stand on the foot of that photograph, and the way on closes the
   section on the night ground. */
.way {
  /* How far the people's cards come up over the photograph. */
  --overlap: 400px;
}

.way-band {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--rise) * -1);
  padding-block: calc(var(--rise) + var(--space-8)) calc(var(--below-head) + var(--overlap));
}

.way-band__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.way-band__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(var(--deep-rgb), 0.82) 0%, rgba(var(--deep-rgb), 0.6) 40%, rgba(var(--deep-rgb), 0.22) 100%),
    linear-gradient(to top, rgba(var(--deep-rgb), 0.92) 0%, rgba(var(--deep-rgb), 0.7) 30%, rgba(var(--deep-rgb), 0) 60%);
}

/* The band fades as one piece, photograph and shade together. Its title keeps clear of both fades; the foot
   dissolves behind the people's cards. */
.way-band {
  -webkit-mask-image: linear-gradient(to bottom, var(--rise-in), var(--melt-out));
  mask-image: linear-gradient(to bottom, var(--rise-in), var(--melt-out));
}

/* Through the rise the shade holds back, so the clouds stay pale where they meet the light ground;
   it is whole again where the title begins. */
.way-band__shade {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, 0.3) var(--rise),
    #000 calc(var(--rise) * 1.35)
  );
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.3) var(--rise), #000 calc(var(--rise) * 1.35));
}

/* Over a photograph, muted text takes the full ink, and the label's words turn white while the sun stays in its
   mark: the label crosses the clouds, where small sun text measured under 4.5:1. */
/* The band's eyebrow is the site's plain eyebrow (the owner's ask of 2026-11-18; until then the hero's bold one), its
   words in the sun like the mark; the lead under the title is in full white, as the hero's. */
.way-band .eyebrow {
  --eyebrow: var(--sun);
}

.way-band .head__lead {
  color: var(--white);
}

/* The people come up over the photograph's foot, and close one step above the contact band, whose own fade
   supplies the rest of that seam. */
.way .team {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--overlap) * -1);
  padding-bottom: var(--space-7);
}

/* On a photograph a card needs a ground of its own. */
.way .person {
  background: var(--surface-raised-solid);
}

/* Stacked, only the first card stands on the photograph. */
@media (max-width: 880px) {
  .way {
    --overlap: 160px;
  }
}

@media (max-width: 560px) {
  .way {
    --overlap: 120px;
  }
}

/* The home's contact band: its sky comes up slowly out of the night, on the curve the Helios way rises on, and
   begins behind the foot of the section above, so the first of it shows under that section's way on. Photograph
   and shade fade as one layer; the words are not part of it. At its foot it meets the footer on a clean edge. */
.cta--melts {
  --under: calc(var(--rise) * 0.45);
}

.cta--melts .cta__media {
  -webkit-mask-image: linear-gradient(to bottom, var(--rise-in));
  mask-image: linear-gradient(to bottom, var(--rise-in));
}

/* The words sit a little below the centre of the band that shows (the band begins `--under` behind the section
   above, so the extra padding at the top keeps the words clear of it and leans them towards the footer: the owner's
   ask of 2026-11-18, the words centred and nearer the footer). */
.cta--melts .cta__inner {
  padding-block: calc(var(--under) * 2 + var(--section)) var(--section);
}

/* On the home the contact band is as tall as the screen, like the hero. */
.cta--photo.cta--melts {
  min-height: clamp(560px, 100vh, 900px);
  min-height: clamp(560px, 100svh, 900px);
  margin-top: calc(var(--under) * -1);
}

@media (max-width: 720px) {
  .cta--photo.cta--melts {
    min-height: min(640px, 100vh);
    min-height: min(640px, 100svh);
  }

  /* On a phone the photograph is framed on its peaks, and the shade is only as deep as the text needs:
     even behind the words, lighter below them, where the mountains are. */
  .cta--melts .cta__img {
    object-position: 42% 100%;
  }

  .cta--melts .cta__shade {
    background: linear-gradient(to bottom, rgba(var(--deep-rgb), 0.62) 0%, rgba(var(--deep-rgb), 0.62) 72%, rgba(var(--deep-rgb), 0.3) 100%);
  }
}

/* Where the reader's system sets the colours, photographs end on their own edges again. */
@media (forced-colors: active) {
  .hero__media,
  .way-band,
  .way-band__shade,
  .cta--melts .cta__media {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Heading on the left, matter on the right. Stacked, the matter sits one step below its heading. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--below-head) var(--space-8);
  align-items: start;
}

.split__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split__body {
  min-width: 0;
}

.split__note {
  font-size: 1rem;
  color: var(--ink-muted);
}

@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
  }

  .watermark--bl {
    --hang: 120px;
    left: -180px;
    width: 420px;
    height: 420px;
  }
}

/* Three across. Promises and people sit on the same three columns, so their edges run down the page. */
.promise-row,
.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--col-gap);
}

@media (max-width: 880px) {
  .promise-row,
  .people {
    grid-template-columns: 1fr;
  }

}

.chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s ease-out,
    border-color 0.2s ease-out,
    color 0.2s ease-out;
}

.chip:hover {
  border-color: var(--ink);
}

/* The chosen one is filled in the ink of its ground: white on the night, deep on a light section. */
.chip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

/* Where the reader's system sets the colours, fills are dropped, which would leave the chosen filter looking like the
   rest: it is marked in the system's own highlight colour instead. */
@media (forced-colors: active) {

  .chip[aria-pressed="true"] {
    forced-color-adjust: none;
    border-color: Highlight;
    background: Highlight;
    color: HighlightText;
  }
}

/* Home: the Helios way. The people and the way on, one step apart. */

.team {
  display: flex;
  flex-direction: column;
  gap: var(--below-head);
}

.promise-row {
  row-gap: var(--space-6);
}

.promise {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--sun);
}

.promise__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.promise__text {
  max-width: 340px;
  font-size: 1rem;
  color: var(--ink-muted);
}

/* Home: the people */

.people {
  row-gap: var(--space-5);
}

.person {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-1);
  background: var(--surface-raised);
}

.person__photo {
  position: relative;
  height: 320px;
  border-bottom: 1px solid var(--line);
}

/* The frame sets the size at every width; the portrait only fills it. */
.person__photo img {
  position: absolute;
  inset: 0;
}

.person__photo img,
.founder__photo img,
.day__photo img,
.sighting__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.person__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
}

.person__name {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.person__text {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* The guides are not a third person: their card is the company's own. It is the founders' night card drawn round
   with a sun hairline, the isotype large and faint in sun where a portrait would be, and their name in the display
   face. (The owner's option B of 2026-11-16; until then the whole card was filled sun.) */
.person--guides {
  border-color: var(--sun);
}

.person--guides .person__photo {
  overflow: hidden;
  border-bottom-color: var(--sun);
}

.person--guides .person__photo::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -90px;
  width: 380px;
  height: 380px;
  background-color: var(--sun);
  opacity: 0.3;
  -webkit-mask: var(--isotype) center / contain no-repeat;
  mask: var(--isotype) center / contain no-repeat;
}

.person--guides .person__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Between a phone and three across, a person is a row: portrait on the left, words beside it. */
@media (min-width: 561px) and (max-width: 880px) {
  .person {
    flex-direction: row;
  }

  .person__photo {
    flex: none;
    width: 38%;
    height: auto;
    min-height: 240px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .person__body {
    justify-content: center;
    padding: 28px;
  }
}

/* On a phone three portraits in a row make the longest stretch of the page: a wider frame keeps each face and saves the height. */
@media (max-width: 560px) {
  .person__photo {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* The contact band that closes every page */

.cta {
  position: relative;
}

.cta--photo {
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 560px;
  overflow: hidden;
}

/* The photograph and its shade, as one layer behind the words. */
.cta__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.cta__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(var(--deep-rgb), 0.92) 0%, rgba(var(--deep-rgb), 0.6) 55%, rgba(var(--deep-rgb), 0.25) 100%);
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  padding-block: var(--section);
}

.cta__inner h2 {
  max-width: 820px;
}

.cta__text {
  max-width: 620px;
  font-size: 1.125rem;
  line-height: 1.55;
}

.cta__hours {
  margin-top: -8px;
}

/* Over the photograph the small print, and the line under it, need the full ink to hold their contrast. */
.cta--photo .cta__hours,
.cta--photo .more-line {
  color: var(--ink);
}

.cta--plain {
  border-top: 1px solid var(--line);
}

.cta--plain .cta__text {
  color: var(--ink-muted);
}

@media (max-width: 720px) {
  .cta--photo {
    min-height: 480px;
  }

  .cta__shade {
    background: linear-gradient(to right, rgba(var(--deep-rgb), 0.92) 0%, rgba(var(--deep-rgb), 0.74) 100%);
  }

}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: var(--space-7);
  padding-block: var(--space-8) var(--space-7);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* The footer's lockup is a way home, as the header's (2026-11-18); a block as tall as the image, so the target is the lockup itself. */
.site-footer__home {
  display: inline-block;
  line-height: 0;
}

.site-footer__lockup {
  width: auto;
  height: 56px;
}

.site-footer__tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.site-footer__blurb {
  max-width: 460px;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
}

.site-footer__col a {
  transition: color 0.2s ease-out;
}

.site-footer__col a:hover {
  color: var(--sun);
}

.site-footer__legal {
  padding-bottom: 32px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.site-footer__legal p {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 880px) {
  .site-footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__col {
    gap: 0;
  }

  .site-footer__col a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-footer__col .eyebrow {
    margin-bottom: 6px;
  }

  .site-footer__col .muted {
    padding-block: 6px;
  }
}

@media (max-width: 520px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* A section's content as a column: its rows a step apart. */
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--below-head);
}

/* One line with a link at the foot of a section, for the way that is not a button. */
.more-line {
  font-size: 1.0625rem;
  color: var(--ink-muted);
}

.more-line a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease-out;
}

.more-line a:hover {
  color: var(--sun);
}

/* The two programs as cards, side by side in the container, each a photograph over its words: the Programs page's
   option A of 2026-11-15 and, since 2026-11-18 (the owner's option A of lámina 18), the home's Programs section too,
   in place of two doors edge to edge. On the home the name is followed by a line of three facts. */
.pcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--col-gap);
}

.pcard {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pcard__photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-raised-solid);
}

.pcard__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: filter 0.2s ease-out;
}

/* Under the pointer the photograph darkens a step, as the doors did: colour only, as everywhere on the site. */
.pcard__photo:hover img {
  filter: brightness(0.85);
}

.pcard__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* Three facts in the spaced capitals of the labels, muted, right under the name: what the program is at a glance. */
.pcard__facts {
  margin-top: -4px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.pcard__facts > span {
  white-space: nowrap;
}

/* The card's one sentence (since the evening of 2026-11-18, when the short line over it left): the muted ink at the
   size the line had. */
.pcard__proof {
  max-width: 32em;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

@media (max-width: 720px) {
  .pcards {
    grid-template-columns: 1fr;
    row-gap: var(--space-7);
  }
}

/* The catalogue: filters over a grid of the eight. The first two shown take the large row (option C, 2026-11-15):
   a six-column grid where a large card spans three and the others two. */
.catalogue {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.no-js .filters {
  display: none;
}

.xgrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: var(--space-7);
}

.xcard {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  scroll-margin-top: var(--space-5);
}

.xcard--large {
  grid-column: span 3;
}

.xcard[hidden] {
  display: none;
}

.xcard__photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-raised-solid);
}

.xcard--large .xcard__photo {
  aspect-ratio: 5 / 3;
}

.xcard__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.xcard__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.xcard__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.xcard__name {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
}

.xcard--large .xcard__name {
  font-size: 1.75rem;
}

.xcard__facts {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.xcard__promise {
  max-width: 34em;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.xcard .text-link {
  margin-top: 4px;
}

@media (max-width: 880px) {
  .xcard {
    grid-column: span 3;
  }

  .xcard--large {
    grid-column: span 6;
  }
}

@media (max-width: 560px) {
  .xcard,
  .xcard--large {
    grid-column: span 6;
  }

  .xcard--large .xcard__photo {
    aspect-ratio: 4 / 3;
  }

  .xcard--large .xcard__name {
    font-size: 1.375rem;
  }
}

/* One experience */

/* The facts, the price panel and the prose on one grid: on desktop the facts and the prose stack in the wide
   column and the panel stands beside them, sticky; on a phone the panel follows the facts, so the price and the way
   to ask come right after the first screen (the owner's instruction of 2026-11-18). */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  grid-template-rows: auto 1fr;
  gap: 32px 48px;
  align-items: start;
}

.detail__facts {
  grid-column: 1;
  grid-row: 1;
}

/* Six facts as two rows of three (the owner's instruction of 2026-11-18); two across on a phone. Named with .facts so
   it outranks the shared auto-fit columns declared after it. */
.facts.detail__facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 560px) {
  .facts.detail__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.detail__main {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 16px;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--sun);
}

.fact dd {
  font-size: 1rem;
  line-height: 1.45;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 33em;
  font-size: 1.125rem;
}

/* The owner's story on About (2026-11-18; in chapters since 2026-11-19, his option A of lámina 19): under its head,
   the fifteen paragraphs in three chapters on the twelve columns, each a row with its photograph on five columns and
   its words on six, the sides alternating (photograph left, right, left); between the first chapter and the second,
   one line of the story pulled out across ten columns under a sun rule. The photographs are the owner's, upright, so
   every frame is 4:5 and the words centre on their photograph (2026-11-19; the first day's stand-ins were 4:5 and
   4:3 with the words at the top). The grid packs densely so the flipped chapter's words (after its photograph in the
   source, for a phone's order) fill the row's left side. The prose is a step more open than the page's other prose. */
.story__chapters {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: var(--space-8) var(--col-gap);
  align-items: start;
}

.story__photo {
  grid-column: 1 / span 5;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface-raised-solid);
}

.story__photo--right {
  grid-column: 8 / -1;
}

.story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.story__prose {
  grid-column: 7 / -1;
  align-self: center;
  gap: 20px;
  max-width: 34em;
  line-height: 1.65;
}

.story__prose--left {
  grid-column: 1 / span 6;
}

/* The pulled line: a sun rule, then the words in display medium across ten columns. */
.story__quote {
  grid-column: 1 / span 10;
  padding-top: 24px;
  border-top: 1px solid var(--sun);
}

@media (max-width: 880px) {
  .story__chapters {
    row-gap: var(--space-6);
  }

  .story__photo,
  .story__photo--right,
  .story__prose,
  .story__prose--left,
  .story__quote {
    grid-column: 1 / -1;
  }

  /* Upright photographs stay upright on a phone, at 3:4 so one fits a screen with its first lines. */
  .story__photo {
    aspect-ratio: 3 / 4;
  }

  /* Each chapter's words sit close under their photograph; the chapters keep the larger gap. */
  .story__prose {
    margin-top: calc(24px - var(--space-6));
  }
}

.story__signature {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.story__name {
  font-weight: 700;
}

.story__role {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.guide-note,
.highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 33em;
}

.guide-note p {
  color: var(--ink-muted);
}

.price-card {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-1);
  background: var(--surface-raised);
}

.price-card__from {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-card__amount {
  font-size: 1.625rem;
}

.price-card__unit {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.price-card__hours {
  text-align: center;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums lining-nums;
}

.price-table th,
.price-table td {
  padding: 14px 0 14px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 400;
  text-align: right;
  vertical-align: top;
}

.price-table th:first-child {
  padding-left: 0;
  text-align: left;
}

.price-table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

@media (max-width: 960px) {
  .detail {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: var(--space-7);
  }

  .detail__facts,
  .detail__main,
  .price-card {
    grid-column: 1;
    grid-row: auto;
  }

  .price-card {
    position: static;
  }
}

.day {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 64px;
  align-items: start;
}

.day__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.day__note {
  font-size: 1rem;
  color: var(--ink-muted);
}

.day__photo {
  height: 280px;
  margin-top: 8px;
}

.itinerary__step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.itinerary__step:last-child {
  border-bottom: 1px solid var(--line);
}

.itinerary__label {
  padding-top: 0.2em;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

.itinerary--timed .itinerary__step {
  grid-template-columns: 96px minmax(0, 1fr);
}

.itinerary--timed .itinerary__label {
  padding-top: 0.45em;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.itinerary__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.itinerary__title {
  font-weight: 700;
}

.itinerary__text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* The heading stays beside the steps while they are read. */
@media (min-width: 881px) {
  .day__intro {
    position: sticky;
    top: 24px;
  }
}

@media (max-width: 880px) {
  .day {
    grid-template-columns: 1fr;
    gap: var(--below-head);
  }
}

@media (max-width: 520px) {
  .itinerary__step {
    gap: 16px;
  }

  .itinerary--timed .itinerary__step {
    grid-template-columns: 80px minmax(0, 1fr);
  }
}

.lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
}

.lists__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.5;
}

.bullets li {
  position: relative;
  padding-left: 22px;
}

.bullets li::before {
  content: "";
  position: absolute;
  top: 0.4em;
  left: 0;
  width: 12px;
  height: 12px;
}

.bullets--muted {
  color: var(--ink-muted);
}

.bullets--muted li::before {
  --mark: var(--stone-light);
}

.sightings {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sightings__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.sighting {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sighting__photo {
  height: 260px;
}

/* Each question is a disclosure (2026-11-18): the row is the question with the site's chevron at its right; the
   answer opens under it. Closed, the FAQ is a ruled list of questions. */
.faq__item {
  border-top: 1px solid var(--line);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease-out;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.faq__q .icon {
  flex: none;
  color: var(--ink-muted);
  transition: transform 0.2s ease-out;
}

.faq__q:hover {
  color: var(--sun);
}

.faq__item[open] > .faq__q .icon {
  transform: rotate(180deg);
}

.faq__a {
  max-width: 33em;
  padding: 0 0 20px;
  font-size: 1rem;
  color: var(--ink-muted);
}

/* About us */

.founders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 24px;
}

.founder {
  display: grid;
  grid-template-columns: minmax(180px, 5fr) minmax(0, 7fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-1);
  background: var(--surface-raised);
}

.founder__photo {
  position: relative;
  min-height: 360px;
  border-right: 1px solid var(--line);
}

.founder__photo img {
  position: absolute;
  inset: 0;
}

.founder__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px;
}

.founder__name {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.founder__text {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tags li {
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

@media (max-width: 520px) {
  .founder {
    grid-template-columns: 1fr;
  }

  .founder__photo {
    min-height: 0;
    height: 320px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .founder__body {
    padding: 24px;
  }
}

/* The header's button marks the Plan Your Trip page as the current one. */
.btn--nav[aria-current] {
  border-color: var(--ink);
}

/* Multi-Day Journeys: each journey a row on the page's twelve columns, its photograph on seven and its words on
   five, the second row the other way round (option B of lámina 12, 2026-11-16). The words: the kicker, the name,
   two quick facts under sun rules, the line and the way to ask. */
.jrows {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.jrow {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: center;
}

.jrow__photo {
  grid-column: 1 / span 7;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface-raised-solid);
}

.jrow__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.jrow__body {
  grid-column: 8 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.jrow--flip .jrow__photo {
  grid-column: 6 / -1;
  grid-row: 1;
}

.jrow--flip .jrow__body {
  grid-column: 1 / span 5;
  grid-row: 1;
}

.jrow__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.jrow__name {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.15;
}

.jrow__facts {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
}

.jrow__line {
  max-width: 30em;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* What is not on the page yet, said before the button asks for it. */
.jrow__note {
  max-width: 34em;
}

.jrow .btn {
  margin-top: 10px;
}

@media (max-width: 880px) {
  .jrows {
    gap: var(--space-7);
  }

  .jrow__photo,
  .jrow--flip .jrow__photo {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .jrow__body,
  .jrow--flip .jrow__body {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: var(--space-5);
  }
}

/* Tailor-Made: the three ideas, three across on the glacier section, each a photograph over its words. */
.ideas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-7) var(--col-gap);
}

.idea {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.idea__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--line);
}

.idea__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.idea__title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
}

.idea__text {
  max-width: 34em;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.idea .text-link {
  margin-top: 4px;
}

@media (max-width: 880px) {
  .ideas {
    grid-template-columns: 1fr;
  }
}

/* Numbered steps as single lines, the home's statement form as a list: the numeral, the label and its sentence
   side by side under a sun rule, closed by a hairline. On a phone each step is two rows beside its numeral. */
.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: grid;
  grid-template-columns: 40px minmax(0, 9rem) minmax(0, 1fr);
  column-gap: 16px;
  align-items: baseline;
  padding: 14px 0 16px;
  border-top: 1px solid var(--sun);
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step__text {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 560px) {
  .step {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: 4px;
    align-items: start;
  }

  .step .numeral {
    grid-row: 1 / span 2;
  }

  .step .eyebrow,
  .step__text {
    grid-column: 2;
  }
}

/* Plan Your Trip: the head on the night ground, clear of the header, then the form on seven columns and the direct
   channels on five (option B of lámina 13, 2026-11-16). Fields are hairline boxes on the ground, 48px tall, with
   the page's own focus ring; labels take the kicker's spaced capitals in muted ink. */
.plan {
  padding-top: calc(84px + var(--section));
}

.plan__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--below-head) var(--space-8);
  align-items: start;
}

.plan__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.plan__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.no-js .plan__fields {
  display: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field--wide {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.field__optional {
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
}

.input {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-1);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.5;
  transition: border-color 0.2s ease-out;
}

.input:hover {
  border-color: var(--ink);
}

.input:focus-visible {
  border-color: var(--ink);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.input::placeholder {
  color: var(--ink-muted);
  opacity: 1;
}

/* A required field left empty when a button was pressed: the sun on its border, until it is filled. */
.input[aria-invalid="true"] {
  border-color: var(--sun);
}

.input--area {
  min-height: 150px;
  resize: vertical;
}

/* Chrome paints its own pale ground into a field it has filled in; the page's ground and ink are put back
   (the inset shadow is the one way to cover that paint, not a shadow for depth). */
.input:-webkit-autofill,
.input:-webkit-autofill:hover,
.input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  box-shadow: inset 0 0 0 1000px var(--deep);
}

/* A select keeps the field's box and gets the site's chevron, drawn in the ink of the ground. */
.select {
  position: relative;
  display: block;
}

.select select {
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background: var(--ink);
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* The list a select opens is the browser's own, on white in most of them: its words stay in deep. */
.select option,
.select optgroup {
  color: var(--deep);
  background: var(--white);
}

/* The way out of the form: who answers, the two buttons, the hours, and the note that says what happened once a
   button is pressed. */
.plan__send {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.plan__who,
.plan__status {
  max-width: 34em;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.plan__who {
  color: var(--ink-muted);
}

/* Empty until a button is pressed; empty, it takes no room. */
.plan__status:empty {
  margin-top: -16px;
}

.plan__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-1);
  background: var(--surface-raised);
}

.plan__channels {
  display: flex;
  flex-direction: column;
  font-size: 1.125rem;
  font-weight: 700;
}

.plan__channels a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.2s ease-out;
}

.plan__channels a:hover {
  color: var(--sun);
}

@media (max-width: 880px) {
  .plan__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .plan__fields {
    grid-template-columns: 1fr;
  }
}

/* Travel Guide: a reading page. The index of its parts on the left, sticky while the parts are read; the parts on
   the right, each opened by a hairline, with prose held to 33em, the site's bullets and the days by effort. */
.guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--space-8);
  align-items: start;
}

.guide__index {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.guide__toc li {
  border-top: 1px solid var(--line);
}

.guide__toc li:last-child {
  border-bottom: 1px solid var(--line);
}

.guide__toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s ease-out;
}

.guide__toc a:hover {
  color: var(--sun);
}

/* The part the reader is in (set by the script as the page scrolls): sun text, and its row's rule in sun too, so the
   mark does not rest on colour alone. */
.guide__toc a[aria-current] {
  color: var(--sun);
}

.guide__toc li:has(> a[aria-current]) {
  border-top-color: var(--sun);
}

.guide__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.guide__part {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-block: var(--space-7);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--space-5);
}

.guide__part:first-child {
  padding-top: 0;
  border-top: 0;
}

.guide__part:last-child {
  padding-bottom: 0;
}

.guide .prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease-out;
}

.guide .prose a:hover {
  color: var(--sun);
}

.guide__photo {
  height: 280px;
}

.guide__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

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

.level {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.level:last-child {
  border-bottom: 1px solid var(--line);
}

.level__tag {
  padding-top: 0.35em;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.level__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* The name is the row's link: a 44px target drawn in the room the row already has, so the rhythm does not change. */
.level__name {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin: -10px 0 -8px;
  font-size: 1.0625rem;
  font-weight: 700;
  transition: color 0.2s ease-out;
}

.level__name:hover {
  color: var(--sun);
}

.level__facts {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.level__text {
  max-width: 34em;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

@media (min-width: 881px) {
  .guide__index {
    position: sticky;
    top: 24px;
  }
}

@media (max-width: 880px) {
  .guide {
    grid-template-columns: 1fr;
    gap: var(--below-head);
  }
}

@media (max-width: 520px) {
  .level {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Page not found */

/* Clear of the header, which lies over the top of the page. */
.notfound {
  padding-top: calc(84px + var(--section));
}

.notfound__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.notfound__text {
  max-width: 36em;
  font-size: 1.125rem;
  color: var(--ink-muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}
