:root {
  --ink: #17201a;
  --forest: #17251d;
  --forest-soft: #26382d;
  --paper: #eee9df;
  --paper-light: #f6f2e9;
  --moss: #9ca487;
  --sage: #bcc3aa;
  --quiet-sage: #78806f;
  --gold: #be9c66;
  --navy: #071527;
  --oxblood: #8f211d;
  --line: rgba(24, 32, 26, 0.2);
  --light-line: rgba(245, 241, 232, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  min-height: 100%;
  overflow-x: hidden;
  scrollbar-color: var(--moss) var(--forest);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

html::-webkit-scrollbar {
  width: 11px;
}

html::-webkit-scrollbar-track {
  background: var(--forest);
}

html::-webkit-scrollbar-thumb {
  border: 3px solid var(--forest);
  border-radius: 0;
  background: var(--moss);
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--sage);
}

.page-rail {
  position: fixed;
  z-index: 30;
  top: 50%;
  right: 14px;
  display: grid;
  gap: 9px;
  justify-items: center;
  color: white;
  transform: translateY(-50%);
}

.page-rail button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: white;
  background: rgba(13,20,15,0.52);
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: 11px;
  transition: border-color 180ms ease, background 180ms ease;
}

.page-rail button:hover {
  border-color: var(--gold);
  background: rgba(13,20,15,0.84);
}

.page-rail-track {
  position: relative;
  width: 1px;
  height: 76px;
  overflow: hidden;
  background: rgba(255,255,255,0.26);
}

#page-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
}

body,
button,
input {
  font-family: "DM Sans", sans-serif;
}

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

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: min(1440px, calc(100% - 72px));
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: white;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font: 600 20px/1 "Manrope", sans-serif;
  letter-spacing: -0.7px;
}

.site-header .brand {
  gap: 5px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(4, 10, 18, 0.16));
}

.site-header nav {
  display: flex;
  gap: 36px;
  justify-self: end;
  font-size: 12px;
  font-weight: 500;
}

.site-header nav a {
  opacity: 0.82;
  transition: opacity 180ms ease;
}

.site-header nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  color: white;
  background: #111a15;
}

.hero::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -18px;
  left: 0;
  height: 44px;
  background: linear-gradient(180deg, rgba(17, 26, 21, 0), rgba(33, 45, 36, 0.14) 54%, rgba(217, 219, 204, 0.34) 100%);
  pointer-events: none;
  content: "";
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 12, 9, 0.9) 0%, rgba(8, 12, 9, 0.68) 36%, rgba(8, 12, 9, 0.12) 69%, rgba(8, 12, 9, 0.25) 100%),
    linear-gradient(0deg, rgba(7, 11, 8, 0.6) 0%, transparent 32%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1440px, calc(100% - 72px));
  min-height: 900px;
  margin: 0 auto;
  padding-top: 30px;
}

.overline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: rgba(255,255,255,0.68);
  font: 600 9px/1 "Manrope", sans-serif;
  letter-spacing: 2.3px;
}

.overline span {
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.overline.dark {
  color: #6e756e;
}

.overline.light {
  color: rgba(255,255,255,0.6);
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font: 500 clamp(66px, 7.4vw, 115px) / 1.08 "Newsreader", serif;
  letter-spacing: -5px;
}

.hero h1 em,
.collection-heading h2 em,
.moment-copy h2 em,
.story-copy blockquote em,
.join-copy h2 em {
  color: var(--sage);
  font-weight: 400;
}

.hero-description {
  max-width: 570px;
  margin: 30px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.75;
}

.primary-link {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: max-content 16px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 180px;
  min-height: 50px;
  margin-top: 38px;
  padding: 0 15px;
  overflow: hidden;
  border: 1px solid rgba(222, 180, 119, 0.44);
  border-radius: 3px;
  color: #fff2dd;
  background:
    radial-gradient(circle at 12% 0%, rgba(215, 165, 104, 0.16), transparent 35%),
    linear-gradient(135deg, rgba(116, 76, 57, 0.97), rgba(73, 47, 38, 0.98));
  box-shadow:
    0 16px 38px rgba(4, 9, 6, 0.34),
    inset 0 1px 0 rgba(255, 241, 217, 0.11);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.primary-link::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 22%, rgba(243, 205, 149, 0.14) 48%, transparent 72%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.primary-link:hover {
  border-color: rgba(232, 193, 135, 0.66);
  box-shadow:
    0 20px 45px rgba(4, 9, 6, 0.42),
    inset 0 1px 0 rgba(255, 241, 217, 0.15);
  transform: translateY(-2px);
}

.primary-link:hover::before {
  transform: translateX(120%);
}

.primary-link:focus-visible {
  outline: 2px solid #efd49e;
  outline-offset: 4px;
}

.primary-link-copy {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
}

.primary-link-copy strong {
  font: 650 11.5px/1 "Manrope", sans-serif;
  letter-spacing: 0.18px;
}

.primary-link-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: #f0d4a8;
  transition: color 220ms ease, transform 220ms ease;
}

.primary-link-arrow .vector-arrow {
  width: 12px;
  height: 12px;
  transition: transform 220ms ease;
}

.primary-link:hover .primary-link-arrow {
  color: #ffe9c4;
}

.primary-link:hover .primary-link-arrow .vector-arrow {
  transform: translate(1px, -1px);
}

.vector-arrow {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.ui-icon {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.page-rail .ui-icon,
.hero-foot .ui-icon {
  width: 11px;
  height: 11px;
}

.map-selection-actions .vector-arrow {
  width: 10px;
  height: 10px;
}

.hero-foot {
  position: absolute;
  z-index: 3;
  right: 36px;
  bottom: 28px;
  left: 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: rgba(255,255,255,0.72);
  font: 500 8px/1 "Manrope", sans-serif;
  letter-spacing: 1.9px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.hero-foot a {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-self: center;
  color: rgba(255,255,255,0.96);
  font-size: 10px;
  letter-spacing: 0;
}

.hero-foot > span:last-child {
  justify-self: end;
}

.idea-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.68fr) minmax(720px, 1.32fr);
  gap: 56px;
  align-items: center;
  padding: 78px max(36px, calc((100vw - 1640px) / 2)) 142px;
  background:
    radial-gradient(circle at 77% 12%, rgba(156,164,135,0.18), transparent 28%),
    linear-gradient(180deg, #d9dbcc 0%, var(--paper-light) 22%, var(--paper-light) 100%);
}

.idea-title {
  display: inline-flex;
  align-items: center;
  margin: 0 0 30px;
  color: #50594c;
  font: 700 11px/1 "Manrope", sans-serif;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.section-number {
  margin: 0 0 54px;
  color: #9b9b8e;
  font: 500 10px/1 "Manrope", sans-serif;
}

.section-number.light {
  color: rgba(255,255,255,0.38);
}

.idea-copy h2,
.principles-intro h2 {
  margin: 0;
  font: 400 clamp(52px, 6vw, 86px) / 0.99 "Newsreader", serif;
  letter-spacing: -3px;
}

.idea-copy h2 em {
  color: var(--quiet-sage);
  font-weight: 400;
}

.idea-body {
  display: grid;
  gap: 26px;
  max-width: 620px;
  margin: 42px 0 0;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.idea-body p {
  margin: 0;
  color: #626960;
  font-size: 15px;
  line-height: 1.8;
}

.idea-lede {
  display: block;
  max-width: 560px;
  margin: 0 0 14px;
  color: #2f382f;
  font: 400 25px/1.14 "Newsreader", serif;
  letter-spacing: -0.6px;
}

.idea-lede em {
  color: #78806f;
  font-style: italic;
}

.app-preview {
  grid-column: 2;
  min-width: 0;
}

.app-shell {
  display: grid;
  grid-template-columns: 202px 1fr;
  min-height: 555px;
  overflow: hidden;
  border: 1px solid rgba(23,32,26,0.16);
  background: #f1eadf;
  box-shadow: 0 34px 90px rgba(23,32,26,0.18);
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  border-right: 1px solid rgba(23,32,26,0.12);
  background:
    linear-gradient(180deg, #17251d, #101611);
  color: white;
}

.app-sidebar-brand {
  display: flex;
  gap: 2px;
  align-items: center;
  margin-bottom: 32px;
  font: 600 17px/1 "Manrope", sans-serif;
}

.app-sidebar-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.app-nav-group + .app-nav-group {
  margin-top: 26px;
}

.app-nav-group p {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.36);
  font: 600 7px/1 "Manrope", sans-serif;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.app-nav-group button {
  display: grid;
  gap: 5px;
  width: 100%;
  margin: 0 0 6px;
  padding: 12px 12px;
  border: 1px solid transparent;
  color: rgba(255,255,255,0.7);
  background: transparent;
  text-align: left;
  cursor: default;
}

.app-nav-group button.main-bucket-nav {
  margin-bottom: 14px;
  padding: 15px 13px;
  border-color: rgba(190,156,102,0.52);
  background:
    linear-gradient(135deg, rgba(246,242,233,0.16), rgba(190,156,102,0.08));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.app-nav-group button.active {
  border-color: rgba(190,156,102,0.42);
  color: white;
  background: rgba(255,255,255,0.07);
}

.app-nav-group button span {
  font: 500 12px/1.1 "Manrope", sans-serif;
}

.app-nav-group button small {
  color: rgba(255,255,255,0.38);
  font-size: 8px;
}

.lived-memory-button {
  display: grid;
  gap: 6px;
  align-content: center;
  justify-items: center;
  width: 100%;
  margin-top: auto;
  padding: 15px 14px 16px;
  border: 1px solid rgba(224, 190, 130, 0.38);
  color: #fff7e7;
  background:
    radial-gradient(circle at 90% 82%, rgba(213, 162, 79, 0.25), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(218, 172, 91, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(124, 48, 42, 0.88), rgba(128, 87, 39, 0.86));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 16px 34px rgba(0,0,0,0.12);
  text-align: center;
  cursor: default;
}

.lived-memory-button .lived-memory-title {
  font: 600 12px/1.1 "Manrope", sans-serif;
}

.lived-memory-button .lived-memory-count {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
  color: #fff1d4;
}

.lived-memory-button .lived-memory-count strong {
  color: #ffe4b7;
  font: 400 21px/0.9 "Newsreader", serif;
}

.lived-memory-button .lived-memory-count small {
  color: rgba(255, 241, 212, 0.66);
  font: 650 6.5px/1 "Manrope", sans-serif;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}

.app-main {
  padding: 28px;
  background:
    radial-gradient(circle at 82% 3%, rgba(143,33,29,0.1), transparent 28%),
    #eee9df;
}

.app-main-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 21px;
  border-bottom: 1px solid rgba(23,32,26,0.13);
}

.app-main-head p,
.app-card p {
  margin: 0 0 7px;
  color: #747a70;
  font: 600 8px/1 "Manrope", sans-serif;
  letter-spacing: 1.4px;
}

.app-main-head h3 {
  margin: 0;
  color: #162018;
  font: 400 38px/0.98 "Newsreader", serif;
  letter-spacing: -1.25px;
}

.app-main-head > span {
  padding: 8px 11px;
  border: 1px solid rgba(23,32,26,0.15);
  color: #586157;
  font: 600 8px/1 "Manrope", sans-serif;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.app-list-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 18px 0 15px;
}

.app-list-tools > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.app-list-tools span {
  padding: 8px 11px;
  border: 1px solid rgba(23,32,26,0.1);
  color: #6f766d;
  background: rgba(255,255,255,0.32);
  font: 600 8px/1 "Manrope", sans-serif;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.app-list-tools i {
  align-self: center;
  width: 1px;
  height: 22px;
  margin: 0 2px;
  background: rgba(23,32,26,0.16);
}

.app-list-tools span.active {
  border-color: rgba(143,33,29,0.28);
  color: var(--forest);
  background: rgba(255,255,255,0.72);
}

.app-list-tools span.shared-pill {
  border-color: rgba(255, 255, 255, 0.68);
  color: #343a34;
  background:
    linear-gradient(135deg, rgba(236, 112, 92, 0.42), rgba(238, 194, 91, 0.48) 45%, rgba(95, 151, 178, 0.42)),
    rgba(255,255,255,0.58);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28);
}

.app-add-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px 0 16px;
  border: 1px solid rgba(143, 33, 29, 0.26);
  border-radius: 7px;
  color: #fff8eb;
  background:
    linear-gradient(135deg, rgba(159, 48, 39, 0.98), rgba(94, 39, 34, 0.98));
  box-shadow: 0 10px 22px rgba(83, 32, 28, 0.16);
  cursor: default;
  font: 700 9px/1 "Manrope", sans-serif;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.app-add-button .ui-icon {
  width: 15px;
  height: 15px;
  padding: 2.5px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 50%;
  color: #fff8eb;
}

.bucket-sheet {
  overflow: hidden;
  border: 1px solid rgba(23,32,26,0.13);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.58), rgba(255,255,255,0.28)),
    #f6f0e5;
  box-shadow: 0 18px 40px rgba(23,32,26,0.08);
}

.sheet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px 76px;
  gap: 16px;
  align-items: center;
  min-height: 52px;
  padding: 0 19px;
  border-top: 1px solid rgba(23,32,26,0.09);
  color: #596057;
}

.sheet-row:first-child {
  border-top: 0;
}

.sheet-header {
  min-height: 42px;
  color: #8a9087;
  background: rgba(23,32,26,0.035);
  font: 700 7px/1 "Manrope", sans-serif;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.sheet-header span {
  color: #8a9087;
}

.sheet-row > span {
  min-width: 0;
}

.sheet-row strong {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: #2f382f;
  font: 500 16px/1 "Newsreader", serif;
  letter-spacing: -0.25px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sheet-row strong::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border: 1px solid rgba(143,33,29,0.22);
  border-radius: 50%;
  background: rgba(190,156,102,0.16);
  content: "";
}

.sheet-row em {
  justify-self: start;
  padding: 6px 8px;
  border: 1px solid rgba(23,32,26,0.09);
  color: #71786f;
  background: rgba(255,255,255,0.42);
  font: 600 7px/1 "Manrope", sans-serif;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  font-style: normal;
}

.sheet-row.featured {
  min-height: 64px;
  margin: 7px;
  border: 1px solid rgba(190,156,102,0.32);
  background:
    radial-gradient(circle at 100% 0%, rgba(190,156,102,0.16), transparent 34%),
    rgba(255,255,255,0.72);
  box-shadow: 0 12px 28px rgba(23,32,26,0.08);
}

.sheet-row.featured strong {
  font-size: 20px;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.app-stats span {
  padding: 14px 12px;
  color: #6a7169;
  background: rgba(255,255,255,0.48);
  font-size: 9px;
}

.app-stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font: 400 28px/0.9 "Newsreader", serif;
}

.app-card {
  overflow: hidden;
  border: 1px solid rgba(23,32,26,0.12);
  background: #f7f1e6;
}

.app-card.large {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 185px;
}

.app-card.large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card.large > div,
.app-card.small {
  padding: 20px;
}

.app-card h4 {
  margin: 0 0 13px;
  font: 400 28px/1 "Newsreader", serif;
  letter-spacing: -0.8px;
}

.app-card small {
  color: #737a70;
  font-size: 9px;
}

.app-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.app-card.small h4 {
  font-size: 23px;
}

.app-card.small.lived {
  color: white;
  background: var(--forest);
}

.app-card.small.lived p,
.app-card.small.lived small {
  color: rgba(255,255,255,0.55);
}

.collection-section {
  padding: 140px max(36px, calc((100vw - 1440px) / 2));
  color: white;
  background: var(--forest);
}

.collection-heading {
  display: grid;
  grid-template-columns: 0.32fr 1fr 0.55fr;
  gap: 60px;
  align-items: end;
}

.collection-heading h2 {
  margin: 0;
  font: 400 clamp(48px, 5.5vw, 79px) / 1 "Newsreader", serif;
  letter-spacing: -3px;
}

.collection-heading > p {
  max-width: 330px;
  margin: 0 0 8px;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.7;
}

.experience-gallery {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 85px;
}

.experience-item {
  min-width: 0;
}

.feature-item {
  margin-top: 70px;
}

.experience-image {
  position: relative;
  height: 570px;
  overflow: hidden;
  background: #101713;
}

.feature-item .experience-image {
  height: 690px;
}

.experience-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,12,9,0.32), transparent 38%);
  content: "";
}

.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.2,.7,.2,1);
}

.experience-item:hover img {
  transform: scale(1.025);
}

.experience-index {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.48);
  border-radius: 50%;
  color: white;
  background: rgba(10,16,12,0.22);
  backdrop-filter: blur(8px);
  font: 500 9px/1 "Manrope", sans-serif;
}

.experience-meta {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 0 0;
  border-top: 1px solid var(--light-line);
}

.experience-meta p {
  margin: 0 0 8px;
  color: rgba(255,255,255,0.42);
  font: 600 8px/1 "Manrope", sans-serif;
  letter-spacing: 1.5px;
}

.experience-meta h3 {
  max-width: 310px;
  margin: 0;
  font: 400 26px/1.12 "Newsreader", serif;
}

.when {
  flex: 0 0 auto;
  color: rgba(255,255,255,0.5);
  font-size: 9px;
}

.collection-note {
  display: flex;
  justify-content: flex-end;
  margin-top: 75px;
}

.collection-note p {
  max-width: 540px;
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid var(--gold);
  color: rgba(255,255,255,0.58);
  font-family: "Newsreader", serif;
  font-size: 20px;
  line-height: 1.55;
}

.map-section {
  padding: 86px max(36px, calc((100vw - 1440px) / 2)) 118px;
  background: var(--paper-light);
}

.map-heading,
.features-heading {
  display: grid;
  grid-template-columns: 0.28fr 1fr 0.56fr;
  gap: 60px;
  align-items: end;
}

.map-heading {
  grid-template-columns: 0.28fr minmax(0, 1fr);
  column-gap: 48px;
  row-gap: 0;
  align-items: start;
}

.map-heading h2,
.features-heading h2 {
  margin: 0;
  font: 400 clamp(54px, 5.9vw, 86px) / 0.98 "Newsreader", serif;
  letter-spacing: -3.3px;
}

.map-heading h2 {
  grid-column: 2;
  max-width: 990px;
}

.map-heading h2 em {
  color: #8f5a36;
  font-style: italic;
  font-weight: 400;
}

.map-intro-tiles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 455px) minmax(0, 500px);
  gap: 24px;
  align-items: stretch;
  justify-content: center;
  max-width: 1100px;
  margin: 32px auto 0;
}

.map-heading > p,
.features-heading > p {
  max-width: 390px;
  margin: 0 0 7px;
  color: #626960;
  font-size: 14px;
  line-height: 1.75;
}

.map-stage {
  margin-top: 42px;
  border: 1px solid rgba(23, 32, 26, 0.2);
  background: #d8d2c5;
  box-shadow: 0 30px 80px rgba(30, 35, 29, 0.12);
}

.map-toolbar,
.map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: #ece7dc;
}

.map-toolbar {
  border-bottom: 1px solid rgba(23, 32, 26, 0.16);
}

.map-toolbar p,
.map-preview p,
.feature-kicker,
.share-overlay > div > p {
  margin: 0 0 7px;
  color: #747a70;
  font: 600 8px/1 "Manrope", sans-serif;
  letter-spacing: 1.6px;
}

.map-toolbar h3 {
  margin: 0;
  font: 400 24px/1 "Newsreader", serif;
}

.map-toolbar > div:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.map-filter {
  padding: 9px 15px;
  border: 1px solid rgba(23, 32, 26, 0.18);
  border-radius: 100px;
  color: #596058;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.map-filter.active {
  border-color: var(--forest);
  color: white;
  background: var(--forest);
}

.map-filter-divider {
  width: 1px;
  height: 24px;
  margin: 0 4px;
  background: rgba(23, 32, 26, 0.2);
}

.map-filter.lived-filter.active {
  border-color: var(--oxblood);
  background: var(--oxblood);
}

.map-canvas {
  position: relative;
  aspect-ratio: 2048 / 1229;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: #b9d9df;
}

.map-canvas::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02) 35%, rgba(14,25,20,0.06)),
    radial-gradient(circle at 48% 48%, transparent 42%, rgba(22, 33, 26, 0.1) 100%);
  pointer-events: none;
  content: "";
}

.map-canvas::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(23, 32, 26, 0.12);
  pointer-events: none;
  content: "";
}

.map-base {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.bucket-pin {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  transition: transform 180ms ease, opacity 180ms ease;
}

.bucket-pin::before {
  display: none;
  content: none;
}

.bucket-pin:hover,
.bucket-pin.active {
  z-index: 6;
  transform: translate(-50%, -50%) scale(1.18);
}

.bucket-pin:hover::before,
.bucket-pin.active::before {
  display: none;
}

.bucket-pin > span {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: url("assets/bucket-map-pin-bucket-only.png") center / contain no-repeat;
  filter:
    drop-shadow(0 1px 0 rgba(255, 247, 231, 0.28))
    drop-shadow(0 4px 6px rgba(7, 21, 39, 0.36));
  opacity: 0.98;
  transform: translate(-50%, -50%);
}

.bucket-pin.is-dimmed {
  opacity: 0.24;
  transform: translate(-50%, -50%) scale(0.86);
}

.bucket-pin.pin-oahu,
.bucket-pin.pin-caribbean {
  display: none;
}

.bucket-pin.pin-airplane { top: 46.2%; left: 22.1%; }
.bucket-pin.pin-new-york { top: 45.8%; left: 29.4%; }
.bucket-pin.pin-patagonia { top: 88.8%; left: 30.2%; }
.bucket-pin.pin-south-america { top: 69.4%; left: 28.8%; }
.bucket-pin.pin-iceland { top: 28.1%; left: 43.8%; }
.bucket-pin.pin-morocco { top: 57.8%; left: 48.1%; }
.bucket-pin.pin-west-africa { top: 85.5%; left: 56.3%; }
.bucket-pin.pin-bologna { top: 46%; left: 53.65%; }
.bucket-pin.pin-scandinavia { top: 45.1%; left: 54.25%; }
.bucket-pin.pin-uk { top: 48.8%; left: 53.85%; }
.bucket-pin.pin-greece { top: 55.4%; left: 55.3%; }
.bucket-pin.pin-kenya { top: 70.2%; left: 60.5%; }
.bucket-pin.pin-middle-east { top: 58.6%; left: 61.6%; }
.bucket-pin.pin-central-asia { top: 62.2%; left: 71.8%; }
.bucket-pin.pin-himalayas { top: 58.4%; left: 74.1%; }
.bucket-pin.pin-madagascar { top: 73.2%; left: 82%; }
.bucket-pin.pin-siberia { top: 48.6%; left: 82.2%; }
.bucket-pin.pin-japan { top: 49.2%; left: 89.8%; }
.bucket-pin.pin-australia { top: 78.2%; left: 90.7%; }

.map-lower-row {
  display: grid;
  grid-template-columns: minmax(0, 315px) minmax(0, 350px);
  justify-content: center;
  gap: 16px;
  align-items: stretch;
  padding: 18px 28px;
  background: #ece7dc;
}

.map-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  min-width: 0;
  padding: 22px 28px 24px;
  overflow: hidden;
  color: #f5ecdc;
  border: 1px solid rgba(190, 156, 102, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(190, 156, 102, 0.18), transparent 38%),
    linear-gradient(135deg, #182018 0%, #0d140f 100%);
  box-shadow: 0 22px 46px rgba(13, 25, 17, 0.18);
}

.map-feature-card::after {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 156, 102, 0.42), transparent);
  content: "";
  pointer-events: none;
}

.map-view-card {
  justify-self: stretch;
  width: 100%;
}

.map-itinerary-card {
  justify-self: stretch;
  width: 100%;
}

.map-feature-art {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff7e7;
  border: 1px solid rgba(190, 156, 102, 0.32);
  background:
    radial-gradient(circle at 88% 82%, rgba(255, 232, 177, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(118, 44, 38, 0.92), rgba(67, 52, 31, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 247, 231, 0.06);
}

.map-feature-art svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.globe-art {
  font-size: 32px;
  line-height: 1;
}

.map-feature-card p {
  margin: 0 0 8px;
  color: rgba(190, 156, 102, 0.92);
  font: 700 9px/1 "Manrope", sans-serif;
  letter-spacing: 1.9px;
}

.map-feature-card h3 {
  max-width: 430px;
  margin: 0 0 9px;
  color: #f5ecdc;
  font: 400 29px/1.01 "Newsreader", serif;
  letter-spacing: -0.82px;
}

.map-feature-card span {
  display: block;
  max-width: 460px;
  color: rgba(245, 236, 220, 0.66);
  font-size: 12.7px;
  line-height: 1.45;
}

.map-preview {
  position: absolute;
  z-index: 5;
  display: grid;
  grid-template-rows: 30px 1fr;
  width: 74px;
  height: 82px;
  overflow: hidden;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 23, 17, 0.95);
  box-shadow: 0 8px 18px rgba(13, 25, 17, 0.22);
  backdrop-filter: blur(10px);
}

.map-preview::before {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  background: rgba(12, 23, 17, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.map-preview img {
  width: 100%;
  height: 30px;
  object-fit: cover;
}

.map-preview > div {
  align-self: center;
  padding: 5px 6px 6px;
}

.map-preview p {
  margin-bottom: 3px;
  color: rgba(255,255,255,0.48);
  font-size: 4px;
  letter-spacing: 0.62px;
}

.map-preview h3 {
  margin: 0 0 3px;
  font: 400 8px/1.04 "Newsreader", serif;
  letter-spacing: -0.12px;
}

.map-preview span {
  display: none;
}

.map-footer {
  padding-top: 17px;
  padding-bottom: 17px;
  border-top: 1px solid rgba(23, 32, 26, 0.16);
}

.map-footer p {
  margin: 0;
  color: #697067;
  font-size: 9px;
}

.map-footer p:last-child {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.map-footer .swap-icon {
  width: 13px;
  height: 10px;
  color: #8b7564;
  stroke-width: 1.25;
}

.legend-bucket {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
  background: url("assets/bucket-map-pin-bucket-only.png") center / contain no-repeat;
  filter: drop-shadow(0 2px 3px rgba(7, 21, 39, 0.24));
}

.features-section {
  padding: 145px max(36px, calc((100vw - 1440px) / 2));
  color: white;
  background: #111a15;
}

.features-heading h2 em {
  color: var(--sage);
  font-weight: 400;
}

.features-heading > p {
  color: rgba(255,255,255,0.55);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 54px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 700px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: #1a271f;
}

.product-copy {
  padding: 38px 34px 32px;
}

.feature-kicker {
  color: rgba(255,255,255,0.4);
}

.product-copy h3 {
  margin: 0 0 17px;
  font: 400 36px/1.04 "Newsreader", serif;
  letter-spacing: -1px;
}

.product-copy > p:last-child {
  margin: 0;
  color: rgba(255,255,255,0.52);
  font-size: 13px;
  line-height: 1.7;
}

.collection-stack {
  display: grid;
  gap: 9px;
  margin: auto 18px 18px;
}

.collection-stack > div {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid rgba(34, 43, 35, 0.1);
  border-radius: 7px;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.32), transparent 44%),
    #e9e4d9;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 7px 18px rgba(5, 16, 10, 0.05);
}

.collection-icon {
  --art-deep: #263a30;
  --art-mid: #70836e;
  --art-light: #f3ead6;
  --art-accent: #a86d43;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(70, 61, 45, 0.18);
  border-radius: 50%;
  background: #c8d0c0;
  box-shadow:
    inset 0 0 0 2px rgba(255, 251, 239, 0.2),
    0 2px 5px rgba(37, 45, 37, 0.09);
}

.collection-wonders .collection-icon {
  --art-deep: #31564f;
  --art-mid: #789b8e;
  --art-light: #ecede1;
  --art-accent: #8a6a45;
  background: #bfd0ca;
}

.collection-ballparks .collection-icon {
  --art-deep: #5d302a;
  --art-mid: #365747;
  --art-light: #f5ead7;
  --art-accent: #a6493b;
  background: #d3bca7;
}

.collection-continents .collection-icon {
  --art-deep: #29473f;
  --art-mid: #86a18e;
  --art-light: #dfcda4;
  --art-accent: #a76d43;
  background: #c8cbb4;
}

.collection-art {
  width: 39px;
  height: 39px;
  overflow: visible;
}

.collection-art .art-deep { fill: var(--art-deep); }
.collection-art .art-mid { fill: var(--art-mid); }
.collection-art .art-light { fill: var(--art-light); }
.collection-art .art-accent { fill: var(--art-accent); }

.collection-art .art-line,
.collection-art .art-accent-line {
  fill: none;
  stroke: var(--art-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.collection-art .art-line.soft {
  opacity: 0.62;
  stroke-width: 1;
}

.collection-art .art-accent-line {
  stroke: var(--art-accent);
  stroke-width: 1.25;
}

.collection-art .art-line.field {
  opacity: 0.62;
  stroke-width: 0.95;
}

.collection-art .art-accent-line.stitches {
  stroke-width: 0.9;
}

.collection-art .art-line.orbit {
  stroke: rgba(243, 234, 214, 0.78);
  stroke-width: 1.05;
}

.collection-main {
  display: grid;
  gap: 11px;
  min-width: 0;
}

.collection-title-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  min-width: 0;
}

.collection-title-row p {
  margin: 0;
  font: 400 18px/1.05 "Newsreader", serif;
}

.collection-title-row .collection-name-stacked {
  display: grid;
  gap: 3px;
}

.collection-name-stacked small {
  color: #697168;
  font: 650 6.5px/1 "Manrope", sans-serif;
  letter-spacing: 0.72px;
  text-align: center;
  text-transform: uppercase;
}

.collection-count {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3px;
  align-items: baseline;
  white-space: nowrap;
}

.collection-count b {
  color: #9b603d;
  font: 500 17px/1 "Newsreader", serif;
}

.collection-count small {
  color: #656d65;
  font: 600 8.5px/1 "Manrope", sans-serif;
  letter-spacing: 0.15px;
}

.collection-progress {
  position: relative;
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(43, 51, 43, 0.12);
  box-shadow:
    inset 0 1px 2px rgba(26, 31, 26, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.58);
}

.collection-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress);
  min-width: 9px;
  border-radius: inherit;
  background: linear-gradient(90deg, #7f3c34, #aa7042 68%, #c18a4f);
  box-shadow:
    inset 0 1px 0 rgba(255, 231, 184, 0.32),
    0 0 9px rgba(157, 95, 57, 0.2);
}

.collection-progress i::after {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ecd0a0;
  box-shadow: 0 0 5px rgba(244, 214, 161, 0.7);
  content: "";
  transform: translateY(-50%);
}

.together-card {
  background: #26352b;
}

.shared-list {
  margin: auto 18px 18px;
  padding: 26px;
  color: var(--ink);
  background: #d8d0c0;
}

.shared-list-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(23,32,26,0.18);
}

.avatars {
  display: flex;
}

.avatars span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid #d8d0c0;
  border-radius: 50%;
  color: white;
  background: var(--forest);
  font: 600 10px/1 "Manrope", sans-serif;
}

.avatars span + span {
  margin-left: -10px;
  color: var(--ink);
  background: var(--gold);
}

.shared-list-head p {
  margin: 0 0 5px;
  font: 400 20px/1 "Newsreader", serif;
}

.shared-list-head small {
  color: #70766e;
  font-size: 8px;
}

.more-dot {
  color: #777d74;
  font-size: 12px;
  letter-spacing: 2px;
}

.shared-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(23,32,26,0.15);
}

.shared-item > span {
  color: #8a8f86;
  font: 500 8px/1 "Manrope", sans-serif;
}

.shared-item p {
  margin: 0;
  font: 400 18px/1.18 "Newsreader", serif;
}

.shared-item small {
  color: #83887f;
  font: 600 7px/1 "Manrope", sans-serif;
  letter-spacing: 1px;
}

.shared-item.done p {
  color: #697067;
  text-decoration: line-through;
}

.shared-item.done > span {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  color: white;
  background: var(--forest);
}

.shared-item.done .ui-icon {
  width: 11px;
  height: 11px;
  stroke-width: 1.8;
}

.share-card {
  background: #17251d;
}

.share-preview {
  position: relative;
  flex: 1;
  min-height: 410px;
  margin: 0 18px 18px;
  overflow: hidden;
}

.share-preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.share-preview::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,13,9,0.87), transparent 67%);
  content: "";
}

.share-overlay {
  position: absolute;
  z-index: 2;
  inset: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.share-overlay-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.share-seal {
  align-self: flex-start;
  padding: 8px 10px;
  border: 1px solid rgba(224, 190, 130, 0.38);
  color: #fff7e7;
  background:
    radial-gradient(circle at 90% 82%, rgba(213, 162, 79, 0.25), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(218, 172, 91, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(124, 48, 42, 0.88), rgba(128, 87, 39, 0.86));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 12px 24px rgba(0,0,0,0.12);
  font: 600 7px/1 "Manrope", sans-serif;
  letter-spacing: 1.4px;
}

.share-socials {
  display: flex;
  gap: 8px;
}

.share-socials span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.share-socials svg {
  display: block;
  width: 21px;
  height: 21px;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.24));
}

.share-socials .social-instagram svg,
.share-socials .social-facebook svg {
  width: 22px;
  height: 22px;
}

.share-socials .social-x {
  background: #000;
  box-shadow: 0 8px 14px rgba(0,0,0,0.24);
}

.share-socials .social-x svg {
  width: 15px;
  height: 15px;
  filter: none;
}

.share-overlay > div > p {
  color: rgba(255,255,255,0.5);
}

.share-overlay h4 {
  margin: 0 0 10px;
  font: 400 30px/1.02 "Newsreader", serif;
}

.share-overlay blockquote {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font: italic 400 16px/1.3 "Newsreader", serif;
}

.share-signature {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  font: 600 8px/1 "Manrope", sans-serif;
  letter-spacing: 2px;
}

.completed-section {
  position: relative;
  overflow: hidden;
  padding: 132px max(36px, calc((100vw - 1440px) / 2)) 116px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 16%, rgba(133, 68, 52, 0.1), transparent 24%),
    radial-gradient(circle at 92% 5%, rgba(113, 126, 103, 0.16), transparent 28%),
    linear-gradient(180deg, #ded6c7 0%, #d4cabc 100%);
}

.completed-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23,32,26,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,32,26,0.025) 1px, transparent 1px);
  background-size: 100% 62px, 62px 100%;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.28), transparent 62%);
  content: "";
}

.completed-heading,
.completed-gallery,
.completed-footer {
  position: relative;
  z-index: 1;
}

.completed-heading {
  display: grid;
  grid-template-columns: 0.24fr minmax(0, 1fr) minmax(320px, 0.44fr);
  gap: 54px;
  align-items: end;
}

.completed-heading h2 {
  max-width: 760px;
  margin: 0;
  font: 400 clamp(55px, 5.4vw, 84px) / 0.96 "Newsreader", serif;
  letter-spacing: -3.1px;
}

.completed-heading h2 em {
  color: #6e796a;
  font-weight: 400;
}

.completed-intro {
  max-width: 390px;
  justify-self: end;
}

.completed-intro > p {
  margin: 0;
  color: #5f665d;
  font-size: 14px;
  line-height: 1.75;
}

.archive-switch {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding: 6px;
  border: 1px solid rgba(23,32,26,0.15);
  color: #777c73;
  background: rgba(243, 237, 226, 0.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.38);
  font-size: 10px;
}

.archive-switch span {
  position: relative;
  flex: 1;
  padding: 11px 13px;
  border: 1px solid transparent;
  text-align: center;
}

.archive-switch span.active {
  color: #fff8ea;
  border-color: rgba(255,255,255,0.12);
  background:
    radial-gradient(circle at 85% 20%, rgba(211, 170, 95, 0.22), transparent 36%),
    linear-gradient(135deg, #7a332d, #4a251e);
}

.archive-switch span.active::after {
  display: none;
}

.archive-switch strong {
  margin-left: 5px;
  font-weight: 700;
}

.completed-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 62px;
}

.memory {
  position: relative;
  min-height: 246px;
  aspect-ratio: 1 / 1.16;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 26, 0.14);
  background: #151b17;
  box-shadow:
    0 20px 48px rgba(30, 35, 29, 0.14),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}

.memory::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(6,10,7,0.86), rgba(6,10,7,0.23) 48%, transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 32%);
  content: "";
  pointer-events: none;
}

.memory img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.96);
  transition: filter 500ms ease, transform 900ms cubic-bezier(.2,.7,.2,1);
}

.memory-raouls img {
  object-position: 52% 50%;
}

.memory-ammoudi img {
  object-position: 52% 50%;
}

.memory-sensoji img {
  object-position: 50% 50%;
}

.memory-cedar-point img {
  object-position: 50% 50%;
}

.memory:hover img {
  filter: saturate(1.02) contrast(1);
  transform: scale(1.035);
}

.memory-caption {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 15px;
  left: 15px;
  display: grid;
  grid-template-columns: 29px 1fr;
  gap: 10px;
  align-items: center;
  color: white;
}

.done-seal {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  color: #fff8ea;
  background:
    radial-gradient(circle at 78% 18%, rgba(211, 170, 95, 0.26), transparent 38%),
    linear-gradient(135deg, #7a332d, #4a251e);
  box-shadow:
    0 8px 18px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.12);
  font-size: 10px;
}

.done-seal .ui-icon {
  width: 12px;
  height: 12px;
  stroke-width: 1.8;
}

.memory-caption p {
  margin: 0 0 5px;
  color: rgba(255,255,255,0.54);
  font: 700 6px/1 "Manrope", sans-serif;
  letter-spacing: 1.25px;
}

.memory-caption h3 {
  max-width: 170px;
  margin: 0;
  font: 400 17px/1.08 "Newsreader", serif;
  letter-spacing: -0.2px;
}

.memory-placeholder {
  background:
    radial-gradient(circle at 25% 20%, rgba(215, 181, 111, 0.18), transparent 32%),
    linear-gradient(145deg, #24352b, #101813);
}

.memory-placeholder.warm {
  background:
    radial-gradient(circle at 76% 18%, rgba(220, 184, 110, 0.18), transparent 34%),
    linear-gradient(145deg, #70362e, #231713);
}

.memory-placeholder.dark {
  background:
    radial-gradient(circle at 20% 12%, rgba(170, 184, 142, 0.15), transparent 34%),
    linear-gradient(145deg, #171f1a, #0d120f);
}

.memory-placeholder-art {
  position: absolute;
  inset: 17px;
  display: grid;
  align-content: center;
  gap: 13px;
  padding: 20px 18px 54px;
  border: 1px solid rgba(245, 236, 220, 0.11);
  background:
    linear-gradient(180deg, rgba(245,236,220,0.06), transparent),
    repeating-linear-gradient(135deg, rgba(245,236,220,0.04) 0 1px, transparent 1px 11px);
}

.memory-placeholder-art span {
  display: block;
  height: 1px;
  background: rgba(245,236,220,0.28);
}

.memory-placeholder-art span:nth-child(1) { width: 76%; }
.memory-placeholder-art span:nth-child(2) { width: 92%; }
.memory-placeholder-art span:nth-child(3) { width: 64%; }
.memory-placeholder-art span:nth-child(4) { width: 83%; }

.completed-footer {
  display: grid;
  grid-template-columns: minmax(360px, 560px) auto;
  gap: clamp(56px, 8vw, 130px);
  align-items: end;
  justify-content: end;
  margin-top: 58px;
  padding-top: 30px;
  border-top: 1px solid rgba(23,32,26,0.2);
}

.completed-quote {
  justify-self: end;
  max-width: 560px;
  margin: 0 0 0 clamp(26px, 4vw, 74px);
  color: #283228;
  font: 400 25px/1.42 "Newsreader", serif;
}

.completed-pride {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-self: end;
  min-width: 250px;
}

.completed-pride > span {
  color: #3d211b;
  font: 400 82px/0.74 "Newsreader", serif;
  letter-spacing: -3.8px;
}

.completed-pride p {
  margin: 0 0 2px;
  color: #6b7169;
  font-size: 9px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.completed-thesis {
  margin: 0;
  color: #60665e;
  font-size: 13px;
  line-height: 1.7;
}

.moment-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  min-height: 720px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 77% 50%, rgba(157,168,137,0.15), transparent 28%),
    var(--forest-soft);
}

.moment-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 6vw 110px max(36px, calc((100vw - 1340px) / 2));
}

.moment-copy h2 {
  margin: 0;
  font: 400 clamp(49px, 5.2vw, 76px) / 1 "Newsreader", serif;
  letter-spacing: -3px;
}

.moment-copy > p:last-child {
  max-width: 620px;
  margin: 35px 0 0;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  line-height: 1.8;
}

.moment-signal {
  position: relative;
  display: grid;
  place-items: center;
}

.signal-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(255,255,255,0.22), transparent);
}

.signal-dot {
  position: absolute;
  z-index: 4;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(190,156,102,0.75);
}

.signal-ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.19);
  border-radius: 50%;
}

.ring-one {
  width: 150px;
  height: 150px;
}

.ring-two {
  width: 300px;
  height: 300px;
}

.ring-three {
  width: 500px;
  height: 500px;
  border-color: rgba(255,255,255,0.08);
}

.moment-signal p {
  position: relative;
  z-index: 5;
  margin: 130px 0 0 190px;
  font: 400 31px/0.75 "Newsreader", serif;
}

.moment-signal small {
  color: rgba(255,255,255,0.48);
  font: 600 7px/1 "Manrope", sans-serif;
  letter-spacing: 1.2px;
}

.story-section {
  display: grid;
  grid-template-columns: 0.24fr 1fr;
  gap: 78px;
  align-items: start;
  padding: 150px max(36px, calc((100vw - 1340px) / 2));
  background: var(--paper-light);
}

.story-mark {
  display: grid;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  padding: 21px 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.28);
}

.story-mark span {
  font: 400 31px/1 "Newsreader", serif;
  letter-spacing: -0.8px;
}

.story-mark p {
  margin: 0;
  color: #777d74;
  font: 600 8px/1 "Manrope", sans-serif;
  letter-spacing: 1.8px;
}

.story-copy {
  align-self: start;
}

.story-copy blockquote {
  max-width: 900px;
  margin: 0;
  font: 400 clamp(42px, 5vw, 72px) / 1.05 "Newsreader", serif;
  letter-spacing: -2.6px;
}

.story-copy > p:not(.overline) {
  max-width: 680px;
  margin: 38px 0 26px;
  color: #646b63;
  font-size: 15px;
  line-height: 1.8;
}

.story-copy > span {
  font: 600 10px/1 "Manrope", sans-serif;
}

.join-section {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 100px;
  align-items: end;
  padding: 140px max(36px, calc((100vw - 1340px) / 2));
  color: white;
  background: #101611;
}

.join-copy h2 {
  margin: 0;
  font: 400 clamp(50px, 6.2vw, 88px) / 0.98 "Newsreader", serif;
  letter-spacing: -3.5px;
}

.join-form {
  padding-top: 25px;
  border-top: 1px solid var(--light-line);
}

.join-form > p:first-child {
  margin: 0 0 45px;
  color: rgba(255,255,255,0.56);
  font-size: 14px;
  line-height: 1.75;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.join-form label {
  display: block;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.46);
  font: 600 8px/1 "Manrope", sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.email-line {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid rgba(255,255,255,0.55);
  transition: border-color 180ms ease;
}

.email-line:focus-within {
  border-color: rgba(190,156,102,0.9);
}

.email-line input {
  min-width: 0;
  height: 58px;
  padding: 0;
  border: 0;
  outline: none;
  color: white;
  background: transparent;
  font-family: "Newsreader", serif;
  font-size: 23px;
}

.email-line input::placeholder {
  color: rgba(255,255,255,0.24);
}

.email-line button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  align-self: center;
  margin-bottom: 6px;
  border: 1px solid rgba(190,156,102,0.42);
  border-radius: 50%;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,0.22), transparent 30%),
    linear-gradient(145deg, #c2a36c, #8f6f3d);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.email-line button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.email-line button:hover {
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 16px 34px rgba(0,0,0,0.3);
  transform: translateY(-1px);
}

.email-line button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.privacy-note {
  margin: 14px 0 0;
  color: rgba(255,255,255,0.42);
  font-size: 10px;
  line-height: 1.6;
}

.form-note {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.34);
  font-size: 9px;
}

.form-note:empty {
  display: none;
}

.form-note.success {
  color: var(--sage);
}

.form-note.error {
  color: #dda69d;
}

.interest-followup {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.13);
}

.interest-followup > p:first-child {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.72);
  font: 500 15px/1.45 "Manrope", sans-serif;
}

.interest-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.interest-options button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  font: 600 10px/1 "Manrope", sans-serif;
  letter-spacing: 0.3px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.interest-options button:hover,
.interest-options button.selected {
  border-color: rgba(209,215,191,0.72);
  color: var(--ink);
  background: var(--sage);
  transform: translateY(-1px);
}

.interest-options button:disabled {
  cursor: default;
  opacity: 0.65;
  transform: none;
}

.interest-options button.selected:disabled {
  opacity: 1;
}

.interest-note {
  margin: 13px 0 0;
  color: rgba(255,255,255,0.36);
  font-size: 9px;
  line-height: 1.55;
}

.interest-note.success {
  color: var(--sage);
}

.interest-note.error {
  color: #dda69d;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: 32px max(36px, calc((100vw - 1340px) / 2));
  border-top: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.42);
  background: #101611;
  font-size: 9px;
}

footer .brand {
  gap: 5px;
  color: white;
  font-size: 17px;
}

footer .brand-mark {
  width: 40px;
  height: 40px;
}

footer p {
  justify-self: start;
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 15px;
}

footer > span {
  justify-self: end;
}

.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255,255,255,0.68);
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: white;
}

.legal-body {
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 4%, rgba(190,156,102,0.18), transparent 32%),
    linear-gradient(140deg, #101611 0%, #17251d 56%, #071527 100%);
}

.legal-body .page-rail {
  display: none;
}

.legal-header {
  position: static;
  transform: none;
  width: min(1440px, calc(100% - 72px));
  margin: 0 auto;
  color: white;
}

.legal-page {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 130px 0 120px;
}

.legal-page h1 {
  max-width: 760px;
  margin: 20px 0 18px;
  color: white;
  font: 400 clamp(54px, 8vw, 96px) / 0.95 "Newsreader", serif;
  letter-spacing: -4px;
}

.legal-updated,
.legal-page section p,
.legal-note,
.not-found-page > p {
  color: rgba(255,255,255,0.62);
  font-size: 15px;
  line-height: 1.85;
}

.legal-updated {
  margin: 0 0 72px;
}

.legal-page section {
  padding: 34px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.legal-page h2 {
  margin: 0 0 12px;
  color: white;
  font: 500 24px/1.15 "Newsreader", serif;
  letter-spacing: -0.6px;
}

.legal-page section p {
  max-width: 690px;
  margin: 0;
}

.legal-page a {
  color: var(--sage);
  text-decoration: underline;
  text-decoration-color: rgba(188,195,170,0.34);
  text-underline-offset: 4px;
}

.header-join {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-self: end;
}

.legal-note {
  margin: 38px 0 0;
  padding: 24px;
  border: 1px solid rgba(188,195,170,0.28);
  background: rgba(255,255,255,0.04);
}

.not-found-body {
  min-height: 100vh;
}

.not-found-page {
  display: grid;
  align-content: center;
  min-height: 100vh;
  padding: 64px 0;
}

.not-found-page .brand {
  margin-bottom: 70px;
  color: white;
}

.legal-button {
  display: inline-flex;
  width: max-content;
  margin-top: 30px;
  padding: 15px 20px;
  border: 1px solid rgba(188,195,170,0.36);
  color: var(--ink) !important;
  background: var(--sage);
  text-decoration: none !important;
  font: 700 10px/1 "Manrope", sans-serif;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .site-header nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-copy {
    min-height: 820px;
  }

  .idea-section,
  .map-section,
  .features-section,
  .completed-section,
  .story-section,
  .join-section {
    grid-template-columns: 1fr;
  }

  .app-shell {
    grid-template-columns: 202px 1fr;
  }

  .app-preview {
    grid-column: auto;
  }

  .app-sidebar {
    display: block;
    border-right: 1px solid rgba(23,32,26,0.12);
    border-bottom: 0;
  }

  .app-sidebar-brand {
    margin-bottom: 32px;
  }

  .app-nav-group + .app-nav-group {
    margin-top: 26px;
  }

  .sheet-row {
    grid-template-columns: minmax(0, 1fr) 86px 72px;
  }

  .section-number {
    margin-bottom: 20px;
  }

  .collection-heading {
    grid-template-columns: 0.2fr 1fr;
  }

  .collection-heading > p {
    grid-column: 2;
    margin-top: 15px;
  }

  .experience-gallery {
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
  }

  .map-heading,
  .features-heading,
  .completed-heading {
    grid-template-columns: 0.2fr 1fr;
  }

  .map-heading > p,
  .features-heading > p,
  .completed-intro {
    grid-column: 2;
    margin-top: 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .share-card {
    grid-column: 1 / -1;
  }

  .share-card .share-preview {
    min-height: 520px;
  }

  .completed-heading {
    grid-template-columns: 0.2fr 1fr;
  }

  .completed-intro {
    grid-column: 2;
    justify-self: start;
    max-width: 520px;
    margin-top: 18px;
  }

  .completed-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .completed-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: stretch;
  }

  .moment-section {
    grid-template-columns: 1fr 0.55fr;
  }

  .story-mark {
    min-height: 0;
  }

  .join-section {
    gap: 70px;
  }
}

@media (max-width: 680px) {
  .page-rail {
    right: 8px;
  }

  .page-rail button {
    width: 25px;
    height: 25px;
  }

  .site-header {
    width: calc(100% - 36px);
    padding: 21px 0;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 0;
  }

  .hero,
  .hero-copy {
    min-height: 790px;
  }

  .hero-image {
    object-position: 61% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8,12,9,0.92), rgba(8,12,9,0.42)),
      linear-gradient(0deg, rgba(7,11,8,0.7), transparent 55%);
  }

  .hero-copy {
    width: calc(100% - 38px);
    justify-content: flex-end;
    padding: 145px 0 110px;
  }

  .hero h1 {
    font-size: 60px;
    letter-spacing: -2.8px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.65;
  }

  .primary-link {
    width: min(180px, calc(100vw - 38px));
    min-height: 50px;
    padding: 0 14px;
  }

  .hero-foot {
    right: 19px;
    bottom: 20px;
    left: 19px;
    grid-template-columns: 1fr auto;
  }

  .hero-foot > span:last-child {
    display: none;
  }

  .idea-section,
  .collection-section,
  .map-section,
  .features-section,
  .completed-section,
  .story-section,
  .join-section {
    padding: 90px 20px;
  }

  .idea-section {
    gap: 35px;
    padding-top: 64px;
  }

  .app-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .app-sidebar {
    padding: 20px;
  }

  .lived-memory-button {
    margin-top: 22px;
  }

  .app-main {
    padding: 20px;
  }

  .app-main-head,
  .app-stats {
    grid-template-columns: 1fr;
  }

  .app-main-head {
    display: grid;
  }

  .app-list-tools {
    gap: 6px;
  }

  .app-list-tools > div {
    max-width: 100%;
  }

  .app-add-button {
    margin-top: 4px;
  }

  .sheet-row {
    grid-template-columns: minmax(0, 1fr) 62px;
    gap: 10px;
    padding: 0 13px;
  }

  .sheet-row:not(.sheet-header) > span,
  .sheet-header span:nth-child(2) {
    display: none;
  }

  .sheet-row strong {
    font-size: 15px;
  }

  .sheet-row.featured strong {
    font-size: 18px;
  }

  .idea-copy h2 {
    font-size: 50px;
    letter-spacing: -2px;
  }

  .idea-body {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-left: 0;
  }

  .collection-heading {
    display: block;
  }

  .collection-heading h2 {
    margin-top: 35px;
    font-size: 49px;
    letter-spacing: -2px;
  }

  .collection-heading > p {
    margin-top: 22px;
  }

  .experience-gallery {
    display: grid;
    grid-template-columns: 82vw 82vw 82vw;
    gap: 13px;
    margin-top: 55px;
    scroll-snap-type: x mandatory;
  }

  .experience-item {
    scroll-snap-align: start;
  }

  .feature-item {
    margin-top: 0;
  }

  .experience-image,
  .feature-item .experience-image {
    height: 520px;
  }

  .experience-meta h3 {
    font-size: 23px;
  }

  .collection-note {
    justify-content: flex-start;
    margin-top: 55px;
  }

  .collection-note p {
    font-size: 18px;
  }

  .map-heading,
  .features-heading,
  .completed-heading {
    display: block;
  }

  .map-heading h2,
  .features-heading h2,
  .completed-heading h2 {
    margin-top: 26px;
    font-size: 54px;
    letter-spacing: -2px;
  }

  .map-heading > p,
  .features-heading > p,
  .completed-intro {
    margin-top: 25px;
  }

  .map-intro-tiles {
    margin-top: 24px;
  }

  .map-stage {
    margin-top: 36px;
  }

  .map-toolbar {
    display: block;
    padding: 20px;
  }

  .map-toolbar > div:last-child {
    margin-top: 18px;
    flex-wrap: wrap;
  }

  .map-canvas {
    aspect-ratio: 2048 / 1229;
    height: auto;
  }

  .bucket-pin {
    width: 24px;
    height: 24px;
  }

  .bucket-pin::before {
    display: none;
  }

  .bucket-pin > span {
    top: 50%;
    width: 18px;
    height: 18px;
    background-size: contain;
  }

  .map-intro-tiles {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .map-view-card,
  .map-itinerary-card {
    justify-self: stretch;
    width: 100%;
  }

  .map-feature-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 24px 24px;
  }

  .map-feature-art {
    width: 54px;
    height: 54px;
  }

  .map-feature-art svg {
    width: 35px;
    height: 35px;
  }

  .map-feature-card h3 {
    max-width: none;
    font-size: 27px;
  }

  .map-feature-card span {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .map-feature-card span {
    max-width: none;
  }

  .map-preview {
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 30px 1fr;
    width: 74px;
    height: 82px;
    min-height: 0;
  }

  .map-preview img {
    width: 100%;
    height: 30px;
  }

  .map-preview > div {
    padding: 5px 6px 6px;
  }

  .map-preview h3 {
    font-size: 8px;
  }

  .map-footer {
    padding: 15px 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .share-card {
    grid-column: auto;
  }

  .product-card {
    min-height: 640px;
  }

  .product-copy {
    padding: 31px 25px 27px;
  }

  .product-copy h3 {
    font-size: 33px;
  }

  .collection-stack p {
    font-size: 16px;
  }

  .share-card .share-preview {
    min-height: 420px;
  }

  .completed-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    overflow: visible;
    margin-top: 42px;
    padding-bottom: 0;
  }

  .memory {
    min-height: 0;
    aspect-ratio: 1 / 1.22;
  }

  .memory-caption {
    right: 11px;
    bottom: 12px;
    left: 11px;
    grid-template-columns: 25px 1fr;
    gap: 8px;
  }

  .done-seal {
    width: 25px;
    height: 25px;
    font-size: 9px;
  }

  .memory-caption p {
    margin-bottom: 4px;
    font-size: 5.5px;
    letter-spacing: 0.95px;
  }

  .memory-caption h3 {
    max-width: 118px;
    font-size: 14px;
  }

  .memory-placeholder-art {
    inset: 12px;
    gap: 9px;
    padding: 15px 13px 46px;
  }

  .completed-footer {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-content: stretch;
    margin-top: 42px;
  }

  .completed-quote {
    justify-self: start;
    max-width: 360px;
    margin-left: 0;
    font-size: 22px;
  }

  .completed-pride {
    justify-self: end;
  }

  .moment-section {
    display: block;
    min-height: auto;
  }

  .moment-copy {
    padding: 90px 20px 50px;
  }

  .moment-copy h2 {
    font-size: 49px;
    letter-spacing: -2px;
  }

  .moment-signal {
    height: 420px;
    overflow: hidden;
  }

  .ring-three {
    width: 400px;
    height: 400px;
  }

  .story-section {
    gap: 55px;
  }

  .story-mark {
    min-height: 0;
    padding: 18px 20px;
  }

  .story-mark span {
    font-size: 29px;
  }

  .story-copy blockquote {
    font-size: 43px;
    letter-spacing: -1.8px;
  }

  .join-copy h2 {
    font-size: 51px;
    letter-spacing: -2px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 28px 20px;
  }

  footer p {
    display: none;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .legal-header {
    width: calc(100% - 36px);
  }

  .legal-page {
    width: calc(100% - 40px);
    padding: 100px 0 90px;
  }

  .legal-page h1 {
    letter-spacing: -2.4px;
  }
}

/* Consolidated experience hub and map refinement */

[hidden] {
  display: none !important;
}

.sheet-item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.sheet-item img {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23, 32, 26, 0.12);
  object-fit: cover;
  filter: saturate(0.9) contrast(0.98);
}

.sheet-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

.product-card {
  min-height: 640px;
}

.map-section {
  padding-top: 76px;
  padding-bottom: 96px;
}

.map-intro-tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 960px;
  margin-top: 24px;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(53, 66, 55, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(143, 101, 62, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(25, 35, 27, 0.98), rgba(12, 20, 15, 0.98));
  box-shadow:
    0 20px 48px rgba(24, 31, 25, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.map-feature-card {
  grid-template-columns: 50px 1fr;
  gap: 16px;
  padding: 18px 22px 20px;
  min-height: 126px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.map-feature-card::after {
  display: none;
}

.map-view-card {
  border-right: 1px solid rgba(230, 216, 191, 0.13);
}

.map-feature-art {
  width: 50px;
  height: 50px;
  border-color: rgba(211, 175, 112, 0.24);
  border-radius: 7px;
  background:
    radial-gradient(circle at 82% 78%, rgba(255, 230, 175, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(118, 51, 43, 0.78), rgba(72, 56, 35, 0.66));
}

.globe-art {
  font-size: 29px;
}

.map-feature-art svg {
  width: 31px;
  height: 31px;
}

.map-feature-card p {
  margin-bottom: 6px;
  font-size: 8px;
}

.map-feature-card h3 {
  margin-bottom: 7px;
  font-size: 26px;
}

.map-feature-card span {
  font-size: 11.8px;
  line-height: 1.42;
}

.map-stage {
  margin-top: 30px;
  overflow: hidden;
  border-color: rgba(23, 32, 26, 0.17);
  box-shadow: 0 26px 68px rgba(30, 35, 29, 0.11);
}

.map-toolbar {
  min-height: 88px;
  padding: 20px 24px;
}

.map-world-summary h3 {
  font-size: 27px;
}

.map-world-summary h3 span {
  margin-left: 6px;
  color: #737970;
  font: 500 10px/1 "Manrope", sans-serif;
  letter-spacing: 0.2px;
}

.map-filter-group {
  display: flex;
  align-items: center;
  gap: 7px;
}

.map-toolbar > div.map-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-zoom-controls {
  display: grid;
  grid-template-columns: 34px 42px 34px;
  align-items: center;
  min-height: 38px;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 26, 0.16);
  border-radius: 9px;
  background: rgba(255, 252, 245, 0.34);
}

.map-zoom-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 36px;
  padding: 0;
  border: 0;
  color: #344139;
  background: transparent;
  cursor: pointer;
  font: 500 19px/1 "DM Sans", sans-serif;
}

.map-zoom-controls button:hover:not(:disabled) {
  color: #fff8ea;
  background: var(--forest);
}

.map-zoom-controls button:disabled {
  color: rgba(52, 65, 57, 0.25);
  cursor: default;
}

.map-zoom-controls output {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-right: 1px solid rgba(23, 32, 26, 0.12);
  border-left: 1px solid rgba(23, 32, 26, 0.12);
  color: #6b726a;
  font: 650 7px/1 "Manrope", sans-serif;
  letter-spacing: 0.5px;
}

.map-filter {
  min-height: 38px;
  padding: 10px 16px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.map-filter:focus-visible,
.bucket-pin:focus-visible,
.experience-tabs button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.map-viewport {
  position: relative;
  aspect-ratio: 2048 / 1229;
  overflow: auto;
  background: #b5ced0;
  scrollbar-color: rgba(107, 70, 52, 0.48) transparent;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.map-viewport:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}

.map-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 100%;
  --pin-art-size: 17px;
}

.map-base {
  filter: saturate(0.94) contrast(1.02);
}

.bucket-pin {
  width: 42px;
  height: 42px;
}

.bucket-pin > span {
  width: var(--pin-art-size);
  height: var(--pin-art-size);
  transition: width 180ms ease, height 180ms ease, filter 180ms ease;
}

.bucket-pin.active > span {
  filter:
    drop-shadow(0 0 0.8px rgba(255, 247, 231, 0.8))
    drop-shadow(0 0 9px rgba(122, 51, 45, 0.48))
    drop-shadow(0 5px 7px rgba(7, 21, 39, 0.36));
}

.bucket-pin.is-dimmed {
  pointer-events: none;
  opacity: 0.08;
}

.map-preview {
  grid-template-columns: 38px 1fr;
  grid-template-rows: 1fr;
  width: 110px;
  height: 56px;
  border-radius: 7px;
  border-color: rgba(255, 255, 255, 0.18);
  background: #142019;
  box-shadow: 0 9px 20px rgba(13, 25, 17, 0.22);
  backdrop-filter: none;
}

.map-preview::before {
  display: none;
}

.map-preview img {
  width: 38px;
  height: 56px;
}

.map-preview > div {
  min-width: 0;
  padding: 7px;
}

.map-preview p {
  margin-bottom: 4px;
  font-size: 4px;
  letter-spacing: 0.55px;
}

.map-preview h3 {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  font-size: 8.8px;
  line-height: 1.04;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.map-preview span {
  display: none;
}

.map-cluster-label {
  position: absolute;
  z-index: 5;
  top: 43.5%;
  left: 54.5%;
  padding: 5px 8px;
  border: 1px solid rgba(255, 248, 234, 0.42);
  border-radius: 100px;
  color: #fff8ea;
  background: rgba(73, 37, 30, 0.9);
  box-shadow: 0 7px 18px rgba(26, 31, 25, 0.22);
  font: 700 6px/1 "Manrope", sans-serif;
  letter-spacing: 0.7px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.map-label-layer {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.map-label {
  position: absolute;
  color: rgba(52, 67, 64, 0.58);
  text-shadow:
    0 1px 0 rgba(255, 252, 242, 0.9),
    0 0 5px rgba(255, 252, 242, 0.75);
  font: 650 clamp(6px, 0.58vw, 9px) / 1 "DM Sans", sans-serif;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.map-label.water {
  color: rgba(58, 91, 98, 0.48);
  font-family: "Newsreader", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.map-label.region {
  color: rgba(44, 60, 56, 0.5);
  font-size: clamp(7px, 0.72vw, 11px);
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.map-label.detail {
  opacity: 0;
}

.map-label.terrain {
  color: rgba(104, 87, 66, 0.58);
  font-family: "Newsreader", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 180ms ease;
}

.map-canvas[data-map-zoom-level="detail"] .map-label.detail,
.map-canvas[data-map-zoom-level="close"] .map-label.detail {
  opacity: 0.72;
}

.label-canada { top: 31%; left: 25%; }
.label-united-states { top: 49%; left: 24.8%; }
.label-mexico { top: 59.5%; left: 26.5%; }
.label-brazil { top: 75%; left: 34.5%; }
.label-argentina { top: 88%; left: 30.7%; }
.label-iceland { top: 26.3%; left: 43.7%; }
.label-united-kingdom { top: 46.1%; left: 49.2%; }
.label-spain { top: 53.6%; left: 49.7%; }
.label-france { top: 49.8%; left: 51.3%; }
.label-italy { top: 50.7%; left: 53.8%; }
.label-morocco { top: 58.7%; left: 49.4%; }
.label-egypt { top: 61.2%; left: 57.2%; }
.label-south-africa { top: 88.4%; left: 56.4%; }
.label-india { top: 65.4%; left: 72.5%; }
.label-china { top: 57%; left: 80.5%; }
.label-japan { top: 52.2%; left: 89.5%; }
.label-indonesia { top: 75.4%; left: 82.5%; }
.label-australia { top: 86%; left: 89%; }
.label-europe { top: 47.2%; left: 55.7%; }
.label-africa { top: 71%; left: 56%; }
.label-pacific-west { top: 67%; left: 9.5%; }
.label-atlantic { top: 67%; left: 42%; }
.label-indian-ocean { top: 80.5%; left: 70.4%; }
.label-pacific-east { top: 66%; left: 96%; }
.label-rockies { top: 43.5%; left: 20.4%; transform: translate(-50%, -50%) rotate(-64deg); }
.label-andes { top: 77%; left: 27.5%; transform: translate(-50%, -50%) rotate(-69deg); }
.label-alps { top: 50.5%; left: 53%; }
.label-sahara { top: 65%; left: 52.5%; }
.label-mediterranean { top: 57.2%; left: 54.5%; }
.label-himalayas { top: 60.8%; left: 75%; }

.map-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 58px;
  padding: 13px 20px;
}

.map-footer p:last-child {
  justify-self: end;
}

.map-mobile-hint {
  display: none;
  color: #7c8178 !important;
  font-style: italic;
}

.anchor-compat {
  position: absolute;
  top: 0;
  left: 0;
}

.experience-hub {
  position: relative;
  overflow: hidden;
  padding: 118px max(36px, calc((100vw - 1440px) / 2)) 106px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(133, 68, 52, 0.1), transparent 24%),
    radial-gradient(circle at 92% 3%, rgba(113, 126, 103, 0.16), transparent 29%),
    linear-gradient(180deg, #e0d9cb 0%, #d5ccbe 100%);
}

.experience-hub::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23,32,26,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,32,26,0.023) 1px, transparent 1px);
  background-size: 100% 64px, 64px 100%;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.28), transparent 66%);
  content: "";
  pointer-events: none;
}

.experience-hub-heading,
.experience-tabs,
.experience-panel {
  position: relative;
  z-index: 1;
}

.experience-hub-heading {
  display: grid;
  grid-template-columns: 0.22fr minmax(0, 1fr) minmax(300px, 0.44fr);
  gap: 54px;
  align-items: end;
}

.experience-hub-heading h2 {
  max-width: 840px;
  margin: 0;
  font: 400 clamp(55px, 5.4vw, 84px) / 0.96 "Newsreader", serif;
  letter-spacing: -3.1px;
}

.experience-hub-heading h2 em {
  color: #6d7869;
  font-weight: 400;
}

.experience-hub-heading > p {
  max-width: 390px;
  margin: 0;
  color: #5f665d;
  font-size: 14px;
  line-height: 1.72;
}

.experience-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 650px;
  margin: 46px auto 0;
  padding: 6px;
  border: 1px solid rgba(23,32,26,0.15);
  border-radius: 12px;
  background: rgba(243, 237, 226, 0.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42);
}

.experience-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #72786f;
  background: transparent;
  cursor: pointer;
  font: 600 10px/1 "Manrope", sans-serif;
  letter-spacing: 0.2px;
}

.experience-tabs button strong {
  font-size: 9px;
}

.experience-tabs button.active {
  color: #fff8ea;
  border-color: rgba(255,255,255,0.12);
  background:
    radial-gradient(circle at 84% 18%, rgba(211, 170, 95, 0.22), transparent 38%),
    linear-gradient(135deg, #7a332d, #4a251e);
  box-shadow: 0 10px 24px rgba(74, 37, 30, 0.13);
}

.experience-panel {
  margin-top: 30px;
}

.experience-hub .experience-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
  overflow: visible;
}

.experience-hub .experience-item,
.experience-hub .feature-item {
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(23,32,26,0.16);
  background: #17231c;
  box-shadow: 0 22px 52px rgba(30, 35, 29, 0.14);
}

.experience-hub .experience-image,
.experience-hub .feature-item .experience-image {
  height: clamp(380px, 32vw, 440px);
}

.experience-hub .experience-meta {
  min-height: 116px;
  padding: 22px 24px;
  color: white;
  background: #17231c;
}

.experience-hub .experience-meta p {
  color: rgba(255,255,255,0.45);
}

.experience-hub .experience-meta h3 {
  font-size: 25px;
}

.experience-hub .when {
  color: rgba(255,255,255,0.45);
}

.experience-panel-note {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.experience-panel-note p {
  max-width: 580px;
  margin: 0;
  padding-left: 26px;
  border-left: 1px solid #9b694a;
  color: #545d54;
  font: 400 20px/1.5 "Newsreader", serif;
}

.lived-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lived-memory {
  min-height: 0;
  height: clamp(360px, 32vw, 455px);
  aspect-ratio: auto;
}

.lived-share-memory {
  order: -1;
}

.lived-share-memory img {
  object-position: center center;
}

.lived-share-memory .share-overlay {
  inset: 20px;
  color: white;
}

.lived-share-copy p {
  margin-bottom: 7px;
}

.lived-share-copy h4 {
  max-width: 330px;
  margin-bottom: 8px;
  font-size: clamp(29px, 2.6vw, 42px);
}

.lived-share-copy blockquote {
  max-width: 320px;
  font-size: 14px;
}

.lived-memory.memory-sensoji img {
  object-position: 64% 50%;
}

.experience-hub-footer {
  display: grid;
  grid-template-columns: minmax(360px, 560px) auto;
  gap: clamp(56px, 8vw, 130px);
  align-items: end;
  justify-content: end;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(23,32,26,0.19);
}

.experience-hub-footer .completed-quote {
  justify-self: end;
}

@media (max-width: 1050px) {
  .map-section {
    padding-right: 28px;
    padding-left: 28px;
  }

  .map-intro-tiles {
    width: 100%;
    max-width: 920px;
  }

  .map-feature-card h3 {
    font-size: clamp(23px, 3vw, 26px);
  }

  .map-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 17px;
    align-items: start;
  }

  .map-toolbar-actions {
    justify-content: space-between;
    width: 100%;
  }

  .experience-hub-heading {
    grid-template-columns: 0.2fr 1fr;
  }

  .experience-hub-heading > p {
    grid-column: 2;
    justify-self: start;
    max-width: 560px;
    margin-top: 18px;
  }

  .lived-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lived-share-memory {
    grid-column: 1 / -1;
    height: 420px;
  }
}

@media (max-width: 680px) {
  .page-rail {
    display: none;
  }

  .sheet-item {
    gap: 9px;
  }

  .sheet-item img {
    width: 34px;
    height: 34px;
  }

  .app-sidebar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
  }

  .app-sidebar-brand {
    margin: 0;
  }

  .app-sidebar-brand img {
    width: 34px;
    height: 34px;
  }

  .app-sidebar .app-nav-group {
    display: none;
  }

  .app-sidebar .lived-memory-button {
    width: auto;
    margin: 0;
    padding: 10px 12px;
  }

  .app-sidebar .lived-memory-button span {
    font-size: 11px;
  }

  .app-sidebar .lived-memory-button small {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .map-section {
    padding: 72px 20px 48px;
  }

  .map-heading h2 {
    margin-top: 22px;
    font-size: 49px;
    line-height: 0.98;
  }

  .map-intro-tiles {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 20px;
    padding: 6px;
    border-radius: 12px;
  }

  .map-feature-card {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 17px 18px 18px;
    min-height: 0;
    border-radius: 7px;
  }

  .map-view-card {
    border-right: 0;
    border-bottom: 1px solid rgba(230, 216, 191, 0.13);
  }

  .map-feature-art {
    width: 48px;
    height: 48px;
  }

  .globe-art {
    font-size: 28px;
  }

  .map-feature-card h3 {
    font-size: 23px;
    line-height: 1.02;
  }

  .map-feature-card span {
    font-size: 11px;
  }

  .map-stage {
    margin-top: 24px;
  }

  .map-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 10px;
    min-height: 0;
    padding: 17px 18px 15px;
  }

  .map-world-summary h3 {
    font-size: 23px;
  }

  .map-world-summary h3 span {
    display: block;
    margin: 6px 0 0;
  }

  .map-toolbar > div.map-toolbar-actions {
    display: contents;
  }

  .map-filter-group {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: nowrap !important;
    gap: 6px;
    width: 100%;
    margin-top: 0 !important;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .map-filter-group::-webkit-scrollbar,
  .map-viewport::-webkit-scrollbar,
  .ahead-gallery::-webkit-scrollbar,
  .lived-gallery::-webkit-scrollbar {
    display: none;
  }

  .map-filter {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 9px 14px;
  }

  .map-zoom-controls {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    grid-template-columns: 30px 38px 30px;
    min-height: 36px;
  }

  .map-zoom-controls button {
    width: 30px;
    height: 34px;
  }

  .map-viewport {
    aspect-ratio: auto;
    height: 432px;
    overflow: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }

  .map-canvas {
    width: 720px;
    max-width: none;
    min-width: 720px;
    --pin-art-size: 16px;
  }

  .bucket-pin {
    width: 42px;
    height: 42px;
  }

  .bucket-pin > span {
    width: var(--pin-art-size);
    height: var(--pin-art-size);
  }

  .map-preview {
    grid-template-columns: 48px 1fr;
    width: 132px;
    height: 68px;
  }

  .map-preview img {
    width: 48px;
    height: 68px;
  }

  .map-preview h3 {
    font-size: 10px;
  }

  .map-cluster-label {
    padding: 5px 7px;
  }

  .map-footer {
    grid-template-columns: 1fr auto;
    gap: 7px 12px;
    padding: 12px 15px;
  }

  .map-footer p:last-child {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .map-mobile-hint {
    display: block;
    justify-self: end;
  }

  .experience-hub {
    padding: 64px 20px 76px;
  }

  .experience-hub-heading {
    display: block;
  }

  .experience-hub-heading h2 {
    margin-top: 22px;
    font-size: 49px;
    line-height: 0.98;
    letter-spacing: -2px;
  }

  .experience-hub-heading > p {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.68;
  }

  .experience-tabs {
    margin-top: 30px;
  }

  .experience-tabs button {
    min-height: 45px;
    padding: 11px 10px;
    font-size: 9px;
  }

  .experience-panel {
    margin-top: 20px;
  }

  .experience-hub .experience-gallery,
  .lived-gallery {
    display: flex;
    gap: 12px;
    margin-right: -20px;
    overflow-x: auto;
    padding-right: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .experience-hub .experience-item {
    flex: 0 0 81vw;
    scroll-snap-align: start;
  }

  .experience-hub .experience-image,
  .experience-hub .feature-item .experience-image {
    height: 430px;
  }

  .experience-hub .experience-meta {
    min-height: 106px;
    padding: 19px 20px;
  }

  .experience-hub .experience-meta h3 {
    font-size: 23px;
  }

  .experience-panel-note {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .experience-panel-note p {
    max-width: 340px;
    padding-left: 20px;
    font-size: 18px;
  }

  .lived-memory {
    flex: 0 0 78vw;
    height: 300px;
    scroll-snap-align: start;
  }

  .lived-share-memory {
    flex-basis: calc(100vw - 40px);
    height: 300px;
  }

  .lived-share-memory .share-overlay {
    inset: 17px;
  }

  .lived-share-copy h4 {
    font-size: 31px;
  }

  .lived-share-copy blockquote {
    max-width: 250px;
    font-size: 13px;
  }

  .lived-memory .memory-caption {
    right: 15px;
    bottom: 16px;
    left: 15px;
    grid-template-columns: 29px 1fr;
    gap: 10px;
  }

  .lived-memory .done-seal {
    width: 29px;
    height: 29px;
  }

  .lived-memory .memory-caption p {
    font-size: 6px;
  }

  .lived-memory .memory-caption h3 {
    max-width: 210px;
    font-size: 18px;
  }

  .experience-hub-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 32px;
  }

  .experience-hub-footer .completed-quote {
    justify-self: start;
    margin-left: 0;
    font-size: 21px;
  }

  .experience-hub-footer .completed-pride {
    justify-self: end;
  }
}

/* Interactive Bucket previews: list views, trip clusters, Near Me, and lived map */

.bucket-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bucket-view-tabs button {
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(23, 32, 26, 0.1);
  border-radius: 7px;
  color: #6f766d;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  font: 650 8px/1 "Manrope", sans-serif;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.bucket-view-tabs button:hover {
  border-color: rgba(23, 32, 26, 0.2);
  color: var(--forest);
  background: rgba(255, 255, 255, 0.58);
  transform: translateY(-1px);
}

.bucket-view-tabs button.active {
  border-color: rgba(143, 33, 29, 0.28);
  color: var(--forest);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 7px 18px rgba(40, 43, 36, 0.07);
}

.bucket-view-tabs button.shared-pill {
  border-color: rgba(124, 83, 64, 0.18);
  color: #463e38;
  background:
    linear-gradient(135deg, rgba(236, 112, 92, 0.34), rgba(238, 194, 91, 0.42) 46%, rgba(95, 151, 178, 0.32)),
    rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.bucket-view-tabs button.shared-pill.active {
  border-color: rgba(107, 72, 60, 0.28);
  background:
    linear-gradient(135deg, rgba(227, 98, 80, 0.5), rgba(231, 179, 67, 0.54) 46%, rgba(76, 137, 166, 0.44)),
    rgba(255, 255, 255, 0.78);
  box-shadow:
    0 8px 20px rgba(80, 53, 43, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.bucket-view-tabs button:focus-visible,
.lived-memory-button:focus-visible,
.trip-opportunity:focus-visible,
.nearby-item:focus-visible,
.map-cluster-label:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.bucket-sheet-rows .sheet-row {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.bucket-sheet-rows.is-updating .sheet-row {
  opacity: 0;
  transform: translateY(5px);
}

.sheet-row em.shared-with {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 8px 4px 4px;
  border-color: rgba(120, 74, 56, 0.16);
  color: #5a443a;
  background:
    linear-gradient(135deg, rgba(222, 115, 93, 0.2), rgba(224, 184, 93, 0.2) 50%, rgba(102, 152, 177, 0.16)),
    rgba(255, 255, 255, 0.64);
  letter-spacing: 0.25px;
  text-transform: none;
}

.sheet-row em.shared-with i {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff8eb;
  background: #744038;
  font: 700 6px/1 "Manrope", sans-serif;
  font-style: normal;
}

.sheet-row em.shared-with span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lived-memory-button {
  position: relative;
  min-height: 72px;
  padding: 16px 15px 17px;
  overflow: hidden;
  border-color: rgba(224, 190, 130, 0.32);
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 88%, rgba(222, 169, 79, 0.3), transparent 36%),
    radial-gradient(circle at 96% 4%, rgba(255, 230, 175, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(128, 51, 43, 0.96), rgba(121, 79, 38, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 15px 34px rgba(7, 14, 10, 0.2);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lived-memory-button:hover {
  border-color: rgba(239, 205, 143, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 38px rgba(7, 14, 10, 0.28);
  transform: translateY(-2px);
}

.map-world-summary h3 strong {
  font: inherit;
  font-weight: 400;
}

.map-mode-panel {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(23, 32, 26, 0.15);
}

.trip-planner {
  padding: 24px;
  background:
    radial-gradient(circle at 96% 0%, rgba(139, 89, 54, 0.1), transparent 36%),
    linear-gradient(180deg, #e9e3d8, #ded7ca);
}

.map-mode-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.55fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 19px;
}

.map-mode-intro p,
.nearby-heading p,
.lived-map-message p {
  margin: 0 0 7px;
  color: #7a7368;
  font: 700 7px/1 "Manrope", sans-serif;
  letter-spacing: 1.5px;
}

.map-mode-intro h3,
.nearby-heading h3,
.lived-map-message h3 {
  margin: 0;
  color: #243028;
  font: 400 30px/1.02 "Newsreader", serif;
  letter-spacing: -0.8px;
}

.map-mode-intro h3 em {
  color: #8f5a36;
  font-style: italic;
  font-weight: 400;
}

.map-mode-intro > span {
  max-width: 330px;
  color: #6d726a;
  font-size: 11px;
  line-height: 1.55;
}

.trip-opportunities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trip-opportunity {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  min-height: 140px;
  padding: 16px 15px 15px;
  overflow: hidden;
  border: 1px solid rgba(46, 58, 48, 0.14);
  border-radius: 12px;
  color: #354038;
  background: rgba(248, 244, 236, 0.68);
  box-shadow: 0 10px 25px rgba(31, 37, 31, 0.055);
  cursor: pointer;
  text-align: left;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.trip-opportunity:hover {
  border-color: rgba(125, 77, 52, 0.3);
  background: rgba(255, 252, 245, 0.88);
  box-shadow: 0 16px 32px rgba(31, 37, 31, 0.1);
  transform: translateY(-2px);
}

.trip-opportunity.active {
  border-color: rgba(202, 164, 100, 0.36);
  color: #f7edda;
  background:
    radial-gradient(circle at 100% 0%, rgba(176, 112, 65, 0.24), transparent 42%),
    linear-gradient(140deg, #1a281f, #101712);
  box-shadow:
    0 18px 36px rgba(18, 26, 20, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.trip-number {
  color: #9a8264;
  font: 500 9px/1 "Manrope", sans-serif;
  letter-spacing: 0.8px;
}

.trip-card-copy {
  display: grid;
  min-width: 0;
}

.trip-card-copy small {
  margin-bottom: 9px;
  color: #8a8073;
  font: 700 6px/1 "Manrope", sans-serif;
  letter-spacing: 0.8px;
}

.trip-card-copy strong {
  margin-bottom: 7px;
  color: #243028;
  font: 400 22px/1 "Newsreader", serif;
  letter-spacing: -0.45px;
}

.trip-card-copy > span {
  color: #72776f;
  font-size: 9px;
  line-height: 1.35;
}

.trip-opportunity.active .trip-card-copy strong {
  color: #fff6e5;
}

.trip-opportunity.active .trip-card-copy small,
.trip-opportunity.active .trip-card-copy > span {
  color: rgba(247, 237, 218, 0.58);
}

.trip-action {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  grid-column: 2;
  align-self: end;
  margin-top: 13px;
  color: #776b5f;
  font: 700 7px/1 "Manrope", sans-serif;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.trip-action .ui-icon {
  width: 10px;
  height: 10px;
}

.trip-opportunity.active .trip-action {
  color: #d8ba83;
}

.nearby-panel {
  padding: 25px;
  background:
    radial-gradient(circle at 2% 0%, rgba(91, 124, 104, 0.12), transparent 34%),
    #e7e1d5;
}

.nearby-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.current-location {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(50, 66, 56, 0.14);
  border-radius: 999px;
  color: #5d665f;
  background: rgba(255, 252, 245, 0.58);
  font: 650 8px/1 "Manrope", sans-serif;
  letter-spacing: 0.35px;
}

.current-location i,
.location-legend {
  width: 7px;
  height: 7px;
  border: 2px solid #f8f3e8;
  border-radius: 50%;
  background: #96483c;
  box-shadow: 0 0 0 2px rgba(150, 72, 60, 0.18);
}

.nearby-list {
  overflow: hidden;
  border: 1px solid rgba(45, 58, 49, 0.14);
  border-radius: 13px;
  background: rgba(249, 246, 239, 0.66);
  box-shadow: 0 16px 36px rgba(29, 35, 30, 0.07);
}

.nearby-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 82px;
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 10px 12px 10px 18px;
  border: 0;
  border-top: 1px solid rgba(45, 58, 49, 0.1);
  color: #344038;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 170ms ease, box-shadow 170ms ease;
}

.nearby-item:first-child {
  border-top: 0;
}

.nearby-item:hover {
  background: rgba(255, 252, 246, 0.72);
}

.nearby-item.active {
  background:
    linear-gradient(90deg, rgba(116, 64, 52, 0.07), transparent 46%),
    rgba(255, 253, 248, 0.88);
  box-shadow: inset 3px 0 0 #87483d;
}

.nearby-distance {
  display: grid;
  color: #2c3830;
}

.nearby-distance strong {
  font: 400 30px/0.9 "Newsreader", serif;
  letter-spacing: -0.7px;
}

.nearby-distance small {
  margin-top: 5px;
  color: #8a897f;
  font: 700 6px/1 "Manrope", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nearby-copy {
  display: grid;
  min-width: 0;
}

.nearby-copy small {
  margin-bottom: 6px;
  color: #8b796b;
  font: 700 6px/1 "Manrope", sans-serif;
  letter-spacing: 1px;
}

.nearby-copy strong {
  overflow: hidden;
  color: #27342c;
  font: 500 20px/1.02 "Newsreader", serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nearby-copy > span {
  margin-top: 6px;
  color: #7b8078;
  font-size: 8px;
}

.nearby-mini-map {
  position: relative;
  display: block;
  width: 72px;
  height: 67px;
  overflow: hidden;
  border: 1px solid rgba(45, 58, 49, 0.14);
  border-radius: 10px;
  background-color: #cad8d3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.nearby-mini-map::before {
  position: absolute;
  inset: -16px;
  background:
    linear-gradient(28deg, transparent 43%, rgba(250, 246, 233, 0.92) 44% 48%, transparent 49%),
    linear-gradient(112deg, transparent 39%, rgba(250, 246, 233, 0.72) 40% 43%, transparent 44%),
    linear-gradient(172deg, transparent 55%, rgba(105, 137, 134, 0.38) 56% 64%, transparent 65%);
  content: "";
  transform: rotate(7deg);
}

.nearby-mini-map i {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 19px;
  height: 19px;
  background: url("assets/bucket-map-pin-bucket-only.png") center / contain no-repeat;
  filter: drop-shadow(0 4px 5px rgba(29, 43, 35, 0.32));
  transform: translate(-50%, -50%);
}

.map-tone-brick { background-color: #d8c3b5; }
.map-tone-sage { background-color: #cbd7c9; }
.map-tone-river { background-color: #bcd4d7; }
.map-tone-gold { background-color: #ded0ac; }
.map-tone-night { background-color: #b8c4bc; }

.lived-map-panel {
  display: grid;
  grid-template-columns: 0.55fr 1.25fr 0.8fr;
  gap: 28px;
  align-items: center;
  min-height: 164px;
  padding: 24px 28px;
  color: #faeedb;
  background:
    radial-gradient(circle at 12% 100%, rgba(170, 85, 62, 0.32), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(202, 163, 91, 0.18), transparent 38%),
    linear-gradient(135deg, #2a211a, #111a14 68%);
}

.lived-map-stat {
  display: flex;
  gap: 13px;
  align-items: center;
}

.lived-map-stat > span {
  color: #d7b477;
  font: 400 58px/0.8 "Newsreader", serif;
  letter-spacing: -2px;
}

.lived-map-stat p {
  display: grid;
  margin: 0;
}

.lived-map-stat strong {
  color: #fff4e1;
  font: 500 12px/1.2 "Manrope", sans-serif;
}

.lived-map-stat small {
  margin-top: 5px;
  color: rgba(250, 238, 219, 0.48);
  font-size: 8px;
}

.lived-map-message {
  padding-left: 28px;
  border-left: 1px solid rgba(229, 202, 151, 0.18);
}

.lived-map-message p {
  color: #b99b70;
}

.lived-map-message h3 {
  color: #fff3df;
}

.lived-map-message > span {
  display: block;
  max-width: 460px;
  margin-top: 8px;
  color: rgba(250, 238, 219, 0.52);
  font-size: 10px;
  line-height: 1.45;
}

.lived-map-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(229, 202, 151, 0.16);
  border-radius: 10px;
}

.lived-map-stats span {
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 12px 8px;
  border-left: 1px solid rgba(229, 202, 151, 0.13);
  color: rgba(250, 238, 219, 0.48);
  font: 600 6px/1.2 "Manrope", sans-serif;
  letter-spacing: 0.4px;
  text-align: center;
}

.lived-map-stats span:first-child {
  border-left: 0;
}

.lived-map-stats strong {
  color: #e2c18a;
  font: 400 23px/1 "Newsreader", serif;
}

.map-stage[data-map-mode="near"] .map-zoom-controls {
  display: none;
}

.map-stage[data-map-mode="lived"] .map-base {
  filter: saturate(0.72) sepia(0.12) contrast(1.03);
}

.map-stage[data-map-mode="lived"] .map-canvas::before {
  background:
    linear-gradient(180deg, rgba(255, 239, 214, 0.1), rgba(79, 43, 32, 0.04) 50%, rgba(79, 43, 32, 0.12)),
    radial-gradient(circle at 48% 48%, transparent 42%, rgba(67, 40, 30, 0.14) 100%);
}

.bucket-pin.is-trip-muted {
  pointer-events: none;
  opacity: 0.25;
}

.bucket-pin.is-trip-focus > span {
  filter:
    drop-shadow(0 0 1px rgba(255, 246, 222, 0.9))
    drop-shadow(0 0 9px rgba(171, 105, 58, 0.66))
    drop-shadow(0 5px 7px rgba(7, 21, 39, 0.34));
}

.bucket-pin.pin-oahu,
.bucket-pin.pin-caribbean {
  display: grid;
}

.bucket-pin.pin-oahu { top: 49.8%; left: 12.1%; }
.bucket-pin.pin-caribbean { top: 59%; left: 31.1%; }
.bucket-pin.pin-florence { top: 47%; left: 53.55%; }
.bucket-pin.pin-lake-como { top: 44.3%; left: 53.25%; }
.bucket-pin.pin-amalfi { top: 50.2%; left: 54.25%; }
.bucket-pin.pin-blue-lagoon { top: 29.4%; left: 43.1%; }
.bucket-pin.pin-skogafoss { top: 29.1%; left: 43.8%; }
.bucket-pin.pin-dc3 { top: 30%; left: 43.5%; }
.bucket-pin.pin-diamond-beach { top: 29.5%; left: 44.4%; }
.bucket-pin.pin-tokyo-tower { top: 48.4%; left: 89.25%; }
.bucket-pin.pin-skytree { top: 49.2%; left: 90.1%; }
.bucket-pin.pin-cherry-blossom { top: 50.4%; left: 89.2%; }
.bucket-pin.pin-onsen { top: 50.6%; left: 90.1%; }
.bucket-pin.pin-nyc-heli { top: 44.5%; left: 28.65%; }
.bucket-pin.pin-statue-liberty { top: 46.9%; left: 28.75%; }
.bucket-pin.pin-illusions { top: 44.6%; left: 30.15%; }
.bucket-pin.pin-carbone { top: 47%; left: 30.2%; }
.bucket-pin.pin-acropolis { top: 56.2%; left: 56.15%; }
.bucket-pin.pin-giza { top: 61.2%; left: 57.65%; }
.bucket-pin.pin-rio { top: 75.2%; left: 34.2%; }
.bucket-pin.pin-nice { top: 50.4%; left: 51.8%; }
.bucket-pin.pin-matsumoto { top: 51.2%; left: 12.85%; }

.map-cluster-controls {
  position: absolute;
  z-index: 7;
  inset: 0;
  pointer-events: none;
}

.map-cluster-label {
  display: none;
  width: max-content;
  min-height: 22px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 248, 234, 0.46);
  border-radius: 999px;
  color: #fff8ea;
  background: rgba(60, 45, 35, 0.88);
  box-shadow: 0 7px 18px rgba(26, 31, 25, 0.22);
  cursor: pointer;
  font: 700 6px/1 "Manrope", sans-serif;
  letter-spacing: 0.55px;
  pointer-events: auto;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.map-cluster-label:hover,
.map-cluster-label.active {
  color: #241c16;
  background: #d6b276;
  transform: translate(-50%, -50%) scale(1.05);
}

.cluster-italy { top: 42%; left: 53.85%; }
.cluster-iceland { top: 24.9%; left: 43.8%; }
.cluster-japan { top: 45.4%; left: 89.8%; }
.cluster-nyc { top: 39.8%; left: 29.45%; }

.map-stage[data-map-mode="all"] .cluster-italy,
.map-stage[data-map-mode="all"] .cluster-nyc,
.map-stage[data-map-mode="trips"] .cluster-italy,
.map-stage[data-map-mode="trips"] .cluster-iceland,
.map-stage[data-map-mode="trips"] .cluster-japan {
  display: block;
}

.map-stage[data-map-mode="trips"] .cluster-nyc,
.map-stage[data-map-mode="lived"] .map-cluster-label {
  display: none;
}

.legend-bucket.lived {
  filter: sepia(0.28) saturate(1.24) drop-shadow(0 2px 3px rgba(76, 41, 31, 0.26));
}

.map-section {
  padding-top: 68px;
  padding-bottom: 88px;
}

.map-heading {
  grid-template-columns: clamp(104px, 12vw, 156px) minmax(0, 1fr);
  column-gap: clamp(28px, 3.4vw, 48px);
}

.map-heading h2 {
  max-width: 820px;
  text-wrap: balance;
}

.map-intro-tiles {
  margin-top: 20px;
}

.map-feature-card {
  min-height: 116px;
}

.map-stage {
  width: 100%;
  max-width: 1220px;
  margin: 24px auto 0;
  overflow: hidden;
  border-color: rgba(32, 42, 34, 0.17);
  border-radius: 14px;
  background: #d8d2c5;
  box-shadow:
    0 34px 80px rgba(25, 32, 26, 0.13),
    0 2px 8px rgba(25, 32, 26, 0.05);
}

.map-toolbar {
  display: grid;
  grid-template-columns: minmax(190px, 0.56fr) minmax(260px, 0.88fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 94px;
  padding: 18px 21px;
  background:
    linear-gradient(180deg, rgba(248, 245, 237, 0.88), rgba(234, 228, 216, 0.94)),
    #ece7dc;
}

.map-world-summary {
  min-width: 0;
}

.map-world-summary h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 7px;
  align-items: baseline;
}

.map-search {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 26px;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 42px;
  padding: 0 9px 0 13px;
  border: 1px solid rgba(40, 53, 43, 0.15);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 20px rgba(35, 42, 35, 0.04);
  transition: border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.map-search:focus-within {
  border-color: rgba(111, 74, 52, 0.36);
  background: rgba(255, 253, 248, 0.9);
  box-shadow:
    0 0 0 3px rgba(171, 128, 82, 0.1),
    0 12px 26px rgba(35, 42, 35, 0.07);
}

.map-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #7a7f76;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.map-search input {
  min-width: 0;
  height: 38px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #27332b;
  background: transparent;
  font: 500 11px/1 "DM Sans", sans-serif;
}

.map-search input::placeholder {
  color: #8a8e86;
  opacity: 1;
}

.map-search input::-webkit-search-cancel-button {
  display: none;
}

.map-search button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #656c65;
  background: rgba(41, 54, 44, 0.08);
  cursor: pointer;
  font: 400 16px/1 "DM Sans", sans-serif;
}

.map-search button:hover {
  color: #fff8ea;
  background: var(--forest);
}

.map-search button .ui-icon {
  width: 11px;
  height: 11px;
}

.trip-route-layer {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.trip-route-layer polyline {
  fill: none;
  stroke: rgba(100, 54, 41, 0.94);
  stroke-dasharray: 3 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  filter:
    drop-shadow(0 0 2px rgba(255, 248, 225, 0.98))
    drop-shadow(0 2px 3px rgba(68, 42, 33, 0.36));
  opacity: 0;
  vector-effect: non-scaling-stroke;
  transition: opacity 220ms ease;
}

.map-canvas[data-active-filter="trips"][data-active-trip="italy"] [data-trip-route="italy"],
.map-canvas[data-active-filter="trips"][data-active-trip="iceland"] [data-trip-route="iceland"],
.map-canvas[data-active-filter="trips"][data-active-trip="japan"] [data-trip-route="japan"] {
  opacity: 1;
}

.bucket-pin.is-search-hidden {
  pointer-events: none;
  opacity: 0.035;
}

.map-stage[data-search-active="true"] .map-cluster-label {
  display: none !important;
}

.bucket-pin.is-trip-saved > span {
  filter:
    drop-shadow(0 0 1px rgba(255, 247, 231, 0.95))
    drop-shadow(0 0 9px rgba(194, 146, 70, 0.72))
    drop-shadow(0 5px 7px rgba(7, 21, 39, 0.34));
}

.bucket-pin.is-trip-excluded > span {
  opacity: 0.34;
  filter: grayscale(0.55) drop-shadow(0 2px 3px rgba(7, 21, 39, 0.22));
}

.map-selection-bar {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(300px, 1.08fr) minmax(230px, 0.78fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 94px;
  padding: 13px 17px;
  border-top: 1px solid rgba(28, 39, 31, 0.13);
  border-bottom: 1px solid rgba(28, 39, 31, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.84), rgba(237, 231, 219, 0.9)),
    #ece7dc;
}

.map-selection-identity {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 0;
}

.map-selection-identity img {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(39, 52, 42, 0.14);
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 9px 20px rgba(25, 32, 26, 0.1);
}

.map-selection-identity > div {
  min-width: 0;
}

.map-selection-identity p {
  margin: 0 0 5px;
  color: #8b7564;
  font: 700 6px/1 "Manrope", sans-serif;
  letter-spacing: 1.15px;
}

.map-selection-identity h3 {
  margin: 0;
  overflow: hidden;
  color: #233128;
  font: 500 23px/1.02 "Newsreader", serif;
  letter-spacing: -0.45px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-selection-identity span {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: #747a72;
  font: 650 7px/1 "Manrope", sans-serif;
  letter-spacing: 0.65px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-selection-note {
  margin: 0;
  padding-left: 22px;
  border-left: 1px solid rgba(38, 50, 41, 0.12);
  color: #666e67;
  font: 400 12px/1.45 "Newsreader", serif;
  font-style: italic;
}

.map-selection-actions {
  display: flex;
  gap: 7px;
  justify-content: flex-end;
}

.map-selection-actions button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(41, 54, 44, 0.16);
  border-radius: 8px;
  color: #475149;
  background: rgba(255, 253, 248, 0.64);
  cursor: pointer;
  font: 700 7px/1 "Manrope", sans-serif;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.map-selection-actions button:hover {
  border-color: rgba(122, 76, 53, 0.3);
  background: #fffaf0;
  transform: translateY(-1px);
}

.map-selection-actions button.primary {
  border-color: #18251d;
  color: #fff6e4;
  background: #18251d;
}

.map-selection-actions button.added {
  border-color: rgba(140, 93, 49, 0.27);
  color: #704832;
  background: rgba(213, 180, 120, 0.23);
}

.map-selection-actions button:focus-visible,
.map-search button:focus-visible,
.map-search input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.map-stage[data-map-mode="near"] .map-selection-bar {
  display: none;
}

.map-selection-bar[data-selection-mode="lived"] {
  background:
    radial-gradient(circle at 0% 100%, rgba(150, 73, 56, 0.09), transparent 28%),
    linear-gradient(90deg, rgba(248, 239, 224, 0.94), rgba(229, 219, 202, 0.94));
}

.map-selection-bar[data-selection-mode="lived"] .map-selection-identity p {
  color: #964f40;
}

.map-footer {
  min-height: 52px;
  background: #e7e1d5;
}

@media (max-width: 900px) {
  .map-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 13px 16px;
  }

  .map-world-summary {
    grid-column: 1;
    grid-row: 1;
  }

  .map-toolbar > div.map-toolbar-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .map-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .map-selection-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 18px;
  }

  .map-selection-note {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 10px 0 0;
    border-top: 1px solid rgba(38, 50, 41, 0.1);
    border-left: 0;
  }

  .map-selection-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .trip-opportunities {
    display: flex;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .trip-opportunity {
    flex: 0 0 min(72vw, 360px);
    scroll-snap-align: start;
  }

  .lived-map-panel {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .lived-map-stats {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .app-sidebar .lived-memory-button .lived-memory-title {
    font-size: 10px;
  }

  .app-sidebar .lived-memory-button .lived-memory-count {
    display: inline-flex;
    gap: 4px;
  }

  .app-sidebar .lived-memory-button .lived-memory-count strong {
    font-size: 17px;
  }

  .app-sidebar .lived-memory-button .lived-memory-count small {
    display: inline;
    font-size: 5.5px;
    letter-spacing: 0.5px;
  }

  .collection-stack > div {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
  }

  .collection-icon {
    width: 46px;
    height: 46px;
  }

  .collection-art {
    width: 37px;
    height: 37px;
  }

  .collection-title-row {
    gap: 8px;
  }

  .collection-title-row p {
    font-size: 17px;
  }

  .collection-count b {
    font-size: 16px;
  }

  .bucket-view-tabs {
    flex-wrap: nowrap;
    gap: 5px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .bucket-view-tabs::-webkit-scrollbar,
  .trip-opportunities::-webkit-scrollbar {
    display: none;
  }

  .bucket-view-tabs button {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 8px 10px;
  }

  .app-add-button {
    min-height: 32px;
  }

  .sheet-row em.shared-with {
    max-width: 84px;
  }

  .lived-memory-button {
    min-height: 76px;
    border-radius: 11px;
  }

  .map-stage {
    border-radius: 11px;
  }

  .map-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 10px;
    padding: 16px 17px 14px;
  }

  .map-search {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 40px;
  }

  .map-filter-group {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .map-zoom-controls {
    grid-column: 2;
    grid-row: 1;
  }

  .map-stage[data-map-mode="near"] .map-search {
    grid-row: 2;
  }

  .map-preview {
    display: none;
  }

  .map-selection-bar {
    grid-template-columns: 1fr;
    gap: 13px;
    min-height: 0;
    padding: 13px;
  }

  .map-selection-identity img {
    width: 56px;
    height: 56px;
  }

  .map-selection-identity h3 {
    font-size: 20px;
  }

  .map-selection-note {
    grid-column: 1;
    grid-row: auto;
    padding-top: 11px;
    font-size: 11px;
  }

  .map-selection-actions {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .map-selection-actions button {
    flex: 1 1 0;
  }

  .map-mode-intro {
    display: block;
    margin-bottom: 17px;
  }

  .map-mode-intro > span {
    display: block;
    margin-top: 10px;
    font-size: 10px;
  }

  .trip-planner,
  .nearby-panel {
    padding: 18px;
  }

  .map-mode-intro h3,
  .nearby-heading h3,
  .lived-map-message h3 {
    font-size: 25px;
  }

  .trip-opportunity {
    flex-basis: min(82vw, 320px);
    min-height: 136px;
  }

  .nearby-heading {
    display: block;
  }

  .current-location {
    margin-top: 13px;
  }

  .nearby-item {
    grid-template-columns: 54px minmax(0, 1fr) 60px;
    gap: 10px;
    min-height: 96px;
    padding: 9px 9px 9px 13px;
  }

  .nearby-distance strong {
    font-size: 26px;
  }

  .nearby-copy strong {
    display: -webkit-box;
    font-size: 16px;
    line-height: 1.04;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .nearby-copy > span {
    overflow: hidden;
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nearby-mini-map {
    width: 56px;
    height: 60px;
    border-radius: 9px;
  }

  .lived-map-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 20px;
  }

  .lived-map-message {
    padding: 18px 0 0;
    border-top: 1px solid rgba(229, 202, 151, 0.18);
    border-left: 0;
  }

  .lived-map-stats {
    grid-column: auto;
  }

  .map-cluster-label {
    min-height: 19px;
    padding: 4px 6px;
    font-size: 5px;
  }
}

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

  .experience-image img,
  .primary-link,
  .bucket-view-tabs button,
  .bucket-sheet-rows .sheet-row,
  .lived-memory-button,
  .trip-opportunity,
  .nearby-item,
  .map-cluster-label,
  .map-search,
  .map-selection-actions button,
  .trip-route-layer polyline {
    transition: none;
  }

  .primary-link::before,
  .primary-link-arrow,
  .primary-link-arrow .vector-arrow {
    transition: none;
  }
}
