:root {
  --ink: #1a2332;
  --muted: #6b7c8d;
  --line: #d9e6ee;
  /* Sampled from hero: apron/CTA blue + cold ice cast */
  --glacier: #0390c3;
  --glacier-dark: #0278a3;
  --ice: #e8f2f8;
  --trust-bg: #daedf8;
  --trust-ink: #1584bb;
  --panel: #ffffff;
  --shadow: 0 8px 24px rgba(26, 35, 50, 0.06);
  --radius: 8px;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-brand: "Syne", "Manrope", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  font-feature-settings: "kern" 1, "liga" 1;
}
/*
  Home = exactly 100% viewport tall.
  Photo edge-to-edge (100% width) + features + trust. No page scroll.
*/
html:has(body.page-home),
body.page-home {
  height: auto;
  max-height: none;
}
body.page-home {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  overflow-y: auto;
  background: #e8f1f7;
  display: flex;
  flex-direction: column;
}
body.page-home > .flash,
body.page-home > .flash-error {
  flex: 0 0 auto;
}
.home-stage {
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.home-stage .hero--home {
  flex: 0 0 auto;
  min-height: 0;
}
img { max-width: 100%; display: block; }
a { color: var(--glacier-dark); text-decoration: none; }
a:hover { color: var(--ink); }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ===== Header ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eef3f6;
  position: sticky;
  top: 0;
  z-index: 50;
}
/* Nav over photo — no white top bar */
.site-header--over-hero {
  position: relative;
  background: linear-gradient(180deg, rgba(236, 244, 251, 0.55) 0%, rgba(236, 244, 251, 0.18) 65%, transparent 100%);
  border-bottom: 0;
  z-index: 3;
  align-self: start;
  width: 100%;
  justify-self: stretch;
}
.site-header--over-hero .header-inner {
  min-height: 60px;
}
.site-header--over-hero .brand {
  color: #1a2332;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
.site-header--over-hero .nav-center > a,
.site-header--over-hero .nav-drop-btn,
.site-header--over-hero .link-login,
.site-header--over-hero .link-btn {
  color: #234056;
  font-size: 0.92rem;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: color 0.15s ease;
}
.site-header--over-hero .nav-admin {
  color: #9b2c2c;
  font-size: 0.92rem;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: color 0.15s ease;
}
.site-header--over-hero .nav-center > a:hover,
.site-header--over-hero .nav-drop-btn:hover,
.site-header--over-hero .link-login:hover,
.site-header--over-hero .link-btn:hover {
  color: #0390c3;
}
.site-header--over-hero .nav-admin:hover,
.site-header--over-hero .nav-admin.is-active {
  color: #7a1f1f;
}
.site-header--over-hero .nav-center > a.is-active,
.site-header--over-hero .nav-account-btn.is-active {
  color: #0278a3;
  font-weight: 700;
}
.site-header--over-hero .nav-center {
  gap: 1.4rem;
}
.site-header--over-hero .nav-drop-menu {
  background: rgba(255, 255, 255, 0.97);
  border-color: #b9d6ea;
  box-shadow: 0 12px 28px rgba(2, 120, 163, 0.12);
}
.site-header--over-hero .nav-drop-menu a {
  color: #1a2b3c;
}
.site-header--over-hero .nav-drop-menu a:hover {
  background: #ecf4fb;
  color: #0278a3;
}
.nav-sep {
  width: 1px;
  height: 18px;
  background: rgba(26, 35, 50, 0.18);
  display: inline-block;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 68px;
}
.brand {
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand--mark {
  gap: 0;
}
.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.brand--mark .brand-logo,
.brand--mark .brand-logo-svg {
  width: 150px;
  height: 66px;
}
.footer-logo .brand-logo-svg {
  width: 110px;
  height: 48px;
}
.brand-logo-svg {
  overflow: visible;
  transform-origin: 50% 50%;
}
.brand-logo-svg .brand-fade--land-a { opacity: 0.35; }
.brand-logo-svg .brand-fade--land-b { opacity: 0.3; }

/* Soft fade + scale on load */
.brand--mark.brand--animating {
  animation: brand-logo-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes brand-logo-enter {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slight float on hover (replayable via JS class) */
.brand-logo-svg.is-floating {
  animation: brand-logo-float 0.9s ease-out 1;
}
@keyframes brand-logo-float {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
}

/* Line draw — pathLength=1 so dash 1→0 always works */
.brand-logo-svg--animate .brand-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: brand-logo-draw 1.15s ease both;
}
.brand-logo-svg--animate .brand-draw--fish {
  animation-duration: 1.05s;
  animation-delay: 0.12s;
}
.brand-logo-svg--animate .brand-draw--globe {
  fill-opacity: 0;
  animation:
    brand-logo-draw 1s ease 0.35s both,
    brand-logo-globe-fill 0.45s ease 0.85s forwards;
}
.brand-logo-svg--animate .brand-draw--meridian {
  animation-duration: 0.85s;
  animation-delay: 0.65s;
}
@keyframes brand-logo-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes brand-logo-globe-fill {
  from { fill-opacity: 0; }
  to { fill-opacity: 1; }
}

.brand-logo-svg--animate .brand-fade--eye {
  opacity: 0;
  animation: brand-logo-fade-eye 0.4s ease 0.85s forwards;
}
.brand-logo-svg--animate .brand-fade--land-a {
  opacity: 0;
  animation: brand-logo-fade-land-a 0.45s ease 1s forwards;
}
.brand-logo-svg--animate .brand-fade--land-b {
  opacity: 0;
  animation: brand-logo-fade-land-b 0.45s ease 1.08s forwards;
}
@keyframes brand-logo-fade-eye {
  to { opacity: 1; }
}
@keyframes brand-logo-fade-land-a {
  to { opacity: 0.35; }
}
@keyframes brand-logo-fade-land-b {
  to { opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
  .brand--mark.brand--animating,
  .brand-logo-svg.is-floating,
  .brand-logo-svg--animate .brand-draw,
  .brand-logo-svg--animate .brand-draw--globe,
  .brand-logo-svg--animate .brand-fade--eye,
  .brand-logo-svg--animate .brand-fade--land-a,
  .brand-logo-svg--animate .brand-fade--land-b {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    fill-opacity: 1 !important;
    transform: none !important;
  }
  .brand-logo-svg--animate .brand-fade--land-a { opacity: 0.35 !important; }
  .brand-logo-svg--animate .brand-fade--land-b { opacity: 0.3 !important; }
}
.brand-text {
  line-height: 1;
}
.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.nav-center > a,
.nav-drop-btn {
  color: #445566;
  font-weight: 600;
  font-size: 0.92rem;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav-center > a:hover,
.nav-drop-btn:hover { color: var(--ink); }
.nav-center > a.is-active {
  color: var(--glacier-dark);
}
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.28rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
}
.nav-drop { position: relative; }
.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 0.4rem;
  z-index: 60;
}
.nav-drop.open .nav-drop-menu { display: grid; }
.nav-drop-menu a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-drop-menu a:hover { background: var(--ice); }
.nav-drop-menu a.is-active {
  color: var(--glacier-dark);
  background: #ecf4fb;
}
.nav-menu-icon {
  flex-shrink: 0;
  color: #1584bb;
}
.nav-drop-menu a.is-active .nav-menu-icon {
  color: var(--glacier-dark);
}
.nav-drop-menu a:hover .nav-menu-icon {
  color: #0278a3;
}
.nav-drop--account .nav-drop-menu {
  left: auto;
  right: 0;
  transform: none;
  min-width: 210px;
}
.nav-account-btn.is-active {
  color: var(--glacier-dark);
  font-weight: 700;
}
.nav-drop-logout {
  margin: 0.2rem 0 0;
  padding-top: 0.2rem;
  border-top: 1px solid var(--line);
}
.nav-drop-logout button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #5a6b7a;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.nav-drop-logout button .nav-menu-icon {
  color: #8a6b6b;
}
.nav-drop-logout button:hover {
  background: #fff1f1;
  color: #9b2c2c;
}
.nav-drop-logout button:hover .nav-menu-icon {
  color: #9b2c2c;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.nav-actions form { margin: 0; }
.nav-admin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #9b2c2c;
  text-decoration: none;
  white-space: nowrap;
}
.nav-admin svg { flex-shrink: 0; }
.nav-admin:hover,
.nav-admin.is-active { color: #7a1f1f; }
.link-login,
.link-btn {
  color: #445566;
  font-weight: 600;
  font-size: 0.92rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
.link-login:hover,
.link-btn:hover,
.link-login.is-active {
  color: var(--glacier-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1.5px solid transparent;
  border-radius: 9px;
  padding: 0.78rem 1.15rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: 0.18s ease;
}
.btn-sm {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}
.btn-primary {
  background: var(--glacier);
  color: #fff;
}
.btn-primary:hover { background: var(--glacier-dark); color: #fff; }
.btn-outline {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  border-color: var(--glacier);
  color: var(--glacier);
}
.btn-outline:hover {
  background: var(--ice);
  color: var(--glacier-dark);
}
.btn-block { width: 100%; }
.btn-cta {
  min-width: 200px;
  box-shadow: 0 6px 16px rgba(3, 144, 195, 0.22);
}
.btn-outline.btn-cta { box-shadow: none; }
.btn-ghost {
  background: transparent;
  border-color: #c5dae6;
  color: #3a5568;
}
.btn-ghost:hover {
  border-color: #0390c3;
  color: #0278a3;
  background: #ecf4fb;
}
.btn-cta {
  font-weight: 500;
  letter-spacing: 0.01em;
}
.btn-cta .arrow { margin-left: 0.1rem; font-weight: 500; }
/* Browse Trade — soft glass like Browse Local */
.hero .btn-primary.btn-cta {
  background: rgba(3, 144, 195, 0.72);
  border-color: rgba(3, 144, 195, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 6px 16px rgba(3, 144, 195, 0.14);
}
.hero .btn-primary.btn-cta:hover {
  background: rgba(3, 144, 195, 0.88);
  border-color: var(--glacier);
  color: #fff;
}

/* ===== Hero — first viewport photo stage ===== */
.home-stage .hero {
  flex: 0 0 auto;
  min-height: 0;
}
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero--home {
  flex: 0 0 auto;
  min-height: 0;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
}
.hero--home > .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero--home > .site-header {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  width: 100%;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: #e8f1f7;
  overflow: hidden;
}
.hero-bg-img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  /* Fill hero; keep fish + workers on the right */
  object-fit: cover;
  object-position: 78% center;
  filter: contrast(1.06) saturate(1.03);
}
/* Seamless left ending — photo dissolves into ice (no hard line) */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #e8f1f7 0%,
    #e8f1f7 16%,
    rgba(232, 241, 247, 0.97) 24%,
    rgba(232, 241, 247, 0.85) 34%,
    rgba(232, 241, 247, 0.55) 46%,
    rgba(232, 241, 247, 0.25) 58%,
    rgba(232, 241, 247, 0.08) 68%,
    rgba(232, 241, 247, 0) 78%
  );
}
.hero--home .hero-content {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 0.1rem 0 0.55rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0.7rem;
  min-height: 0;
}
.hero--home .hero-copy-inner {
  flex: 0 0 auto;
}
.hero--home .home-latest--in-hero {
  flex: 0 0 auto;
  margin-top: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2.5rem 0 4.5rem;
}
.hero-copy-inner {
  max-width: 640px;
  width: 100%;
}
/* Soft letter-shaped blur (shadow-like), not a box */
.hero-brand {
  position: relative;
  isolation: isolate;
}
.hero-brand::before,
.hero-brand::after {
  content: attr(data-blur);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  pointer-events: none;
  user-select: none;
  white-space: inherit;
}
.hero-brand::before {
  color: rgba(199, 217, 231, 0.95);
  filter: blur(5px);
  transform: translate(0, 1px);
}
.hero-brand::after {
  color: rgba(26, 45, 58, 0.16);
  filter: blur(8px);
  transform: translate(0, 3px);
}
.hero-brand {
  margin: 0 0 0.55rem;
  font-family: "Outfit", var(--font);
  font-size: clamp(3.2rem, 6.5vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: #15202b;
  text-shadow: none;
  display: inline-block;
  transform: none;
}
.hero-tagline {
  margin: 0 0 1.2rem;
  font-family: "Outfit", var(--font);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 300;
  color: #3a4550;
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 18ch;
  text-shadow: none;
  display: block;
  white-space: normal;
}
@media (min-width: 900px) {
  .hero-tagline {
    max-width: none;
  }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.45rem;
}
.btn-cta {
  font-size: 1.2rem;
  padding: 1.1rem 1.65rem;
  min-width: 200px;
}
.btn-cta svg {
  width: 26px;
  height: 26px;
}
.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #1a2332;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  padding: 0 1.2rem;
}
.hero-trust li:first-child { padding-left: 0; }
.hero-trust li:not(:last-child) {
  border-right: 1px solid rgba(28, 147, 191, 0.42);
}
.hero-trust svg {
  color: #1584bb;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}
.hero-trust .icon-coldchain {
  color: #1584bb;
}
.hero-trust-text {
  display: block;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #1a2332;
}

/* ===== Feature strip ===== */
.feature-strip {
  background: #ecf4fb;
  border-top: 0;
  padding: 1.85rem 0 1.95rem;
}
.page-home .feature-strip {
  flex: 0 0 auto;
  background: #ecf4fb;
  padding: 0.95rem 0 1rem;
  border-top: 1px solid #c5dae6;
}
.page-home .feature-icon {
  margin-bottom: 0.45rem;
}
.page-home .feature-icon svg {
  width: 44px;
  height: 44px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  padding: 0.35rem 1.25rem;
}
.feature-item:first-child { padding-left: 0; }
.feature-item:last-child { padding-right: 0; }
.feature-item:not(:last-child) {
  border-right: 1px solid #b9d6ea;
}
.feature-icon {
  color: var(--glacier);
  margin-bottom: 0.85rem;
  line-height: 0;
}
.feature-icon svg {
  width: 56px;
  height: 56px;
}
.feature-item h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a2b3c;
}
.feature-item p {
  margin: 0;
  color: #5a6b7a;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  max-width: 15.5rem;
}

/* ===== Trust bar ===== */
.trust-bar {
  background: #daedf8;
  border-top: 1px solid #c5dae6;
  border-bottom: 1px solid #c5dae6;
}
/* Footer strip */
.page-home .trust-bar {
  flex: 0 0 auto;
  background: #daedf8;
  border-top: 0;
  border-bottom: 0;
}
.page-home .trust-bar-inner {
  padding: 0.55rem 0;
}

/* ===== Home latest ads (inline rail under hero trust) ===== */
.home-latest--in-hero {
  position: relative;
  margin: 0;
  padding: 0.95rem 0 1.6rem;
  background: transparent;
  border: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}
.home-latest--in-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(28, 147, 191, 0.28) 8%,
    rgba(28, 147, 191, 0.72) 35%,
    rgba(28, 147, 191, 0.72) 65%,
    rgba(28, 147, 191, 0.28) 92%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 1;
}
.home-latest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.55rem;
  width: 100%;
}
.home-latest-title {
  margin: 0;
  font-family: "Outfit", var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0b3a52;
}
.home-latest-all {
  flex: 0 0 auto;
  white-space: nowrap;
  color: #0278a3;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.home-latest-all:hover {
  color: #0390c3;
}
.home-latest-carousel {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  overflow: visible;
}
.home-latest-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0.65rem 0.4rem 0.95rem;
  margin: -0.65rem -0.4rem -0.95rem;
  box-sizing: border-box;
}
.home-latest-track {
  display: flex;
  gap: 0.65rem;
  width: max-content;
  will-change: transform;
  cursor: grab;
  touch-action: pan-y;
  padding: 0.15rem 0.1rem;
}
.home-latest-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.home-latest-track.is-dragging .listing-card {
  pointer-events: none;
}
.home-latest-nav {
  flex: 0 0 auto;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 1px solid #b9d6ea;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0278a3;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(2, 120, 163, 0.1);
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.home-latest-nav:hover:not(:disabled) {
  background: #fff;
  color: #0390c3;
}
.home-latest-nav:disabled,
.home-latest-nav.is-disabled {
  opacity: 0.35;
  cursor: default;
}
.home-latest-track .listing-card {
  box-sizing: border-box;
  flex: 0 0 140px;
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  background: rgba(236, 244, 251, 0.55);
  padding: 0.3rem 0.3rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(11, 58, 82, 0.14), 0 2px 6px rgba(11, 58, 82, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: auto;
}
.home-latest-track .listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 58, 82, 0.18), 0 3px 8px rgba(11, 58, 82, 0.1);
  background: rgba(236, 244, 251, 0.72);
}
.home-latest-track .listing-card .thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  overflow: hidden;
  background: #d7e8f2;
}
.home-latest-track .listing-card .listing-sample-badge {
  top: 0.3rem;
  left: 0.3rem;
  font-size: 0.56rem;
  padding: 0.14rem 0.32rem;
}
.home-latest-track .listing-card:hover .thumb img {
  transform: scale(1.03);
}
.home-latest-track .listing-card .meta {
  padding: 0.35rem 0.1rem 0;
  width: 100%;
}
.home-latest-track .listing-card h3 {
  font-size: 0.78rem;
  margin: 0 0 0.15rem;
  min-height: 2.05em;
  color: #122433;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-latest-track .listing-card .tag {
  font-size: 0.58rem;
  margin-bottom: 0.12rem;
}
.home-latest-track .listing-card .price {
  font-size: 0.78rem;
  color: #0b3a52;
}
.home-latest-track .listing-card .muted {
  font-size: 0.68rem;
  color: #3a5568;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-latest-empty {
  text-align: left;
  padding: 0.35rem 0;
  color: #3a5568;
  font-size: 0.9rem;
}
.home-latest-empty p {
  margin: 0 0 0.55rem;
}
body.page-home .site-footer {
  flex: 0 0 auto;
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(3, 144, 195, 0.08), transparent 55%),
    linear-gradient(180deg, #ecf4fb 0%, #daedf8 100%);
  border-top: 1px solid #b9d6ea;
  color: #3a5568;
}
body.page-home .site-footer .footer-note,
body.page-home .site-footer .footer-heading,
body.page-home .site-footer .footer-bottom p {
  color: #1584bb;
}
body.page-home .site-footer a,
body.page-home .site-footer .footer-logout button {
  color: #1a2b3c;
}
body.page-home .site-footer a:hover,
body.page-home .site-footer .footer-logout button:hover {
  color: var(--glacier-dark);
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.8rem 0;
  color: #1584bb;
  font-size: 0.88rem;
  font-weight: 650;
  font-weight: 600;
}
.trust-bar-inner > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.2rem 0.6rem;
  text-align: center;
}
.trust-bar-inner > div:not(:last-child) {
  border-right: 1px solid #b9d6ea;
}

.icon-check,
.icon-snow,
.icon-shield,
.icon-globe {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: #1584bb;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.icon-check {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 12.2l2.4 2.4L16.2 9' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 12.2l2.4 2.4L16.2 9' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.icon-snow {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none'%3E%3Cg stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='3.5'/%3E%3Cg%3E%3Cpath d='M24 20.2V5.5'/%3E%3Cpath d='M19 16.8 24 13.6l5 3.2'/%3E%3Cpath d='M19 11.2 24 8l5 3.2'/%3E%3C/g%3E%3Cg transform='rotate(60 24 24)'%3E%3Cpath d='M24 20.2V5.5'/%3E%3Cpath d='M19 16.8 24 13.6l5 3.2'/%3E%3Cpath d='M19 11.2 24 8l5 3.2'/%3E%3C/g%3E%3Cg transform='rotate(120 24 24)'%3E%3Cpath d='M24 20.2V5.5'/%3E%3Cpath d='M19 16.8 24 13.6l5 3.2'/%3E%3Cpath d='M19 11.2 24 8l5 3.2'/%3E%3C/g%3E%3Cg transform='rotate(180 24 24)'%3E%3Cpath d='M24 20.2V5.5'/%3E%3Cpath d='M19 16.8 24 13.6l5 3.2'/%3E%3Cpath d='M19 11.2 24 8l5 3.2'/%3E%3C/g%3E%3Cg transform='rotate(240 24 24)'%3E%3Cpath d='M24 20.2V5.5'/%3E%3Cpath d='M19 16.8 24 13.6l5 3.2'/%3E%3Cpath d='M19 11.2 24 8l5 3.2'/%3E%3C/g%3E%3Cg transform='rotate(300 24 24)'%3E%3Cpath d='M24 20.2V5.5'/%3E%3Cpath d='M19 16.8 24 13.6l5 3.2'/%3E%3Cpath d='M19 11.2 24 8l5 3.2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none'%3E%3Cg stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='3.5'/%3E%3Cg%3E%3Cpath d='M24 20.2V5.5'/%3E%3Cpath d='M19 16.8 24 13.6l5 3.2'/%3E%3Cpath d='M19 11.2 24 8l5 3.2'/%3E%3C/g%3E%3Cg transform='rotate(60 24 24)'%3E%3Cpath d='M24 20.2V5.5'/%3E%3Cpath d='M19 16.8 24 13.6l5 3.2'/%3E%3Cpath d='M19 11.2 24 8l5 3.2'/%3E%3C/g%3E%3Cg transform='rotate(120 24 24)'%3E%3Cpath d='M24 20.2V5.5'/%3E%3Cpath d='M19 16.8 24 13.6l5 3.2'/%3E%3Cpath d='M19 11.2 24 8l5 3.2'/%3E%3C/g%3E%3Cg transform='rotate(180 24 24)'%3E%3Cpath d='M24 20.2V5.5'/%3E%3Cpath d='M19 16.8 24 13.6l5 3.2'/%3E%3Cpath d='M19 11.2 24 8l5 3.2'/%3E%3C/g%3E%3Cg transform='rotate(240 24 24)'%3E%3Cpath d='M24 20.2V5.5'/%3E%3Cpath d='M19 16.8 24 13.6l5 3.2'/%3E%3Cpath d='M19 11.2 24 8l5 3.2'/%3E%3C/g%3E%3Cg transform='rotate(300 24 24)'%3E%3Cpath d='M24 20.2V5.5'/%3E%3Cpath d='M19 16.8 24 13.6l5 3.2'/%3E%3Cpath d='M19 11.2 24 8l5 3.2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.icon-shield {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3l8 3.5v5.5c0 5.2-3.6 8.8-8 10-4.4-1.2-8-4.8-8-10V6.5L12 3z' stroke='black' stroke-width='1.9'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3l8 3.5v5.5c0 5.2-3.6 8.8-8 10-4.4-1.2-8-4.8-8-10V6.5L12 3z' stroke='black' stroke-width='1.9'/%3E%3C/svg%3E");
}
.icon-globe {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none'%3E%3Cg stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='16.5'/%3E%3Cellipse cx='24' cy='24' rx='7' ry='16.5'/%3E%3Cpath d='M7.5 24h33'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none'%3E%3Cg stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='16.5'/%3E%3Cellipse cx='24' cy='24' rx='7' ry='16.5'/%3E%3Cpath d='M7.5 24h33'/%3E%3C/g%3E%3C/svg%3E");
}

/* ===== Rest of site ===== */
.section { padding: 3.25rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section h2,
.page-title {
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 800;
}
.section p.lead,
.page-lead {
  color: var(--muted);
  margin: 0.35rem 0 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.step strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.step span { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.listing-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(2, 120, 163, 0.08), 0 2px 6px rgba(26, 35, 50, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.listing-card:hover {
  transform: translateY(-4px);
  color: inherit;
  box-shadow: 0 14px 32px rgba(2, 120, 163, 0.12), 0 4px 10px rgba(26, 35, 50, 0.05);
}
.listing-card .thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ice);
}
.listing-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.listing-sample-badge {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  z-index: 2;
  padding: 0.18rem 0.4rem;
  border-radius: 5px;
  background: rgba(28, 147, 191, 0.92);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  pointer-events: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
.tag-sample {
  color: #167ea3 !important;
  background: #e4f3fa;
  border: 1px solid #b9d6ea;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.listing-sample-note {
  margin: 0.65rem 0 0;
  max-width: 36rem;
  color: #3a5568;
  font-size: 0.92rem;
  line-height: 1.45;
}
.listing-card:hover .thumb img { transform: scale(1.04); }
.listing-card .meta { padding: 0.75rem 0 0; }
.listing-card h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--glacier-dark);
  margin-bottom: 0.35rem;
}
.price { font-weight: 700; }
.muted { color: var(--muted); font-size: 0.92rem; }

.flash {
  margin: 1rem auto;
  width: min(100% - 2rem, var(--max));
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: #e5f7ee;
  color: #14532d;
  border: 1px solid #b7e4c7;
}
.flash-error {
  background: #fff1f1;
  color: #7f1d1d;
  border-color: #fecaca;
}

.browse-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.75rem;
  padding: 2rem 0 3.5rem;
}
.browse-atmosphere {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(58vh, 560px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.browse-atmosphere--trade {
  background: #dceef8;
}
.browse-atmosphere-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
  filter: saturate(0.9) brightness(1.06);
  transform: scale(1.06);
  animation: browse-atmosphere-drift 22s ease-in-out infinite alternate;
}
.browse-atmosphere-img--trade {
  object-position: 55% 48%;
  filter: saturate(0.88) brightness(1.04) contrast(1.02);
}
.browse-atmosphere::before,
.browse-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.browse-atmosphere--trade::before {
  background:
    linear-gradient(105deg, rgba(232, 241, 247, 0.88) 0%, rgba(232, 241, 247, 0.48) 32%, rgba(232, 241, 247, 0.14) 56%, transparent 76%);
}
.browse-atmosphere--local::before {
  background:
    linear-gradient(105deg, rgba(232, 241, 247, 0.78) 0%, rgba(232, 241, 247, 0.28) 42%, rgba(236, 244, 251, 0.12) 68%, rgba(218, 237, 248, 0.35) 100%);
}
.browse-atmosphere::after {
  background:
    linear-gradient(180deg, rgba(236, 244, 251, 0.28) 0%, rgba(232, 241, 247, 0.45) 38%, rgba(232, 241, 247, 0.88) 72%, #e8f1f7 100%);
}
@keyframes browse-atmosphere-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, 0.6%, 0); }
}
.browse-map-page {
  position: relative;
  z-index: 1;
  padding: 1.35rem 0 2.5rem;
  animation: browse-content-rise 0.55s ease-out both;
}
@keyframes browse-content-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.browse-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.browse-top .lane-switch {
  margin: 0;
}
.browse-top-copy .page-title {
  margin: 0;
}
.browse-top-copy .page-lead {
  margin: 0.3rem 0 0;
}
.browse-filter-bar {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr 0.7fr auto auto;
  gap: 0.65rem;
  align-items: end;
  background: rgba(236, 244, 251, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #b9d6ea;
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  margin-bottom: 1rem;
}
.browse-filter-bar .field {
  margin: 0;
}
.browse-filter-bar .field label {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}
.browse-filter-bar .field input,
.browse-filter-bar .field select {
  padding: 0.6rem 0.7rem;
  font-size: 0.9rem;
  min-height: 2.45rem;
}
.browse-filter-check-field {
  align-self: end;
  display: flex;
  align-items: center;
  min-height: 2.45rem;
}
.browse-filter-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  min-height: 2.45rem;
  font-size: 0.82rem;
  color: #1a2b3c;
  white-space: nowrap;
  cursor: pointer;
}
.browse-filter-apply {
  align-self: end;
  min-height: 2.45rem;
  padding-top: 0;
  padding-bottom: 0;
}
.browse-map-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.15fr);
  gap: 1rem;
  min-height: 62vh;
}
.browse-results {
  background: #fff;
  border: 1px solid #c5dae6;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 70vh;
}
.browse-results--below {
  max-height: none;
  margin-top: 1rem;
}
.listing-rows {
  overflow: auto;
  flex: 1 1 auto;
}
.listing-rows--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  overflow: visible;
}
.listing-rows--grid .listing-row {
  border-right: 0;
  border-bottom: 0;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(2, 120, 163, 0.08), 0 2px 6px rgba(26, 35, 50, 0.04);
  transition: background 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.listing-rows--grid .listing-row:nth-child(2n) {
  border-right: 0;
}
.listing-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #e3eef5;
  color: inherit;
  transition: background 0.15s ease;
}
.listing-row:last-child { border-bottom: 0; }
.listing-row:hover,
.listing-row.is-active {
  background: #f3f9fc;
  color: inherit;
}
.listing-rows--grid .listing-row:hover,
.listing-rows--grid .listing-row.is-active {
  box-shadow: 0 14px 30px rgba(2, 120, 163, 0.12), 0 4px 10px rgba(26, 35, 50, 0.05);
  transform: translateY(-2px);
}
.listing-row-thumb {
  border-radius: 8px;
  overflow: hidden;
  background: #ecf4fb;
  width: 88px;
  height: 66px;
}
.listing-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-row-body h3 {
  margin: 0.2rem 0 0.25rem;
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.listing-row-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}
.listing-row-top .tag { margin: 0; }
.listing-row-top .price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2b3c;
}
.listing-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.82rem;
}
.browse-empty {
  padding: 1.25rem;
}
.browse-results .pagination-wrap {
  border-top: 1px solid #e3eef5;
  padding: 0.65rem 0.85rem;
}
.browse-map-panel {
  position: relative;
  background: #ecf4fb;
  border: 1px solid #b9d6ea;
  border-radius: 10px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.browse-map-panel--top {
  width: 100%;
  min-height: 0;
  height: clamp(280px, 38vh, 440px);
}
.browse-map {
  flex: 1 1 auto;
  min-height: 420px;
  width: 100%;
  background: #d9e8f2;
}
.browse-map-panel--top .browse-map {
  min-height: 0;
  height: 100%;
}
.browse-map-hint {
  margin: 0;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  background: rgba(255,255,255,0.92);
  border-top: 1px solid #c5dae6;
}
.fishads-pin {
  background: transparent;
  border: 0;
}
.fishads-pin-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0390c3;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(26, 35, 50, 0.35);
}
body.page-browse {
  position: relative;
  isolation: isolate;
  background: #e8f1f7;
}
body.page-browse .site-header {
  position: relative;
  z-index: 2;
  background: rgba(236, 244, 251, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #b9d6ea;
}
body.page-browse .site-footer {
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(3, 144, 195, 0.08), transparent 55%),
    linear-gradient(180deg, #ecf4fb 0%, #daedf8 100%);
  border-top: 1px solid #b9d6ea;
  color: #3a5568;
}
body.page-browse .site-footer .footer-note,
body.page-browse .site-footer .footer-heading,
body.page-browse .site-footer .footer-bottom p {
  color: #1584bb;
}
body.page-browse .site-footer a,
body.page-browse .site-footer .footer-logout button {
  color: #1a2b3c;
}
body.page-browse .site-footer a:hover,
body.page-browse .site-footer .footer-logout button:hover {
  color: #0278a3;
}
body.page-browse .site-footer a.nav-admin {
  color: #9b2c2c;
}
body.page-browse .site-footer a.nav-admin:hover {
  color: #7a1f1f;
}
.filters {
  background: #ecf4fb;
  border: 1px solid #b9d6ea;
  border-radius: 10px;
  padding: 1.1rem;
  height: fit-content;
  box-shadow: none;
}
.filters h2 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: #1a2b3c;
}
.field { margin-bottom: 0.9rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #1a2b3c;
}
.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #b9d6ea;
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.field input:not([type="checkbox"]):not([type="radio"]):focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(3, 144, 195, 0.28);
}

/* Global FishAds checkboxes + radios — ice / glacier */
input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  flex-shrink: 0;
  vertical-align: middle;
  border: 1.5px solid #8ebbd4;
  background:
    linear-gradient(180deg, #ffffff 0%, #ecf4fb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(2, 120, 163, 0.06);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
input[type="checkbox"] {
  border-radius: 5px;
}
input[type="radio"] {
  border-radius: 50%;
}
input[type="checkbox"]:hover,
input[type="radio"]:hover {
  border-color: #0390c3;
  background: #f3f9fc;
}
input[type="checkbox"]:focus,
input[type="radio"]:focus {
  outline: 0;
  border-color: #0390c3;
  box-shadow: 0 0 0 3px rgba(3, 144, 195, 0.2);
}
input[type="checkbox"]:checked {
  border-color: #0278a3;
  background:
    #0390c3
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.2' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 0.78rem 0.78rem no-repeat;
  box-shadow: 0 2px 6px rgba(3, 144, 195, 0.28);
}
input[type="checkbox"]:checked:hover {
  border-color: #0278a3;
  background-color: #0278a3;
}
input[type="radio"]:checked {
  border-color: #0278a3;
  background:
    radial-gradient(circle at center, #0390c3 0 38%, #ffffff 42% 100%);
  box-shadow: 0 2px 6px rgba(3, 144, 195, 0.28);
}
input[type="radio"]:checked:hover {
  border-color: #0278a3;
  background:
    radial-gradient(circle at center, #0278a3 0 38%, #ffffff 42% 100%);
}
input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: #1a2b3c;
  cursor: pointer;
}
.field label.check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0;
  font-weight: 600;
  cursor: pointer;
}
.auth-grid--trade {
  grid-template-columns: 1fr 1fr minmax(10.5rem, auto);
  align-items: start;
}
.field-check-mid {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.field-check-ghost {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.25;
  visibility: hidden;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.field-check-mid .check {
  min-height: 2.85rem;
  align-items: center;
}
@media (max-width: 560px) {
  .auth-grid--trade {
    grid-template-columns: 1fr;
  }
}
.admin-toggle input[type="checkbox"] {
  margin-top: 0.15rem;
}
.lane-switch {
  display: inline-flex;
  background: #daedf8;
  border: 1px solid #b9d6ea;
  border-radius: 999px;
  padding: 0.2rem;
  margin: 0.75rem 0 1.25rem;
}
.lane-switch a {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  color: #1584bb;
  font-size: 0.9rem;
}
.lane-switch a.is-active {
  background: var(--glacier);
  color: #fff;
}
.results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
body.page-browse .page-title {
  color: #1a2b3c;
}
body.page-browse .page-lead {
  color: #5a6b7a;
}
body.page-browse .listing-card {
  background: #fff;
  border: 1px solid #c5dae6;
  border-radius: 10px;
  padding: 0.65rem;
  box-shadow: 0 8px 22px rgba(2, 120, 163, 0.08), 0 2px 6px rgba(26, 35, 50, 0.04);
}
body.page-browse .listing-card .thumb {
  background: #ecf4fb;
  border-radius: 8px;
}
body.page-browse .listing-card .meta {
  padding: 0.75rem 0.25rem 0.35rem;
}
body.page-browse .tag {
  color: #1584bb;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  padding: 2rem 0 3.5rem;
}
.gallery {
  border-radius: 10px;
  overflow: hidden;
  background: var(--ice);
  aspect-ratio: 4/3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  height: fit-content;
}
.detail-panel h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.6rem;
}
.detail-price {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.facts {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}
.facts .k { color: var(--muted); }
.facts .v { font-weight: 600; text-align: right; }
.seller { margin: 1rem 0; padding: 0.9rem 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--glacier-dark);
  margin: 0 0 0.6rem;
}
.contact-form textarea { min-height: 110px; resize: vertical; }

.auth-card,
.post-card {
  width: min(100% - 2rem, 560px);
  margin: 2.5rem auto 4rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.post-card { width: min(100% - 2rem, 720px); }

body.page-post,
body.page-detail,
body.page-mine,
body.page-account,
body.page-seller {
  background: #e8f1f7;
}
body.page-post .site-header,
body.page-detail .site-header,
body.page-mine .site-header,
body.page-account .site-header,
body.page-seller .site-header {
  background: #ecf4fb;
  border-bottom: 1px solid #b9d6ea;
}
body.page-seller .auth-body {
  padding-bottom: 2.75rem;
}
body.page-seller .how-hero {
  padding-bottom: 1.85rem;
}
body.page-seller .how-title {
  margin-bottom: 0.55rem;
  line-height: 1.15;
}
body.page-seller .how-lead {
  margin-top: 0.15rem;
  line-height: 1.5;
  padding-right: 0.5rem;
}
body.page-seller .listing-card {
  background: #fff;
  border: 1px solid #c5dae6;
  border-radius: 10px;
  padding: 0.65rem;
}
body.page-seller .listing-card .thumb {
  background: #ecf4fb;
  border-radius: 8px;
}
body.page-seller .listing-card .meta {
  padding: 0.85rem 0.4rem 0.45rem;
}
body.page-seller .listing-card h3 {
  margin: 0.4rem 0 0.35rem;
  line-height: 1.35;
}
body.page-seller .listing-card .price {
  margin-bottom: 0.3rem;
}
body.page-seller .listing-card .muted {
  line-height: 1.45;
  padding-top: 0.1rem;
}
body.page-seller .mine-empty {
  padding: 1.75rem 1.6rem;
}
body.page-seller .mine-empty h2 {
  margin-bottom: 0.55rem;
}
body.page-seller .mine-empty p {
  margin-bottom: 1.15rem;
  line-height: 1.5;
}
.edit-hero-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.edit-back-link {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}
.edit-back-link a {
  font-weight: 700;
  color: #1584bb;
}
.edit-back-link a:hover {
  color: #0278a3;
}

.post-layout {
  padding-bottom: 2rem;
}
.post-panel {
  padding: 1.35rem 1.4rem 1.5rem;
}
.demo-notice,
.post-notice {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid #b9d6ea;
  background:
    linear-gradient(180deg, #f4fafd 0%, #e8f4fb 100%);
  color: #1a2b3c;
}
.demo-notice strong,
.post-notice strong {
  display: block;
  margin: 0 0 0.25rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1584bb;
}
.demo-notice p,
.post-notice p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #3a5568;
}
.demo-notice em,
.post-notice em {
  font-style: normal;
  font-weight: 800;
  color: #0278a3;
}
.file-upload {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  margin: 0;
  padding: 0.85rem 0.95rem;
  border: 1.5px dashed #8ebbd4;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fc 100%);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.file-upload:hover,
.file-upload:focus-within {
  border-color: #0390c3;
  background: #ecf4fb;
  box-shadow: 0 0 0 3px rgba(3, 144, 195, 0.14);
}
.file-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.file-upload-copy {
  display: grid;
  gap: 0.15rem;
}
.file-upload-copy strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0278a3;
}
.file-upload-copy .muted {
  font-size: 0.82rem;
  line-height: 1.35;
}
.file-upload::before {
  content: "";
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 8px;
  background:
    #0390c3
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 16V7m0 0l-3.5 3.5M12 7l3.5 3.5M5 19h14' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 1.2rem 1.2rem no-repeat;
  box-shadow: 0 4px 10px rgba(3, 144, 195, 0.25);
}
.file-upload-preview {
  margin-top: 0.75rem;
  border: 1px solid #c5dae6;
  border-radius: 10px;
  overflow: hidden;
  background: #ecf4fb;
  max-width: 280px;
  aspect-ratio: 4 / 3;
}
.file-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.file-upload-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.55rem;
  margin-top: 0.75rem;
}
.file-upload-previews .file-upload-preview {
  margin: 0;
  max-width: none;
}
.post-section {
  margin: 0 0 1.35rem;
  padding: 0 0 1.2rem;
  border-bottom: 1px solid #e3eef5;
}
.post-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 1rem;
  padding-bottom: 0;
}
.post-section-title {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a2b3c;
}
.field-help {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
}
.lane-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0;
}
.lane-pick-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  margin: 0;
  border: 1px solid #c5dae6;
  border-radius: 10px;
  padding: 1rem 1.05rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f9fc 100%);
  box-shadow: 0 6px 18px rgba(2, 120, 163, 0.05);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.lane-pick-card:hover {
  border-color: #0390c3;
  background: #ecf4fb;
}
.lane-pick-card:has(input:checked) {
  border-color: #0390c3;
  background:
    linear-gradient(180deg, #eaf6fc 0%, #dff1fa 100%);
  box-shadow: 0 0 0 3px rgba(3, 144, 195, 0.16), 0 8px 20px rgba(2, 120, 163, 0.08);
}
.lane-pick-card:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(3, 144, 195, 0.22);
}
.lane-pick-card input[type="radio"] {
  margin: 0;
}
.lane-pick-copy {
  display: grid;
  gap: 0.2rem;
}
.lane-pick-copy strong {
  color: #1a2b3c;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.lane-pick-card:has(input:checked) .lane-pick-copy strong {
  color: #0278a3;
}
.lane-pick-copy .muted {
  font-size: 0.84rem;
  line-height: 1.35;
  color: #5a6b7a;
}

/* My listings */
.mine-layout {
  padding-bottom: 2rem;
}
.mine-main {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}
.mine-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.1rem;
}
.mine-stats {
  display: flex;
  gap: 0.85rem;
}
.mine-stats > div {
  min-width: 3.6rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: #f4f9fc;
  border: 1px solid #e3eef5;
  text-align: center;
}
.mine-stat-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0278a3;
  line-height: 1.1;
}
.mine-stat-label {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1584bb;
}
.mine-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  align-items: center;
  padding: 0.75rem 1.1rem;
  margin: 0;
}
.mine-filters-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1584bb;
  margin-right: 0.15rem;
}
.mine-filter-option {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a2b3c;
  cursor: pointer;
  white-space: nowrap;
}
.mine-filter-option:has(input:checked) {
  color: #0278a3;
}
.mine-toolbar-cta {
  justify-self: end;
}
.mine-empty {
  padding: 1.6rem 1.5rem;
  text-align: left;
}
.mine-empty h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  color: #1a2b3c;
}
.mine-empty p {
  margin: 0 0 1rem;
  max-width: 34rem;
}
.mine-list {
  display: grid;
  gap: 0.85rem;
}
.mine-toolbar,
.mine-filters,
.mine-empty,
.mine-card {
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(2, 120, 163, 0.08), 0 2px 6px rgba(26, 35, 50, 0.04);
}
.mine-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 1rem 1.15rem;
  align-items: start;
  padding: 1rem 1.1rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.mine-card:hover {
  box-shadow: 0 14px 34px rgba(2, 120, 163, 0.12), 0 4px 10px rgba(26, 35, 50, 0.05);
  transform: translateY(-1px);
}
.mine-card.is-hidden {
  opacity: 0.88;
  background: linear-gradient(180deg, #fbfcfd 0%, #f4f8fb 100%);
}
.mine-thumb {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #c5dae6;
  background: #ecf4fb;
  aspect-ratio: 4 / 3;
  box-shadow: 0 6px 16px rgba(2, 120, 163, 0.06);
}
.mine-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.mine-card:hover .mine-thumb img {
  transform: scale(1.03);
}
.mine-photo-count {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(26, 43, 60, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mine-copy {
  min-width: 0;
  padding-top: 0.1rem;
}
.mine-copy h2 {
  margin: 0.4rem 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.mine-copy h2 a {
  color: #1a2b3c;
}
.mine-copy h2 a:hover {
  color: #0278a3;
}
.mine-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
}
.mine-price {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0278a3;
}
.mine-sub,
.mine-posted {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}
.mine-inbox-snippet {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #1a2b3c;
}
.profile-main {
  display: grid;
  gap: 0.85rem;
}
.profile-main .auth-panel {
  margin: 0;
}
.profile-main .btn {
  margin-top: 0.35rem;
}
.mine-thumb--empty {
  background:
    linear-gradient(145deg, #daedf8 0%, #ecf4fb 55%, #d2e6f2 100%);
  pointer-events: none;
}
.mine-posted {
  margin-top: 0.2rem;
  font-size: 0.82rem;
}
.mine-status {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mine-status--active {
  background: #e5f6ee;
  color: #1a7a4c;
  border: 1px solid #b7e2cb;
}
.mine-status--pending {
  background: #e8f3fb;
  color: #167ea3;
  border: 1px solid #b9d6ea;
}
.mine-status--hidden {
  background: #eef3f7;
  color: #5a6b7a;
  border: 1px solid #c5dae6;
}
.mine-status--sold {
  background: #f3ece4;
  color: #8a5a2b;
  border: 1px solid #e0c9a8;
}
.edit-image-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.edit-image-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.edit-image-item img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #c5dae6;
  background: #eef6fa;
}
.watchlist-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.watchlist-remove {
  margin: 0;
}
.browse-save-search {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem 1rem;
  margin: 0.85rem 0 1rem;
  padding: 0.85rem 1rem;
}
.browse-save-search .field {
  flex: 1 1 14rem;
  margin: 0;
}
.browse-save-search .check {
  margin-bottom: 0.35rem;
}
.mine-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.45rem;
  align-items: stretch;
  min-width: 7.5rem;
}
.mine-actions .btn {
  width: 100%;
}
.mine-actions form {
  margin: 0;
}
.mine-pagination {
  margin-top: 0.4rem;
}
@media (max-width: 860px) {
  .mine-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .mine-toolbar-cta {
    justify-self: start;
  }
}
@media (max-width: 720px) {
  .mine-card {
    grid-template-columns: 96px 1fr;
  }
  .mine-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    min-width: 0;
  }
  .mine-actions .btn {
    width: auto;
  }
}

/* Inbox */
.inbox-layout {
  display: grid;
  gap: 0.85rem;
  padding-bottom: 2rem;
}
.inbox-list {
  display: grid;
  gap: 0.85rem;
}
.inbox-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.05rem 1.2rem 1rem;
  background: #fff;
  border: 1px solid #c5dae6;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(2, 120, 163, 0.08), 0 2px 6px rgba(26, 35, 50, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.inbox-card:hover {
  box-shadow: 0 14px 34px rgba(2, 120, 163, 0.12), 0 4px 10px rgba(26, 35, 50, 0.05);
  transform: translateY(-1px);
}
.inbox-card.is-unread {
  border-color: #8ec8e4;
  box-shadow:
    0 0 0 1px rgba(3, 144, 195, 0.18),
    0 10px 28px rgba(2, 120, 163, 0.1),
    0 2px 6px rgba(26, 35, 50, 0.04);
}
.inbox-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1rem;
}
.inbox-card-time {
  font-size: 0.82rem;
  white-space: nowrap;
}
.inbox-card-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 52rem;
}
.inbox-card-title a {
  color: #1a2b3c;
}
.inbox-card-title a:hover {
  color: #0278a3;
}
.inbox-card-from {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}
.inbox-card-from a {
  color: #0278a3;
}
.inbox-card-from a:hover {
  color: #015f82;
}
.inbox-card-from-label {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1584bb;
  vertical-align: 0.05em;
}
.inbox-card-message {
  margin: 0.15rem 0 0;
  max-width: 52rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #1a2b3c;
  white-space: pre-wrap;
}
.inbox-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid #d7e7f1;
}
.inbox-card-actions form {
  margin: 0;
}

.how-hero--compact {
  padding: 1.75rem 0 0.85rem;
}
.how-title--detail {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  max-width: 40rem;
}
.detail-body {
  padding: 0 0 0.5rem;
}
body.page-detail .detail-layout {
  padding: 1.1rem 0 2.5rem;
  gap: 1.15rem;
  align-items: start;
}
body.page-detail .gallery {
  border: 1px solid #c5dae6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(2, 120, 163, 0.07);
  background: #fff;
  aspect-ratio: auto;
}
.gallery-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ecf4fb;
}
.gallery-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #b9d6ea;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0278a3;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(2, 120, 163, 0.12);
}
.gallery-nav:hover {
  background: #fff;
  border-color: #0390c3;
}
.gallery-nav--prev { left: 0.75rem; }
.gallery-nav--next { right: 0.75rem; }
.gallery-count {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(26, 43, 60, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.45rem;
  padding: 0.65rem;
  background: #f7fbfe;
  border-top: 1px solid #e3eef5;
}
.gallery-thumb {
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #ecf4fb;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb:hover {
  border-color: #8ebbd4;
}
.gallery-thumb.is-active {
  border-color: #0390c3;
  box-shadow: 0 0 0 2px rgba(3, 144, 195, 0.18);
}
body.page-detail .detail-panel {
  background: #fff;
  border: 1px solid #c5dae6;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(2, 120, 163, 0.07);
  padding: 1.2rem 1.25rem 1.35rem;
}
body.page-detail .detail-price {
  margin: 0.55rem 0 0.25rem;
  color: #0278a3;
}
.detail-location {
  margin: 0 0 0.25rem;
}
.detail-copy,
.detail-related {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid #c5dae6;
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 10px 28px rgba(2, 120, 163, 0.06);
}
body.page-detail .facts {
  border-top-color: #e3eef5;
  border-bottom-color: #e3eef5;
}
body.page-detail .seller {
  background: #f7fbfe;
  border: 1px solid #e3eef5;
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  margin: 0.85rem 0 1.1rem;
}
.seller-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  margin: 0.85rem 0 1.1rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid #b9d6ea;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(236, 244, 251, 0.98) 100%);
  box-shadow:
    0 10px 24px rgba(2, 120, 163, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.seller-card:hover {
  transform: translateY(-1px);
  border-color: #8ec8e4;
  box-shadow: 0 14px 28px rgba(2, 120, 163, 0.12), 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  color: inherit;
}
.seller-card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: linear-gradient(160deg, #0390c3 0%, #0278a3 100%);
  color: #fff;
  font-family: "Outfit", var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 14px rgba(2, 120, 163, 0.28);
  flex-shrink: 0;
}
.seller-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid #d7e5ee;
  box-shadow: 0 1px 2px rgba(26, 43, 60, 0.04);
  background: #f7fbfe;
}
.seller-avatar--md {
  width: 3.1rem;
  height: 3.1rem;
}
.seller-avatar--lg {
  width: 4.4rem;
  height: 4.4rem;
}
.seller-avatar--xl {
  width: 5.5rem;
  height: 5.5rem;
}
.seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.seller-avatar.has-logo {
  border-color: #fff;
  box-shadow: 0 2px 8px rgba(2, 120, 163, 0.1);
}
.seller-avatar.is-default {
  background: #f5f9fc;
  border-color: #d7e5ee;
  box-shadow: none;
  padding: 0;
}
.seller-avatar.is-default .seller-avatar-fallback {
  object-fit: cover;
  filter: none;
}
.seller-avatar--lg.is-default,
.seller-avatar--xl.is-default {
  padding: 0;
}
.seller-hero {
  display: flex;
  align-items: center;
  gap: 1.15rem 1.35rem;
  flex-wrap: wrap;
}
.seller-hero-copy {
  min-width: 0;
  flex: 1 1 16rem;
}
.profile-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem 1.15rem;
  flex-wrap: wrap;
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e3eef5;
  border-radius: 10px;
  background: #f7fbfe;
}
.profile-logo-fields {
  flex: 1 1 14rem;
  min-width: 0;
}
.profile-logo-fields > label:first-child {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: #1a2b3c;
}
.file-upload--compact {
  padding: 0.7rem 0.85rem;
}
.profile-logo-remove {
  margin: 0.65rem 0 0;
}
.profile-logo-hint {
  margin: 0.55rem 0 0;
  font-size: 0.84rem;
}
.seller-card-body {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}
.seller-card-eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1584bb;
}
.seller-card-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a2b3c;
  line-height: 1.25;
}
.seller-card-meta {
  font-size: 0.86rem;
  color: #5a6b7a;
  line-height: 1.4;
}
.seller-card-cta {
  margin-top: 0.2rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #0278a3;
}
.seller-card:hover .seller-card-cta {
  color: #015f82;
}
body.page-detail .contact-form {
  margin-top: 0.25rem;
}
.contact-form-note {
  margin: -0.25rem 0 0.85rem;
  font-size: 0.86rem;
}
.contact-gate {
  padding: 1rem 1.05rem;
  border: 1px solid #c5dae6;
  border-radius: 10px;
  background: #f7fbfe;
}
.contact-gate .muted {
  margin: 0 0 0.9rem;
  line-height: 1.45;
}
.contact-gate-secondary {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.88rem;
}
.contact-gate-secondary a {
  font-weight: 700;
  color: #0278a3;
}
.contact-gate-secondary a:hover {
  color: #015f82;
}
body.page-detail .report-box {
  margin-top: 1rem;
  border-top: 1px solid #e3eef5;
  padding-top: 0.85rem;
}
.detail-section-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a2b3c;
}
.detail-description {
  margin: 0;
  white-space: pre-line;
  color: #5a6b7a;
  line-height: 1.5;
}
.detail-related-grid {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px) {
  .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.page-auth {
  background: #e8f1f7;
}
body.page-auth .site-header {
  background: #ecf4fb;
  border-bottom: 1px solid #b9d6ea;
}
body.page-auth.page-how .site-footer {
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(3, 144, 195, 0.08), transparent 55%),
    linear-gradient(180deg, #ecf4fb 0%, #daedf8 100%);
}
.auth-body {
  padding: 0.35rem 0 0;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1rem;
  align-items: start;
  padding-bottom: 2rem;
}
.contact-layout.auth-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}
.auth-layout--narrow {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.85fr);
}
.auth-panel {
  width: 100%;
  margin: 0;
  background: #fff;
  border: 1px solid #c5dae6;
  border-radius: 10px;
  padding: 1.25rem 1.35rem 1.4rem;
  box-shadow: 0 10px 28px rgba(2, 120, 163, 0.07);
}
.auth-panel-title {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a2b3c;
}
.auth-panel .field {
  margin-bottom: 0.95rem;
}
.auth-hint {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
}
.auth-switch {
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #e3eef5;
  font-size: 0.92rem;
}
.auth-switch a,
.auth-aside-link a {
  font-weight: 700;
  color: #0278a3;
}
.auth-forgot {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
}
.auth-forgot a {
  font-weight: 700;
  color: #0278a3;
}
.auth-aside .how-step-list {
  gap: 0.75rem;
}
.auth-aside-link {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
}
.turnstile-field {
  margin: 0.85rem 0 1rem;
}
.field-error {
  margin: 0.4rem 0 0;
  color: #9b2c2c;
  font-size: 0.85rem;
  font-weight: 600;
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.85rem;
}
.auth-grid-span {
  grid-column: 1 / -1;
}
@media (max-width: 860px) {
  .auth-layout,
  .auth-layout--narrow {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }
  .detail-related-grid {
    grid-template-columns: 1fr;
  }
}

.pagination {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.pagination > * {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 0.55rem;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}
.pagination .active span {
  background: var(--glacier);
  border-color: var(--glacier);
  color: #fff;
}

/* ===== How It Works ===== */
body.page-how {
  background: #e8f1f7;
  position: relative;
  overflow-x: clip;
}
.how-atmosphere {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.how-atmosphere-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  opacity: 0.55;
  filter: saturate(0.85) brightness(1.05);
  transform: scale(1.04);
}
.how-atmosphere-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(236, 244, 251, 0.45) 0%, rgba(232, 241, 247, 0.7) 55%, #e8f1f7 100%),
    radial-gradient(ellipse 55% 45% at 12% 18%, rgba(236, 244, 251, 0.35), transparent 70%);
}

body.page-how > .flash,
body.page-how > .flash-error,
body.page-how .how-hero,
body.page-how .how-steps,
body.page-how .how-lanes,
body.page-how .how-trust,
body.page-how .how-cta,
body.page-how .auth-body,
body.page-how .detail-body,
body.page-how .browse-map-page,
body.page-how .error-page {
  position: relative;
  z-index: 1;
}

body.page-how .site-header {
  background: #ecf4fb;
  border-bottom: 1px solid #b9d6ea;
  position: sticky;
  z-index: 50;
}
body.page-how .site-footer {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(3, 144, 195, 0.08), transparent 55%),
    linear-gradient(180deg, #ecf4fb 0%, #daedf8 100%);
  border-top: 1px solid #b9d6ea;
  color: #3a5568;
}
body.page-how .site-footer .footer-note,
body.page-how .site-footer .footer-heading,
body.page-how .site-footer .footer-bottom p {
  color: #1584bb;
}
body.page-how .site-footer a,
body.page-how .site-footer .footer-logout button {
  color: #1a2b3c;
}
body.page-how .site-footer a:hover {
  color: #0278a3;
}
body.page-how .site-footer a.nav-admin {
  color: #9b2c2c;
}
body.page-how .site-footer a.nav-admin:hover {
  color: #7a1f1f;
}
.how-hero {
  padding: 2.75rem 0 1.5rem;
}
.how-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1584bb;
}
.how-title {
  margin: 0 0 0.65rem;
  font-family: "Outfit", var(--font);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #15202b;
  line-height: 1.05;
}
.how-lead {
  margin: 0;
  max-width: 34rem;
  font-family: "Outfit", var(--font);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 300;
  color: #3a4550;
  line-height: 1.4;
}
.how-steps {
  padding: 0.5rem 0 2.5rem;
}
.how-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.how-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: #fff;
  border: 1px solid #c5dae6;
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 10px 28px rgba(2, 120, 163, 0.07), 0 2px 6px rgba(26, 35, 50, 0.04);
}
.how-step-card {
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(2, 120, 163, 0.08), 0 2px 6px rgba(26, 35, 50, 0.04);
}
.how-step-num {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: #0390c3;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.how-step h2 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a2b3c;
  letter-spacing: -0.02em;
}
.how-step p {
  margin: 0;
  color: #5a6b7a;
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 40rem;
}
.how-step strong {
  color: #1a2b3c;
  font-weight: 700;
}
.how-lanes {
  padding: 0 0 2.5rem;
}
.how-lanes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.how-lane {
  background: #ecf4fb;
  border: 1px solid #b9d6ea;
  border-radius: 10px;
  padding: 1.4rem 1.35rem 1.5rem;
}
.how-lane h2 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a2b3c;
  letter-spacing: -0.02em;
}
.how-lane > p {
  margin: 0 0 0.85rem;
  color: #5a6b7a;
  font-size: 0.95rem;
  line-height: 1.45;
}
.how-lane ul {
  margin: 0 0 1.15rem;
  padding: 0 0 0 1.1rem;
  color: #1584bb;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
}
.how-lane .btn {
  display: inline-flex;
}
.how-trust {
  background: #daedf8;
  border-top: 1px solid #b9d6ea;
  border-bottom: 1px solid #b9d6ea;
}
.how-trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.85rem 0;
  color: #1584bb;
  font-size: 0.88rem;
  font-weight: 600;
}
.how-trust-inner > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.25rem 0.6rem;
  text-align: center;
}
.how-trust-inner > div:not(:last-child) {
  border-right: 1px solid #b9d6ea;
}
.how-cta {
  padding: 2.75rem 0 3.25rem;
}
.how-cta-inner {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}
.how-cta h2 {
  margin: 0 0 0.45rem;
  font-family: "Outfit", var(--font);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #15202b;
  letter-spacing: -0.03em;
}
.how-cta p {
  margin: 0 0 1.25rem;
  color: #5a6b7a;
  font-size: 1rem;
  line-height: 1.45;
}
.how-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.site-footer {
  position: relative;
  margin-top: auto;
  border-top: 1px solid #b9d6ea;
  padding: 0;
  color: #3a5568;
  font-size: 0.92rem;
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(3, 144, 195, 0.08), transparent 55%),
    linear-gradient(180deg, #ecf4fb 0%, #daedf8 100%);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(280px, 1.6fr);
  gap: 2rem 2.5rem;
  padding: 2.4rem 0 1.75rem;
  align-items: start;
}
.footer-brand {
  max-width: 22rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
}
.footer-logo .brand-logo {
  width: 110px;
  height: auto;
}
.footer-tagline {
  margin: 0;
  font-family: "Outfit", var(--font);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #1a2b3c;
}
.footer-note {
  margin: 0.7rem 0 0;
  color: #1584bb;
  font-size: 0.86rem;
  line-height: 1.4;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}
.footer-col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}
.footer-heading {
  margin: 0 0 0.35rem;
  font-family: "Outfit", var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1584bb;
}
.footer-col a,
.footer-logout button {
  color: #1a2b3c;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.15s ease;
}
.footer-col a:hover,
.footer-logout button:hover {
  color: var(--glacier-dark);
}
.footer-col a.nav-admin {
  color: #9b2c2c;
}
.footer-col a.nav-admin:hover {
  color: #7a1f1f;
}
.footer-logout {
  margin: 0;
}
.footer-logout button {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.footer-bottom {
  border-top: 1px solid #b9d6ea;
  background: rgba(255, 255, 255, 0.35);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  padding: 0.85rem 0 1rem;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: #1584bb;
}
.footer-bottom-meta {
  letter-spacing: 0.04em;
}
.footer-bottom-meta a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.footer-bottom-meta a:hover {
  color: var(--glacier-dark);
}

@media (max-width: 980px) {
  html:has(body.page-home),
  body.page-home {
    height: auto;
    max-height: none;
  }
  body.page-home {
    min-height: 100dvh;
    overflow-x: clip;
    overflow-y: auto;
  }
  .home-stage {
    min-height: auto;
  }
  .home-latest-track .listing-card {
    flex: 0 0 124px;
    width: 124px;
    min-width: 124px;
    max-width: 124px;
  }
  .header-inner {
    grid-template-columns: 1fr auto auto;
    position: relative;
  }
  .nav-toggle {
    display: inline-flex;
    order: 2;
  }
  .nav-actions {
    order: 3;
  }
  .nav-center {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 80;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.65rem;
    border: 1px solid #b9d6ea;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 36px rgba(2, 120, 163, 0.14);
  }
  body.nav-open .nav-center {
    display: flex;
  }
  .nav-center > a,
  .nav-center .nav-drop-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.7rem 0.75rem;
    border-radius: 8px;
  }
  .nav-center > a:hover,
  .nav-center .nav-drop-btn:hover {
    background: #ecf4fb;
  }
  .nav-drop-menu {
    position: static;
    transform: none;
    left: auto;
    min-width: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0.35rem 0.65rem;
  }
  .nav-drop.open .nav-drop-menu {
    display: grid;
  }
  .site-header--over-hero .nav-center {
    background: rgba(255, 255, 255, 0.98);
  }
  .hero { min-height: 0; }
  .hero--home {
    flex: 1 1 auto;
    min-height: min(42vh, 360px);
  }
  .hero-brand { font-size: clamp(3rem, 12vw, 4.2rem); }
  .hero-tagline {
    white-space: normal;
    max-width: 16ch;
    font-size: clamp(1.05rem, 3.8vw, 1.4rem);
    font-weight: 300;
  }
  .hero-bg::after {
    background: linear-gradient(
      90deg,
      #e8f1f7 0%,
      #e8f1f7 20%,
      rgba(232, 241, 247, 0.9) 35%,
      rgba(232, 241, 247, 0.4) 55%,
      rgba(232, 241, 247, 0) 75%
    );
  }
  .browse-atmosphere {
    height: min(46vh, 420px);
  }
  .browse-atmosphere-img {
    object-position: 78% 40%;
  }
  .browse-atmosphere-img--trade {
    object-position: 62% 50%;
  }
  .browse-atmosphere--local::before {
    background: linear-gradient(180deg, rgba(232, 241, 247, 0.55) 0%, rgba(232, 241, 247, 0.35) 40%, transparent 70%);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2rem 0 1.5rem;
  }
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-grid,
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
  .feature-item:nth-child(2) { border-right: 0; }
  .feature-item:nth-child(1),
  .feature-item:nth-child(2) {
    border-bottom: 1px solid #b9d6ea;
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
  }
  .trust-bar-inner > div:nth-child(2) { border-right: 0; }
  .how-lanes-grid {
    grid-template-columns: 1fr;
  }
  .how-trust-inner { grid-template-columns: 1fr 1fr; }
  .how-trust-inner > div:nth-child(2) { border-right: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .browse-layout,
  .browse-map-layout,
  .detail-layout,
  .steps { grid-template-columns: 1fr; }
  .browse-filter-bar {
    grid-template-columns: 1fr 1fr;
  }
  .browse-results {
    max-height: none;
  }
  .listing-rows--grid {
    grid-template-columns: 1fr;
  }
  .listing-rows--grid .listing-row {
    border-right: 0;
  }
  .browse-map-panel--top {
    height: clamp(240px, 34vh, 360px);
  }
  .browse-map-panel,
  .browse-map {
    min-height: 240px;
  }
  .hero-trust li {
    border-right: 0 !important;
    padding: 0.2rem 0.6rem 0.2rem 0;
  }
}
@media (max-width: 560px) {
  .browse-filter-bar {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
  .grid,
  .feature-grid,
  .trust-bar-inner,
  .how-trust-inner,
  .lane-pick { grid-template-columns: 1fr; }
  .feature-item,
  .trust-bar-inner > div,
  .how-trust-inner > div {
    border-right: 0 !important;
    border-bottom: 1px solid #b9d6ea;
    justify-content: flex-start;
    padding: 0.75rem 0;
  }
  .feature-item:last-child,
  .trust-bar-inner > div:last-child,
  .how-trust-inner > div:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .browse-atmosphere-img,
  .browse-map-page {
    animation: none;
  }
}

/* —— Admin (IP-locked) —— */
body.page-admin {
  background: #e8f1f7;
}
body.page-admin .site-header {
  background: #ecf4fb;
  border-bottom: 1px solid #b9d6ea;
}
.admin-page {
  padding: 1.5rem 0 2.75rem;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.admin-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1584bb;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.admin-stats > div {
  background: rgba(236, 244, 251, 0.95);
  border: 1px solid #b9d6ea;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 6px 18px rgba(2, 120, 163, 0.07), 0 1px 2px rgba(26, 35, 50, 0.04);
}
.admin-stats strong {
  display: block;
  font-family: "Outfit", var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1a2b3c;
  line-height: 1.1;
}
.admin-stat-top {
  display: flex;
  align-items: baseline;
  gap: 0.45rem 0.55rem;
  flex-wrap: wrap;
}
.admin-stat-top strong {
  flex: 0 0 auto;
}
.admin-stats span,
.admin-stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1584bb;
}
.admin-stat-label {
  margin-top: 0.25rem;
}
.admin-stat-top .admin-stat-desc {
  display: block;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.25;
  color: #1a2b3c;
  flex: 1 1 4.5rem;
  min-width: 0;
}
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.admin-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 240px;
  justify-content: flex-end;
  min-width: min(100%, 280px);
}
.admin-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 280px;
  padding: 0.55rem 0.7rem;
  border: 1px solid #b9d6ea;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(2, 120, 163, 0.05);
}
.admin-search input[type="search"]:focus {
  outline: 0;
  border-color: #0390c3;
  box-shadow: 0 0 0 3px rgba(3, 144, 195, 0.15);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.admin-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}
.admin-pagination-meta {
  margin: 0;
  font-size: 0.82rem;
}
.admin-pagination-links {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0;
}
.admin-pagination-links a,
.admin-pagination-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem;
  border-radius: 8px;
  border: 1px solid #b9d6ea;
  background: #fff;
  color: #1a2b3c;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(2, 120, 163, 0.05);
}
.admin-pagination-links a:hover {
  border-color: #0390c3;
  color: #0278a3;
}
.admin-pagination-links .is-current {
  background: #0390c3;
  border-color: #0390c3;
  color: #fff;
}
.admin-pagination-links .is-disabled {
  opacity: 0.45;
  box-shadow: none;
}
.admin-filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.admin-filters a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #b9d6ea;
  background: #fff;
  color: #1a2b3c;
  font-size: 0.85rem;
  font-weight: 600;
}
.admin-filters a.is-active,
.admin-filters a:hover {
  background: #0390c3;
  border-color: #0390c3;
  color: #fff;
}
.admin-ip {
  margin: 0;
  font-size: 0.8rem;
}
.admin-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #c5dae6;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(2, 120, 163, 0.08), 0 2px 6px rgba(26, 35, 50, 0.04);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th,
.admin-table td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid #e3eef5;
  vertical-align: top;
}
.admin-table th {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1584bb;
  background: #ecf4fb;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table a { font-weight: 700; color: #1a2b3c; }
.admin-table a:hover { color: #0278a3; }
.admin-meta { margin-top: 0.2rem; font-size: 0.8rem; }
.admin-status {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-status--active {
  background: #e5f7ee;
  color: #1a6b3c;
}
.admin-status--pending {
  background: #e8f3fb;
  color: #167ea3;
}
.admin-status--hidden {
  background: #fff1f1;
  color: #9b2c2c;
}
.admin-status--sold {
  background: #f3ece4;
  color: #8a5a2b;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
  min-width: 11rem;
}
.admin-actions form { margin: 0; }
.admin-danger {
  border-color: #e3b4b4;
  color: #9b2c2c;
}
.admin-danger:hover,
.admin-danger:focus {
  background: #fff1f1;
  border-color: #9b2c2c;
  color: #9b2c2c;
}
.admin-settings-panel {
  display: grid;
  gap: 0.85rem;
  width: 100%;
}
.admin-settings-hint {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
}
.admin-toggle-list {
  display: grid;
  gap: 0.65rem;
}
.admin-toggle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e3eef5;
  border-radius: 10px;
  background: #f7fbfe;
  cursor: pointer;
}
.admin-toggle input {
  margin-top: 0.2rem;
}
.admin-toggle strong {
  display: block;
  color: #1a2b3c;
  font-size: 0.95rem;
}
.admin-toggle .muted {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
}
.admin-settings-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}
.admin-settings-actions .muted {
  margin: 0;
  font-size: 0.82rem;
}
.admin-settings-actions code {
  font-size: 0.78rem;
}
.admin-test-mail {
  margin-top: 0.85rem;
}
.admin-test-mail-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
}
.admin-test-mail-form .field {
  flex: 1 1 16rem;
  margin: 0;
}
.admin-test-mail-form .btn {
  flex: 0 0 auto;
}
.admin-mail-checklist {
  margin-top: 0.85rem;
}
.admin-checklist {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
  color: #1a2b3c;
  font-size: 0.9rem;
  line-height: 1.45;
}
.admin-checklist code {
  font-size: 0.8rem;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.4rem 0.55rem;
  border: 1px solid #b9d6ea;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  color: #1a2b3c;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle-bars {
  width: 1.05rem;
  height: 0.85rem;
  display: inline-block;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}
.nav-unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.3rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #e11d2e;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}
.nav-unread-badge--inline {
  margin-left: auto;
}
.nav-drop-menu a {
  justify-content: flex-start;
}
.browse-empty {
  padding: 1.5rem 1.35rem;
  margin-top: 0.5rem;
}
.browse-empty h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  color: #1a2b3c;
}
.browse-empty p {
  margin: 0 0 1rem;
  max-width: 36rem;
}
.browse-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.detail-related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}
.detail-related-head .detail-section-title {
  margin: 0;
}
.detail-related-lead {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
}
.detail-related-grid .listing-card {
  padding: 0.55rem;
  background: #f7fbfe;
  border: 1px solid #e3eef5;
  border-radius: 10px;
}
.detail-related-grid .listing-card .meta {
  padding: 0.7rem 0.35rem 0.25rem;
}
.detail-related-grid .listing-card h3 {
  margin-bottom: 0.4rem;
}
.detail-related-grid .listing-card .muted {
  line-height: 1.4;
}
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
}
.admin-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #b9d6ea;
  background: #fff;
  color: #1a2b3c;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(2, 120, 163, 0.06);
}
.admin-nav a.is-active,
.admin-nav a:hover {
  background: #0390c3;
  border-color: #0390c3;
  color: #fff;
}
.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #fff1f1;
  color: #9b2c2c;
  font-size: 0.7rem;
  font-weight: 800;
}
.admin-badge--alert {
  background: #e11d2e;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(180, 10, 25, 0.35);
}
.admin-nav a.is-active .admin-badge,
.admin-nav a:hover .admin-badge {
  background: rgba(255,255,255,0.92);
}
.admin-nav a.is-active .admin-badge--alert,
.admin-nav a:hover .admin-badge--alert {
  background: #fff;
  color: #e11d2e;
}
.admin-stats--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-charts {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.admin-chart-panel .admin-panel-head .muted {
  font-size: 0.78rem;
}
.admin-bar-chart {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  align-items: end;
  gap: 0.35rem;
  min-height: 11.5rem;
  padding: 0.35rem 0.15rem 0;
}
.admin-bar-day {
  display: grid;
  gap: 0.35rem;
  align-content: end;
  min-width: 0;
}
.admin-bar-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 2px;
  height: 9.5rem;
}
.admin-bar {
  display: block;
  width: 100%;
  min-height: 2px;
  border-radius: 3px 3px 1px 1px;
  height: calc((var(--v) / var(--bar-max)) * 100%);
  transition: height 0.25s ease;
}
.admin-bar--signups { background: linear-gradient(180deg, #0390c3 0%, #0278a3 100%); }
.admin-bar--contacts { background: linear-gradient(180deg, #2f9e6f 0%, #217a55 100%); }
.admin-bar--listings { background: linear-gradient(180deg, #5b7c99 0%, #3f5a70 100%); }
.admin-bar-label {
  display: block;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #5a6b7a;
  line-height: 1;
}
.admin-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #3a5568;
}
.admin-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.admin-swatch {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
}
.admin-swatch--signups { background: #0390c3; }
.admin-swatch--contacts { background: #2f9e6f; }
.admin-swatch--listings { background: #5b7c99; }
.admin-mix {
  display: grid;
  gap: 1rem;
}
.admin-mix-block h3 {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1584bb;
}
.admin-meter + .admin-meter {
  margin-top: 0.55rem;
}
.admin-meter-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.28rem;
  font-size: 0.84rem;
  color: #1a2b3c;
}
.admin-meter-top strong {
  font-size: 0.84rem;
  font-weight: 800;
  color: #1a2b3c;
}
.admin-meter-top .muted {
  font-weight: 600;
  font-size: 0.78rem;
}
.admin-meter-track {
  height: 0.55rem;
  border-radius: 999px;
  background: #e8f1f7;
  overflow: hidden;
  border: 1px solid #d2e4f0;
}
.admin-meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  min-width: 0;
}
.admin-meter-fill--trade { background: linear-gradient(90deg, #0390c3, #0278a3); }
.admin-meter-fill--local { background: linear-gradient(90deg, #4aa3c7, #2f7fa3); }
.admin-meter-fill--active { background: linear-gradient(90deg, #2f9e6f, #217a55); }
.admin-meter-fill--pending { background: linear-gradient(90deg, #1c93bf, #167ea3); }
.admin-meter-fill--hidden { background: linear-gradient(90deg, #8aa0b0, #6b7f8e); }
.admin-meter-fill--sold { background: linear-gradient(90deg, #c48a4a, #a06c32); }
.admin-attention {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
.admin-attention-item {
  text-align: center;
  padding: 0.65rem 0.4rem;
  border-radius: 10px;
  background: #f4f9fc;
  border: 1px solid #e3eef5;
}
.admin-attention-item strong {
  display: block;
  font-family: "Outfit", var(--font);
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a2b3c;
  line-height: 1.1;
}
.admin-attention-item span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #5a6b7a;
  line-height: 1.25;
}
.admin-attention-item.is-hot {
  background: #fff1f1;
  border-color: #f0c2c2;
}
.admin-attention-item.is-hot strong {
  color: #e11d2e;
}
.admin-dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.admin-panel {
  background: #fff;
  border: 1px solid #c5dae6;
  border-radius: 10px;
  padding: 0.95rem 1rem;
  box-shadow: 0 10px 28px rgba(2, 120, 163, 0.08), 0 2px 6px rgba(26, 35, 50, 0.04);
}
.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.admin-panel-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a2b3c;
}
.admin-panel-head a {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0278a3;
}
.admin-simple-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.admin-simple-list li {
  display: grid;
  gap: 0.1rem;
}
.admin-simple-list a {
  font-weight: 700;
  color: #1a2b3c;
}
.admin-row-unread td {
  background: #f3f9fc;
}
.admin-message {
  max-width: 28rem;
  line-height: 1.35;
  color: #3a5568;
}
.report-box {
  margin-top: 1rem;
  border-top: 1px solid #e3eef5;
  padding-top: 0.85rem;
}
.report-box summary {
  cursor: pointer;
  font-weight: 700;
  color: #5a6b7a;
  font-size: 0.9rem;
}
.report-form {
  margin-top: 0.75rem;
}
@media (max-width: 980px) {
  .admin-stats--wide,
  .admin-dash-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-charts {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .admin-stats--wide,
  .admin-dash-grid {
    grid-template-columns: 1fr;
  }
  .admin-attention {
    grid-template-columns: 1fr;
  }
  .admin-bar-chart {
    gap: 0.2rem;
  }
}

/* ===== Legal docs ===== */
.legal-doc {
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  padding: 1.5rem 1.35rem 1.75rem;
}
.legal-doc h2 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.15rem;
  color: #0b3a52;
}
.legal-doc h2:first-child {
  margin-top: 0;
}
.legal-doc p,
.legal-doc li {
  color: #3a5568;
  line-height: 1.65;
  margin: 0 0 0.75rem;
}
.legal-doc ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}
.contact-postal {
  display: block;
  font-style: normal;
  color: #1a2b3c;
  line-height: 1.55;
  font-size: 0.98rem;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}
.contact-map {
  overflow: hidden;
  padding: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.contact-map-frame {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 260px;
  height: 100%;
  border: 0;
  background: #e8f1f7;
}
.contact-map-foot {
  margin: 0;
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  border-top: 1px solid #c5dae6;
}
.contact-map-foot a {
  font-weight: 700;
}
.contact-site-form .field {
  margin-bottom: 0.85rem;
}
.contact-site-form textarea {
  min-height: 8rem;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
}
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== Error pages ===== */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 3rem 0 4rem;
}
.error-card {
  max-width: 34rem;
  width: 100%;
  text-align: center;
  padding: 1.75rem 1.5rem 1.85rem;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.25rem;
}
body.page-error .site-header,
body.page-error .site-footer {
  display: none;
}

