:root {
  --bg: #f4efe6;
  --ink: #1a1f1c;
  --brand: #1c3d2e;
  --accent: #c45c26;
  --trust-platform: #0d5c3d;
  --trust-users: #6fa88a;
  --card: #fffdf8;
  --line: #d9d0c0;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html {
  height: 100%;
  height: 100svh;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse at 10% 0%, #e7f0e8 0%, transparent 45%),
    radial-gradient(ellipse at 90% 10%, #f3e2d2 0%, transparent 40%),
    var(--bg);
  background-repeat: no-repeat;
  line-height: 1.5;
  /* svh = visible area with browser chrome; 100vh on Android Chrome is taller and hides the footer */
  min-height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
a { color: var(--brand); }
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line);
}
.brand, .brand-hero {
  font-family: var(--display); font-weight: 700; color: var(--brand);
  text-decoration: none;
}
.brand-hero { font-size: clamp(2.5rem, 8vw, 4.5rem); margin: 0 0 0.5rem; }
.hero { padding: 18vh 1.25rem 4rem; max-width: 40rem; }
.tagline { font-size: 1.15rem; max-width: 28rem; }
.btn {
  display: inline-block; background: var(--brand); color: #f4efe6 !important;
  text-decoration: none; padding: 0.75rem 1.25rem; border-radius: 6px; font-weight: 600;
}
.cards { display: grid; gap: 1rem; margin: 1.5rem 0; }
.listing-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  height: 104px;
  box-sizing: border-box;
  overflow: hidden;
}
.listing-card h3 {
  font-family: var(--display);
  font-size: 0.98rem;
  margin: 0;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 0 auto;
}
.card-layout {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 80px;
  column-gap: 20px;
  height: 100%;
  align-items: stretch;
}
.card-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 0;
}
.card-trade {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.15;
  text-align: center;
  color: #5c6560;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}
.card-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  overflow: hidden;
}
.card-desc {
  margin: 5px 0 0;
  flex: 1 1 auto;
  min-height: 0;
  font-size: 0.8rem;
  line-height: 1.25;
  color: #2c332f;
  overflow: hidden;
}
.card-main .contact {
  margin: 0;
  margin-top: auto;
  flex: 0 0 auto;
  font-size: 0.75rem;
  line-height: 1.2;
  color: #5c6560;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-badges {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  flex: 0 0 auto;
}
.card-main > h3 + .card-desc,
.card-hit > h3 + .card-desc {
  margin-top: 5px;
}
.card-main > .card-badges + .card-desc {
  margin-top: 5px;
}
.card-aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  min-width: 0;
  width: 80px;
}
.card-place {
  min-width: 0;
  width: 100%;
  text-align: left;
}
.card-suburb-line,
.card-province {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.2;
  color: #5c6560;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-likes {
  flex: 0 0 auto;
  align-self: flex-end;
}
.listing-logo {
  width: 48px; height: 48px; object-fit: cover; border-radius: 6px; display: block;
  background: #d7e3db;
}
.listing-head { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0 0 0.75rem; }
.listing-head h1 { margin: 0 0 0.35rem; }
.portfolio-carousel {
  display: flex; gap: 0.65rem; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 0 1.25rem; padding-bottom: 0.35rem; -webkit-overflow-scrolling: touch;
}
.portfolio-carousel img {
  scroll-snap-align: start; flex: 0 0 min(100%, 28rem); width: min(100%, 28rem);
  max-height: 18rem; object-fit: cover; border-radius: 8px; background: #e7e1d6;
}
.cue { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: #5c6560; margin: 0.5rem 0 0.15rem; }
.trust { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; }
.trust-platform { color: var(--trust-platform); }
.trust-users { color: var(--trust-users); }
.likes { font-size: 0.9rem; color: #5c6560; margin: 0; }
.like-btn {
  appearance: none;
  display: inline-block;
  border: 1px solid var(--line);
  background: #fff;
  color: #2c332f;
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
  text-align: center;
}
.like-btn.liked {
  border-color: color-mix(in srgb, var(--accent, #0b6e4f) 55%, white);
  background: color-mix(in srgb, var(--accent, #0b6e4f) 12%, white);
  font-weight: 600;
}
.like-btn:disabled { opacity: 0.6; cursor: wait; }
.endorse { margin: 0.35rem 0; }
.endorse-stamp {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--trust-platform);
  border: 1px solid color-mix(in srgb, var(--trust-platform) 55%, white);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
}
.card-badges .rating { font-size: 0.8rem; color: #5c6560; }
.listing-card-free .card-hit {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.listing-card-free .card-hit .card-desc { flex: 1 1 auto; }
.listing-card-free .card-hit .contact { margin-top: auto; }
.imgs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.imgs img { max-width: 160px; max-height: 120px; object-fit: cover; border-radius: 4px; }
.legal, main { padding: 1.25rem; max-width: 48rem; margin: 0 auto; width: 100%; box-sizing: border-box; }
main { flex: 1 0 auto; }
main h1 { font-family: var(--display); font-size: 1.6rem; font-weight: 700; margin: 0 0 0.75rem; }
h2 { margin-bottom: calc(0.83em - 5px); }
.pager { display: flex; gap: 1rem; margin: 1.5rem 0; }
footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 0.5rem 1.25rem;
  color: #5c6560;
  font-size: 0.7rem;
  line-height: 1.7;
}
footer a { margin-inline: 0.1rem; }

/* Account hub / fragment tools (member document) */
.stack { display: grid; gap: 0.75rem; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
}
.muted { color: #5c6560; font-size: 0.9rem; }
.error { color: #a32020; }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; }
.tool-nav a {
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid transparent;
}
.tool-nav a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
main label { display: block; font-weight: 600; margin: 0.75rem 0 0.35rem; font-size: 0.9rem; }
main input, main select, main textarea, main button:not(.linkish):not(.like-btn):not(.menu-toggle) {
  font: inherit;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
}
main button:not(.linkish):not(.like-btn):not(.menu-toggle) {
  background: var(--brand);
  color: #f4efe6;
  border: none;
  font-weight: 700;
  cursor: pointer;
  width: auto;
}
main button:disabled { opacity: 0.45; cursor: not-allowed; }
main button.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  width: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
