:root {
  --local-violet: #5947ff;
  --local-sky: #75c7ff;
  --local-lime: #c9f45a;
  --local-coral: #ff725f;
  --local-ink: #151519;
  --local-paper: #f5f6fa;
  --local-line: #dfe1e9;
}

/* Shared SAREN local identity */
.home-body,
.guide-v2 {
  color: var(--local-ink);
  background: var(--local-paper);
}

.home-body .site-header,
.guide-v2 .guide-header {
  background: rgba(245, 246, 250, .9);
  border-color: rgba(223, 225, 233, .9);
  backdrop-filter: blur(18px);
}

.home-body .announcement,
.guide-v2 .guide-prototype-note {
  background: var(--local-violet);
}

.home-body .section-shell {
  width: min(1320px, calc(100% - 48px));
}

/* Compact, predictable catalog: source photos can be any aspect ratio while
   every storefront card keeps the same square media box. */
.home-body .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 18px;
}

.home-body .product-card,
.home-body .product-image-button {
  min-width: 0;
}

.home-body .product-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.home-body .product-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms cubic-bezier(.2, .7, .2, 1);
}

.home-body .product-image-button:hover .product-photo {
  transform: scale(1.035);
}

/* Homepage: one route that connects places, products and makers */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(560px, 1.14fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
  padding-block: 64px 78px;
}

.home-hero::before {
  position: absolute;
  z-index: 0;
  inset: 18px -24px 26px;
  background: url("assets/home/saren-landscape-silk-bg-v1.jpg") 63% center / cover no-repeat;
  border-radius: 34px;
  content: "";
  opacity: .82;
  pointer-events: none;
}

.home-hero > *,
.guide-v2 .guide-hero > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.home-hero-copy > .eyebrow {
  margin-bottom: 18px;
  color: var(--local-violet);
}

.home-hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(62px, 6.4vw, 92px);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .94;
}

.home-hero-copy h1 em {
  display: inline-block;
  margin-top: 9px;
  padding: 4px 15px 10px;
  background: var(--local-sky);
  border-radius: 13px;
  font-style: normal;
  transform: rotate(-1.2deg);
}

.home-hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 28px 0 0;
  color: #5f5e68;
  font-size: 17px;
  line-height: 1.75;
}

.home-command {
  margin-top: 30px;
}

.home-search-mode {
  display: inline-flex;
  gap: 3px;
  margin: 0 0 -1px 13px;
  padding: 4px;
  background: var(--local-ink);
  border-radius: 11px 11px 0 0;
}

.home-search-mode button {
  min-height: 34px;
  padding: 5px 14px;
  color: rgba(255, 255, 255, .64);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

.home-search-mode button.active {
  color: var(--local-ink);
  background: var(--local-lime);
}

.home-command > label {
  min-height: 62px;
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 7px 7px 7px 18px;
  background: white;
  border: 2px solid var(--local-ink);
  border-radius: 15px;
  box-shadow: 6px 7px 0 var(--local-ink);
}

.home-command svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.home-command input {
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.home-command label > button {
  min-height: 44px;
  padding: 8px 18px;
  color: white;
  background: var(--local-violet);
  border: 0;
  border-radius: 10px;
  font-weight: 700;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 29px;
}

.home-hero-actions > a:not(.primary-button) {
  font-size: 13px;
  font-weight: 700;
}

.home-pulse {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--local-line);
}

.home-pulse div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-pulse div + div {
  padding-left: 17px;
  border-left: 1px solid var(--local-line);
}

.home-pulse dt {
  font-family: var(--utility);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

.home-pulse dd {
  margin: 0;
  color: #777680;
  font-size: 10px;
  line-height: 1.35;
}

.journey-board {
  position: relative;
  min-width: 0;
  max-width: 100%;
  height: 640px;
  overflow: hidden;
  background: #dff2ff;
  border: 2px solid var(--local-ink);
  border-radius: 30px;
  box-shadow: 12px 14px 0 var(--local-violet);
  isolation: isolate;
  box-sizing: border-box;
}

.journey-grid {
  position: absolute;
  inset: -70px;
  opacity: .35;
  background-image: linear-gradient(var(--local-sky) 1px, transparent 1px), linear-gradient(90deg, var(--local-sky) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: rotate(-8deg);
}

.journey-head {
  position: absolute;
  z-index: 5;
  top: 22px;
  right: 22px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #326d8c;
  font-family: var(--utility);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}

.journey-head span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.journey-head i {
  width: 8px;
  height: 8px;
  background: var(--local-lime);
  border: 1px solid var(--local-ink);
  border-radius: 50%;
}

.journey-head b {
  padding: 5px 8px;
  color: var(--local-ink);
  background: white;
  border-radius: 7px;
}

.journey-line {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
}

.journey-line-base {
  stroke: white;
  stroke-linecap: round;
  stroke-width: 18px;
}

.journey-line-route {
  stroke: var(--local-violet);
  stroke-dasharray: 4 13;
  stroke-linecap: round;
  stroke-width: 6px;
  animation: localRoute 12s linear infinite;
}

@keyframes localRoute {
  to { stroke-dashoffset: -170; }
}

.journey-stop {
  position: absolute;
  z-index: 4;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.journey-stop > b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--local-violet);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--local-violet);
  font-family: var(--utility);
  font-size: 10px;
}

.journey-stop div {
  min-width: 150px;
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(21, 21, 25, .1);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(40, 64, 80, .08);
}

.journey-stop small {
  color: var(--local-violet);
  font-family: var(--utility);
  font-size: 8px;
  font-weight: 700;
}

.journey-stop strong {
  margin-top: 2px;
  font-size: 12px;
}

.journey-stop span {
  color: #777680;
  font-size: 9px;
}

.js-one { bottom: 69px; left: 32px; }
.js-two { top: 278px; left: 145px; }
.js-three { top: 92px; right: 28px; }

.journey-takehome {
  position: absolute;
  z-index: 6;
  right: 28px;
  bottom: 78px;
  width: min(365px, calc(100% - 56px));
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 11px;
  padding: 9px;
  background: white;
  border: 2px solid var(--local-ink);
  border-radius: 14px;
  box-shadow: 6px 7px 0 var(--local-lime);
}

.takehome-art {
  height: 74px;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, transparent 0 36%, #753d2b 36% 48%, transparent 48%), linear-gradient(45deg, transparent 0 42%, #d6764a 42% 57%, transparent 57%), #efba6e;
  border-radius: 9px;
}

.takehome-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.journey-takehome div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.journey-takehome small {
  color: var(--local-violet);
  font-family: var(--utility);
  font-size: 8px;
  font-weight: 700;
}

.journey-takehome b {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.journey-takehome span {
  color: #777680;
  font-size: 9px;
}

.journey-takehome > a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--local-ink);
  background: var(--local-lime);
  border: 1px solid var(--local-ink);
  border-radius: 9px;
  font-weight: 700;
}

.journey-actions {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 18px;
  color: white;
  background: var(--local-ink);
}

.journey-actions button {
  min-height: 38px;
  padding: 8px 14px;
  color: var(--local-ink);
  background: var(--local-lime);
  border: 0;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
}

.journey-actions button.added {
  color: white;
  background: #16845a;
}

.journey-actions a {
  font-size: 11px;
  font-weight: 700;
}

.home-paths {
  color: white;
  background: var(--local-ink);
}

.home-paths > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.home-paths a {
  position: relative;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 34px;
  transition: background 180ms ease;
}

.home-paths a + a {
  border-left: 1px solid #393940;
}

.home-paths a:hover {
  background: #24242a;
}

.home-paths span {
  color: var(--local-sky);
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
}

.home-paths b {
  margin: 1px 0;
  font-size: 25px;
}

.home-paths small {
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
}

.home-paths i {
  position: absolute;
  top: 26px;
  right: 30px;
  color: var(--local-lime);
  font-family: var(--utility);
  font-size: 11px;
  font-style: normal;
}

.nearby-cafes {
  padding-block: 104px 34px;
}

.nearby-cafes > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 30px;
}

.nearby-cafes h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 68px);
  letter-spacing: -.065em;
  line-height: .98;
}

.nearby-cafes-action {
  max-width: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.nearby-cafes-action p {
  margin: 0;
  color: #6e6d77;
  font-size: 12px;
  text-align: right;
}

.nearby-cafes-action button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  color: white;
  background: var(--local-violet);
  border: 2px solid var(--local-ink);
  border-radius: 12px;
  box-shadow: 4px 5px 0 var(--local-ink);
  font-weight: 700;
  cursor: pointer;
}

.nearby-cafes-action button:disabled { cursor: wait; opacity: .65; }
.nearby-cafes-action svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.nearby-cafe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.nearby-cafe-card {
  min-width: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--local-line);
  border-radius: 20px;
}

.nearby-cafe-media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #dceee2;
}

.nearby-cafe-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.nearby-cafe-card:nth-child(2) .nearby-cafe-media img { object-position: 62% 56%; filter: hue-rotate(-8deg) saturate(.9); }
.nearby-cafe-card:nth-child(3) .nearby-cafe-media img { object-position: 35% 48%; filter: brightness(.92) saturate(1.08); }
.nearby-cafe-card:hover .nearby-cafe-media img { transform: scale(1.035); }

.nearby-cafe-distance,
.nearby-cafe-demo {
  position: absolute;
  top: 13px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(21, 21, 25, .15);
  border-radius: 8px;
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 700;
}

.nearby-cafe-distance { left: 13px; }
.nearby-cafe-demo { right: 13px; color: var(--local-violet); }

.nearby-cafe-copy {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.nearby-cafe-copy > small { color: var(--local-violet); font-family: var(--utility); font-size: 9px; font-weight: 700; }
.nearby-cafe-copy h3 { margin: 7px 0 6px; font-size: 21px; letter-spacing: -.035em; }
.nearby-cafe-copy > p { margin: 0; color: #6e6d77; font-size: 12px; line-height: 1.6; }
.nearby-cafe-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.nearby-cafe-tags span { padding: 4px 7px; color: #55545d; background: #f1f2f6; border-radius: 999px; font-size: 9px; }

.nearby-cafe-copy footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
}

.nearby-cafe-copy footer span { color: #686771; font-size: 9px; }
.nearby-cafe-copy footer a { flex: 0 0 auto; color: var(--local-violet); font-size: 11px; font-weight: 700; }

.nearby-cafe-skeleton {
  height: 408px;
  background: linear-gradient(110deg, #e8e9ee 8%, #f7f7f9 18%, #e8e9ee 33%);
  background-size: 200% 100%;
  border-radius: 20px;
  animation: nearbySkeleton 1.4s linear infinite;
}

@keyframes nearbySkeleton { to { background-position-x: -200%; } }

.nearby-cafe-empty {
  grid-column: 1 / -1;
  padding: 42px;
  color: #686771;
  background: white;
  border: 1px dashed #c9cad2;
  border-radius: 18px;
  text-align: center;
}

.nearby-privacy {
  margin: 14px 0 0;
  color: #83828b;
  font-size: 9px;
}

.nearby-privacy span { color: var(--local-lime); -webkit-text-stroke: 1px var(--local-ink); }

.home-now {
  padding-block: 108px 120px;
}

.home-now > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 36px;
}

.home-now h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 68px);
  letter-spacing: -.065em;
  line-height: 1;
}

.home-now > header > a {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--local-ink);
  font-size: 13px;
  font-weight: 700;
}

.home-now > header > p {
  max-width: 360px;
  margin: 0;
  color: #6e6d77;
  font-size: 12px;
  text-align: right;
}

.home-place-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.home-place-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.home-place-filters button,
.home-trip-toggle {
  min-height: 40px;
  padding: 8px 13px;
  background: white;
  border: 1px solid var(--local-line);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.home-place-filters button.active {
  color: white;
  background: var(--local-ink);
  border-color: var(--local-ink);
}

.home-trip-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: white;
  background: var(--local-violet);
  border: 2px solid var(--local-ink);
  box-shadow: 3px 4px 0 var(--local-ink);
}

.home-trip-toggle b {
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: var(--local-ink);
  background: var(--local-lime);
  border-radius: 50%;
  font-family: var(--utility);
  font-size: 9px;
}

.home-trip-panel {
  margin-bottom: 24px;
  padding: 22px;
  color: white;
  background: var(--local-ink);
  border-radius: 18px;
}

.home-trip-panel > header { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.home-trip-panel h3 { margin: 2px 0 0; font-size: 21px; }
.home-trip-panel small { color: var(--local-lime); font-family: var(--utility); font-size: 8px; }
.home-trip-panel > header button { color: rgba(255,255,255,.72); background: transparent; border: 0; font-size: 10px; cursor: pointer; }
.home-trip-panel ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 17px 0 0; padding: 0; list-style: none; }
.home-trip-panel li { min-width: 0; display: grid; grid-template-columns: 28px minmax(0,1fr) 24px; align-items: center; gap: 8px; padding: 10px; background: #28282e; border-radius: 10px; }
.home-trip-panel li > i { width: 28px; height: 28px; display: grid; place-items: center; color: var(--local-ink); background: var(--local-lime); border-radius: 50%; font-family: var(--utility); font-size: 9px; font-style: normal; font-weight: 700; }
.home-trip-panel li > span { min-width: 0; display: flex; flex-direction: column; }
.home-trip-panel li b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.home-trip-panel li small { color: rgba(255,255,255,.55); }
.home-trip-panel li button { color: rgba(255,255,255,.62); background: transparent; border: 0; font-size: 17px; cursor: pointer; }
.home-trip-panel > p { margin: 18px 0 0; color: rgba(255,255,255,.6); font-size: 11px; }

.home-now-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.home-place-card {
  grid-column: span 4;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: white;
  border: 1px solid var(--local-line);
  border-radius: 21px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-place-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(28, 25, 78, .12);
}

.home-place-card:nth-child(1),
.home-place-card:nth-child(3) { grid-column: span 4; }
.home-place-card:nth-child(2) { grid-column: span 4; }

.home-place-art {
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  position: relative;
  height: 250px;
  display: block;
  overflow: hidden;
}

.home-place-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2, .7, .2, 1), filter 300ms ease;
}

.home-place-card:hover .home-place-art img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.home-place-art::before,
.home-place-art::after {
  position: absolute;
  content: "";
}

.home-place-kind,
.home-place-demo {
  position: absolute;
  z-index: 2;
  top: 13px;
  padding: 6px 9px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(21,21,25,.14);
  border-radius: 8px;
  font-family: var(--utility);
  font-size: 8px;
  font-weight: 700;
}

.home-place-kind { left: 13px; }
.home-place-demo { right: 13px; color: var(--local-violet); }

.home-place-cafe .home-place-art {
  background: radial-gradient(circle at 27% 31%, #f6d46f 0 9%, transparent 9.5%), linear-gradient(135deg, #315a45 0 33%, #7fac71 33% 55%, #dab980 55%);
}

.home-place-culture .home-place-art {
  background: linear-gradient(145deg, transparent 0 41%, #814229 42% 54%, transparent 55%), linear-gradient(35deg, transparent 0 47%, #c37345 48% 60%, transparent 61%), linear-gradient(#91ccdd 0 52%, #d9ad62 52%);
}

.home-place-stay .home-place-art {
  background: linear-gradient(90deg, transparent 0 15%, rgba(255, 255, 255, .25) 15% 17%, transparent 17% 83%, rgba(255, 255, 255, .25) 83% 85%, transparent 85%), linear-gradient(155deg, #5532bd 0 35%, #dc7a57 35% 58%, #f0bd66 58%);
}

.home-place-card > div {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 21px 22px;
}

.home-place-card small {
  color: var(--local-violet);
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
}

.home-place-card h3 {
  margin: 7px 0 5px;
  font-size: 22px;
  letter-spacing: -.035em;
}

.home-place-card p {
  margin: 0;
  color: #6e6d77;
  font-size: 12px;
  line-height: 1.65;
}

.home-place-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 15px;
}

.home-place-card footer button {
  padding: 0;
  color: var(--local-violet);
  background: transparent;
  border: 0;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.home-place-card footer .home-place-trip-action {
  padding: 7px 9px;
  color: var(--local-ink);
  background: var(--local-lime);
  border: 1px solid var(--local-ink);
  border-radius: 8px;
}

.home-place-card footer .home-place-trip-action.added { color: white; background: var(--local-violet); }

.home-place-card b {
  margin-top: auto;
  padding-top: 15px;
  font-size: 11px;
}

.home-body .catalog {
  margin-top: 0;
  padding-top: 108px;
  padding-bottom: 92px;
  border-top: 1px solid var(--local-line);
}

.home-body .catalog + .nearby-cafes {
  padding-top: 16px;
}

.home-place-dialog {
  width: min(980px, calc(100% - 32px));
  max-height: min(850px, calc(100dvh - 32px));
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 26px;
}

.home-place-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  min-height: 650px;
}

.home-place-detail-media {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #dfe9e3;
}

.home-place-detail-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-place-detail-media > span,
.home-place-detail-media > b { position: absolute; top: 18px; padding: 7px 10px; background: rgba(255,255,255,.94); border: 1px solid rgba(21,21,25,.15); border-radius: 8px; font-family: var(--utility); font-size: 9px; }
.home-place-detail-media > span { left: 18px; }
.home-place-detail-media > b { right: 68px; color: var(--local-violet); }

.home-place-detail-copy { display: flex; flex-direction: column; padding: 53px 38px 36px; }
.home-place-detail-copy > small { color: var(--local-violet); font-family: var(--utility); font-size: 9px; font-weight: 700; }
.home-place-detail-copy > h2 { margin: 9px 0 12px; font-size: 38px; letter-spacing: -.055em; line-height: 1.04; }
.home-place-detail-copy > p { margin: 0; color: #64636c; font-size: 13px; line-height: 1.75; }
.home-place-detail-copy dl { margin: 22px 0 0; padding: 14px; background: #f3f4f7; border-radius: 12px; }
.home-place-detail-copy dl div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 5px 0; }
.home-place-detail-copy dt { color: #85848d; font-size: 10px; }
.home-place-detail-copy dd { margin: 0; font-size: 11px; }
.home-place-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.home-place-detail-tags span { padding: 5px 8px; background: #eef0f5; border-radius: 999px; font-size: 9px; }
.home-place-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.home-place-detail-actions > * { justify-content: center; text-align: center; }

.home-place-products { margin-top: 28px; padding-top: 21px; border-top: 1px solid var(--local-line); }
.home-place-products header small { color: var(--local-violet); font-family: var(--utility); font-size: 8px; font-weight: 700; }
.home-place-products header h3 { margin: 3px 0 12px; font-size: 18px; }
.home-place-products > button { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 10px; padding: 10px 0; text-align: left; background: transparent; border: 0; border-top: 1px solid #ececf0; cursor: pointer; }
.home-place-products > button span { grid-column: 1; color: #85848d; font-size: 8px; }
.home-place-products > button b { grid-column: 1; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.home-place-products > button em { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--local-violet); font-size: 10px; font-style: normal; font-weight: 700; }

.home-body .community {
  background-color: var(--local-violet);
  background-image:
    linear-gradient(90deg, rgba(89, 71, 255, .97) 0%, rgba(89, 71, 255, .9) 43%, rgba(24, 20, 54, .64) 100%),
    url("assets/home/saren-loom-community-bg-v1.jpg");
  background-position: center, center;
  background-size: cover;
}

.home-body .community::before {
  content: none;
}

.home-loop {
  min-height: 510px;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  margin-top: 110px;
  padding: clamp(42px, 6vw, 82px);
  color: white;
  background: var(--local-violet);
  border-radius: 34px;
}

.home-loop-copy h2 {
  margin: 0;
  font-size: clamp(43px, 4.8vw, 66px);
  letter-spacing: -.065em;
  line-height: 1;
}

.home-loop-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.75;
}

.home-loop-copy > div {
  display: flex;
  gap: 22px;
  margin-top: 25px;
}

.home-loop-copy a {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  font-size: 11px;
  font-weight: 700;
}

.home-loop-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.home-loop-flow article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--local-ink);
  background: white;
  border: 2px solid var(--local-ink);
  border-radius: 17px;
  box-shadow: 6px 7px 0 var(--local-ink);
}

.home-loop-flow article:nth-of-type(2) { background: var(--local-lime); transform: translateY(-18px); }
.home-loop-flow article:nth-of-type(3) { background: var(--local-sky); }
.home-loop-flow small { color: var(--local-violet); font-family: var(--utility); font-size: 8px; font-weight: 700; }
.home-loop-flow b { margin: 5px 0; font-size: 16px; line-height: 1.25; }
.home-loop-flow span { color: #686771; font-size: 10px; }
.home-loop-flow > i { font-family: var(--utility); font-style: normal; font-weight: 700; }

.home-body .final-cta {
  align-items: flex-end;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.final-cta-actions > a:last-child {
  color: rgba(255, 255, 255, .75);
  font-size: 11px;
  font-weight: 700;
}

/* Discover v2: a focused continuation of the homepage */
.guide-v2 .guide-hero {
  min-height: 660px;
  grid-template-columns: minmax(0, .94fr) minmax(520px, 1.06fr);
  gap: clamp(44px, 6vw, 88px);
  padding-block: 52px 62px;
}

.guide-v2 .guide-hero h1 {
  font-size: clamp(58px, 5.8vw, 82px);
}

.guide-v2 .guide-route-art {
  min-width: 0;
  max-width: 100%;
  height: 560px;
  border-radius: 30px;
  box-sizing: border-box;
}

.guide-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-top: 23px;
  color: #72717b;
  font-size: 10px;
}

.guide-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.guide-hero-trust b {
  color: var(--local-ink);
  font-family: var(--utility);
  font-size: 13px;
}

.route-shop-chip {
  position: absolute;
  z-index: 7;
  top: 24px;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1px 14px;
  padding: 10px 12px;
  color: var(--local-ink);
  background: var(--local-lime);
  border: 1px solid var(--local-ink);
  border-radius: 10px;
  box-shadow: 4px 5px 0 var(--local-ink);
  transform: translateX(-18%);
}

.route-shop-chip small,
.route-shop-chip b { grid-column: 1; }
.route-shop-chip small { font-family: var(--utility); font-size: 7px; font-weight: 700; }
.route-shop-chip b { font-size: 10px; }
.route-shop-chip span { grid-column: 2; grid-row: 1 / 3; align-self: center; font-weight: 700; }
.guide-v2 .district-three { display: none; }
.guide-v2 .guide-category-strip b { color: var(--local-sky); font-family: var(--body); font-size: 13px; }
.guide-v2 .guide-explore { padding-top: 92px; }
.guide-v2 .guide-section-heading h2 { max-width: 680px; }
.guide-v2 .guide-market-bridge { border-top: 1px solid var(--local-line); }

@media (max-width: 1100px) {
  .home-body .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-hero { grid-template-columns: minmax(0, .88fr) minmax(470px, 1.12fr); gap: 34px; }
  .home-hero-copy h1 { font-size: 64px; }
  .journey-board { height: 600px; }
  .journey-stop div { min-width: 125px; }
  .js-two { left: 110px; }
  .home-loop { grid-template-columns: 1fr; }
  .home-loop-copy { max-width: 660px; }
  .guide-v2 .guide-hero { grid-template-columns: .9fr 1.1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .home-hero,
  .guide-v2 .guide-hero {
    grid-template-columns: 1fr;
  }

  .home-hero-copy,
  .guide-v2 .guide-hero-copy { max-width: 700px; }
  .journey-board,
  .guide-v2 .guide-route-art { width: min(680px, 100%); margin-inline: auto; }
  .home-place-card:nth-child(n) { grid-column: span 6; }
  .home-place-card:last-child { grid-column: 4 / span 6; }
  .guide-v2 .guide-hero { padding-top: 66px; }
}

@media (max-width: 620px) {
  .home-body .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 12px;
  }

  .home-body .product-info { padding: 13px 2px 0; }
  .home-body .product-meta h3 { font-size: 15px; }
  .home-body .add-cart-button { width: 40px; height: 40px; }
  .home-body .section-shell { width: calc(100% - 26px); }
  .home-body .announcement { min-height: 29px; padding-inline: 12px; font-size: 8px; }
  .home-body .announcement a { display: none; }
  .home-body .brand-copy small,
  .guide-v2 .brand-copy small { letter-spacing: .09em; }

  .home-hero {
    min-height: auto;
    gap: 39px;
    padding-block: 48px 58px;
  }

  .home-hero::before {
    inset: 10px -13px 22px;
    background-position: 72% center;
    border-radius: 0 0 24px 24px;
    opacity: .62;
  }

  .home-body .community {
    background-image:
      linear-gradient(180deg, rgba(89, 71, 255, .98) 0%, rgba(89, 71, 255, .91) 43%, rgba(24, 20, 54, .72) 100%),
      url("assets/home/saren-loom-community-bg-v1.jpg");
    background-position: center, 68% center;
  }

  .home-hero-copy h1 {
    font-size: clamp(48px, 13.5vw, 65px);
  }

  .home-hero-copy h1 em { padding: 3px 9px 7px; border-radius: 9px; }
  .home-hero-copy > p:not(.eyebrow) { margin-top: 23px; font-size: 15px; }
  .home-command { margin-top: 24px; }
  .home-command > label {
    min-height: auto;
    grid-template-columns: 20px 1fr;
    padding: 13px 12px 10px;
  }

  .home-command label > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .home-search-mode { margin-left: 8px; }
  .home-hero-actions { align-items: stretch; flex-direction: column; gap: 15px; }
  .home-hero-actions .primary-button { justify-content: space-between; }
  .home-pulse { gap: 0; }
  .home-pulse div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .home-pulse div + div { padding-left: 11px; }
  .home-pulse dd { font-size: 9px; }

  .journey-board {
    height: 550px;
    border-radius: 23px;
    box-shadow: 7px 9px 0 var(--local-violet);
  }

  .journey-head { top: 17px; right: 16px; left: 16px; }
  .journey-stop div { min-width: 116px; padding: 7px 8px; }
  .journey-stop strong { font-size: 10px; }
  .journey-stop span { display: none; }
  .js-one { bottom: 64px; left: 17px; }
  .js-two { top: 245px; left: 78px; }
  .js-three { top: 73px; right: 16px; }
  .journey-takehome { right: 17px; bottom: 70px; grid-template-columns: 61px 1fr 34px; width: calc(100% - 34px); }
  .js-one { bottom: 160px; left: 30px; }
  .takehome-art { height: 59px; }
  .journey-actions { padding-inline: 12px; }

  .home-paths > div { width: 100%; grid-template-columns: 1fr; }
  .home-paths a { min-height: 96px; padding: 17px 22px; }
  .home-paths a + a { border-top: 1px solid #393940; border-left: 0; }
  .home-paths b { font-size: 21px; }

  .nearby-cafes { padding-block: 75px 10px; }
  .home-body .catalog + .nearby-cafes { padding-top: 8px; }
  .nearby-cafes > header { align-items: flex-start; flex-direction: column; margin-bottom: 24px; }
  .nearby-cafes h2 { font-size: 43px; }
  .nearby-cafes-action { width: 100%; align-items: stretch; }
  .nearby-cafes-action p { text-align: left; }
  .nearby-cafes-action button { justify-content: center; }
  .nearby-cafe-grid { display: flex; margin-right: -13px; overflow-x: auto; padding: 0 13px 9px 0; scroll-snap-type: x mandatory; }
  .nearby-cafe-card,
  .nearby-cafe-skeleton { flex: 0 0 82vw; scroll-snap-align: start; }
  .nearby-cafe-media { height: 185px; }
  .nearby-cafe-empty { min-width: calc(100% - 13px); }
  .nearby-privacy { line-height: 1.55; }

  .home-now { padding-block: 75px 84px; }
  .home-now > header { align-items: flex-start; flex-direction: column; margin-bottom: 25px; }
  .home-now > header > p { text-align: left; }
  .home-now h2 { font-size: 43px; }
  .home-place-toolbar { align-items: stretch; flex-direction: column; }
  .home-place-filters { flex-wrap: nowrap; margin-right: -13px; overflow-x: auto; padding: 0 13px 5px 0; }
  .home-place-filters button { flex: 0 0 auto; }
  .home-trip-toggle { justify-content: space-between; }
  .home-trip-panel { padding: 18px; }
  .home-trip-panel ol { grid-template-columns: 1fr; }
  .home-now-grid { display: flex; margin-right: -13px; overflow-x: auto; padding: 0 13px 10px 0; scroll-snap-type: x mandatory; }
  .home-place-card { min-width: 82vw; min-height: 410px; scroll-snap-align: start; }
  .home-place-art { height: 225px; }

  .home-place-dialog { width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .home-place-detail { grid-template-columns: 1fr; }
  .home-place-detail-media { min-height: 330px; height: 42dvh; }
  .home-place-detail-copy { padding: 32px 22px 28px; }
  .home-place-detail-copy > h2 { font-size: 31px; }
  .home-body .catalog { padding-top: 78px; padding-bottom: 68px; }

  .home-loop {
    min-height: auto;
    gap: 39px;
    margin-top: 80px;
    padding: 39px 22px;
    border-radius: 25px;
  }

  .home-loop-copy h2 { font-size: 43px; }
  .home-loop-flow { grid-template-columns: 1fr; }
  .home-loop-flow > i { text-align: center; transform: rotate(90deg); }
  .home-loop-flow article { min-height: 135px; }
  .home-loop-flow article:nth-of-type(2) { transform: none; }
  .home-body .final-cta { align-items: flex-start; }
  .final-cta-actions { width: 100%; align-items: stretch; }

  .guide-v2 .guide-prototype-note { font-size: 8px; }
  .guide-v2 .guide-hero {
    gap: 36px;
    padding-block: 45px 54px;
  }
  .guide-v2 .guide-hero h1 { font-size: clamp(47px, 13vw, 63px); }
  .guide-hero-trust { display: grid; grid-template-columns: 1fr 1fr; }
  .guide-hero-trust span:last-child { grid-column: 1 / -1; }
  .guide-v2 .guide-route-art { height: 485px; }
  .route-shop-chip { top: 17px; left: 45%; }
  .guide-v2 .route-stamp { top: 24px; left: 20px; }
  .guide-v2 .guide-explore { padding-top: 74px; }
  .home-body .mobile-dock { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .journey-line-route,
  .guide-v2 .route-line { animation: none; }
  .home-place-card { transition: none; }
  .home-place-art img { transition: none; }
  .home-place-card:hover .home-place-art img { transform: none; }
}
