/* ==========================================================================
   SHORECREST STUDIO / shorecrest.studio
   Headings: Fraunces. Words: Safi, the photographer's own handwriting.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Safi";
  src:
    url("../fonts/safi.woff2") format("woff2"),
    url("../fonts/safi.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #192928;
  --ink-2: #111d1c;
  --pine: #21463a;
  --tide: #304458;
  --sage: #819589;
  --mist: #9aadb1;
  --stone: #afb8ae;
  --cloud: #dfe5e1;
  --cloud-2: #e9edea;
  --paper: #f2f3ef;
  --paper-2: #f8f8f5;
  --sand: #bfae8f;
  --sand-2: #d6c8aa;
  --sand-deep: #9a7849;

  --trip-2019: #9a7849;
  --trip-45: #21463a;

  --fg: var(--ink);
  --bg: var(--paper);
  --muted: #4f625e;
  --line: rgba(25, 41, 40, 0.14);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --hand: "Safi", "Segoe Print", "Bradley Hand", ui-rounded, system-ui, sans-serif;

  --fs-hero: clamp(3rem, 1.4rem + 6.2vw, 8rem);
  --fs-h1: clamp(2.7rem, 1.5rem + 4.4vw, 6rem);
  --fs-h2: clamp(2.1rem, 1.35rem + 2.8vw, 4.1rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 0.9vw, 1.95rem);
  --fs-lead: clamp(1.18rem, 1.02rem + 0.55vw, 1.5rem);
  --fs-body: clamp(1.08rem, 1.02rem + 0.2vw, 1.2rem);

  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1440px;
  --r-btn: 8px;
  --r-card: 18px;
  --header-h: 80px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-lg: 0 40px 80px -36px rgba(17, 29, 28, 0.45), 0 10px 24px -12px rgba(17, 29, 28, 0.18);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-stopped {
  overflow: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 var(--fs-body)/1.55 var(--hand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3,
h4,
.serif {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.04;
  letter-spacing: -0.018em;
}
h1 em,
h2 em,
h3 em,
.serif em {
  font-style: italic;
  font-weight: 380;
  color: var(--accent, var(--pine));
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  background: var(--sand);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--sand-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
[hidden] {
  display: none !important;
}

@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: vt-out 0.32s var(--ease-out) both;
}
::view-transition-new(root) {
  animation: vt-in 0.5s var(--ease-out) both;
}
.hdr {
  view-transition-name: site-header;
}
@keyframes vt-out {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: var(--cloud);
  padding: 12px 18px;
  border-radius: var(--r-btn);
  transition: top 0.3s var(--ease-out);
}
.skip:focus {
  top: 16px;
}

/* ---------- Type ---------- */
.h-hero {
  font-size: var(--fs-hero);
  line-height: 0.95;
  letter-spacing: -0.028em;
  font-weight: 360;
}
.h1 {
  font-size: var(--fs-h1);
  line-height: 0.98;
  letter-spacing: -0.024em;
  font-weight: 370;
}
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 380;
}
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.15;
  font-weight: 420;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  text-wrap: pretty;
}
.muted {
  color: var(--muted);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sec {
  position: relative;
  padding-block: clamp(84px, 10vw, 150px);
}
.sec--tight {
  padding-block: clamp(60px, 7vw, 100px);
}
.dark {
  --fg: var(--cloud);
  --bg: var(--ink);
  --muted: #a5b6b3;
  --line: rgba(223, 229, 225, 0.16);
  --accent: var(--sand-2);
  background: var(--bg);
  color: var(--fg);
}
.pine {
  --fg: var(--cloud);
  --bg: var(--pine);
  --muted: #b2c6bc;
  --line: rgba(223, 229, 225, 0.18);
  --accent: var(--sand-2);
  background: var(--bg);
  color: var(--fg);
}
.cloud {
  --fg: var(--ink);
  --bg: var(--cloud);
  background: var(--bg);
  color: var(--fg);
}
.paper {
  --fg: var(--ink);
  --bg: var(--paper);
  background: var(--bg);
  color: var(--fg);
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: clamp(30px, 4vw, 52px);
}
.sec-head h2 {
  max-width: 15ch;
}
.sec-head p {
  max-width: 40ch;
  color: var(--muted);
}

/* ---------- Buttons & links ---------- */
.i {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn {
  --b-bg: var(--ink);
  --b-fg: var(--cloud);
  --b-fill: var(--pine);
  --b-fill-fg: var(--cloud);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 52px;
  padding: 0.9em 1.5em;
  border-radius: var(--r-btn);
  background: var(--b-bg);
  color: var(--b-fg);
  font: 400 1.08rem/1 var(--hand);
  white-space: nowrap;
  transition:
    color 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 110%;
  width: 170%;
  aspect-ratio: 1;
  border-radius: 41%;
  background: var(--b-fill);
  transform: translate(-50%, 0) rotate(0deg);
  transition:
    top 0.75s var(--ease-out),
    transform 2s linear;
}
.btn:hover::before,
.btn:focus-visible::before {
  top: -45%;
  transform: translate(-50%, 0) rotate(180deg);
}
.btn:hover,
.btn:focus-visible {
  color: var(--b-fill-fg);
}
.btn .i {
  transition: transform 0.5s var(--ease-out);
}
.btn:hover .i {
  transform: translateX(3px);
}
.btn--light {
  --b-bg: var(--cloud);
  --b-fg: var(--ink);
  --b-fill: var(--sand);
  --b-fill-fg: var(--ink);
}
.btn--ghost {
  --b-bg: transparent;
  --b-fg: currentColor;
  --b-fill: var(--ink);
  --b-fill-fg: var(--cloud);
  box-shadow: inset 0 0 0 1px currentColor;
}
.btn--sm {
  min-height: 42px;
  padding: 0.65em 1.1em;
  font-size: 1rem;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding-block: 0.25em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.55s var(--ease-out);
}
.link:hover {
  background-size: 0 1px;
  background-position: 100% 100%;
}
.link .i {
  transition: transform 0.5s var(--ease-out);
}
.link:hover .i {
  transform: translateX(3px);
}
.ext .i {
  transform: rotate(-45deg);
}
.link.ext:hover .i,
.btn.ext:hover .i {
  transform: rotate(-45deg) translateX(3px);
}
.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-grid;
  place-items: center;
  flex: none;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s,
    opacity 0.3s;
}
.icon-btn:hover {
  background: var(--ink);
  color: var(--cloud);
  border-color: var(--ink);
}
.icon-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.icon-btn .i {
  width: 18px;
  height: 18px;
}

/* ---------- Grain ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 95;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.6s steps(6) infinite;
}
@keyframes grain {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-4%, 3%);
  }
  40% {
    transform: translate(3%, -4%);
  }
  60% {
    transform: translate(-5%, -2%);
  }
  80% {
    transform: translate(4%, 4%);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* ---------- Header ---------- */
.hdr {
  --hdr-fg: var(--ink);
  --logo-a: var(--tide);
  --logo-b: var(--pine);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--gutter);
  color: var(--hdr-fg);
  transition:
    transform 0.6s var(--ease-out),
    color 0.4s;
}
.hdr::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(242, 243, 239, 0.84);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(25, 41, 40, 0.07);
  opacity: 0;
  transition:
    opacity 0.4s,
    background-color 0.4s;
}
.hdr.is-scrolled::before {
  opacity: 1;
}
.hdr[data-theme="dark"] {
  --hdr-fg: var(--cloud);
  --logo-a: var(--cloud);
  --logo-b: var(--cloud);
}
.hdr[data-theme="dark"]::before {
  background: rgba(17, 29, 28, 0.7);
  border-bottom-color: rgba(223, 229, 225, 0.08);
}
.hdr.is-hidden {
  transform: translateY(-105%);
}
.hdr__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.hdr__logo {
  display: block;
  width: clamp(132px, 11vw, 168px);
}
.hdr__logo svg,
.hdr__logo img {
  width: 100%;
  height: auto;
  overflow: visible;
}
.hdr__logo .logo-a {
  fill: var(--logo-a);
  transition: fill 0.4s;
}
.hdr__logo .logo-b {
  fill: var(--logo-b);
  transition: fill 0.4s;
}
.hdr__studio {
  position: relative;
  padding-left: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(1.15rem, 1rem + 0.4vw, 1.4rem);
  letter-spacing: -0.01em;
  line-height: 1;
}
.hdr__studio::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  bottom: -3px;
  width: 1px;
  background: currentColor;
  opacity: 0.35;
}
.hdr__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
  font-size: 1.08rem;
}
.hdr__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-block: 8px;
  white-space: nowrap;
}
.hdr__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.hdr__nav a:hover::after,
.hdr__nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.hdr__tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hdr[data-theme="dark"] .btn {
  --b-bg: var(--cloud);
  --b-fg: var(--ink);
  --b-fill: var(--sand);
  --b-fill-fg: var(--ink);
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: currentColor;
  transition:
    transform 0.5s var(--ease-out),
    top 0.5s var(--ease-out);
}
.menu-btn span:nth-child(1) {
  top: 19px;
}
.menu-btn span:nth-child(2) {
  top: 26px;
}
.menu-open .menu-btn span:nth-child(1) {
  top: 22.5px;
  transform: rotate(45deg);
}
.menu-open .menu-btn span:nth-child(2) {
  top: 22.5px;
  transform: rotate(-45deg);
}
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--pine);
  color: var(--cloud);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 20px) var(--gutter) 36px;
  clip-path: circle(0 at calc(100% - 44px) 40px);
  visibility: hidden;
  transition:
    clip-path 0.8s var(--ease-io),
    visibility 0s 0.8s;
}
.menu-open .menu {
  clip-path: circle(150% at calc(100% - 44px) 40px);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-io);
}
.menu-open .hdr {
  --hdr-fg: var(--cloud);
  --logo-a: var(--cloud);
  --logo-b: var(--cloud);
}
.menu-open .hdr::before {
  opacity: 0;
}
.menu__links {
  display: grid;
  gap: 2px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.menu__links a {
  display: block;
  overflow: hidden;
}
.menu__links a span {
  display: block;
  transform: translateY(105%);
  transition: transform 0.8s var(--ease-out);
}
.menu-open .menu__links a span {
  transform: none;
}
.menu-open .menu__links a:nth-child(2) span {
  transition-delay: 0.05s;
}
.menu-open .menu__links a:nth-child(3) span {
  transition-delay: 0.1s;
}
.menu-open .menu__links a:nth-child(4) span {
  transition-delay: 0.15s;
}
.menu-open .menu__links a:nth-child(5) span {
  transition-delay: 0.2s;
}
.menu__sub {
  font-size: 0.6em;
  opacity: 0.75;
}
.menu__foot {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(223, 229, 225, 0.2);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #b6c8be;
}
svg.menu__contour {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  color: #a9c4b5;
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- Reveals ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 1s var(--ease-out),
    transform 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.ln {
  display: block;
  overflow: hidden;
  padding-block: 0.1em 0.2em;
  margin-block: -0.1em -0.2em;
}
.ln__in {
  display: block;
  opacity: 0;
  transform: translate3d(0, 115%, 0);
  transition:
    transform 1.1s var(--ease-out),
    opacity 0.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms + var(--d, 0) * 1ms);
}
.is-in .ln__in {
  opacity: 1;
  transform: none;
}
/* wipes clip the image inside, never the observed element (a fully clipped element never reports as visible) */
.js [data-wipe] img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.12);
  transition:
    clip-path 1.3s var(--ease-io),
    transform 1.8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-wipe].is-in img {
  clip-path: inset(0 0 0 0);
  transform: none;
}

svg[data-contours] {
  color: var(--sage);
}
svg[data-contours] g {
  opacity: 0.2;
  transform-origin: 50% 50%;
  transform-box: view-box;
  animation: contour-drift 90s ease-in-out infinite alternate;
}
@keyframes contour-drift {
  to {
    transform: rotate(5deg) scale(1.08);
  }
}

.fade-img {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.fade-img.is-loaded {
  opacity: 1;
}

/* ==========================================================================
   HOME: slideshow hero
   ========================================================================== */
.show {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--ink-2);
  color: var(--cloud);
  --accent: var(--sand-2);
}
.show__slides {
  position: absolute;
  inset: 0;
}
.show__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
}
.show__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}
.show__slide.is-cur {
  z-index: 2;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.6s var(--ease-io);
}
.show__slide.is-cur img {
  transform: none;
}
.show__slide.is-prev {
  z-index: 1;
  clip-path: inset(0 0 0 0);
}
.show__slide.is-prev img {
  transform: none;
  filter: brightness(0.7);
  transition: filter 1.6s var(--ease-io);
}
.show__slide.is-first {
  clip-path: inset(0 0 0 0);
  transition: none;
}
.show__slide.is-first img {
  animation: none;
}
@keyframes first-in {
  from {
    transform: scale(1.12);
    filter: brightness(0.6);
  }
  to {
    transform: scale(1.02);
    filter: none;
  }
}
.show__shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(
      100deg,
      rgba(14, 25, 24, 0.66) 0%,
      rgba(14, 25, 24, 0.3) 40%,
      rgba(14, 25, 24, 0) 66%
    ),
    linear-gradient(to top, rgba(14, 25, 24, 0.62) 0%, rgba(14, 25, 24, 0) 42%),
    linear-gradient(to bottom, rgba(14, 25, 24, 0.42) 0%, rgba(14, 25, 24, 0) 22%);
}
.show__copy {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(30px, 6vh, 64px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.show__text h1 {
  max-width: 9.5ch;
  text-shadow: 0 2px 40px rgba(14, 25, 24, 0.3);
}
.show__sub {
  max-width: 38ch;
  margin-top: 24px;
  font-size: var(--fs-lead);
  line-height: 1.42;
  color: #e6ece9;
  text-wrap: pretty;
}
.show__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 30px;
}
.show__ctas .link {
  color: var(--cloud);
}
.show__now {
  flex: none;
  width: min(300px, 32vw);
  text-align: right;
}
.show__place {
  display: block;
  min-height: 1.5em;
  font-size: 1.12rem;
  color: #e6ece9;
}
.show__title {
  display: block;
  min-height: 1.3em;
  margin-top: 2px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--sand-2);
}
.show__place span,
.show__title span {
  display: inline-block;
  animation: cap-in 0.9s var(--ease-out) both;
}
.show__title span {
  animation-delay: 0.08s;
}
@keyframes cap-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.show__bars {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}
.show__bars button {
  position: relative;
  flex: 1;
  height: 22px;
}
.show__bars button::before,
.show__bars button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 2px;
  border-radius: 2px;
  background: rgba(223, 229, 225, 0.28);
}
.show__bars button::after {
  background: var(--cloud);
  transform: scaleX(0);
  transform-origin: left;
}
.show__bars button.is-done::after {
  transform: scaleX(1);
}
.show__bars button.is-cur::after {
  animation: bar var(--dur, 7s) linear both;
}
.show.is-paused .show__bars button.is-cur::after {
  animation-play-state: paused;
}
@keyframes bar {
  to {
    transform: scaleX(1);
  }
}
.show__scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 22px;
  width: 1px;
  height: 42px;
  background: rgba(223, 229, 225, 0.25);
  overflow: hidden;
}
.show__scroll::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40%;
  background: var(--cloud);
  animation: drip 2.4s var(--ease-io) infinite;
}
@keyframes drip {
  from {
    transform: translateY(-110%);
  }
  to {
    transform: translateY(260%);
  }
}

/* ==========================================================================
   HOME: the two trips
   ========================================================================== */
.trips {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
}
.trips__intro h2 {
  max-width: 12ch;
}
.trips__intro > p {
  margin-top: 20px;
  max-width: 40ch;
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: #2c3f3c;
  text-wrap: pretty;
}
.tlist {
  margin-top: clamp(28px, 3.4vw, 44px);
  border-top: 1px solid var(--line);
}
.trow {
  position: relative;
  display: grid;
  grid-template-columns: clamp(96px, 9vw, 132px) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.trow__img {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cloud);
}
.trow__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.trow:hover .trow__img img,
.trow:focus-visible .trow__img img {
  transform: scale(1.07);
}
.trow__name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1.15rem + 1vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.trow__name i {
  display: inline-block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--c);
  flex: none;
  transition: width 0.6s var(--ease-out);
}
.trow:hover .trow__name i,
.trow:focus-visible .trow__name i {
  width: 40px;
}
.trow__meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.35;
}
.trow {
  transition: opacity 0.5s var(--ease-out);
}
.trow.is-dim {
  opacity: 0.45;
}
.trow .i {
  width: 22px;
  height: 22px;
  transition: transform 0.5s var(--ease-out);
}
.trow:hover .i {
  transform: translateX(4px);
}
.atlas {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px rgba(25, 41, 40, 0.06);
}
.atlas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.atlas .mlayer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.atlas__credit {
  position: absolute;
  right: 10px;
  bottom: 6px;
  z-index: 2;
  font-size: 0.62rem;
  line-height: 1;
  color: rgba(25, 41, 40, 0.3);
  transition: color 0.3s;
}
.atlas__credit:hover,
.atlas__credit:focus-within {
  color: rgba(25, 41, 40, 0.7);
}

/* ==========================================================================
   Justified photo rows (home selection, trip pages, photographs)
   ========================================================================== */
.jrows {
  display: flex;
  flex-wrap: wrap;
  gap: var(--jgap, 12px);
}
.jph {
  position: relative;
  display: block;
  flex: none;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ph, var(--cloud));
  cursor: zoom-in;
}
.jph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.2s var(--ease-out),
    opacity 0.8s var(--ease-out);
}
.jph:hover img {
  transform: scale(1.035);
}
.jph__lq {
  filter: blur(14px);
  transform: scale(1.1);
}
.jph__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 13px;
  color: #fff;
  background: linear-gradient(to top, rgba(14, 25, 24, 0.62), rgba(14, 25, 24, 0));
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.6s var(--ease-out);
  pointer-events: none;
}
.jph__cap b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.16rem;
  line-height: 1.15;
}
.jph__cap span {
  display: block;
  margin-top: 2px;
  font-size: 0.98rem;
  opacity: 0.85;
}
.jph:hover .jph__cap,
.jph:focus-visible .jph__cap {
  opacity: 1;
  transform: none;
}
.jph.is-in-anim {
  animation: ph-in 1s var(--ease-out) both;
  animation-delay: calc(var(--n, 0) * 45ms);
}
@keyframes ph-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}
@media (hover: none) {
  .jph__cap {
    display: none;
  }
}

/* Home: selection */
.sel-foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 52px);
}

/* Home: closing band */
.band {
  position: relative;
  overflow: hidden;
}
svg.band__contour {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #a9c4b5;
  opacity: 0.5;
  pointer-events: none;
}
.band__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 110px);
  align-items: end;
}
.band__in p {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: #dbe5df;
  max-width: 46ch;
  text-wrap: pretty;
}
.band__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 28px;
}

/* ---------- Footer ---------- */
.foot {
  position: relative;
  background: var(--ink);
  color: var(--cloud);
  --muted: #a5b6b3;
  --accent: var(--sand-2);
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-block: clamp(56px, 7vw, 84px) 44px;
  border-bottom: 1px solid rgba(223, 229, 225, 0.14);
}
.foot__brand a {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}
.foot__brand .hdr__logo {
  width: min(210px, 60vw);
}
.foot__brand .logo-a,
.foot__brand .logo-b {
  fill: var(--cloud);
}
.foot__brand p {
  margin-top: 20px;
  color: var(--muted);
  max-width: 32ch;
}
.foot__col h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 420;
  letter-spacing: -0.01em;
  color: var(--cloud);
  margin-bottom: 14px;
}
.foot__col a {
  color: #c5d2cd;
}
.foot__col li + li {
  margin-top: 9px;
}
.foot__col a:hover {
  color: var(--sand-2);
}
.foot__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 24px 32px;
  color: var(--muted);
  font-size: 1rem;
}
.foot__base small {
  font-size: 0.92rem;
}
.totop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   JOURNEY: the route explorer
   ========================================================================== */
.ex {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
  background: var(--paper-2);
  --c: var(--trip-45);
  --card-w: clamp(360px, 29vw, 430px);
}
.ex__map {
  position: absolute;
  inset: 0;
}
.ex__map canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.ex__map::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(var(--header-h) + 36px);
  background: linear-gradient(to bottom, rgba(248, 248, 245, 0.94) 35%, rgba(248, 248, 245, 0));
  pointer-events: none;
}
.mlayer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.mlayer > * {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
}

/* stop markers */
.mk {
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  display: grid;
  place-items: center;
  pointer-events: auto;
  border-radius: 50%;
  transition: opacity 0.5s var(--ease-out);
}
.mk i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper-2);
  box-shadow: inset 0 0 0 2px var(--c);
  transition:
    transform 0.5s var(--ease-out),
    background-color 0.4s,
    box-shadow 0.4s;
}
.mk.is-done i {
  background: var(--c);
  box-shadow: 0 0 0 2.5px var(--paper-2);
}
.mk.is-cur i {
  transform: scale(1.5);
  background: var(--c);
  box-shadow:
    0 0 0 2.5px var(--paper-2),
    0 0 0 7px color-mix(in srgb, var(--c) 18%, transparent);
}
.mk.is-cur::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--c);
  opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping {
  0% {
    transform: scale(0.35);
    opacity: 0.7;
  }
  80%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.mk:hover i {
  transform: scale(1.4);
}
.mk.is-faint {
  opacity: 0.25;
}
.mk.is-off {
  opacity: 0;
  pointer-events: none;
}
.mk__label {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-52%);
  white-space: nowrap;
  font-size: 1.04rem;
  line-height: 1;
  color: var(--ink);
  text-shadow:
    0 0 3px var(--paper-2),
    0 0 6px var(--paper-2),
    0 0 10px var(--paper-2);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
  pointer-events: none;
}
.mk.has-label .mk__label,
.mk:hover .mk__label {
  opacity: 1;
}
.mk.is-cur .mk__label {
  font-size: 1.2rem;
}
.mk.flip .mk__label {
  left: auto;
  right: 22px;
}

/* photo pins: a round photo on a short stem, pointing at where it was taken */
.pin {
  width: 46px;
  height: 62px;
  margin: -62px 0 0 -23px;
  padding: 0;
  pointer-events: auto;
  transition: opacity 0.5s var(--ease-out);
}
.pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46px;
  width: 2px;
  height: 13px;
  margin-left: -1px;
  border-radius: 1px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 29, 28, 0.35);
}
.pin::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 1.5px #fff;
}
.pin__img {
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cloud);
  box-shadow:
    0 0 0 2.5px #fff,
    0 10px 22px -8px rgba(17, 29, 28, 0.55);
  transform-origin: 50% 120%;
  transition:
    scale 0.5s var(--ease-out),
    box-shadow 0.3s;
}
.pin__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pin:hover,
.pin:focus-visible {
  z-index: 3;
}
.pin:hover .pin__img,
.pin:focus-visible .pin__img {
  scale: 1.16;
  box-shadow:
    0 0 0 2.5px #fff,
    0 0 0 5px var(--c),
    0 14px 26px -8px rgba(17, 29, 28, 0.55);
}
.pin.is-off {
  opacity: 0;
  pointer-events: none;
}
.pin.is-off .pin__img {
  scale: 0.4;
}
.pin.is-cur .pin__img,
.pin.is-shown .pin__img {
  box-shadow:
    0 0 0 2.5px #fff,
    0 0 0 5px var(--c),
    0 14px 26px -8px rgba(17, 29, 28, 0.55);
}

/* home map: small stop dots */
.adot {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1.5px var(--c);
  transition: opacity 0.5s var(--ease-out);
}
.adot.is-off {
  opacity: 0;
}

/* place labels (via points, peaks) */
.lbl {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1;
  color: rgba(25, 41, 40, 0.62);
  white-space: nowrap;
  text-shadow:
    0 0 3px var(--paper-2),
    0 0 7px var(--paper-2);
  transition: opacity 0.5s var(--ease-out);
  padding-left: 11px;
  margin-top: -0.5em;
}
.lbl::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-radius: 50%;
  background: rgba(25, 41, 40, 0.45);
}
.lbl--peak::before {
  width: 0;
  height: 0;
  border-radius: 0;
  background: none;
  left: -5px;
  margin-top: -5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid rgba(25, 41, 40, 0.5);
}
.lbl.is-off {
  opacity: 0;
}
.lbl--end {
  font-family: var(--hand);
  font-style: normal;
  font-size: 1.06rem;
  color: var(--ink);
  padding-left: 13px;
}
.lbl--end::before {
  width: 9px;
  height: 9px;
  left: -4.5px;
  margin-top: -4.5px;
  background: var(--c);
  box-shadow: 0 0 0 2px var(--paper-2);
}
.lbl--end.is-shared::before {
  background: var(--ink);
}
.lbl--end.is-above,
.lbl--end.is-below,
.lbl--end.is-left {
  padding-left: 0;
  width: 0;
  height: 0;
  margin-top: 0;
  overflow: visible;
}
.lbl--end.is-above::before,
.lbl--end.is-below::before,
.lbl--end.is-left::before {
  top: 0;
  margin-top: -4.5px;
}
.lbl--end.is-left b {
  position: absolute;
  right: 9px;
  top: 0;
  transform: translateY(-55%);
  font-weight: 400;
  white-space: nowrap;
}
.lbl--end.is-above b,
.lbl--end.is-below b {
  position: absolute;
  left: 0;
  font-weight: 400;
  transform: translateX(-50%);
  white-space: nowrap;
}
.lbl--end.is-above b {
  bottom: 9px;
}
.lbl--end.is-below b {
  top: 9px;
}

/* overview: the title panel */
.ex__intro {
  position: absolute;
  z-index: 5;
  left: var(--gutter);
  bottom: 112px;
  width: min(560px, calc(100% - var(--card-w) - var(--gutter) * 3));
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.9s var(--ease-out),
    visibility 0s;
}
.ex__intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -90px -140px -70px -120px;
  background: radial-gradient(
    closest-side,
    rgba(248, 248, 245, 0.94),
    rgba(248, 248, 245, 0.7) 55%,
    rgba(248, 248, 245, 0)
  );
  pointer-events: none;
}
.ex__intro h1 {
  font-size: clamp(3rem, 1.5rem + 4.6vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.028em;
  font-weight: 360;
}
.ex__intro h1 em {
  color: var(--c);
}
.ex__sub {
  margin-top: 18px;
  font-size: var(--fs-lead);
  line-height: 1.4;
  max-width: 34ch;
  text-wrap: pretty;
}
.ex__story {
  margin-top: 14px;
  color: #34474499;
  color: #3a4d4a;
  max-width: 46ch;
}
.ex__story p + p {
  margin-top: 0.6em;
}
.ex__facts {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
}
.ex__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 24px;
}
.ex.is-touring .ex__intro {
  opacity: 0;
  transform: translateY(30px);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.7s var(--ease-out),
    visibility 0s 0.7s;
}

/* stop card */
.card {
  position: absolute;
  z-index: 6;
  right: var(--gutter);
  bottom: 104px;
  width: var(--card-w);
  max-height: calc(100% - var(--header-h) - 116px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fbfbf9;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(25, 41, 40, 0.05);
  overflow: hidden;
  transform: translateX(calc(100% + var(--gutter) + 20px));
  visibility: hidden;
  transition:
    transform 1s var(--ease-out),
    visibility 0s 1s;
}
.ex.is-touring .card {
  transform: none;
  visibility: visible;
  transition:
    transform 1s var(--ease-out),
    visibility 0s;
}
.card__media {
  position: relative;
  flex: none;
  height: min(36vh, calc(var(--card-w) * 0.7));
  background: var(--cloud);
  overflow: hidden;
  transition: height 0.75s var(--ease-io);
}
.card.no-photo .card__media {
  height: 0;
}
.card__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: zoom-in;
}
.card__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__frame.is-enter {
  clip-path: inset(0 0 0 100%);
}
.card__frame.is-enter.back {
  clip-path: inset(0 100% 0 0);
}
.card__frame.is-enter img {
  transform: scale(1.14) translateX(4%);
}
.card__frame.is-enter.back img {
  transform: scale(1.14) translateX(-4%);
}
.card__frame.is-go {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io);
}
.card__frame.is-go img {
  transform: none;
  transition: transform 1.6s var(--ease-out);
}
.card__pnav {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card__pnav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(17, 29, 28, 0.5);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.3s;
}
.card__pnav button:hover {
  background: rgba(17, 29, 28, 0.78);
}
.card__pnav .i {
  width: 16px;
  height: 16px;
}
.card__pcount {
  min-width: 44px;
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.card__pcap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 14px 14px;
  padding-right: 150px;
  background: linear-gradient(to top, rgba(14, 25, 24, 0.55), rgba(14, 25, 24, 0));
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.25;
  pointer-events: none;
}
.card__body {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 26px 20px;
  scrollbar-width: thin;
}
.card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 1rem;
}
.card__name {
  margin-top: 8px;
  font-size: clamp(2rem, 1.5rem + 1.4vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.024em;
  font-weight: 380;
  text-wrap: balance;
}
.card__stay {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.04rem;
  color: var(--c);
}
.card__stay::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.card__story {
  margin-top: 12px;
  font-size: 1.16rem;
  line-height: 1.5;
  color: #273a37;
  text-wrap: pretty;
}
.card__dist {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.98rem;
}
.card__body > * {
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.6s var(--ease-out);
}
.card.is-out .card__body > * {
  opacity: 0;
  transform: translateY(-8px);
  transition-duration: 0.18s;
}
.card.is-in .card__body > * {
  animation: line-in 0.8s var(--ease-out) both;
}
.card.is-in .card__body > :nth-child(2) {
  animation-delay: 0.05s;
}
.card.is-in .card__body > :nth-child(3) {
  animation-delay: 0.1s;
}
.card.is-in .card__body > :nth-child(4) {
  animation-delay: 0.15s;
}
.card.is-in .card__body > :nth-child(5) {
  animation-delay: 0.2s;
}
@keyframes line-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.card__nav {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
}
.card__nav .link {
  font-size: 1rem;
}
.card__arrows {
  display: flex;
  gap: 8px;
}

/* bottom rail */
.rail {
  position: absolute;
  z-index: 7;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px var(--gutter) 22px;
  background: linear-gradient(to top, rgba(248, 248, 245, 0.97) 45%, rgba(248, 248, 245, 0));
}
.rail__play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--cloud);
  transition:
    background-color 0.3s,
    transform 0.4s var(--ease-out);
}
.rail__play:hover {
  background: var(--c);
  transform: scale(1.05);
}
.rail__play .i {
  width: 18px;
  height: 18px;
}
.rail__play .i-pause {
  display: none;
}
.ex.is-playing .rail__play .i-play {
  display: none;
}
.ex.is-playing .rail__play .i-pause {
  display: block;
}
.rail__track {
  position: relative;
  flex: 1;
  height: 44px;
  cursor: pointer;
  touch-action: none;
  outline: none;
}
.rail__line,
.rail__fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: rgba(25, 41, 40, 0.14);
}
.rail__fill {
  right: auto;
  width: 0;
  background: var(--c);
  transition: width 0.9s var(--ease-out);
}
.rail__dot {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1.5px rgba(25, 41, 40, 0.35);
  transition:
    background-color 0.4s,
    box-shadow 0.4s,
    transform 0.4s var(--ease-out);
}
.rail__dot.has-photo {
  box-shadow: inset 0 0 0 1.5px var(--c);
}
.rail__dot.is-done {
  background: var(--c);
  box-shadow: none;
}
.rail__dot.is-cur {
  transform: scale(1.7);
  background: var(--c);
  box-shadow: 0 0 0 3px var(--paper-2);
}
.rail__track:focus-visible .rail__dot.is-cur {
  box-shadow:
    0 0 0 3px var(--paper-2),
    0 0 0 5px var(--sand-deep);
}
.rail__tip {
  position: absolute;
  bottom: calc(50% + 14px);
  left: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 1rem;
  line-height: 1;
  padding: 7px 10px 8px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cloud);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.rail__tip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: var(--ink);
}
.rail__track.is-hover .rail__tip {
  opacity: 1;
}
.rail__where {
  flex: none;
  min-width: 170px;
  max-width: 240px;
  text-align: right;
  line-height: 1.2;
}
.rail__where b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rail__where span {
  color: var(--muted);
  font-size: 0.96rem;
}
.ex__credit {
  position: absolute;
  z-index: 8;
  right: 10px;
  bottom: 3px;
  font-size: 0.62rem;
  line-height: 1;
  color: rgba(25, 41, 40, 0.3);
  transition: color 0.3s;
}
.ex__credit:hover,
.ex__credit:focus-within {
  color: rgba(25, 41, 40, 0.7);
}

/* ==========================================================================
   JOURNEY: photographs from the trip, next trip
   ========================================================================== */
.tp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: clamp(26px, 3.4vw, 44px);
}
.tp-head h2 {
  max-width: 14ch;
}
.tp-head p {
  color: var(--muted);
  max-width: 40ch;
}
.tp-group + .tp-group {
  margin-top: clamp(30px, 3.6vw, 48px);
}
.tp-group__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}
.tp-group__head h3 {
  font-size: 1.5rem;
  line-height: 1.1;
}
.tp-group__head button {
  color: var(--muted);
  font-size: 1rem;
}
.tp-group__head button:hover {
  color: var(--ink);
}

.next {
  position: relative;
  display: block;
  height: clamp(360px, 62vh, 620px);
  overflow: hidden;
  color: var(--cloud);
  background: var(--ink);
  --accent: var(--sand-2);
}
.next img {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
  transition: filter 0.8s var(--ease-out);
}
.next::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(14, 25, 24, 0.7), rgba(14, 25, 24, 0.12) 60%),
    linear-gradient(100deg, rgba(14, 25, 24, 0.45), rgba(14, 25, 24, 0) 60%);
}
.next__in {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(30px, 6vh, 60px);
}
.next__in p {
  font-size: 1.12rem;
  color: #dfe7e3;
}
.next__in h2 {
  margin-top: 10px;
}
.next__in .link {
  margin-top: 18px;
  color: var(--cloud);
}
.next:hover img {
  filter: brightness(1.06);
}

/* ==========================================================================
   PHOTOGRAPHS
   ========================================================================== */
.gh {
  padding: calc(var(--header-h) + clamp(44px, 6vw, 96px)) 0 clamp(26px, 3vw, 40px);
}
.gh__in {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}
.gh h1 {
  max-width: 12ch;
}
.gh p.lead {
  margin-top: 18px;
  max-width: 44ch;
  color: #2c3f3c;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(25, 41, 40, 0.18);
  font-size: 1.04rem;
  white-space: nowrap;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.chip:hover {
  border-color: rgba(25, 41, 40, 0.5);
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cloud);
  border-color: var(--ink);
}
.chip i {
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--c);
}
.chip small {
  font-size: 0.92rem;
  opacity: 0.6;
}
.gal {
  padding-bottom: clamp(90px, 10vw, 140px);
}
.gal__group + .gal__group {
  margin-top: clamp(56px, 7vw, 96px);
}
.gal__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
}
.gal__head h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-h3);
}
.gal__head h2 i {
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--c);
}
.gal__head p {
  color: var(--muted);
}

/* ==========================================================================
   VIEWER
   ========================================================================== */
.vw {
  position: fixed;
  inset: 0;
  z-index: 120;
  color: var(--cloud);
  --accent: var(--sand-2);
}
.vw__bg {
  position: absolute;
  inset: 0;
  background: rgba(13, 22, 21, 0.96);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.vw.is-open .vw__bg {
  opacity: 1;
}
.vw__stage {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 118px;
  touch-action: none;
}
.vw__img {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform, opacity;
  user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-out;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}
.vw__img.is-hi {
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.vw__img.is-hi.is-ready {
  opacity: 1;
}
.vw__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 118px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 18px var(--gutter) 26px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s var(--ease-out) 0.1s,
    transform 0.7s var(--ease-out) 0.1s;
}
.vw.is-open .vw__bar {
  opacity: 1;
  transform: none;
}
.vw__cap {
  min-width: 0;
}
.vw__title {
  font-size: clamp(1.4rem, 1.15rem + 1vw, 2.1rem);
  line-height: 1.05;
  font-weight: 380;
  letter-spacing: -0.015em;
}
.vw__line {
  margin-top: 6px;
  color: #d3ddd8;
  max-width: 60ch;
}
.vw__place {
  margin-top: 4px;
  color: #93a6a1;
  font-size: 1rem;
}
.vw__ctl {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.vw__count {
  min-width: 64px;
  text-align: center;
  color: #b5c4bf;
  font-size: 1rem;
}
.vw__map {
  color: var(--cloud);
  margin-right: 12px;
  font-size: 1rem;
}
.vw .icon-btn {
  border-color: rgba(223, 229, 225, 0.25);
}
.vw .icon-btn:hover {
  background: var(--cloud);
  color: var(--ink);
  border-color: var(--cloud);
}
.vw__close {
  position: absolute;
  right: var(--gutter);
  top: 20px;
  z-index: 2;
}
.vw__cap > * {
  transition:
    opacity 0.3s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.vw.is-swap .vw__cap > * {
  opacity: 0;
  transform: translateY(6px);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  padding: calc(var(--header-h) + clamp(40px, 6vw, 90px)) 0 clamp(90px, 10vw, 140px);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: start;
}
.about__photo {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.about__photo figure {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  background: var(--cloud);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
}
.about__text h1 {
  max-width: 11ch;
}
.about__text .lead {
  margin-top: 24px;
  max-width: 34ch;
}
.about__prose {
  margin-top: 26px;
  max-width: 54ch;
}
.about__prose p {
  font-size: 1.16rem;
  line-height: 1.6;
  color: #273a37;
  text-wrap: pretty;
}
.about__prose p + p {
  margin-top: 1em;
}
.about__prose h2 {
  margin: 42px 0 12px;
  font-size: var(--fs-h3);
}
.about__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ==========================================================================
   404
   ========================================================================== */
.lost {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.lost__bg {
  position: absolute;
  inset: 0;
}
.lost__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.lost__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(25, 41, 40, 0.35),
    rgba(25, 41, 40, 0.95) 70%
  );
}
.lost .wrap {
  position: relative;
}
.lost p {
  margin-top: 20px;
  font-size: var(--fs-lead);
  color: #cfd8d3;
  max-width: 36ch;
}
.lost .btn {
  margin-top: 30px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
  .hdr__nav {
    gap: 18px;
    font-size: 1.02rem;
  }
}
@media (max-width: 1080px) {
  .ex {
    height: auto;
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  .ex__map {
    position: relative;
    height: 62vh;
    height: 62svh;
    min-height: 380px;
    max-height: 640px;
    overflow: hidden;
  }
  .ex__intro {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    padding: 28px var(--gutter) 40px;
    order: 3;
  }
  .ex__intro::before {
    display: none;
  }
  .ex.is-touring .ex__intro {
    display: none;
  }
  .card {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    margin: 0 var(--gutter) 40px;
    order: 3;
    transform: none;
    display: none;
  }
  .ex.is-touring .card {
    display: flex;
  }
  .card__media {
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .card.no-photo .card__media {
    aspect-ratio: auto;
    height: 0;
  }
  .card__body {
    overflow: visible;
  }
  .rail {
    position: relative;
    order: 2;
    height: auto;
    background: none;
    padding: 14px var(--gutter) 18px;
  }
  .ex__credit {
    top: calc(min(max(62svh, 380px), 640px) - 22px);
    bottom: auto;
  }
  .trips {
    grid-template-columns: 1fr;
  }
  .trips__map {
    order: -1;
  }
}
@media (max-width: 900px) {
  :root {
    --header-h: 70px;
  }
  .hdr__nav,
  .hdr__tools .btn {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .show__copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .show__now {
    width: 100%;
    text-align: left;
  }
  .show__scroll {
    display: none;
  }
  .band__in,
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__photo {
    position: relative;
    top: 0;
    max-width: 460px;
  }
  .sec-head,
  .tp-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .vw__bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .vw__ctl {
    justify-content: space-between;
  }
  .vw__stage {
    bottom: 190px;
  }
}
@media (max-width: 600px) {
  .foot__brand {
    grid-column: 1 / -1;
  }
  .show__ctas .btn {
    width: 100%;
  }
  .trow {
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 14px;
  }
  .rail__where {
    display: none;
  }
  .rail {
    gap: 12px;
  }
  .rail__dot {
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    box-shadow: inset 0 0 0 1px rgba(25, 41, 40, 0.35);
  }
  .rail__dot.has-photo {
    box-shadow: inset 0 0 0 1px var(--c);
  }
  .rail__dot.is-cur {
    transform: scale(2);
  }
  .rail__play {
    width: 44px;
    height: 44px;
  }
  .mk i {
    width: 8px;
    height: 8px;
  }
  .mk__label {
    font-size: 0.98rem;
    left: 18px;
  }
  .chip {
    height: 38px;
    padding: 0 12px;
    font-size: 0.98rem;
    gap: 6px;
  }
  .chip i {
    width: 14px;
  }
  .gh__in {
    gap: 22px;
  }
  .card__body {
    padding: 20px 20px 6px;
  }
  .card__nav {
    padding: 12px 14px 14px;
  }
  .vw__map {
    margin-right: 0;
  }
  .hdr__studio {
    font-size: 1.1rem;
    padding-left: 11px;
  }
  .hdr__brand {
    gap: 11px;
  }
}

@media (min-width: 1081px) and (max-height: 820px) {
  .card__media {
    height: 30vh;
  }
  .card__body {
    padding: 18px 22px 14px;
  }
  .card__name {
    font-size: 2rem;
    margin-top: 4px;
  }
  .card__story {
    font-size: 1.06rem;
    margin-top: 8px;
  }
  .card__stay,
  .card__dist {
    margin-top: 6px;
  }
  .ex__intro {
    bottom: 104px;
  }
  .ex__intro h1 {
    font-size: clamp(2.8rem, 1.2rem + 4vw, 5rem);
  }
  .ex__sub {
    margin-top: 12px;
  }
  .ex__story {
    font-size: 1.02rem;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .grain {
    display: none;
  }
  .js [data-reveal],
  .ln__in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .js [data-wipe] img {
    clip-path: none !important;
    transform: none !important;
    transition: none !important;
  }
  .show__slide,
  .show__slide img {
    transition: opacity 0.6s !important;
    transform: none !important;
    clip-path: none !important;
  }
  .show__slide {
    opacity: 0;
  }
  .show__slide.is-cur,
  .show__slide.is-first {
    opacity: 1;
  }
  @view-transition {
    navigation: none;
  }
}

/* Photography collections */
.collection-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}
.collection-stage {
  min-height: 320px;
}
.collection-covers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
}
.collection-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: 6px;
  background: var(--ph, var(--ink));
}
.collection-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.2s var(--ease-out),
    opacity 0.8s;
}
.collection-cover:hover img {
  transform: scale(1.045);
}
.collection-cover::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(8, 18, 19, 0.72));
  pointer-events: none;
}
.collection-cover__name {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--cloud);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 2.25rem);
  line-height: 1.2;
}
.collection-cover:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 1;
}
.collection-covers[hidden],
[data-gallery][hidden] {
  display: none;
}
.show__text h1 {
  max-width: 12ch;
}
.show__shade {
  background:
    linear-gradient(to top, rgba(10, 21, 22, 0.65), rgba(10, 21, 22, 0) 52%),
    linear-gradient(to bottom, rgba(10, 21, 22, 0.38), transparent 26%);
}
.show__sub {
  margin-top: 16px;
}
.about__photo figure {
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(17, 29, 28, 0.12);
}
.about__photo img {
  object-position: 50% 66%;
}
.gh__in {
  align-items: start;
}
.gh .collection-tabs {
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .collection-covers {
    grid-template-columns: 1fr;
  }
  .collection-cover:last-child:nth-child(odd) {
    aspect-ratio: 16 / 11;
  }
  .collection-cover__name {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
  .collection-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 0 12px;
    scrollbar-width: thin;
  }
  .collection-tabs .chip {
    flex: none;
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .collection-cover img {
    transition: none;
  }
}

/* Astro: a personal portrait and an album of memories. */
.astro-intro {
  padding: calc(var(--header-h) + 70px) 0 70px;
}
.astro-intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(30px, 7vw, 100px);
}
.astro-intro__copy h1 {
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.95;
}
.astro-intro__lead {
  margin-top: 24px;
  color: var(--pine);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}
.astro-intro__story {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 1.2rem;
  line-height: 1.6;
}
.astro-intro__story p + p {
  margin-top: 1em;
}
.astro-intro__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.astro-intro__portrait {
  width: 100%;
  max-width: 440px;
  justify-self: center;
}
.astro-intro__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(17, 29, 28, 0.16);
}
.astro-intro__portrait figcaption {
  margin-top: 14px;
  color: var(--muted);
}
.astro-album {
  padding: clamp(50px, 7vw, 90px) 0;
  scroll-margin-top: var(--header-h);
}
.astro-album__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.astro-album__head p {
  max-width: 32ch;
  color: var(--cloud);
  opacity: 0.85;
  font-size: 1.1rem;
}
.astro-album__stage {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 20px;
  align-items: center;
}
.astro-album__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(340px, 64vh, 650px);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.12);
  overflow: hidden;
  cursor: zoom-in;
}
.astro-album__photo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}
.astro-album__arrow {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(223, 229, 225, 0.32);
  border-radius: 50%;
  color: var(--cloud);
  transition: background 0.25s;
}
.astro-album__arrow:hover {
  background: rgba(223, 229, 225, 0.14);
}
.astro-album__caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 72px 22px;
  font-size: 1.1rem;
}
.astro-album__caption [data-astro-count] {
  color: var(--cloud);
  opacity: 0.7;
  white-space: nowrap;
}
.astro-album__reel {
  position: relative;
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 10px 2px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--sage) transparent;
  scroll-snap-type: x proximity;
}
.astro-memory {
  flex: 0 0 95px;
  height: 120px;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0.6;
  background: var(--ph);
  scroll-snap-align: center;
  transition:
    opacity 0.3s,
    outline-color 0.3s;
  outline: 2px solid transparent;
  outline-offset: 4px;
}
.astro-memory img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.astro-memory:hover,
.astro-memory[aria-pressed="true"] {
  opacity: 1;
}
.astro-memory[aria-pressed="true"] {
  outline-color: var(--sand-2);
}
.collection-cover--astro {
  background: var(--pine);
}
.collection-cover--astro img {
  width: 54%;
  object-fit: contain;
}
.collection-cover--astro::after {
  display: none;
}
.collection-cover--astro .collection-cover__name {
  left: 60%;
  bottom: 50%;
  transform: translateY(50%);
}
@media (max-width: 700px) {
  .astro-intro {
    padding-top: calc(var(--header-h) + 42px);
  }
  .astro-intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .astro-intro__copy h1 {
    font-size: 5.5rem;
  }
  .astro-intro__portrait {
    max-width: 380px;
  }
  .astro-album__stage {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }
  .astro-album__arrow {
    width: 34px;
    height: 42px;
  }
  .astro-album__photo {
    height: 54vh;
    min-height: 300px;
  }
  .astro-album__caption {
    padding-inline: 44px;
    font-size: 1rem;
  }
  .astro-memory {
    flex-basis: 76px;
    height: 98px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .astro-memory,
  .astro-album__arrow {
    transition: none;
  }
}

/* Keep the expanded navigation comfortable on smaller screens. */
@media (max-width: 1280px) {
  .hdr__nav,
  .hdr__tools .btn {
    display: none;
  }
  .menu-btn {
    display: block;
  }
}
@media (max-height: 650px) {
  .menu {
    justify-content: flex-start;
    overflow-y: auto;
  }
  .menu__links,
  .menu__foot {
    flex-shrink: 0;
  }
}
