.trip-theme {
  --paper: #faf9f6;
  --card: #fff;
  --deep: #151515;
  --ink: #151515;
  --muted: #515151;
  --line: #d7d5d0;
  --trip-edge: clamp(.85rem, 4.4vw, 4.5rem);
  --trip-top-pad: clamp(.85rem, 2.2vw, 1.9rem);
  --trip-menu-height: clamp(3.5rem, 5.4vw, 4.8rem);
  background: var(--paper);
  color: var(--ink);
}
.trip-theme :focus-visible { outline-color: #535353; }
.trip-theme .button, .trip-theme .outline, .trip-theme .filter { border-radius: 999px; }
.trip-theme .button:hover, .trip-theme .filter[aria-pressed=true]:hover { background: #353535; }
.trip-theme .outline:hover, .trip-theme .filter:hover, .storefront .close, .storefront .terms,
.storefront .section-heading .discount { background: #eeece7; }
.trip-theme .outline { border-color: #a29f98; }
.storefront .section-heading .discount { border-radius: 999px; padding-inline: .85rem; }
.trip-theme :is(input:not([type=checkbox]),select,textarea) { border-color: #a29f98; background: #fff; }
.storefront .footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.2rem, 5vw, 4.5rem);
  min-height: 8rem;
  padding-block-start: clamp(3rem, 7vw, 6rem);
}
.storefront .footer > .trip-wordmark { justify-self: start; }
.partner-logos { overflow-x: auto; }
.partner-logos[data-motion] {
  overflow: clip;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}
.partner-logos[data-motion]:focus-visible { mask-image: none; }
.partner-logos[data-dragging] { cursor: grabbing; user-select: none; }
.partner-track { display: flex; width: max-content; }
.partner-sequence {
  --partner-gap: clamp(3.6rem, 7.5vw, 7.2rem);
  display: flex;
  flex: none;
  gap: var(--partner-gap);
  padding-inline-end: var(--partner-gap);
  align-items: center;
}
.partner-sequence img { width: 126px; height: 74px; object-fit: contain; filter: grayscale(1); }
@media (max-width: 899px) {
  .partner-sequence img { width: 94px; height: 58px; }
}
.storefront .skip { z-index: 12; }

@media (min-width: 661px) and (hover: hover) and (pointer: fine) {
  .storefront[data-mouse-pointer] :is(a[href], button:enabled, summary):not([aria-disabled='true'], [aria-disabled='true'] *):hover {
    cursor: url('/assets/pixel-hand.png') 8 2, pointer;
  }

  .pointer-ring {
    position: fixed;
    z-index: 15;
    inset: 0 auto auto 0;
    display: grid;
    place-items: center;
    inline-size: 7rem;
    aspect-ratio: 1;
    margin: 0;
    pointer-events: none;
    opacity: .5;
    color: #fff;
    mix-blend-mode: difference;
  }
  .pointer-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1.5px solid;
    border-radius: 63% 37% 46% 54% / 58% 41% 59% 42%;
    rotate: -15deg;
    scale: .43;
  }
  .pointer-ring span {
    translate: 0 1.15rem;
    font: 750 1.06rem/1 var(--sans, sans-serif);
    opacity: 0;
  }
  .pointer-ring[data-view]::before { scale: 1; }
  .pointer-ring[data-view] span { opacity: 1; }

  @media (prefers-reduced-motion: no-preference) {
    .pointer-ring::before { transition: scale 200ms ease-out; }
    .pointer-ring span { transition: opacity 115ms ease-out; }
  }
  @media (prefers-reduced-motion: reduce) {
    .pointer-ring { display: none; }
  }
}

.trip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  padding: var(--trip-top-pad) var(--trip-edge) 0;
  pointer-events: none;
}
.trip-top > * { pointer-events: auto; }
.trip-wordmark { display: inline-flex; flex-direction: column; align-items: start; text-decoration: none; line-height: 1; gap: .4rem; }
.trip-wordmark span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; padding-inline-start: .55em; }
.trip-wordmark-inline { flex-direction: row; align-items: center; white-space: nowrap; gap: clamp(.18rem, .42vw, .4rem); }
.trip-wordmark-inline .site-logo { width: clamp(4.1rem, 10vw, 9rem); }
.trip-wordmark-inline :is(.trip-brand-name,.trip-brand-divider) { padding-inline-start: 0; font-size: clamp(.68rem, 1vw, .86rem); line-height: 1.15; }
.trip-wordmark-inline .trip-brand-divider { letter-spacing: 0; }
.trip-tools { display: flex; align-items: center; gap: .44rem; }
.trip-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  min-width: 44px;
  padding: .45rem .92rem;
  border-radius: 999px;
  border: 1px solid #252525;
  color: #151515;
  background: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  font-size: .86rem;
  font-weight: 670;
  line-height: 1.15;
}
.trip-pill:hover { background: #ebe8e0; }
.trip-pill.dark { background: #151515; color: #fff; }
.trip-pill.dark:hover { background: #3b3b3b; }
.trip-pill svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.trip-menu-toggle {
  position: relative;
  isolation: isolate;
  width: clamp(3rem, 4.6vw, 4.05rem);
  height: var(--trip-menu-height);
  border: 0;
  border-radius: 61% 39% 46% 54% / 62% 49% 51% 38%;
  padding: 0;
  color: white;
  background: transparent;
}
.trip-menu-toggle::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: #252525;
  scale: var(--menu-visible-scale, 1);
}
.trip-menu-toggle:hover { background: transparent; }
.trip-menu-toggle:hover::before { background: #454545; }
.trip-menu-toggle svg { width: clamp(1.35rem, 2.45vw, 1.9rem); height: auto; stroke-width: 1.65; stroke-linecap: butt; scale: var(--menu-visible-scale, 1); }
.trip-menu-toggle:focus-visible { outline-offset: 4px; }
.trip-menu .trip-arrow { flex: 0 0 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.trip-icon { width: 44px; padding-inline: 0; }
.trip-bag { padding-inline: .68rem; gap: .36rem; }
.trip-bag #cart-count { padding: 0; background: transparent; font-variant-numeric: tabular-nums; }
.trip-menu {
  position: fixed;
  inset: calc(var(--trip-top-pad) + var(--trip-menu-height) + .5rem) var(--trip-edge) auto auto;
  margin: 0;
  width: min(23rem, calc(100% - 2 * var(--trip-edge)));
  max-height: 75dvh;
  overflow: auto;
  padding: .65rem 1.15rem;
  color: #fff;
  background: #151515;
  border: 1px solid #151515;
  border-radius: 1rem;
}
.trip-menu > a { display: flex; gap: 1rem; justify-content: space-between; align-items: center; min-height: 57px; font-size: 1.05rem; font-weight: 710; text-decoration: none; }
.trip-menu > a:hover { text-decoration: underline; }
.trip-menu :focus-visible { outline-color: white; outline-offset: -3px; }
.trip-menu-tools { display: flex; gap: .65rem; }
.trip-menu-tools:has(> :not([hidden])) { padding-block: .55rem .45rem; }
.trip-menu-tool:not([hidden]) {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid #999;
  border-radius: 50%;
}
.trip-menu-tool:hover { border-color: #fff; background: #353535; }
.trip-menu-tool svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#viewport-preview[data-target='desktop'] [data-preview-icon='mobile'],
#viewport-preview[data-target='mobile'] [data-preview-icon='desktop'],
#scene-motion-toggle[data-paused] [data-motion-icon='pause'],
#scene-motion-toggle:not([data-paused]) [data-motion-icon='play'] { display: none; }
@supports not selector(:popover-open) {
  .trip-menu:not([data-open]) { display: none; }
}

.front-hero {
  position: relative;
  display: grid;
  align-content: end;
  isolation: isolate;
  min-height: 39rem;
  height: 100svh;
  overflow: clip;
  --lens-radius: clamp(6.2rem, 19svh, 13.5rem);
  --large-lens-radius: min(37vw, 31svh, 20rem);
  --capsule-half: clamp(3.7rem, min(22vw, 28svh), 17.5rem);
  --organic-half: clamp(5rem, 24vw, 13.25rem);
  --capsule-top: calc(50% - var(--capsule-half));
  --organic-top: calc(var(--scene-center) - var(--organic-half));
  --scene-center: 52%;
  --scene-parallax: clamp(42px, 10svh, 108px);
  --scene-transition: 1.8s cubic-bezier(.44,0,.56,1);
}
.scene-title { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.front-hero .scene-marquee {
  position: absolute;
  inset: var(--scene-center) 0 auto;
  transform: translateY(-50%);
  font-size: min(var(--size-limit), 20vw);
  line-height: 1.05;
  white-space: nowrap;
  letter-spacing: -.04em;
  --marquee-gap: clamp(1.55rem, 5vw, 6.75rem);
}
.scene-marquee-track, .scene-marquee-group { display: flex; width: max-content; }
.scene-marquee-group { min-width: 100vw; justify-content: space-around; gap: var(--marquee-gap); padding-inline-end: var(--marquee-gap); }
.scene-lens {
  position: absolute;
  z-index: 1;
  inset: 0;
  clip-path: var(--scene-inset);
  pointer-events: none;
  background: #262626;
  --shape-center-x: 50%;
  --scene-inset: inset(calc(var(--scene-center) - var(--shape-ry)) calc(100% - var(--shape-center-x) - var(--shape-rx)) calc(100% - var(--scene-center) - var(--shape-ry)) calc(var(--shape-center-x) - var(--shape-rx)) round var(--shape-rx));
  --shape-rx: var(--lens-radius);
  --shape-ry: var(--shape-rx);
  --scene-zoom: .81;
}
.scene-lens[data-shape='round'] {
  --shape-center-x: min(68%, calc(100% - var(--shape-rx) * 1.16 - clamp(1rem, 3vw, 3rem)));
}
.scene-lens[data-shape='large-round'] {
  --shape-rx: var(--large-lens-radius);
  --shape-ry: var(--large-lens-radius);
  --scene-zoom: .9;
}
.scene-lens[data-shape='capsule'] {
  --shape-rx: 42%;
  --shape-ry: var(--capsule-half);
  --scene-inset: inset(var(--capsule-top) 8% round 50%);
  --scene-zoom: 1;
}
.scene-lens[data-shape='organic'] {
  --shape-rx: min(37vw, 34rem);
  --shape-ry: var(--organic-half);
  --scene-inset: inset(var(--organic-top) 14% calc(100% - var(--scene-center) - var(--organic-half)) 13% round 51% 44% 57% 47% / 65% 48% 54% 42%);
  --scene-zoom: .92;
}
.scene-lens[data-shape='full'] {
  --shape-rx: 79%;
  --shape-ry: 79%;
  --scene-inset: inset(0 round 0);
  --scene-zoom: 1;
}
.scene-strip { position: absolute; inset: -13% -12%; transform: scale(var(--scene-zoom)); }
.scene-lens img, .scene-lens video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.scene-lens img { opacity: 0; }
.scene-lens img[data-outgoing] { opacity: 1; }
.scene-lens img[data-active] { opacity: 1; z-index: 1; }
.scene-lens video { z-index: 2; }
.scene-footer { position: relative; z-index: 2; padding: 0 var(--trip-edge) clamp(1.1rem, 3vw, 2.5rem); pointer-events: none; }
.scene-intro { width: fit-content; padding: .33rem 0; font-size: .92rem; font-weight: 680; }
.front-hero[data-photo-background] .scene-intro { color: #fff; text-shadow: 0 1px 4px #151515, 0 0 9px #151515; }
.photo-credit { margin-top: 1.45rem; color: var(--muted); font-size: .78rem; }
#product-dialog {
  --detail-space: clamp(1.2rem, 3vw, 2.65rem);
  width: min(63rem, 100% - 2rem);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 1.3rem;
  overscroll-behavior: contain;
}
#product-dialog::backdrop {
  background: rgb(21 21 21 / .62);
  overflow: hidden;
  overscroll-behavior: contain;
}
@media (prefers-reduced-motion: no-preference) {
  #product-dialog::backdrop { transition: background-color .3s ease-out; }
  @starting-style {
    #product-dialog[open]::backdrop { background: transparent; }
  }
}
.product-dialog-layout { display: grid; align-items: start; }
.product-dialog-content { min-width: 0; padding: var(--detail-space); }
.product-dialog-content header { padding-inline-end: 2.7rem; }
#product-title {
  margin-block-start: .28rem;
  font: 700 clamp(1.7rem, 3.4vw, 2.45rem)/1.25 var(--serif);
  overflow-wrap: anywhere;
}
#product-meta { margin: 0; font-size: .84rem; }
#product-description { margin-block-start: .85rem; line-height: 1.8; color: var(--muted); }
.storefront .product-close {
  position: absolute;
  z-index: 2;
  inset-block-start: .7rem;
  inset-inline-end: .7rem;
  background: #fff;
  border: 1px solid var(--line);
}
.product-gallery { display: grid; position: relative; isolation: isolate; background: #202a2a; }
.product-gallery-image { position: relative; aspect-ratio: 8 / 5; }
.product-gallery-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; color: #fff; }
.product-photo-dots {
  position: absolute;
  inset-block-end: .25rem;
  inset-inline: 0;
  display: flex;
  justify-content: center;
}
.product-photo-dots button {
  display: grid;
  place-items: center;
  width: clamp(42px, 10vw, 48px);
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
}
.product-photo-dots button::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #fff9;
  box-shadow: 0 0 0 1px #15151599;
}
.product-photo-dots button[aria-current="true"]::before { background: #fff; outline: 1px solid #fff; outline-offset: 3px; }
.product-photo-dots button:focus-visible { outline-color: #fff; outline-offset: -4px; border-radius: 50%; }
#product-dialog #book-item { gap: .55rem; margin-block-start: 1.65rem; }
#product-dialog #book-item button { margin: 0; }
#product-dialog #slot {
  appearance: none;
  border-radius: 999px;
  padding-inline: .8rem;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.product-quantity-row, .product-book-action { display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.product-quantity-row { margin-block: .48rem .3rem; }
.product-quantity {
  display: grid;
  grid-template-columns: 44px 3rem 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .15rem;
}
.product-quantity button {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eeece7;
  font-size: 1.2rem;
}
.product-quantity button[aria-disabled="true"] { opacity: .43; cursor: default; }
#product-dialog #units { appearance: textfield; min-height: 44px; padding: 0; border: 0; text-align: center; font-variant-numeric: tabular-nums; }
#units::-webkit-inner-spin-button, #units::-webkit-outer-spin-button { appearance: none; margin: 0; }
.product-book-action { flex-wrap: wrap; }
#item-total {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: clamp(.4rem, 1.25vw, .7rem);
  row-gap: .12rem;
}
#item-total-label { color: var(--muted); font-size: .82rem; font-weight: 650; }
#item-total-amount {
  font-size: clamp(1.42rem, 1.22rem + .65vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
#product-book-message:empty { display: none; }
#product-book-message { color: var(--muted); font-size: .9rem; }
.product-detail { margin-block-start: 1.55rem; }
.product-detail h3 { font-size: .96rem; }
.product-detail p { margin-block-start: .3rem; font-size: .9rem; color: var(--muted); }
.storefront .product-location p, .storefront .product-location .actions { margin-block-start: .4rem; }
.product-location details { margin-top: .55rem; }
.product-location summary { width: fit-content; padding-block: .6rem; font-weight: 650; cursor: pointer; }
.product-location iframe { display: block; width: 100%; height: clamp(230px, 45vh, 360px); border: 0; border-radius: .7rem; }
@media (min-width: 760px) {
  #product-dialog:not(:has(.product-gallery:not([hidden]))) { width: min(37rem, 100% - 2rem); }
  .product-dialog-layout:has(.product-gallery:not([hidden])) { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); }
  .product-gallery { position: sticky; inset-block-start: 0; align-self: stretch; min-height: min(30rem, 100dvh - 2rem); max-height: calc(100dvh - 2rem); }
  .product-gallery-image { aspect-ratio: auto; }
}
#catalog { scroll-margin-top: 5.5rem; }

@supports (clip-path: shape(from 0% 0%, curve to 100% 0% with 30% 0% / 70% 0%, close)) {
  .scene-lens { clip-path: var(--scene-curve, var(--scene-inset)); }
}

@media (prefers-reduced-motion: no-preference) {
  .front-hero[data-ready] .scene-marquee-track { animation: scene-words 27s linear infinite paused; }
  .front-hero[data-running] .scene-marquee-track { animation-play-state: running; }
  .front-hero[data-running] .scene-lens:not([data-breathing]) { transition: clip-path var(--scene-transition); }
  .front-hero[data-running] .scene-strip { transition: transform var(--scene-transition); }
  .front-hero[data-running] .scene-lens:not([data-photo-motion]) img { transition: opacity var(--scene-transition); }
  @keyframes scene-words { to { transform: translateX(-50%); } }
}
.island-story {
  width: min(calc(100% - 2 * var(--trip-edge)), 91rem);
  margin-inline: auto;
  padding-block: clamp(4.1rem, 10vw, 10rem) clamp(4.4rem, 11vw, 11rem);
}
.story-row {
  --copy-width: 46cqw;
  --copy-inset: min(13cqw, 11rem);
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  align-items: start;
  text-align: var(--story-align);
}
.story-row + .story-row { margin-block-start: clamp(.75rem, 1.25vw, 1.25rem); }
.story-row > :is(.story-copy,.story-photo) { grid-area: 1/1; }
.story-row > .story-copy {
  width: var(--copy-width);
  padding-block-start: var(--copy-top);
}
.story-row .story-copy p {
  width: min(100%, 38rem);
  margin-top: .95rem;
}
.story-row .story-copy .trip-pill { position: relative; z-index: 1; margin-top: 1.2rem; }
.story-curve { position: absolute; pointer-events: none; }
.story-photo {
  --shape-center-x: 50%;
  --scene-center: 50%;
  position: relative;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  background: #e6e3da;
}
.story-photo-type {
  position: absolute;
  z-index: 2;
  inset-block-start: var(--copy-top);
  width: var(--copy-width);
  color: white;
  user-select: none;
}
.story-photo-type [data-story-part] {
  color: #fff;
}
.story-photo-type [data-story-part='title'] { display: block; }
.story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.story-photo img[data-outgoing], .story-photo img[data-active] { opacity: 1; }
.story-photo img[data-active] { z-index: 1; }
.story-photo img[data-outgoing] { z-index: 0; }
@media (prefers-reduced-motion: no-preference) {
  .island-story:not([data-still]) .story-photo img[data-active] { transition: opacity 700ms ease; }
}
.story-shore { --copy-top: 29cqw; --copy-inset: min(15cqw, 13.5rem); --story-align: start; }
.story-shore > .story-copy { justify-self: start; margin-inline-start: var(--copy-inset); }
.story-shore .story-photo-type { inset-inline-start: calc(100% - 100cqw + var(--copy-inset)); }
.story-shore .story-photo {
  --shape-rx: 43%;
  --shape-ry: 36%;
  width: 79%;
  justify-self: end;
  aspect-ratio: 1.25;
  margin-block-end: clamp(-7rem, -8vw, -2.5rem);
  clip-path: url(#story-shore-curve);
}
.story-village { --copy-top: 37cqw; --story-align: end; }
.story-village > .story-copy { justify-self: end; margin-inline-end: var(--copy-inset); }
.story-village .story-copy p { margin-inline-start: auto; }
.story-village .story-photo-type { inset-inline-end: calc(100% - 100cqw + var(--copy-inset)); }
.story-village .story-photo {
  --shape-rx: 40%;
  --shape-ry: 37%;
  width: 76%;
  justify-self: start;
  aspect-ratio: 1.14;
  clip-path: url(#story-village-curve);
}
.storefront .catalog h2 { font-size: clamp(2.3rem, 5.5vw, 5rem); letter-spacing: -.065em; }

@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    .front-hero { view-timeline: --hero-depth block; }
    .front-hero:not([data-still]) .scene-strip { animation: scene-depth auto linear both; animation-timeline: --hero-depth; animation-range: exit 0% exit 75%; }
    @keyframes scene-depth { to { translate: 0 var(--scene-parallax); } }
    .island-story:not([data-still]) .story-row { animation: story-arrive auto ease-out both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
    .story-photo { view-timeline: --story-depth block; }
    .island-story:not([data-still]) .story-photo img { animation: story-depth auto linear both; animation-timeline: --story-depth; animation-range: cover; }
    @keyframes story-arrive { from { opacity: .56; transform: translateY(24px); } }
    @keyframes story-depth { from { transform: translateY(-4%) scale(1.13); } to { transform: translateY(4%) scale(1.13); } }
  }
}
@media (max-width: 660px) {
  .trip-top { align-items: center; }
  .trip-top { gap: .4rem; }
  .trip-wordmark-inline .site-logo { width: clamp(4.1rem, 19vw, 6rem); }
  .trip-tools { gap: .25rem; }
  .discover-link { display: none; }
  .trip-top :is(.trip-icon,.trip-bag) { border-color: transparent; }
  .trip-menu-toggle { --menu-visible-scale: .7; }
  .front-hero { min-height: 33rem; --lens-radius: clamp(5.25rem, 28vw, 10rem); --scene-parallax: clamp(34px, 8svh, 74px); }
  .front-hero .scene-marquee { font-size: min(var(--size-limit), 18vw); }
  .scene-intro { font-size: .81rem; }
  .island-story { width: calc(100% - 1.5rem); }
  .story-row { --copy-width: calc(100cqw - 1.5rem); --copy-inset: .75rem; }
  .story-row .story-copy p { width: 100%; margin-top: .65rem; }
  .story-row .story-photo { width: 100%; }
  .story-shore .story-photo { margin-block-end: clamp(-2.5rem, -8vw, -1.5rem); }
  .story-village { --copy-top: 45cqw; }
}
