/* components/site/shared-header.css */
:root {
  --pr-header-bg: rgba(12, 11, 14, 0.58);
  --pr-header-border: rgba(244, 239, 228, 0.18);
  --pr-header-text: var(--ink, #f4efe4);
  --pr-header-muted: rgba(244, 239, 228, 0.76);
  --pr-header-faint: rgba(244, 239, 228, 0.12);
  --pr-header-gold: var(--accent, #d4b57a);
  --pr-header-field: rgba(255, 255, 255, 0.055);
  --pr-header-scroll-offset: clamp(82px, 7vw, 104px);
}

html {
  scroll-padding-top: var(--pr-header-scroll-offset);
}

html:has(#shared-header-query:focus) {
  scroll-padding-top: 0;
}

#map,
#hero-space {
  scroll-margin-top: var(--pr-header-scroll-offset);
}

.map-anchor-alias {
  display: block;
  height: 0;
  overflow: hidden;
}

#shared-header-root,
#shared-header-root * {
  box-sizing: border-box;
}

#shared-header-root {
  position: sticky;
  top: 0;
  z-index: 100;
  width: min(var(--site-shell-width, 1260px), calc(100% - 32px));
  margin-inline: auto;
  color: var(--pr-header-text);
  background: transparent;
  padding: 8px 0 10px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.pr-header {
  position: relative;
  width: 100%;
  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.058),
      rgba(255, 255, 255, 0.014) 42%,
      rgba(255, 255, 255, 0.006)
    ),
    rgba(9, 8, 11, 0.68);
  border: 1px solid var(--pr-header-border);
  border-radius: 22px;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    inset 0 -1px 0 rgba(255, 255, 255, 0.025);
  overflow: clip;
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

.pr-header::before,
.pr-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

.pr-header::before {
  background:
    radial-gradient(
      124px 42px at -44px -22px,
      rgba(212, 181, 122, 0.2) 0%,
      rgba(212, 181, 122, 0.09) 22%,
      rgba(212, 181, 122, 0.026) 42%,
      rgba(212, 181, 122, 0.008) 56%,
      rgba(212, 181, 122, 0) 66%
    );
  opacity: 0.42;
}

.pr-header::after {
  background:
    linear-gradient(
      90deg,
      rgba(212, 181, 122, 0) 0,
      rgba(212, 181, 122, 0.42) 16px,
      rgba(244, 239, 228, 0.12) 44px,
      rgba(212, 181, 122, 0.052) 78px,
      rgba(212, 181, 122, 0) 118px
    ) top left / 118px 1px no-repeat,
    linear-gradient(
      180deg,
      rgba(212, 181, 122, 0.18),
      rgba(244, 239, 228, 0.04) 38%,
      rgba(212, 181, 122, 0) 100%
    ) top left / 1px 30px no-repeat;
  opacity: 0.48;
}

.pr-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(var(--site-shell-width, 1260px), calc(100% - 44px));
  min-height: 64px;
  margin: 0 auto;
  padding: 0;
  gap: 0;
}

.pr-header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: clamp(28px, 3.4vw, 54px);
  color: var(--pr-header-text);
  font-family: var(--font-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: clamp(2.15rem, 2.8vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.pr-header__brand:hover,
.pr-header__brand:focus-visible {
  color: #fff7df;
}

.pr-header__cta {
  flex: 0 0 auto;
  width: clamp(270px, 22vw, 360px);
  min-width: 0;
  margin: 0 0 0 auto;
  padding: 0 22px 0 0;
  color: rgba(244, 239, 228, 0.9);
  font-family: var(--font-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: clamp(1.02rem, 1.1vw, 1.18rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-align: left;
}

.pr-header__search {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  gap: 12px;
  margin: 0;
  margin-left: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.pr-header__near {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
  min-height: 50px;
  margin: 0;
  padding: 8px 18px;
  border: 1px solid rgba(244, 239, 228, 0.16);
  border-radius: 999px;
  color: rgba(244, 239, 228, 0.66);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  font: inherit;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.pr-header__near:hover,
.pr-header__near:focus-visible {
  color: var(--pr-header-text);
  border-color: rgba(212, 181, 122, 0.28);
  background: rgba(212, 181, 122, 0.08);
}

.pr-header__near-label {
  font-size: 0.56rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1;
}

.pr-header__dot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--pr-header-gold);
  border-radius: 999px;
  background: rgba(7, 7, 8, 0.94);
  box-shadow: 0 0 0 3px rgba(212, 181, 122, 0.17);
}

.pr-header__divider {
  display: none;
}

.pr-header__input {
  flex: 0 1 390px;
  width: min(390px, 32vw);
  min-width: 190px;
  min-height: 50px;
  margin: 0;
  border: 1px solid rgba(244, 239, 228, 0.14);
  border-radius: 999px;
  padding: 0 22px;
  color: var(--pr-header-text);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  appearance: none;
}

.pr-header__input::placeholder {
  color: rgba(244, 239, 228, 0.52);
}

.pr-header__input:focus {
  border-color: rgba(244, 239, 228, 0.18);
  background: rgba(255, 255, 255, 0.064);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.pr-header__find {
  flex: 0 0 auto;
  min-height: 42px;
  margin: 0;
  border: 1px solid rgba(244, 239, 228, 0.9);
  border-radius: 999px;
  padding: 0 24px;
  color: #080709;
  background: #f4efe4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.pr-header__find:hover,
.pr-header__find:focus-visible {
  background: #fffaf0;
  color: #050405;
  transform: translateY(-1px);
}

.pr-header__visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#shared-header-root :is(a, button):focus-visible {
  outline: 2px solid var(--pr-header-gold);
  outline-offset: 3px;
}

#shared-header-root .pr-header__input:focus-visible {
  outline: none;
}

@media (max-width: 1100px) {
  .pr-header__brand {
    margin-right: 24px;
  }

  .pr-header__cta {
    width: clamp(220px, 21vw, 280px);
    font-size: clamp(0.94rem, 1vw, 1.04rem);
    padding-right: 16px;
  }

  .pr-header__input {
    flex-basis: 300px;
    width: min(300px, 28vw);
    min-width: 160px;
  }
}

@media (max-width: 860px) {
  :root {
    --pr-header-scroll-offset: 78px;
  }

  .pr-header__cta {
    display: none;
  }

  .pr-header__search {
    flex: 1 1 auto;
    margin-left: 16px;
  }

  #shared-header-root {
    width: min(var(--site-shell-width, 1260px), calc(100% - 20px));
    padding: 6px 0 8px;
  }

  .pr-header {
    border-radius: 16px;
  }

  .pr-header::before {
    background:
      radial-gradient(
        96px 34px at -34px -18px,
        rgba(212, 181, 122, 0.17) 0%,
        rgba(212, 181, 122, 0.076) 22%,
        rgba(212, 181, 122, 0.022) 42%,
        rgba(212, 181, 122, 0.006) 56%,
        rgba(212, 181, 122, 0) 66%
      );
    opacity: 0.38;
  }

  .pr-header::after {
    background:
      linear-gradient(
        90deg,
        rgba(212, 181, 122, 0) 0,
        rgba(212, 181, 122, 0.34) 13px,
        rgba(244, 239, 228, 0.096) 34px,
        rgba(212, 181, 122, 0.04) 62px,
        rgba(212, 181, 122, 0) 92px
      ) top left / 92px 1px no-repeat,
      linear-gradient(
        180deg,
        rgba(212, 181, 122, 0.14),
        rgba(244, 239, 228, 0.034) 36%,
        rgba(212, 181, 122, 0) 100%
      ) top left / 1px 24px no-repeat;
    opacity: 0.42;
  }

  .pr-header__inner {
    width: min(var(--site-shell-width, 1260px), calc(100% - 24px));
    min-height: 54px;
  }

  .pr-header__brand {
    min-height: 44px;
    font-size: clamp(1.34rem, 3.8vw, 1.56rem);
    margin-right: 0;
    padding-inline: 2px;
  }

  .pr-header__search {
    gap: 8px;
  }

  .pr-header__near {
    min-width: 44px;
    min-height: 44px;
    padding: 7px 11px;
  }

  .pr-header__dot {
    width: 10px;
    height: 10px;
  }

  .pr-header__input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding-inline: 13px;
    font-size: 0.82rem;
  }

  .pr-header__find {
    min-width: 44px;
    min-height: 44px;
    padding-inline: 15px;
    font-size: 0.78rem;
  }
}

@media (max-width: 560px) {
  :root {
    --pr-header-scroll-offset: 74px;
  }

  #shared-header-root {
    width: min(var(--site-shell-width, 1260px), calc(100% - 16px));
  }

  .pr-header__inner {
    width: min(var(--site-shell-width, 1260px), calc(100% - 16px));
  }

  .pr-header::before {
    background:
      radial-gradient(
        78px 30px at -28px -16px,
        rgba(212, 181, 122, 0.15) 0%,
        rgba(212, 181, 122, 0.066) 22%,
        rgba(212, 181, 122, 0.018) 42%,
        rgba(212, 181, 122, 0.005) 56%,
        rgba(212, 181, 122, 0) 66%
      );
    opacity: 0.36;
  }

  .pr-header::after {
    background:
      linear-gradient(
        90deg,
        rgba(212, 181, 122, 0) 0,
        rgba(212, 181, 122, 0.28) 11px,
        rgba(244, 239, 228, 0.08) 28px,
        rgba(212, 181, 122, 0.034) 50px,
        rgba(212, 181, 122, 0) 76px
      ) top left / 76px 1px no-repeat,
      linear-gradient(
        180deg,
        rgba(212, 181, 122, 0.11),
        rgba(244, 239, 228, 0.028) 34%,
        rgba(212, 181, 122, 0) 100%
      ) top left / 1px 20px no-repeat;
    opacity: 0.4;
  }

  .pr-header__search {
    gap: 6px;
    margin-left: 12px;
  }

  .pr-header__brand {
    font-size: clamp(1.26rem, 5.6vw, 1.42rem);
  }

  .pr-header__near {
    padding-inline: 8px;
  }

  .pr-header__near-label {
    font-size: 0.5rem;
  }

  .pr-header__input {
    padding-inline: 11px;
  }

  .pr-header__find {
    padding-inline: 12px;
  }
}

.pr-mobile-page-title {
  display: none;
}

.pr-mobile-page-title,
.pr-mobile-page-title * {
  box-sizing: border-box;
}

@media (max-width: 860px) {
  .pr-mobile-page-title {
    display: block;
    width: min(var(--site-shell-width, 1260px), calc(100% - 20px));
    margin: 0 auto 10px;
    color: rgba(244, 239, 228, 0.68);
    text-align: center;
  }

  .pr-mobile-page-title p {
    max-width: 21rem;
    margin: 0;
    color: inherit;
    font-family: var(--font-ui, "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif);
    font-size: clamp(0.94rem, 3.55vw, 1.06rem);
    font-style: normal;
    font-weight: 520;
    letter-spacing: -0.018em;
    line-height: 1.18;
    text-wrap: balance;
  }

  .pr-mobile-page-title--home {
    margin-top: 8px;
    margin-bottom: 10px;
  }
}

@media (max-width: 560px) {
  .pr-mobile-page-title {
    width: min(var(--site-shell-width, 1260px), calc(100% - 16px));
    margin-bottom: 12px;
  }

  .pr-mobile-page-title p {
    max-width: 21rem;
  }
}

@media (min-width: 412px) and (max-width: 860px) {
  .pr-mobile-page-title p {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    white-space: nowrap;
  }

  .pr-mobile-page-title p br {
    display: none;
  }
}

/* components/site/frame-contract.css */
:root,
body {
  color-scheme: dark;

  /*
    PeakRipe Frame Contract v1.
    This file is the shared visual page-frame contract for public routes.
    New or changed public routes should use these shell variables and frame
    classes instead of forking page-level spacing, width, radius, surface,
    typography, focus, or mobile frame behavior.

    Maison Gillardeau remains the visual source of truth until an explicitly
    approved Frame Contract v2 replaces it.
  */
  --bg: #0b0b0c;
  --ink: #f4efe4;
  --muted: rgba(244, 239, 228, 0.74);
  --line: rgba(244, 239, 228, 0.12);
  --line-strong: rgba(244, 239, 228, 0.2);
  --accent: #d4b57a;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.05);

  --site-shell-width: 1260px;
  --max: var(--site-shell-width);
  --page-frame-pad: clamp(22px, 2.5vw, 34px);
  --content-pad: var(--page-frame-pad);
  --header-shell-pad: var(--content-pad);
  --footer-shell-pad: var(--content-pad);
  --frame-radius: 36px;
  --frame-gap: clamp(24px, 3vw, 36px);

  --radius: 28px;
  --layout-gap: var(--frame-gap);
  --content: 790px;
  --toc-column: clamp(168px, 17vw, 224px);
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-ui: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  --focus: rgba(212, 181, 122, 0.95);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 0%, rgba(212, 181, 122, 0.18), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(212, 181, 122, 0.14), transparent 22%),
    radial-gradient(circle at 70% 72%, rgba(212, 181, 122, 0.08), transparent 24%),
    linear-gradient(180deg, #131315 0%, #0b0b0c 38%, #090909 100%);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 20px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #101010;
  font-weight: 700;
}

.skip-link:focus { top: 20px; }

.site-shell {
  width: min(var(--site-shell-width), calc(100% - 32px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-shell,
.site-shell * {
  min-width: 0;
}

.site-shell > .hero,
.site-shell > main,
.site-shell > .page-main,
.site-shell > .page-frame,
.site-shell > .surface-frame,
.site-shell > .section-frame,
.site-shell > .profile-frame,
.site-shell > .shell,
.site-shell > main > .shell,
.site-shell > .page-main > .shell,
#profile-page-root > .hero {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.page-main {
  display: grid;
  gap: var(--frame-gap);
}

.page-frame,
.surface-frame,
.section-frame,
.profile-frame,
.hero {
  border: 1px solid var(--line);
  border-radius: var(--frame-radius);
  box-shadow: var(--shadow);
}

.page-frame,
.surface-frame,
.section-frame,
.profile-frame {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 84% 30%, rgba(212, 181, 122, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(16, 16, 17, 0.78), rgba(10, 10, 10, 0.94));
}

.content-frame,
.page-frame__inner,
.hero-inner,
.hero-map__frame,
.section-frame__inner,
.profile-frame__inner {
  padding: var(--content-pad);
}

.hero-inner {
  gap: var(--frame-gap);
}

.main-grid {
  gap: var(--frame-gap);
}

.button:focus-visible,
.skip-link:focus,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(11, 11, 12, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 720px) {
  body {
    --page-frame-pad: 14px;
    --content-pad: var(--page-frame-pad);
    --header-shell-pad: var(--content-pad);
    --footer-shell-pad: var(--content-pad);
    --frame-radius: 28px;
  }

  .site-shell {
    width: min(var(--site-shell-width), calc(100% - 20px));
  }
}

/* components/site/footer.css */
#site-footer-root,
.site-footer {
  position: relative;
  display: block;
  margin-top: 44px;
  min-height: clamp(360px, 32vw, 430px);
  padding-block: clamp(34px, 5vw, 54px);
  padding-inline: var(--footer-shell-pad, var(--profile-content-pad, var(--page-frame-pad, clamp(22px, 2.5vw, 34px))));
  border: 1px solid var(--line, rgba(244, 239, 228, 0.12));
  border-radius: calc(var(--radius, 28px) + 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 14% 0%, rgba(212, 181, 122, 0.16), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(212, 181, 122, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(16, 16, 17, 0.92), rgba(9, 9, 10, 0.98));
  box-shadow: var(--shadow, 0 24px 80px rgba(0, 0, 0, 0.3));
  overflow: clip;
  font-family: var(--font-ui, "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif) !important;
}

#site-footer-root .site-footer,
#site-footer-root .site-footer *,
.site-footer,
.site-footer * {
  font-family: var(--font-ui, "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif) !important;
}

#site-footer-root .site-footer__brand-title,
#site-footer-root .site-footer__brand-title *,
.site-footer .site-footer__brand-title,
.site-footer .site-footer__brand-title * {
  font-family: var(
    --font-display,
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Georgia,
    serif
  ) !important;
}

#site-footer-root::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent 108px),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(12.5% - 1px),
      rgba(255, 255, 255, 0.02) calc(12.5% - 1px),
      rgba(255, 255, 255, 0.02) 12.5%
    );
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 86%);
  opacity: 0.42;
}

#site-footer-root::after,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(212, 181, 122, 0),
    rgba(212, 181, 122, 0.6) 18%,
    rgba(244, 239, 228, 0.24) 50%,
    rgba(212, 181, 122, 0.45) 82%,
    rgba(212, 181, 122, 0)
  );
}

.site-footer__container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
  grid-template-areas:
    "brand"
    "explore"
    "themes"
    "standard"
    "company";
}

.site-footer__column--brand { grid-area: brand; }
.site-footer__column--explore { grid-area: explore; }
.site-footer__column--themes { grid-area: themes; }
.site-footer__column--standard { grid-area: standard; }
.site-footer__column--company { grid-area: company; }

.site-footer__column,
.site-footer__brand,
.site-footer__section {
  min-width: 0;
}

.site-footer__column {
  display: grid;
  align-content: start;
  gap: 22px;
}

.site-footer__column--brand {
  display: flex;
  flex-direction: column;
  align-content: initial;
  gap: 14px;
}

.site-footer__brand {
  display: grid;
  gap: 10px;
}

.site-footer__eyebrow,
.site-footer__heading {
  margin: 0;
  color: var(--accent, #d4b57a);
  text-transform: uppercase !important;
  letter-spacing: 0.16em !important;
  font-size: 0.74rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

.site-footer__heading { margin-bottom: 12px; }

.site-footer__brand-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.2vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.site-footer__brand-stack,
.site-footer__link-stack {
  display: inline-grid;
  gap: 2px;
}

.site-footer__brand-stack .site-footer__stack-line,
.site-footer__link-stack .site-footer__stack-line {
  white-space: nowrap;
}

.site-footer__brand-detail,
.site-footer__text,
.site-footer__link-text,
.site-footer__social-text,
.site-footer__column-copyright {
  margin: 0;
  color: var(--muted, rgba(244, 239, 228, 0.72));
  line-height: 1.72;
}

.site-footer__brand-detail {
  max-width: 32.25ch;
}

.site-footer__column-copyright {
  max-width: 24ch;
}

.site-footer__column-copyright {
  padding-top: 12px;
  border-top: 1px solid rgba(244, 239, 228, 0.1);
}

.site-footer__link-list,
.site-footer__social-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__link-list {
  display: grid;
  gap: 11px;
}

.site-footer__social-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  min-height: 28px;
}

.site-footer__column--brand > .site-footer__section:not(.site-footer__brand) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
  margin-top: 2px;
}

.site-footer__item { min-width: 0; }
.site-footer__item--copyright { margin-top: 8px; }
.site-footer__item--social {
  display: inline-flex !important;
  min-height: 28px;
}

.site-footer__link,
.site-footer__text {
  display: inline-flex;
  align-items: flex-start;
  min-height: 22px;
}

.site-footer__link {
  color: var(--muted, rgba(244, 239, 228, 0.72));
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--ink, #f4efe4);
  transform: translateX(2px);
}

.site-footer__text { color: rgba(244, 239, 228, 0.66); }
.site-footer__link-text { display: inline-block; }

.site-footer__link--stack {
  display: inline-grid;
  gap: 2px;
  line-height: 1.2;
}

.site-footer__link-stack { max-width: 16ch; }
.site-footer__stack-line { display: block; }

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 2px 0;
  color: rgba(244, 239, 228, 0.76);
  text-decoration: none;
  border: 0;
  background: transparent;
  transition: color 160ms ease, transform 160ms ease;
}

.site-footer__social-link::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  background: var(--accent, #d4b57a);
}

.site-footer__social-link[href*="instagram"]::before {
  clip-path: path("M4 1h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V4a3 3 0 0 1 3-3Zm0 2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H4Zm5 3a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 1.8a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4Zm4.2-2.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z");
}

.site-footer__social-link[href*="tiktok"]::before {
  clip-path: path("M10 1h2c.2 2.1 1.6 3.5 4 3.7v2.2a7 7 0 0 1-3.2-.8v5.8A5.1 5.1 0 1 1 8.4 6.8v2.4a2.7 2.7 0 1 0 2 2.6V1Z");
}

.site-footer__social-link[href*="pinterest"]::before {
  clip-path: path("M9 1a8 8 0 0 0-2.3 15.7l.9-3.4c-.3-.6-.4-1.3-.4-2 0-2.3 1.3-4.1 3.1-4.1 1.5 0 2.2 1.1 2.2 2.5 0 1.4-.9 3.5-1.3 5.4-.4 1.5.8 2.7 2.2 2.7 2.6 0 4.4-3.3 4.4-7.1C17.8 5 14.8 1 9 1Z");
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  color: var(--ink, #f4efe4);
  transform: translateY(-1px);
}

.site-footer__social-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #d4b57a);
  flex: 0 0 auto;
}

.site-footer__social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__social-text {
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.site-footer__section + .site-footer__section { padding-top: 2px; }

.site-footer__link:focus-visible,
.site-footer__social-link:focus-visible {
  outline: 2px solid var(--focus, #d4b57a);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(11, 11, 12, 0.75);
}

@media (min-width: 760px) {
  #site-footer-root,
  .site-footer {
    min-height: clamp(820px, 120vw, 980px);
  }

  .site-footer__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "brand brand"
      "explore themes"
      "standard company";
    align-items: start;
  }
}

@media (min-width: 1120px) {
  #site-footer-root,
  .site-footer {
    min-height: clamp(360px, 32vw, 430px);
  }

  .site-footer__container {
    grid-template-columns:
      minmax(320px, 1.5fr)
      repeat(4, minmax(0, 1fr));
    grid-template-areas: "brand explore themes standard company";
    column-gap: clamp(28px, 3.6vw, 56px);
    row-gap: 28px;
  }
}

@media (max-width: 759px) {
  .site-footer__container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand brand"
      "explore standard"
      "themes company";
    column-gap: clamp(20px, 7vw, 34px);
    row-gap: clamp(22px, 6vw, 30px);
    align-items: start;
  }

  .site-footer__column--brand {
    grid-column: 1 / -1;
    padding-bottom: clamp(12px, 4vw, 18px);
  }

  .site-footer__link-list {
    gap: 9px;
  }

  .site-footer__heading {
    margin-bottom: 10px;
  }

  .site-footer__brand-detail,
  .site-footer__link-stack,
  .site-footer__column-copyright {
    max-width: none;
  }
}

@media (max-width: 720px) {
  #site-footer-root,
  .site-footer {
    min-height: auto;
    margin-top: 36px;
    padding-block: 28px;
    padding-inline: var(--footer-shell-pad, var(--profile-content-pad, var(--page-frame-pad, 20px)));
  }
}

/* homepage/homepage-map.css */
button, input { font: inherit; }

.page-main { display: grid; gap: 18px; padding: 18px 0 72px; }
body:has(#shared-header-root[data-page="home"]) .page-main { padding-top: 0; }
.shell {
  border: 1px solid var(--line);
  border-radius: var(--frame-radius);
  background: linear-gradient(180deg, rgba(16, 16, 17, 0.9), rgba(10, 10, 10, 0.96));
  box-shadow: var(--shadow);
}
.hero-map { overflow: hidden; }
.hero-map__frame.page-frame__inner { padding: 0; }
.hero-map__frame { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); min-height: 58vh; }
.hero-map__canvas-wrap { position: relative; min-height: 58vh; background: #111; }
.hero-map__canvas { position: absolute; inset: 0; }
.hero-map__canvas .maplibregl-map,
.hero-map__canvas .maplibregl-canvas-container,
.hero-map__canvas .maplibregl-canvas {
  width: 100%;
  height: 100%;
}
.hero-map__panel {
  min-height: 58vh;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 22, 24, 0.94), rgba(9, 9, 10, 0.98)), rgba(10, 10, 10, 0.82);
}
.hero-map__panel:empty::before { content: ""; display: block; min-height: inherit; }
.hero-map__panel h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero-map__panel p { margin: 0; color: var(--muted); line-height: 1.6; }
.hero-map__chips, .pill-row, .card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 228, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.82rem;
}
.filters-body, .cards-body { padding: 22px; }
.filters-grid, .control-row { display: grid; gap: 14px; }
.control-row.primary-row { grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 0.75fr)); }
.control-row.filter-row { grid-template-columns: repeat(4, minmax(150px, 1fr)) auto; }
.field, .button {
  border-radius: 18px;
  border: 1px solid rgba(244, 239, 228, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}
.field { display: grid; gap: 10px; padding: 14px 16px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02); }
.field-label, .card-type {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 800;
}
.field-main { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.field-main.align-start { justify-content: flex-start; }
.field-copy, .field-text { min-width: 0; display: flex; gap: 12px; color: var(--ink); }
.field-text { display: grid; gap: 4px; }
.field-value { color: var(--ink); line-height: 1.35; }
.field-icon, .field-caret {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.field-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 228, 0.08);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}
.field-caret { width: 20px; height: 20px; color: rgba(244, 239, 228, 0.52); font-size: 0.9rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}
.button.small { min-height: 40px; padding: 0 14px; border-radius: 14px; }
.button.primary { color: #111; background: var(--ink); border-color: var(--ink); }
.button.ghost, .button.subtle { background: rgba(255, 255, 255, 0.03); color: var(--ink); }
.button:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(244, 239, 228, 0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)), rgba(255,255,255,0.02);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.card.is-active {
  border-color: rgba(212, 181, 122, 0.58);
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
  transform: translateY(-2px);
}
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.card h3 { margin: 4px 0 0; font-size: 1.1rem; line-height: 1.25; }
.card-lead { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.55; }
.card-meta-grid { display: grid; gap: 10px; }
.card-meta-row { display: flex; align-items: start; gap: 10px; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.card-meta-label {
  min-width: 64px;
  color: rgba(244, 239, 228, 0.52);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  padding-top: 2px;
}
.card-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(212,181,122,0.2);
  background: rgba(212,181,122,0.08);
  color: var(--ink);
  font-size: 0.82rem;
}
.map-marker {
  z-index: 10;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244,239,228,0.18);
  border-radius: 999px;
  background: rgba(14,14,15,0.9);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(0,0,0,0.28);
  cursor: pointer;
}
.map-marker.is-active { background: var(--ink); color: #111; border-color: var(--ink); }
.user-dot {
  z-index: 100;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.9);
  background: rgba(59,130,246,0.95);
  box-shadow: 0 0 0 8px rgba(59,130,246,0.16), 0 10px 24px rgba(0,0,0,0.26);
  pointer-events: none;
}
.maplibregl-popup { max-width: 220px; }
.maplibregl-popup-content {
  background: rgba(14,14,15,0.95);
  color: var(--ink);
  border: 1px solid rgba(244,239,228,0.08);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.32);
}
.maplibregl-popup-close-button { color: var(--ink); }
.popup-title { margin: 0 0 4px; font-weight: 800; }
.popup-copy { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

.hero-map__canvas-wrap {
  background:
    radial-gradient(circle at 50% 45%, rgba(198, 161, 96, 0.10), transparent 42%),
    #090807;
  overflow: hidden;
}

.hero-map__canvas {
  isolation: isolate;
  overflow: hidden;
}

.hero-map__canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, transparent 38%, rgba(18, 14, 10, 0.18) 100%),
    linear-gradient(180deg, rgba(38, 27, 14, 0.14), transparent 34%, rgba(32, 22, 12, 0.18)),
    linear-gradient(90deg, rgba(28, 20, 12, 0.12), transparent 22%, transparent 78%, rgba(28, 20, 12, 0.12)),
    radial-gradient(circle at 50% 50%, rgba(212, 181, 122, 0.10), transparent 62%);
  box-shadow:
    inset 0 0 0 1px rgba(244, 239, 228, 0.07),
    inset 0 0 70px rgba(32, 22, 12, 0.22);
}

.hero-map__canvas .maplibregl-canvas {
  filter: saturate(0.82) contrast(0.96) brightness(0.94) sepia(0.22);
}

.hero-map__canvas .maplibregl-control-container,
.hero-map__canvas .maplibregl-marker,
.hero-map__canvas .maplibregl-popup {
  position: relative;
  z-index: 3;
}

.hero-map__canvas .maplibregl-marker {
  position: absolute;
}

.hero-map__canvas .maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid rgba(244, 239, 228, 0.14);
  border-radius: 18px;
  background: rgba(8, 8, 9, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.hero-map__canvas .maplibregl-ctrl-group button {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  background-color: transparent;
  color: var(--ink);
}

.hero-map__canvas .maplibregl-ctrl-group button + button {
  border-top-color: rgba(244, 239, 228, 0.12);
}

.hero-map__canvas .maplibregl-ctrl-attrib {
  border: 1px solid rgba(244, 239, 228, 0.12);
  border-radius: 999px;
  background: rgba(8, 8, 9, 0.68);
  color: rgba(244, 239, 228, 0.64);
  backdrop-filter: blur(12px);
}

.hero-map__canvas .maplibregl-ctrl-attrib a {
  color: rgba(244, 239, 228, 0.78);
}

.map-marker {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 210, 137, 0.92);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 250, 230, 1) 0 12%, rgba(245, 210, 137, 1) 13% 30%, rgba(14, 12, 9, 0.90) 31% 100%);
  color: transparent;
  font-size: 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 242, 191, 0.24),
    0 4px 10px rgba(0, 0, 0, 0.18);
}

.map-marker::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: #f5d289;
  box-shadow: 0 0 10px rgba(245, 210, 137, 0.44);
}

.map-marker.is-active {
  border-color: rgba(255, 250, 230, 1);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 250, 230, 1) 0 16%, rgba(245, 210, 137, 1) 17% 40%, rgba(16, 13, 9, 0.88) 41% 100%);
  color: transparent;
  box-shadow:
    inset 0 0 0 2px rgba(255, 242, 191, 0.42),
    0 4px 10px rgba(0, 0, 0, 0.18);
}

.map-marker.is-active::after {
  background: #fff2bf;
  box-shadow: 0 0 10px rgba(255, 242, 191, 0.56);
}

.user-dot {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(244, 239, 228, 0.92);
  background: #4f83d1;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 4px 10px rgba(0, 0, 0, 0.22);
}

@media (max-width: 1120px) {
  .hero-map__frame { grid-template-columns: 1fr; }
  .hero-map__canvas-wrap { order: 1; }
  .hero-map__panel {
    order: 2;
    min-height: 180px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .control-row.primary-row, .control-row.filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero-map__canvas-wrap { min-height: 44vh; }
  .hero-map__frame { min-height: auto; }
  .hero-map__panel { min-height: 140px; }
  .control-row.primary-row, .control-row.filter-row, .cards-grid { grid-template-columns: 1fr; }
  .filters-body, .cards-body { padding: 18px; }
}

/* Hotfix: the static-first homepage no longer uses the legacy side panel.
   Hide the empty panel and let the map canvas occupy the full hero frame. */
.hero-map__frame {
  grid-template-columns: minmax(0, 1fr);
}

.hero-map__panel:empty {
  display: none;
}


@media (max-width: 760px) {
  .hero-map__canvas .maplibregl-ctrl-group button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }
}

/* homepage/homepage-card-controls.css */
body .card {
  min-width: 0;
  row-gap: 10px;
}

body .card h3 {
  margin-top: 12px;
  font-size: clamp(1.18rem, 1.2vw, 1.34rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

body .card-copy h3 {
  margin: 12px 0 8px;
}

body .card-copy .card-lead {
  margin-top: 0;
}

body .card-lead {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  color: rgba(244, 239, 228, 0.8);
}

body .card-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
}

body .card-product-name,
body .card-product-availability,
body .card-place-row {
  min-width: 0;
}

body .card-product-availability {
  padding: 2px 8px;
  border: 1px solid rgba(212, 181, 122, 0.22);
  border-radius: 999px;
  background: rgba(212, 181, 122, 0.07);
  color: rgba(244, 239, 228, 0.86);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

body .card[data-availability-state="Off-window"] .card-product-availability,
body .card[data-availability-state="Not currently ripe"] .card-product-availability {
  border-color: rgba(244, 239, 228, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(244, 239, 228, 0.66);
}

body .card-product-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(244, 239, 228, 0.84);
  line-height: 1.5;
}

body .card-distance:empty {
  display: none;
}

body .card-actions {
  justify-content: space-between;
  justify-self: stretch;
  gap: 12px;
  margin-top: 10px;
}

body .card-actions .button.ghost[data-focus-profile] {
  flex: 0 0 auto;
  gap: 0;
  padding-inline: 14px;
}

body .card-actions .button.ghost[data-focus-profile]::after {
  content: none;
}

body .card-actions .button.primary {
  flex: 0 1 auto;
  min-width: 118px;
  max-width: none;
  padding-inline: 16px;
  text-align: center;
}

body .card-main {
  display: flex;
  gap: 14px;
  align-items: start;
}

body .card-copy {
  flex: 1 1 auto;
  min-width: 0;
}

body .card-offer-thumb {
  flex: 0 0 116px;
  width: 116px;
  min-width: 116px;
  max-width: 116px;
  height: 145px;
  min-height: 145px;
  max-height: 145px;
  aspect-ratio: 4 / 5;
  margin: 8px 0 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(244, 239, 228, 0.08);
}

body .card-offer-thumb__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 760px) {
  body .card-lead,
  body .card-product-summary {
    -webkit-line-clamp: none;
  }

  body .card-product-row {
    grid-template-columns: 1fr;
  }

  body .card-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  body .card-main {
    gap: 12px;
  }

  body .card-offer-thumb {
    flex-basis: 110px;
    width: 110px;
    min-width: 110px;
    max-width: 110px;
    height: 138px;
    min-height: 138px;
    max-height: 138px;
    border-radius: 16px;
  }
}

/* homepage/homepage-map-search.css */
[hidden] { display: none !important; }

.cards-grid:not([data-grid-hydrated]) > .card:nth-of-type(n + 13) {
	display: none !important;
}

#selected-source-slot,
#cards-grid {
	overflow-anchor: none;
}

#selected-source-slot {
	display: none !important;
}

#cards-grid > .card.is-active {
	order: -1;
}

#cards-grid > .card.is-active[hidden] {
	display: grid !important;
}

.homepage-no-results {
	display: grid;
	gap: 16px;
	margin: 0 0 18px;
	padding: clamp(22px, 4vw, 34px);
	border: 1px solid rgba(212, 181, 122, 0.32);
	border-radius: 28px;
	background:
		radial-gradient(circle at top left, rgba(212, 181, 122, 0.18), transparent 36%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
		rgba(11, 11, 12, 0.86);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 18px 50px rgba(0, 0, 0, 0.26);
	overflow-anchor: none;
}

.homepage-no-results__eyebrow {
	margin: 0;
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.homepage-no-results__heading {
	margin: 0;
	max-width: 900px;
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 3.6vw, 2.55rem);
	line-height: 1.02;
	letter-spacing: -0.025em;
}

.homepage-no-results__copy {
	margin: 0;
	max-width: 820px;
	color: var(--muted);
	font-size: clamp(1rem, 1.8vw, 1.12rem);
	line-height: 1.65;
}

.homepage-no-results__cta {
	justify-self: start;
}

#cards-grid[data-empty-search="true"] {
	display: none;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
}

.rnrn-accessible-heading {
	clip-path: inset(50%);
	overflow: visible;
}

.hero-map__frame {
	display: block;
	min-height: 62vh;
}

.hero-map__canvas-wrap {
	min-height: 62vh;
}

.rnrn-thesis,
.cards-summary {
	display: none !important;
}


.map-status {
	display: none !important;
}

.locate-button {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(212, 181, 122, 0.28);
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)), rgba(8, 8, 9, 0.78);
	color: var(--ink);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 28px rgba(0, 0, 0, 0.28);
	cursor: pointer;
	backdrop-filter: blur(14px);
}

.locate-button .locate-button__icon {
	display: none;
}

.locate-button::before,
.card-actions .button.ghost[data-focus-profile]::after {
	content: "";
	display: inline-block;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background-color: rgba(212, 181, 122, 0.14);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6c98f' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='6.2'/%3E%3Cpath d='M12 2.8v3.1M12 18.1v3.1M2.8 12h3.1M18.1 12h3.1M12 9.3v5.4M9.3 12h5.4'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 18px 18px;
	box-shadow: inset 0 0 0 1px rgba(212, 181, 122, 0.22), 0 0 16px rgba(212, 181, 122, 0.08);
}

.locate-button:hover {
	background: linear-gradient(180deg, rgba(212, 181, 122, 0.12), rgba(255, 255, 255, 0.035)), rgba(8, 8, 9, 0.86);
	border-color: rgba(212, 181, 122, 0.42);
}

.locate-button:disabled {
	opacity: 0.58;
	cursor: not-allowed;
}

.cards-header,
.cards-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.cards-header {
	margin-bottom: 16px;
}

.cards-footer {
	justify-content: center;
	margin-top: 18px;
}

.card {
	display: grid;
	grid-template-rows: auto auto auto auto auto auto;
	row-gap: 8px;
	align-content: start;
}

.card h3 {
	margin: 10px 0 0;
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1.2;
	font-weight: 700;
}

.card h3 a {
	color: var(--ink);
	text-decoration: none;
}

.card h3 a:hover {
	color: var(--accent);
}

.card-lead {
	margin: 0;
	color: var(--muted);
}

.card-products {
	display: grid;
	gap: 8px;
	margin-top: 10px;
}

.card-product-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
	border-top: 1px solid rgba(244, 239, 228, 0.09);
}

.card-product-row:first-child {
	border-top: 0;
	padding-top: 0;
}

.card-product-name {
	color: var(--accent);
	font-family: var(--font-display);
	font-weight: 600;
}

.card-product-availability {
	display: none !important;
	color: var(--muted);
	font-size: 0.92rem;
	white-space: nowrap;
}

.card-place-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px solid rgba(244, 239, 228, 0.09);
	color: var(--muted);
}

.card-place,
.card-place-separator,
.card-distance {
	color: var(--muted);
	font-weight: 400;
}

.card-distance {
	white-space: nowrap;
}

.card-actions {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	justify-self: start;
	width: 100%;
	gap: 10px;
	flex-wrap: nowrap;
	margin-top: 6px;
}

.card-actions .button {
	min-height: 42px;
	white-space: nowrap;
}

.card-actions .button.ghost {
	flex: 0 0 auto;
	min-width: 86px;
}

.card-actions .button.ghost[data-focus-profile] {
	gap: 6px;
	padding-inline: 8px;
}

.card-actions .button.primary {
	flex: 0 1 auto;
	max-width: 260px;
	padding-inline: 20px;
}

.card-top .pill {
	border-color: rgba(212, 181, 122, 0.62);
	background: rgba(212, 181, 122, 0.06);
	color: rgba(244, 239, 228, 0.96);
}

.selected-source-slot:not(:empty) {
	margin-bottom: 16px;
}

.selected-source-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px;
	border: 1px solid rgba(212, 181, 122, 0.3);
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(212, 181, 122, 0.1), rgba(255,255,255,0.03)), rgba(255,255,255,0.02);
}

.selected-source-card h3 {
	margin: 4px 0 0;
	font-family: var(--font-display);
	font-size: 1.12rem;
}

.selected-source-card p {
	margin: 8px 0 0;
	color: var(--muted);
	line-height: 1.45;
}

.selected-source-card__distance {
	color: var(--ink) !important;
}

.locate-button:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
	box-shadow: 0 0 0 3px rgba(11, 11, 12, 0.75);
}

@media (max-width: 1120px) {
	.hero-map__frame,
	.hero-map__canvas-wrap {
		min-height: 56vh;
	}
}

@media (max-width: 768px) {
	.hero-map__frame,
	.hero-map__canvas-wrap {
		min-height: 48vh;
	}

	.locate-button {
		width: 42px;
		height: 42px;
	}

	.selected-source-card {
		display: grid;
	}

	.card {
		grid-template-rows: auto auto auto auto auto auto;
		row-gap: 8px;
	}

	.card-lead {
		min-height: 0;
	}

	.card-product-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.card-product-availability,
	.card-distance {
		white-space: normal;
	}

	.card-actions {
		flex-wrap: wrap;
	}

	#cards-grid .card-actions {
		flex-wrap: nowrap;
		gap: 0;
		width: 100%;
	}

	#cards-grid .card-actions .button.primary {
		margin-left: auto;
	}
}

/* homepage/mobile-viewport.css */
html {
  min-height: 100%;
  min-height: 100dvh;
}

body {
  min-height: 100%;
  min-height: 100dvh;
}

.page-main {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.hero-map__frame,
.hero-map__canvas-wrap,
.hero-map__panel {
  min-height: 58svh;
}

@supports not (height: 100svh) {
  .hero-map__frame,
  .hero-map__canvas-wrap,
  .hero-map__panel {
    min-height: 58vh;
  }
}

@media (max-width: 1120px) {
  .hero-map__frame {
    min-height: auto;
  }

  .hero-map__panel {
    min-height: 180px;
  }
}

@media (max-width: 760px) {
  .hero-map__frame {
    min-height: auto;
  }

  .hero-map__canvas-wrap {
    min-height: 48svh;
  }

  .hero-map__panel {
    min-height: 140px;
  }

  @supports not (height: 100svh) {
    .hero-map__canvas-wrap {
      min-height: 48vh;
    }
  }
}

/* components/privacy/consent.css */
.peakripe-consent {
  position: fixed;
  left: 50%;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  width: min(560px, calc(100vw - 1rem));
  z-index: 9999;
  color: #f8f4ec;
  font-family: inherit;
  contain: layout style paint;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 0.5rem, 0);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 0s linear 160ms;
}

.peakripe-consent--is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0);
  transition-delay: 0s;
}

.peakripe-consent__panel {
  padding: 0.65rem;
  border: 1px solid rgba(248, 244, 236, 0.18);
  border-radius: 16px;
  background: rgba(5, 5, 7, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.peakripe-consent__copy {
  min-width: 0;
}

.peakripe-consent__title {
  font-weight: 760;
}

.peakripe-consent__text {
  margin: 0;
  max-width: 34ch;
  color: rgba(248, 244, 236, 0.82);
  font-size: 0.82rem;
  line-height: 1.25;
}

.peakripe-consent__actions,
.peakripe-consent-settings__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: flex-end;
}

.peakripe-consent__button {
  min-height: 34px;
  border: 1px solid rgba(248, 244, 236, 0.22);
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  background: transparent;
  color: #f8f4ec;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.peakripe-consent__button:hover {
  border-color: rgba(248, 244, 236, 0.42);
}

.peakripe-consent__button:focus-visible {
  outline: 2px solid #f8f4ec;
  outline-offset: 3px;
}

.peakripe-consent__button--accept {
  min-width: 82px;
  background: #f8f4ec;
  color: #050507;
  border-color: #f8f4ec;
  font-weight: 760;
}

.peakripe-consent__button--reject {
  min-width: 72px;
}

.peakripe-consent__button--privacy {
  min-width: 78px;
}

.peakripe-consent-settings {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(248, 244, 236, 0.14);
  border-radius: 18px;
  background: rgba(5, 5, 7, 0.54);
  color: #f8f4ec;
}

.peakripe-consent-settings__status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: baseline;
  margin-bottom: 0.85rem;
}

.peakripe-consent-settings__label {
  color: rgba(248, 244, 236, 0.72);
}

.peakripe-consent-settings__message {
  margin: 0.85rem 0 0;
  color: rgba(248, 244, 236, 0.78);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .peakripe-consent {
    bottom: max(0.5rem, env(safe-area-inset-bottom));
    width: min(390px, calc(100vw - 0.75rem));
  }

  .peakripe-consent__panel {
    align-items: stretch;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.6rem;
  }

  .peakripe-consent__text {
    max-width: none;
    font-size: 0.8rem;
  }

  .peakripe-consent__actions,
  .peakripe-consent-settings__actions {
    display: grid;
    gap: 0.35rem;
    justify-content: stretch;
  }

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

  .peakripe-consent-settings__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .peakripe-consent__button,
  .peakripe-consent__button--accept,
  .peakripe-consent__button--reject,
  .peakripe-consent__button--privacy {
    width: auto;
    min-width: 0;
    min-height: 34px;
    padding: 0.45rem 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .peakripe-consent {
    transition: none;
  }
}

