@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/barlow-condensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/inter.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --paper: #e7e9e4;
  --ink: #202622;
  --accent: #ff6a2a;
  --line: #bac0b6;
  --stamp: 10px;
  --sans: 'Inter', Arial, sans-serif;
  --display: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  --ease-out: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.page { width: min(calc(100% - 112px), 1328px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 14px 22px; color: var(--paper); background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.header { position: relative; min-height: 80px; display: flex; align-items: center; gap: 27px; }
.header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform-origin: left; }
.wordmark { display: flex; align-items: center; justify-content: center; width: 44px; height: 42px; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 700; font-size: 29px; letter-spacing: -.04em; text-decoration: none; border-bottom: 5px solid var(--accent); }
.header-social { margin-left: auto; display: flex; gap: 2px; }
.header-social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); transition: color .18s ease, transform .25s var(--ease-out); }
.header-social svg { width: 20px; height: 20px; }
.header-social a:hover { color: var(--accent); transform: translateY(-2px); }

.name { display: flex; align-items: flex-end; justify-content: space-between; gap: .14em; margin: 10px 0 20px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(70px, 11vw, 160px); line-height: .92; letter-spacing: -.018em; white-space: nowrap; }
.name > span:last-child { color: #485247; }
.name-word { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.name-inner { display: block; }

/* One photographic feature, with interests revealed deliberately by the visitor. */
.feature { --reveal-delay: 0s; }
.feature-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--ink); border-bottom: 0; }
.feature-tabs button { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 12px; min-height: 57px; border: 0; border-right: 1px solid var(--ink); border-radius: 0; font: 600 19px var(--display); letter-spacing: .055em; text-transform: uppercase; color: var(--ink); background: transparent; cursor: pointer; transition: box-shadow .18s ease; }
.feature-tabs button:last-child { border-right: 0; }
.feature-tabs button:hover { box-shadow: inset 0 -5px 0 var(--accent); }
.feature-tabs button[aria-selected='true'] { background: var(--accent); }
.feature-tabs button:focus-visible { z-index: 2; outline-color: var(--ink); outline-offset: -5px; }
/* While the feature runs on its own, the selected tab shows how long until the next page. */
.feature-tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--ink); transform: scaleX(0); transform-origin: left; visibility: hidden; }
.tab-dot { width: 13px; height: 8px; background: currentColor; clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%); opacity: 0; }
[aria-selected='true'] .tab-dot { opacity: 1; }
.feature-panel { display: grid; grid-template-columns: 1.08fr 1fr; min-height: 404px; color: var(--paper); background: var(--ink); }
.js [data-feature]:not([data-ready]) .feature-panel ~ .feature-panel { display: none; }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 44px 49px 36px; }
.feature-copy h2 { max-width: 14ch; margin: 0; font-family: var(--display); font-size: clamp(46px, 4.55vw, 66px); text-transform: uppercase; font-weight: 600; line-height: .98; letter-spacing: -.01em; text-wrap: balance; }
.feature-description { max-width: 44ch; margin: 20px 0 0; color: #c3c8c2; font-size: 14px; line-height: 1.7; text-wrap: pretty; }
/* Text links underline by sliding in from the left. */
.slide-link, .feature-visual figcaption a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; padding-bottom: 2px; text-decoration: none; transition: background-size .25s var(--ease-out); }
.slide-link:hover, .feature-visual figcaption a:hover { background-size: 100% 1px; }
.feature-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 404px; margin: 0; padding: 26px 64px 52px 33px; overflow: hidden; isolation: isolate; background: #a1aca1; color: var(--ink); }
/* Paper shutter that clears when a page opens. */
.feature-visual::before { content: ''; position: absolute; inset: 0; z-index: 3; background: var(--paper); transform: scaleX(0); transform-origin: right; visibility: hidden; pointer-events: none; }
/* Hazard stripe, tiled at one stripe period so it can crawl seamlessly. */
.feature-visual::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--ink) 0 10px, var(--accent) 10px 20px) 0 0 / 28.28px 8px repeat-x; }
.feature-visual img { position: relative; display: block; width: 74%; height: 310px; object-fit: cover; object-position: center 37%; filter: grayscale(1) drop-shadow(var(--stamp) var(--stamp) 0 var(--accent)); transition: filter .5s ease; }
/* The manual is monochrome until you touch it. */
.feature-visual:hover img { filter: grayscale(0) drop-shadow(var(--stamp) var(--stamp) 0 var(--accent)); }
.visual-type { position: absolute; right: -4px; top: 12px; writing-mode: vertical-rl; font-family: var(--display); font-weight: 700; font-size: 92px; line-height: .9; letter-spacing: -.025em; opacity: .7; translate: var(--px, 0) var(--py, 0); transition: translate .6s var(--ease-out); }
.feature-visual figcaption { position: absolute; bottom: 17px; left: 24px; right: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; font-weight: 600; }
.feature-visual figcaption a span { color: var(--accent); }
.frame-mark { width: 23px; height: 13px; background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px); }
.visual--music { background: #b8c5ca; }
.visual--music img { width: 93%; height: auto; aspect-ratio: 16 / 9; }
.visual--self-hosting { background: #bbc4af; }
.visual--self-hosting img { width: 93%; height: 280px; object-position: center; }
.visual--running { background: #d89c78; }
.visual--running img { object-position: 41% 50%; }
.visual--aviation { background: #b8c8d1; }
.visual--aviation img { width: 92%; height: 296px; object-position: 61% 55%; }

/* 404: the same panel, flown solo. */
.error { margin-top: 24px; }
.error .feature-copy h1 { max-width: 12ch; margin: 0; font-family: var(--display); font-size: clamp(46px, 4.55vw, 66px); text-transform: uppercase; font-weight: 600; line-height: .98; letter-spacing: -.01em; text-wrap: balance; }
.go-around { margin-top: auto; align-self: flex-start; font-size: 13px; font-weight: 500; }
.error .feature-visual img { width: 88%; height: auto; aspect-ratio: 1400 / 927; }
.credit { max-width: 72ch; margin: 18px 0 48px; color: #535a52; font-size: 11px; line-height: 1.6; }

.destinations { padding: 40px 0 48px; scroll-margin-top: 24px; }
/* Three placards, tinted from the same set as the panels, outlined like the tab strip. */
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border: 1px solid var(--ink); }
.destination { position: relative; display: flex; flex-direction: column; min-height: 218px; padding: 22px 24px 22px; border-right: 1px solid var(--ink); color: var(--ink); text-decoration: none; transition: background .2s ease, color .2s ease; }
.destination:last-child { border-right: 0; }
.destination:nth-child(1) { background: #b8c5ca; }
.destination:nth-child(2) { background: #d89c78; }
.destination:nth-child(3) { background: #bbc4af; }
.destination-icon { display: block; width: 40px; height: 40px; margin-bottom: auto; transition: color .2s ease, transform .3s var(--ease-out); }
.destination-icon svg { display: block; width: 100%; height: 100%; }
.destination-title { margin-top: 28px; font-family: var(--display); text-transform: uppercase; font-size: 34px; line-height: 1; letter-spacing: 0; font-weight: 600; }
.destination-description { max-width: 26ch; min-height: 3.2em; margin-top: 8px; font-size: 11.5px; line-height: 1.6; color: #3a423b; transition: color .2s ease; }
.destination-arrow { position: absolute; top: 16px; right: 20px; font-size: 28px; line-height: 1; transition: transform .2s ease, color .2s ease; }
.destination:hover, .destination:focus-visible { background: var(--ink); color: var(--paper); }
.destination:hover .destination-description, .destination:focus-visible .destination-description { color: #c3c8c2; }
.destination:hover .destination-icon, .destination:focus-visible .destination-icon { color: var(--accent); transform: translateY(-3px); }
.destination:hover .destination-arrow, .destination:focus-visible .destination-arrow { color: var(--accent); transform: translate(3px, -3px); }
.destination:focus-visible { outline-color: var(--accent); outline-offset: -5px; }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 0 0 32px; }
.colophon { margin: 0; font-size: 12px; font-weight: 500; }
.colophon small { display: block; margin-top: 6px; font-size: 10px; font-weight: 400; color: #535a52; }
.heart { color: var(--accent); }
.back-top { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: var(--ink); color: var(--paper); font-size: 23px; text-decoration: none; transition: background .18s ease; }
.back-top span { display: block; transition: transform .25s var(--ease-out); }
.back-top:hover { background: var(--accent); color: var(--ink); }
.back-top:hover span { transform: translateY(-3px); }

/* Motion. The page boots once, in order: rule, name, feature, then the page's own contents. Turning a
   page re-runs only the contents. Everything here is skipped for reduced motion, and without JS the page is still. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
  @keyframes draw { from { transform: scaleX(0); } to { transform: none; } }
  @keyframes unclip { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -2% 0 0); } }
  @keyframes shutter { from { transform: none; visibility: visible; } 99% { visibility: visible; } to { transform: scaleX(0); visibility: hidden; } }
  @keyframes stamp { from { opacity: 0; transform: translate(-6px, -6px) scale(1.04); filter: grayscale(1) drop-shadow(0 0 0 var(--accent)); } 40% { opacity: 1; } to { opacity: 1; transform: none; filter: grayscale(1) drop-shadow(var(--stamp) var(--stamp) 0 var(--accent)); } }
  @keyframes slam { from { opacity: 0; transform: translateX(35%); } to { opacity: .7; transform: none; } }
  @keyframes crawl { to { background-position-x: 28.28px; } }
  @keyframes progress { to { transform: none; } }
  @keyframes pop { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

  /* Boot sequence: only with JS, held until the fonts are in. */
  .js:not(.ready) * { animation-play-state: paused !important; }
  .js .header::after { animation: draw .6s var(--ease-out) both; }
  .js .name-inner { animation: rise .8s var(--ease-out) .05s both; }
  .js .name > span:last-child .name-inner { animation-delay: .17s; }
  .js .feature { --reveal-delay: 1s; animation: unclip .7s var(--ease-out) .5s both; }
  .js .feature-visual::after { animation: crawl 1.4s linear 1.3s infinite; }

  /* Turning a page. */
  .feature-panel:not([hidden]) .feature-copy h2, .feature-panel:not([hidden]) .feature-copy h1 { animation: wipe .55s var(--ease-out) var(--reveal-delay) both; }
  .feature-panel:not([hidden]) .feature-description { animation: wipe .55s var(--ease-out) calc(var(--reveal-delay) + .08s) both; }
  .feature-panel:not([hidden]) .feature-visual::before { animation: shutter .5s var(--ease-out) var(--reveal-delay) both; }
  .feature-panel:not([hidden]) img { animation: stamp .55s var(--ease-out) calc(var(--reveal-delay) + .12s) backwards; }
  .feature-panel:not([hidden]) .visual-type { animation: slam .6s var(--ease-out) calc(var(--reveal-delay) + .1s) both; }
  .feature-panel:not([hidden]) figcaption { animation: wipe .5s var(--ease-out) calc(var(--reveal-delay) + .28s) both; }
  [aria-selected='true'] .tab-dot { animation: pop .25s var(--ease-out) both; }
  [data-autoplay] .feature-tabs button[aria-selected='true']::after { visibility: visible; animation: progress var(--autoplay, 8s) linear both; }
  [data-paused] .feature-tabs button[aria-selected='true']::after { animation-play-state: paused; }

  /* Destinations print when scrolled to. */
  .js .destination-title { clip-path: inset(0 100% 0 0); }
  .js .destinations.in .destination-title { animation: wipe .5s var(--ease-out) both; }
  .js .destinations.in .destination:nth-child(2) .destination-title { animation-delay: .07s; }
  .js .destinations.in .destination:nth-child(3) .destination-title { animation-delay: .14s; }
  .js .destinations.in .destination:nth-child(4) .destination-title { animation-delay: .21s; }
}

@media (max-width: 1050px) {
  .page { width: calc(100% - 64px); }
  .name { font-size: 14vw; }
  .feature-copy { padding: 32px; }
  .feature-copy h2 { font-size: 51px; }
  .feature-panel, .feature-visual { min-height: 430px; }
  .feature-visual { padding-inline: 20px 39px; }
  .feature-visual img { width: 87%; height: 312px; }
  .visual-type { font-size: 72px; }
  .visual--music img { width: 93%; height: auto; }
  .visual--self-hosting img, .visual--aviation img { height: 285px; }
  .destination { min-height: 196px; padding: 18px 18px; }
  .destination-title { font-size: 28px; }
}
@media (max-width: 700px) {
  :root { --stamp: 9px; }
  .page { width: calc(100% - 36px); }
  .header { min-height: 76px; gap: 14px; }
  .wordmark { font-size: 27px; }
  .header-social { gap: 0; }
  .header-social a { width: 40px; }
  .name { display: block; position: relative; margin: 18px 0 22px; font-size: 26.5vw; line-height: .85; letter-spacing: -.025em; }
  .name > span { display: block; }
  .feature-tabs button { gap: 0; min-height: 54px; padding: 12px 3px; font-size: 14px; letter-spacing: .015em; }
  .tab-dot { display: none; }
  .feature-panel { grid-template-columns: 1fr; }
  .feature-copy { min-height: 250px; padding: 30px 26px 28px; }
  .feature-copy h2 { max-width: 15ch; font-size: 51px; }
  .feature-description { max-width: 39ch; margin: 16px 0 0; font-size: 12px; line-height: 1.7; }
  .feature-visual { min-height: 365px; padding: 24px 52px 48px 30px; }
  .feature-visual img { width: 86%; height: 289px; }
  .visual-type { font-size: 78px; }
  .visual--music img { width: 100%; height: auto; }
  .visual--self-hosting img, .visual--aviation img { width: 100%; height: 259px; }
  .feature-visual figcaption { font-size: 9px; left: 20px; right: 20px; }
  .destinations { padding: 37px 0 28px; }
  .link-grid { grid-template-columns: 1fr; }
  .destination { display: grid; grid-template-columns: 36px 1fr 30px; grid-template-rows: auto auto; column-gap: 16px; min-height: 0; padding: 20px 18px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .destination:last-child { border-bottom: 0; }
  .destination-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 36px; height: 36px; margin: 0; }
  .destination-title { grid-column: 2; grid-row: 1; margin: 0; font-size: 28px; }
  .destination-description { grid-column: 2; grid-row: 2; max-width: none; min-height: 0; margin-top: 4px; font-size: 11px; }
  .destination-arrow { position: static; grid-column: 3; grid-row: 1 / 3; align-self: center; justify-self: end; font-size: 26px; }
  .footer { padding-bottom: 22px; }
}
@media (max-width: 370px) {
  .header-social a { width: 36px; }
  .feature-tabs button { font-size: 12px; }
  .feature-copy { padding: 25px 21px; }
  .feature-copy h2 { font-size: 46px; }
  .feature-visual { padding-inline: 24px 43px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
