/* =====================================================================
   Jeno — public site stylesheet
   Self-contained: no external fonts, icons or frameworks, so the site
   renders correctly offline and on low-bandwidth connections.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------------- */
:root {
  /* Brand — deep teal reads as steady and institutional; the warm gold
     keeps it from feeling cold or corporate. */
  --brand-900: #08201f;
  --brand-800: #0b2e2f;
  --brand-700: #12514f;
  --brand-600: #17655f;
  --brand-500: #1b7a6e;
  --brand-100: #d7e8e4;
  --brand-50:  #eef5f3;

  --accent-600: #c47f1c;
  --accent-500: #e9a23b;
  --accent-200: #f7ddb4;
  --accent-50:  #fdf5e8;

  --ink-900: #14201e;
  --ink-700: #2c3a37;
  --ink-500: #56635f;
  --ink-400: #7a8783;

  --surface:      #ffffff;
  --surface-warm: #f8f6f2;
  --surface-cool: #f2f6f5;
  --line:         #e3e2dd;
  --line-strong:  #cfd4d2;

  --danger-600: #a83c2b;
  --danger-50:  #fbeeeb;
  --success-600:#1f7a4d;
  --success-50: #eaf5ef;

  --font-display: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;

  --wrap: 1160px;
  --wrap-narrow: 760px;
  --wrap-wide: 1440px;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(20, 32, 30, .06), 0 1px 3px rgba(20, 32, 30, .04);
  --shadow: 0 4px 16px rgba(20, 32, 30, .07), 0 1px 3px rgba(20, 32, 30, .05);
  --shadow-lg: 0 18px 48px rgba(11, 46, 47, .14);

  --step: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------------------
   2. Base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 2.9vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-800); }

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

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand-800); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------------
   3. Layout
   --------------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); }
.wrap--wide { width: min(100% - 2.5rem, var(--wrap-wide)); margin-inline: auto; }

.section { padding: clamp(3.5rem, 2rem + 6vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 1.5rem + 4vw, 4rem) 0; }
.section--warm { background: var(--surface-warm); }
.section--cool { background: var(--surface-cool); }
.section--dark { background: var(--brand-800); color: var(--brand-100); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 660px; margin-bottom: 2.75rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-500); font-size: 1.05rem; margin-bottom: 0; }
.section--dark .section-head p { color: var(--brand-100); }

/* Supporting-module heading — smaller and tighter, so these sections read
   as secondary to the marketplace content above them. */
.section-head--minor { margin-bottom: 1.85rem; }
.section-head--minor h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.section-head--minor p { font-size: .96rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body);
  font-size: .76rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brand-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px;
  background: var(--accent-500); border-radius: 2px;
}
.section--dark .eyebrow { color: var(--accent-500); }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------------------------------------------------------------------
   4. Header
   --------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__logo {
  height: 40px; width: auto; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); display: block; flex: 0 0 auto;
}

.about-brand {
  display: flex; align-items: center; gap: .85rem; margin-bottom: 1.5rem;
}
.about-brand__logo {
  height: 48px; width: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}
.about-brand__name {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: var(--ink-900); letter-spacing: -.01em;
}
.about-brand__registered {
  display: flex; align-items: center; gap: .5rem;
  font-size: .88rem; color: var(--ink-500); margin: 0 0 2rem;
}
.about-brand__registered svg { flex: 0 0 auto; color: var(--brand-600); }
.brand__mark {
  width: 38px; height: 38px; flex: 0 0 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand-600), var(--brand-800));
  color: #fff;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.brand__name {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--ink-900); letter-spacing: -.015em; line-height: 1;
}
.brand__tag {
  display: block; font-family: var(--font-body);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-400); margin-top: 3px; font-weight: 600;
}

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  padding: .55rem .85rem; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 500; color: var(--ink-700);
  text-decoration: none; transition: background .18s var(--step), color .18s var(--step);
}
.nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav a.is-active { color: var(--brand-700); font-weight: 600; }
.nav a.is-active::after {
  content: ''; display: block; height: 2px; margin-top: 4px;
  background: var(--accent-500); border-radius: 2px;
}

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); color: var(--ink-900); cursor: pointer;
}

/* Language dropdown: lives inside .nav, styled small and pill-shaped
   rather than as a full form .select. */
.nav .lang-select {
  appearance: none; cursor: pointer;
  padding: .4rem 1.7rem .4rem .85rem; margin-right: .35rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--brand-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2356635f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right .7rem center;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  color: var(--brand-700);
}
@media (max-width: 900px) {
  .nav .lang-select { margin: 0 0 .6rem; }
}

/* The header's "Get in touch" link carries both .nav a and .btn--primary;
   .nav a's color rule outranks .btn--primary's on specificity alone, so
   it needs an explicit nudge back to white. */
.nav a.btn--primary { color: #fff; }
.nav a.btn--primary:hover { color: #fff; }

/* ---------------------------------------------------------------------
   5. Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.5rem;
  font-family: var(--font-body); font-size: .96rem; font-weight: 600;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .16s var(--step), box-shadow .18s var(--step),
              background .18s var(--step), color .18s var(--step);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-800); color: #fff; box-shadow: var(--shadow); }

.btn--accent { background: var(--accent-500); color: var(--brand-900); box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--accent-200); color: var(--brand-900); }

.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink-900); }
.btn--ghost:hover { border-color: var(--brand-600); color: var(--brand-700); background: var(--brand-50); }

.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--light:hover { background: rgba(255,255,255,.2); color: #fff; }

.btn--sm { padding: .5rem 1rem; font-size: .875rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  color: var(--brand-600);
}
.link-arrow svg { transition: transform .18s var(--step); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(233,162,59,.20), transparent 60%),
    linear-gradient(158deg, var(--brand-800) 0%, var(--brand-900) 55%, #061a19 100%);
  color: #fff;
  padding: clamp(3.5rem, 2rem + 7vw, 7rem) 0 clamp(3rem, 2rem + 5vw, 5.5rem);
}

/* Subtle topographic suggestion — evokes land/plots without imagery. */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 1px, transparent 1px 68px),
    repeating-linear-gradient(65deg, rgba(255,255,255,.035) 0 1px, transparent 1px 92px);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero h1 { color: #fff; max-width: 15ch; }
.hero__lead {
  font-size: clamp(1.05rem, .98rem + .4vw, 1.24rem);
  color: rgba(255,255,255,.84);
  max-width: 56ch; margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.25rem; }

.hero--page { padding: clamp(3rem, 2rem + 4vw, 4.75rem) 0; }
.hero--page h1 { max-width: 20ch; }
.hero--page .eyebrow { color: var(--accent-500); }

/* Split hero: copy on the left, project slider on the right. */
.hero__inner { position: relative; z-index: 1; }
.hero--split .hero__inner {
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 1000px) {
  .hero--split .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
}
.hero--split h1 { max-width: 14ch; }
.hero--split .hero__lead { margin-bottom: 1.75rem; }
.hero__media { position: relative; }

.hero__points {
  display: flex; flex-wrap: wrap; gap: 1.75rem;
  margin-top: 2.75rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.16);
  position: relative; z-index: 1;
}
.hero__point { display: flex; align-items: flex-start; gap: .65rem; max-width: 260px; }
.hero__point svg { color: var(--accent-500); flex: 0 0 auto; margin-top: 2px; }
.hero__point span { font-size: .93rem; color: rgba(255,255,255,.82); line-height: 1.5; }

/* Hero browse bar — the modern-marketplace "search" pattern: a category
   picker standing in for full-text search, which this catalogue doesn't
   have. Sets an honest expectation while still feeling like a search box. */
.hero__search {
  display: flex; gap: .6rem;
  background: rgba(255,255,255,.96); border-radius: 999px;
  padding: .4rem .4rem .4rem 1.3rem;
  box-shadow: 0 18px 40px rgba(4,18,17,.35);
  max-width: 560px;
}
.hero__search-field {
  flex: 1; display: flex; align-items: center; gap: .6rem; min-width: 0;
}
.hero__search-icon { color: var(--brand-500); flex: 0 0 auto; display: flex; }
.hero__search select {
  flex: 1; min-width: 0; border: 0; background: none; appearance: none;
  font: inherit; font-size: .96rem; color: var(--ink-900); font-weight: 600;
  padding: .7rem 0; cursor: pointer;
}
.hero__search select:focus-visible { outline: none; }
.hero__search .btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 520px) {
  .hero__search { flex-direction: column; border-radius: var(--radius-lg); padding: .9rem; }
  .hero__search .btn { width: 100%; justify-content: center; }
}

/* Quick-browse links under the hero actions — plain text, not pill buttons,
   so they read as secondary to the search bar and action buttons above
   instead of competing with them as a second row of differently-sized pills. */
.hero__chips {
  margin: 1.25rem 0 0; font-size: .88rem; line-height: 1.8;
}
.hero__chips-label { color: rgba(255,255,255,.6); }
.hero__chips-sep { color: rgba(255,255,255,.35); margin: 0 .5rem; }
.hero__chip {
  font-weight: 600; color: rgba(255,255,255,.92); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  transition: color .18s var(--step), border-color .18s var(--step);
}
.hero__chip:hover { color: var(--accent-500); border-color: var(--accent-500); }

/* ---------------------------------------------------------------------
   7. Cards
   --------------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.75rem;
  transition: transform .2s var(--step), box-shadow .2s var(--step), border-color .2s var(--step);
}
.card--hover:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-lg);
  border-color: var(--brand-100);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-500); font-size: .96rem; margin-bottom: 0; }

.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.15rem;
  background: var(--brand-50); color: var(--brand-600);
}
.card--accent .card__icon { background: var(--accent-50); color: var(--accent-600); }

.card__foot { margin-top: 1.25rem; }

/* Service cards carry a top accent rule that fills on hover. */
.service-card { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--step);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .card__foot { margin-top: auto; padding-top: 1.25rem; }

/* ---------------------------------------------------------------------
   7b. Marketplace category tiles — icon + label, no copy, click straight
   into a category. The scannable "pick one" grid a marketplace leads with.
   --------------------------------------------------------------------- */
.category-grid {
  display: grid; gap: 1.25rem; justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(170px, 210px));
}
.category-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 1rem; padding: 2.1rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: var(--ink-700); text-decoration: none;
  transition: transform .2s var(--step), box-shadow .2s var(--step), border-color .2s var(--step);
}
.category-tile:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-100);
}
.category-tile__icon {
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600);
  transition: background .2s var(--step), color .2s var(--step), transform .2s var(--step);
}
.category-tile:hover .category-tile__icon { background: var(--accent-500); color: var(--brand-900); transform: scale(1.08); }
.category-tile__label { font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.category-tile__count {
  font-size: .78rem; font-weight: 600; color: var(--brand-600);
  background: var(--brand-50); padding: .2rem .6rem; border-radius: 999px;
  margin-top: -.4rem;
}

/* Photo variant — a real category image instead of just an icon */
.category-tile--photo { padding: 0; gap: 0; align-items: stretch; text-align: left; }
.category-tile__media {
  display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-cool);
}
.category-tile__media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--step);
}
.category-tile--photo:hover .category-tile__media img { transform: scale(1.06); }
.category-tile__body {
  display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
  padding: 1rem 1.15rem 1.2rem;
}
.category-tile--photo .category-tile__count { margin-top: 0; }

/* Opener section — leads the homepage, so it carries more visual weight
   than a standard section: a soft brand wash, a bigger headline, and a
   scroll cue nudging the visitor down into the hero. */
.section--opener {
  background: linear-gradient(180deg, var(--brand-50) 0%, var(--surface) 78%);
  padding-top: clamp(3rem, 1.8rem + 4vw, 5rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.section--opener .section-head { max-width: 700px; }
.section--opener .section-head h2 {
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem);
}
.section--opener .section-head p { font-size: 1.1rem; }

.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  margin: 2.75rem auto 0; width: fit-content;
  color: var(--brand-600); text-decoration: none;
  font-size: .84rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.scroll-cue:hover { color: var(--brand-800); }
.scroll-cue__icon { transform: rotate(90deg); animation: scroll-cue-bounce 1.8s ease-in-out infinite; }
@keyframes scroll-cue-bounce {
  0%, 100% { transform: rotate(90deg) translateX(0); }
  50%      { transform: rotate(90deg) translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue__icon { animation: none; }
}

/* Live-scale line under the marketplace intro ("48 listings live right now") */
.marketplace-stat {
  margin-top: 1.1rem !important; font-size: .95rem !important; color: var(--ink-500);
}
.marketplace-stat strong { color: var(--brand-700); font-size: 1.1em; }

/* ---------------------------------------------------------------------
   7c. Marketplace catalogue — left-rail category nav + a wide item grid,
   used by the marketplace index and every category page.
   --------------------------------------------------------------------- */
.marketplace-layout { display: grid; gap: 2.25rem; align-items: start; }
@media (min-width: 860px) {
  .marketplace-layout { grid-template-columns: 230px 1fr; gap: 2.75rem; }
}

.marketplace-nav { display: flex; flex-direction: column; gap: .25rem; }
@media (min-width: 860px) {
  .marketplace-nav { position: sticky; top: 1.25rem; }
}
@media (max-width: 859px) {
  .marketplace-nav {
    flex-direction: row; overflow-x: auto; gap: .5rem;
    padding-bottom: .9rem; margin-bottom: .5rem;
    border-bottom: 1px solid var(--line);
    -webkit-overflow-scrolling: touch;
  }
  .marketplace-nav__link { flex: 0 0 auto; }
}

.marketplace-nav__link {
  display: flex; align-items: center; gap: .65rem;
  padding: .65rem .85rem; border-radius: var(--radius-sm);
  color: var(--ink-700); text-decoration: none; font-size: .95rem; font-weight: 500;
  white-space: nowrap;
  transition: background .16s var(--step), color .16s var(--step);
}
.marketplace-nav__link:hover { background: var(--brand-50); color: var(--brand-700); }
.marketplace-nav__link.is-active { background: var(--brand-700); color: #fff; font-weight: 600; }
.marketplace-nav__icon { display: inline-flex; flex: 0 0 auto; color: var(--brand-600); }
.marketplace-nav__link.is-active .marketplace-nav__icon { color: #fff; }
.marketplace-nav__label { flex: 1; }
.marketplace-nav__count {
  font-size: .74rem; font-weight: 700; color: var(--brand-600);
  background: var(--brand-50); padding: .1rem .55rem; border-radius: 999px;
}
.marketplace-nav__link.is-active .marketplace-nav__count { background: rgba(255,255,255,.22); color: #fff; }

.marketplace-main__head { color: var(--ink-500); font-size: .95rem; margin-bottom: 1.5rem; }

/* Denser than the default work-grid — the catalogue view favours showing
   more items over larger cards, especially inside the wide wrap. Smaller
   media, tighter type, clamped copy: more listings fit per screen. */
.work-grid.work-grid--dense { grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 1.25rem; }
.work-grid--dense .work-card__body { padding: 1.1rem; }
.work-grid--dense .work-card h3 { font-size: 1.02rem; }
.work-grid--dense .work-card__body p {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Empty-state panel for a category with no items yet, or no categories at all. */
.marketplace-empty {
  text-align: center; padding: 3.5rem 1.5rem; max-width: 480px; margin: 0 auto;
  background: var(--surface-warm); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
}
.marketplace-empty svg { color: var(--brand-500); }
.marketplace-empty h3 { margin: 1.1rem 0 .4rem; font-size: 1.15rem; }
.marketplace-empty p { color: var(--ink-500); margin: 0 auto 1.5rem; }

/* ---------------------------------------------------------------------
   8. Process steps
   --------------------------------------------------------------------- */
.steps { display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }

.step { position: relative; padding-top: 3.25rem; }
.step__num {
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-700); color: #fff;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  box-shadow: 0 0 0 6px var(--surface-warm);
  z-index: 1;
}
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 22px; left: 44px; right: -1.25rem;
  height: 2px; background: var(--line-strong);
}
@media (max-width: 899px) { .step:not(:last-child)::after { display: none; } }
.step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step p { font-size: .92rem; color: var(--ink-500); margin: 0; }

/* ---------------------------------------------------------------------
   9. Challenge list — deliberately plainer than the benefit cards
   --------------------------------------------------------------------- */
.challenge {
  display: flex; gap: 1.15rem; padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.challenge:last-child { border-bottom: 0; }
.challenge__icon {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-50); color: var(--accent-600);
}
.challenge h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.challenge p { color: var(--ink-500); font-size: .97rem; margin: 0; }

/* ---------------------------------------------------------------------
   10. Prose (CMS body content)
   --------------------------------------------------------------------- */
.prose { font-size: 1.04rem; color: var(--ink-700); }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; font-size: 1.3rem; }
.prose > *:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--brand-500); }
.prose blockquote {
  margin: 1.8em 0; padding: .3em 0 .3em 1.4em;
  border-left: 3px solid var(--accent-500);
  color: var(--ink-900); font-family: var(--font-display); font-size: 1.15rem;
}
.prose strong { color: var(--ink-900); }

.prose .table-scroll { overflow-x: auto; margin: 0 0 1.6em; }
.prose table {
  width: 100%; min-width: 480px; border-collapse: collapse; font-size: .94rem;
}
.prose th, .prose td {
  padding: .7rem .95rem; border: 1px solid var(--line); text-align: left;
}
.prose th {
  background: var(--surface-cool); color: var(--ink-900); font-weight: 600;
}
.prose td:not(:first-child), .prose th:not(:first-child) { text-align: center; }
.prose tbody tr:nth-child(even) { background: var(--surface-warm); }

/* ---------------------------------------------------------------------
   10a. Video embeds (CMS body content)
   --------------------------------------------------------------------- */
.video-embed {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  margin: 0 0 2rem; border-radius: var(--radius); background: var(--ink-900);
  box-shadow: var(--shadow);
}
.video-embed iframe, .video-embed video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* Role breakdown cards (e.g. landlord / property manager / tenant) */
.responsibility-grid {
  margin: 0 0 2rem; align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.responsibility-card { background: var(--surface-cool); padding: 1.5rem; }
.responsibility-card .eyebrow { margin-bottom: .9rem; }
.responsibility-card ul { margin-bottom: 0; }
.responsibility-card--us { background: var(--brand-50); border-color: var(--brand-100); }
.responsibility-card--us .eyebrow { color: var(--brand-700); }
.responsibility-card--us .eyebrow::before { background: var(--brand-500); }

.notice {
  padding: 1.1rem 1.3rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface-warm);
  font-size: .95rem; margin: 0 0 1.8em;
}
.notice--warn { background: var(--accent-50); border-color: var(--accent-200); color: #6d4a10; }
.notice strong { color: inherit; }

/* ---------------------------------------------------------------------
   11. Forms
   --------------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.15rem; }
@media (min-width: 640px) { .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; } }

.field label {
  display: block; font-size: .88rem; font-weight: 600;
  color: var(--ink-900); margin-bottom: .4rem;
}
.field .hint { font-size: .82rem; color: var(--ink-400); font-weight: 400; }

.input, .textarea, .select {
  width: 100%; padding: .78rem .95rem;
  font-family: inherit; font-size: .97rem; color: var(--ink-900);
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color .16s var(--step), box-shadow .16s var(--step);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(27,122,110,.15);
}
.textarea { min-height: 150px; resize: vertical; }
.select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2356635f' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem;
}

.field--error .input, .field--error .textarea, .field--error .select { border-color: var(--danger-600); }
.field-error { display: block; font-size: .85rem; color: var(--danger-600); margin-top: .35rem; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  padding: 1rem 1.25rem; border-radius: var(--radius);
  font-size: .95rem; margin-bottom: 1.75rem; border: 1px solid transparent;
}
.alert--error { background: var(--danger-50); border-color: #eccec7; color: #7d2b1e; }
.alert--success { background: var(--success-50); border-color: #c6e3d2; color: #145c39; }
.alert ul { margin: .5rem 0 0; padding-left: 1.2rem; }

/* ---------------------------------------------------------------------
   12. Contact layout
   --------------------------------------------------------------------- */
.contact-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.35fr .8fr; gap: 3.5rem; } }

.contact-panel {
  background: var(--surface-warm); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.85rem;
}
.contact-item { display: flex; gap: .85rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item svg { color: var(--brand-600); flex: 0 0 auto; margin-top: 3px; }
.contact-item dt { font-size: .8rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-400); margin-bottom: .15rem; }
.contact-item dd { margin: 0; font-size: .98rem; color: var(--ink-900); }
.contact-item a { color: var(--ink-900); text-decoration: none; }
.contact-item a:hover { color: var(--brand-600); text-decoration: underline; }

/* ---------------------------------------------------------------------
   12a. Image credits
   Licence attribution is a condition of the CC images used here, and it
   also signals that a photograph is licensed stock rather than the
   company's own record of a job.
   --------------------------------------------------------------------- */
.credit {
  display: block; margin-top: .35rem;
  font-size: .78rem; line-height: 1.45; color: var(--ink-400);
}
.credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.credit a:hover { color: var(--brand-600); }
.credit--tiny { font-size: .72rem; margin-top: .5rem; }
.credit--onDark { color: rgba(255,255,255,.62); }
.credit--onDark a { color: rgba(255,255,255,.78); }

/* Service cards with a photograph */
.service-card--media { padding: 0; overflow: hidden; }
.service-card--media .service-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-card__media {
  position: relative; display: block; aspect-ratio: 16 / 10;
  overflow: hidden; background: var(--surface-cool);
}
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--step); }
.service-card--media:hover .service-card__media img { transform: scale(1.05); }
.service-card__badge {
  position: absolute; left: 1rem; bottom: -20px;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface); color: var(--brand-600);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.service-card--media .service-card__body h3 { margin-top: 1rem; }

.service-hero-img { margin: 0 0 2rem; }
.service-hero-img img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.service-hero-img figcaption {
  font-size: .87rem; color: var(--ink-400); margin-top: .6rem; line-height: 1.5;
}

/* ---------------------------------------------------------------------
   12b. Past work — cards, gallery, detail
   --------------------------------------------------------------------- */
.work-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }

.work-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg) 0 var(--radius-lg) 0; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s var(--step), box-shadow .2s var(--step), border-color .2s var(--step);
}
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }

.work-card__media {
  position: relative; display: block; aspect-ratio: 4 / 3;
  background: var(--surface-cool); overflow: hidden;
}
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--step); }
.work-card:hover .work-card__media img { transform: scale(1.04); }

.work-card__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--line-strong);
  background: repeating-linear-gradient(135deg, var(--surface-cool) 0 12px, #edf2f1 12px 24px);
}
.work-card__count {
  position: absolute; right: .7rem; bottom: .7rem;
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(8,32,31,.78); color: #fff;
  font-size: .78rem; font-weight: 600; padding: .25rem .55rem; border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Availability badge — on a listing card's photo, or in its facts sidebar. */
.badge {
  display: inline-flex; align-items: center;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .28rem .65rem; border-radius: 999px;
}
.badge--available { background: var(--success-50); color: var(--success-600); }
.badge--reserved   { background: var(--accent-50); color: var(--accent-600); }
.badge--unavailable{ background: var(--surface-cool); color: var(--ink-500); }
.badge--new        { background: var(--brand-700); color: #fff; }
.badge--popular    { background: var(--accent-500); color: var(--brand-900); }
.work-card__badge { position: absolute; left: .7rem; top: .7rem; box-shadow: 0 1px 3px rgba(8,32,31,.25); }

/* Item card status badges — stacked top-left over the photo */
.work-card__badges {
  position: absolute; left: .7rem; top: .7rem; z-index: 1;
  display: flex; flex-direction: column; gap: .35rem; align-items: flex-start;
}
.work-card__badges .badge { box-shadow: 0 1px 3px rgba(8,32,31,.25); }

/* Quick-view trigger — the photo area opens the item modal */
.work-card__media[data-item-modal] { cursor: pointer; }
.work-card__zoom {
  position: absolute; right: .6rem; bottom: .6rem; z-index: 1;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(8,32,31,.7); color: #fff;
  opacity: 0; transform: translateY(4px);
  transition: opacity .18s var(--step), transform .18s var(--step);
}
.work-card:hover .work-card__zoom,
.work-card__media[data-item-modal]:focus-visible .work-card__zoom {
  opacity: 1; transform: translateY(0);
}

/* ---------------------------------------------------------------------
   12c. Item quick-view modal
   --------------------------------------------------------------------- */
.item-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  background: rgba(4, 18, 17, .7);
  padding: 1.5rem;
}
.item-modal.is-open { display: grid; }
.item-modal__backdrop { position: absolute; inset: 0; }
.item-modal__panel {
  position: relative; z-index: 1;
  width: min(880px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(4, 18, 17, .45);
  display: grid;
}
@media (min-width: 700px) { .item-modal__panel { grid-template-columns: 1.1fr 1fr; } }

.item-modal__close {
  position: absolute; top: .85rem; right: .85rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(8,32,31,.55); color: #fff; font-size: 1.4rem; line-height: 1;
}
.item-modal__close:hover { background: rgba(8,32,31,.75); }

.item-modal__media {
  position: relative; background: var(--surface-cool);
  min-height: 240px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 699px) { .item-modal__media { border-radius: var(--radius-lg) var(--radius-lg) 0 0; } }
.item-modal__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-modal__media .work-card__placeholder { position: absolute; inset: 0; }

.item-modal__body { padding: 2rem; display: flex; flex-direction: column; }
.item-modal__body h3 { font-size: 1.5rem; margin: .5rem 0 .6rem; }
.item-modal__body .listing-price { font-size: 1.15rem; margin-bottom: .9rem; }
.item-modal__body p:not(.listing-price) { color: var(--ink-500); margin-bottom: 1.5rem; }
.item-modal__body .btn { margin-top: auto; align-self: flex-start; }

.work-card__body .listing-price {
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  color: var(--brand-700); margin: 0 0 .6rem;
}

.work-card__body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.work-card__tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand-600); background: var(--brand-50);
  padding: .22rem .55rem; border-radius: 999px; margin-bottom: .7rem;
}
.work-card h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.work-card h3 a { color: inherit; text-decoration: none; }
.work-card h3 a:hover { color: var(--brand-600); }
.work-card__body p { color: var(--ink-500); font-size: .94rem; margin-bottom: 1rem; }

.work-card__meta {
  margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .35rem 1rem;
  font-size: .84rem; color: var(--ink-400);
}
.work-card__meta span { display: inline-flex; align-items: center; gap: .32rem; }
.work-card__meta svg { color: var(--brand-500); flex: 0 0 auto; }

/* Empty state — carries real copy, so it reads as intent, not breakage. */
.work-empty {
  text-align: center; max-width: 620px; margin-inline: auto;
  padding: clamp(2.5rem, 2rem + 3vw, 4rem) 1.5rem;
  background: var(--surface-warm); border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}
.work-empty svg { color: var(--brand-500); opacity: .5; margin-bottom: 1rem; }
.work-empty h2 { font-size: 1.4rem; }
.work-empty p { color: var(--ink-500); font-size: .98rem; }
.work-empty .btn { margin-top: .85rem; }

/* Detail page */
.work-detail { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 940px) { .work-detail { grid-template-columns: 1fr 300px; gap: 3.5rem; } }

.work-hero-img { margin: 0 0 2rem; }
.work-hero-img img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.work-hero-img figcaption, .gallery figcaption {
  font-size: .87rem; color: var(--ink-400); margin-top: .6rem; line-height: 1.5;
}

.gallery { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 1.25rem; }
.gallery__item { margin: 0; }
.gallery__item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  transition: transform .22s var(--step), box-shadow .22s var(--step);
}
.gallery__item a:hover img { transform: translateY(-2px); box-shadow: var(--shadow); }

.gallery-hint {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .86rem; color: var(--ink-400); margin-top: .9rem;
}
.gallery-hint svg { color: var(--brand-500); }

.work-facts {
  background: var(--surface-warm); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem;
  position: sticky; top: 100px;
}
.work-facts h3 { font-size: 1.08rem; margin-bottom: .9rem; }
.work-facts dl { margin: 0; }
.work-facts dl > div { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.work-facts dl > div:last-child { border-bottom: 0; }
.work-facts dt {
  font-size: .74rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-400); margin-bottom: .15rem;
}
.work-facts dd { margin: 0; color: var(--ink-900); font-size: .96rem; }
.work-facts__note {
  font-size: .84rem; color: var(--ink-400); margin-top: 1rem;
  padding-top: 1rem; border-top: 1px solid var(--line);
}
@media (max-width: 939px) { .work-facts { position: static; } }

/* ---------------------------------------------------------------------
   13. CTA band
   --------------------------------------------------------------------- */
.cta {
  background: linear-gradient(140deg, var(--brand-700), var(--brand-900));
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; top: -60%; right: -10%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,162,59,.24), transparent 68%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: .6rem; }
.cta p { color: rgba(255,255,255,.82); max-width: 52ch; margin: 0 auto 1.75rem; }

/* ---------------------------------------------------------------------
   14. Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--brand-900); color: rgba(255,255,255,.68); padding: 3.5rem 0 0; }
.site-footer a { color: rgba(255,255,255,.68); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-grid { display: grid; gap: 2.25rem; padding-bottom: 2.75rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr; gap: 3rem; } }

.site-footer h4 {
  color: #fff; font-family: var(--font-body); font-size: .78rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .6rem; font-size: .95rem; }

.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: rgba(255,255,255,.5); }
.footer-logo { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); margin-bottom: .9rem; display: block; }
.footer-blurb { font-size: .95rem; margin-top: 1.1rem; max-width: 42ch; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.4rem 0; display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: space-between; font-size: .87rem;
}

/* ---------------------------------------------------------------------
   15. Responsive — mobile navigation
   --------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed; inset: 74px 0 auto; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .6rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:last-of-type { border-bottom: 0; }
  .nav a.is-active::after { display: none; }
  .nav .btn { margin-top: .85rem; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand__tag { display: none; }
  .hero__actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------------
   16. Floating help widget
   --------------------------------------------------------------------- */
.help-widget {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 120;
  display: flex; flex-direction: column; align-items: flex-end; gap: .7rem;
}
.help-widget__toggle {
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: var(--brand-700); color: #fff; box-shadow: var(--shadow-lg);
  display: grid; place-items: center; cursor: pointer;
  transition: background .18s var(--step), transform .16s var(--step);
}
.help-widget__toggle:hover { background: var(--brand-800); transform: translateY(-1px); }
.help-widget__panel {
  display: flex; flex-direction: column; gap: .5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .6rem;
}
.help-widget__link {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .9rem; border-radius: var(--radius-sm);
  font-size: .92rem; font-weight: 600; color: var(--ink-900);
  text-decoration: none; white-space: nowrap;
  transition: background .18s var(--step);
}
.help-widget__link:hover { background: var(--brand-50); }
.help-widget__link--whatsapp { color: #1da851; }
.help-widget__link--facebook { color: #1877f2; }
@media (max-width: 520px) {
  .help-widget { right: 1rem; bottom: 1rem; }
  .help-widget__toggle { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .site-footer, .cta, .hero__actions { display: none; }
  body { color: #000; font-size: 12pt; }
}
