/* Homepage (index.php, 2026-10-04). Clean, flat, one accent: navy headings, red only for the main button, green money.
   All sizes scale with the theme text size. Layout: hero · strip · bento · sections; every row wraps on phones. */
.hm { --hm-navy: var(--bf-navy,#1e3a5f); --hm-navy-soft: var(--bf-navy-soft,#eaf0f6); --hm-red: var(--bf-brand,#c0392b); --hm-red-ink: var(--bf-brand-ink,#a93226);
  --hm-green: var(--bf-success,#166534); --hm-ink: #33373f; --hm-muted: #6b7280; --hm-line: var(--bf-border,#e7e8eb); --hm-bg2: #f7f8fa; --hm-r: 16px;
  --hm-display: var(--bf-font-display,'Noto Sans Display','Noto Sans',system-ui,sans-serif); color: var(--hm-ink); background: #fff; }
.hm a { text-decoration: none; }
.hm img { display: block; }
.hm-money { color: var(--hm-green) !important; font-weight: 800; }
.hm-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.18); display: inline-block; flex: none; }

/* ── Hero ── */
.hm-hero { padding: 40px 0 44px; border-bottom: 1px solid var(--hm-line); }
.hm-hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 0 44px; align-items: center; }
.hm-hero-copy, .hm-hero-art, .hm-hero-search { min-width: 0; }
.hm-hero-search { grid-column: 1 / -1; }
.hm-pill { max-width: 100%; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 5px 12px; border: 1px solid var(--hm-line); border-radius: 30px; background: #fff;
  font-size:calc(12.5px*var(--bf-type-sm,1)); font-weight: 600; color: var(--hm-muted); }
.hm-pill b { color: #166534; font-weight: 700; }
.hm-h1 { font-family: var(--hm-display); font-size: clamp(calc(32px*var(--bf-type,1)), 3.9vw, calc(50px*var(--bf-type,1))); font-weight: 800; line-height: 1.06; letter-spacing: -.03em;
  color: var(--hm-navy); margin: 0 0 12px; }
.hm-h1 em { font-style: normal; color: #8a93a3; }
.hm-lead { font-size:calc(16.5px*var(--bf-type,1)); line-height: 1.55; color: var(--hm-ink); max-width: 560px; margin: 0 0 22px; }

.hm-search { border: 2px solid var(--hm-navy); border-radius: 22px; background: #fff; padding: 10px; box-shadow: 0 22px 48px -26px rgba(30,58,95,.55); }
.hm-search:focus-within { box-shadow: 0 0 0 5px rgba(30,58,95,.12), 0 22px 48px -26px rgba(30,58,95,.55); }
.hm-scopes { display: flex; flex-wrap: wrap; gap: 4px; padding: 2px 2px 10px; }
.hm-scopes button { border: 0; background: none; padding: 7px 14px; border-radius: 22px; font-size:calc(14px*var(--bf-type,1)); font-weight: 700; color: var(--hm-muted); cursor: pointer; transition: background .15s, color .15s; }
.hm-scopes button:hover { color: var(--hm-navy); background: var(--hm-bg2); }
.hm-scopes button.on { background: var(--hm-navy); color: #fff; }
.hm-search-box { display: flex; align-items: center; gap: 12px; background: var(--hm-bg2); border-radius: 14px; padding: 6px 6px 6px 18px; }
.hm-search-box > .bi { color: var(--hm-navy); font-size:calc(22px*var(--bf-type,1)); }
.hm-search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size:calc(18px*var(--bf-type,1)); font-weight: 500; padding: 14px 0; color: var(--hm-navy); }
.hm-search-box input::placeholder { color: #8a93a3; font-weight: 400; }
.hm-search-go { border: 0; background: var(--hm-red); color: #fff; font-weight: 800; font-size:calc(16px*var(--bf-type,1)); padding: 0 28px; height: 56px; border-radius: 12px; cursor: pointer; flex: none; display: inline-flex; align-items: center; gap: 8px; }
.hm-search-go:hover { background: var(--hm-red-ink); }
.hm-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 34px; }
.hm-popular span { font-size:calc(12.5px*var(--bf-type-sm,1)); color: var(--hm-muted); margin-right: 2px; }
.hm-popular a { font-size:calc(12.5px*var(--bf-type-sm,1)); color: var(--hm-ink); border: 1px solid var(--hm-line); border-radius: 20px; padding: 3px 11px; background: #fff; }
.hm-popular a:hover { border-color: var(--hm-navy); color: var(--hm-navy); }
.hm-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.hm-btn { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 20px; border-radius: 11px; font-weight: 700; font-size:calc(14px*var(--bf-type,1)); white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.hm-btn.red { background: var(--hm-red); color: #fff; }
.hm-btn.red:hover { background: var(--hm-red-ink); color: #fff; }
.hm-btn.line { border: 1px solid var(--hm-line); color: var(--hm-navy); background: #fff; }
.hm-btn.line:hover { border-color: var(--hm-navy); }
.hm-btn.sm { height: 36px; padding: 0 14px; font-size:calc(13px*var(--bf-type,1)); border-radius: 9px; }
.hm-link { font-weight: 700; font-size:calc(14px*var(--bf-type,1)); color: var(--hm-navy); }
.hm-link:hover { color: var(--hm-red); }

/* hero showcase tiles */
.hm-hero-art { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; }
.hm-tile-stat { min-height: 152px; }
.hm-tile { position: relative; border-radius: var(--hm-r); border: 1px solid var(--hm-line); background: #fff; overflow: hidden; padding: 16px; display: flex; flex-direction: column; gap: 6px; color: var(--hm-ink); min-width: 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.hm-tile:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(17,24,39,.45); border-color: #d6d9df; }
.hm-tile-big { grid-row: span 2; min-height: 316px; justify-content: flex-end; background: var(--hm-navy-soft); }
.hm-tile.has-img { border-color: transparent; color: #fff; justify-content: flex-end; }
.hm-tile.has-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-tile-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,31,54,0) 40%, rgba(13,31,54,.78)); }
.hm-tile-tag { position: absolute; top: 12px; left: 12px; z-index: 1; font-size:calc(11.5px*var(--bf-type-sm,1)); font-weight: 700; background: rgba(255,255,255,.94); color: var(--hm-navy); padding: 4px 10px; border-radius: 20px; }
.hm-tile-tag.soft { background: #fff; }
.hm-tile:not(.has-img) .hm-tile-tag { position: static; align-self: flex-start; }
.hm-tile-foot { position: relative; z-index: 1; display: grid; gap: 3px; }
.hm-tile-foot b { font-family: var(--hm-display); font-size:calc(17px*var(--bf-type,1)); line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hm-tile.has-img .hm-money { color: #86efac !important; font-size:calc(15px*var(--bf-type,1)); }
.hm-tile-foot > span:not(.hm-money) { font-size:calc(13px*var(--bf-type,1)); color: var(--hm-muted); }
.hm-tile-ic { width: 54px; height: 54px; border-radius: 16px; background: #fff; color: var(--hm-navy); display: grid; place-items: center; font-size:calc(24px*var(--bf-type,1)); margin-bottom: auto; }
.hm-tile-big:not(.has-img) .hm-tile-foot b { color: var(--hm-navy); font-size:calc(21px*var(--bf-type,1)); }
.hm-tile-k { font-size:calc(12px*var(--bf-type-sm,1)); font-weight: 700; color: var(--hm-muted); }
.hm-tile-n { font-family: var(--hm-display); font-size:calc(34px*var(--bf-type,1)); line-height: 1; color: var(--hm-navy); font-weight: 800; letter-spacing: -.02em; }
.hm-tile-s { font-size:calc(12.5px*var(--bf-type-sm,1)); color: var(--hm-muted); margin-top: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-tile-prop { min-height: 150px; }
.hm-tile-prop .hm-tile-foot b { font-size:calc(15px*var(--bf-type,1)); }
.hm-tile-safe { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 18px; min-height: 0; padding: 12px 16px; background: var(--hm-bg2); }
.hm-tile-safe ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hm-tile-safe li { display: inline-flex; align-items: center; gap: 6px; font-size:calc(12.5px*var(--bf-type-sm,1)); color: var(--hm-ink); }
.hm-tile-safe .bi { color: var(--hm-green); }

/* ── Safeguards strip ── */
.hm-strip { background: var(--hm-navy); color: rgba(255,255,255,.86); }
.hm-strip-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding-top: 13px; padding-bottom: 13px; font-size:calc(13px*var(--bf-type,1)); }
.hm-strip-in span { display: inline-flex; align-items: center; gap: 8px; }
.hm-strip-in .bi { color: #93c5fd; }
.hm-strip-fact b { color: #fff; }

/* ── Sections ── */
.hm-sec { padding: 56px 0; }
.hm-sec.alt { background: var(--hm-bg2); }
.hm-sec.is-empty { padding: 30px 0; }
.hm-sec.is-empty .hm-sh { margin-bottom: 12px; }
.hm-sec.is-empty .hm-sh h2 { font-size:calc(22px*var(--bf-type,1)); }
.hm-sec.is-empty .hm-sh p { display: none; }
.hm-sec.is-empty .hm-empty { padding: 14px 18px; text-align: left; }
.hm-sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 20px; }
.hm-sh-t { min-width: 0; flex: 1 1 340px; }
.hm-eb { font-size:calc(12px*var(--bf-type-sm,1)); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hm-red); margin-bottom: 6px; }
.hm-sh h2, .hm-tools-copy h2 { font-family: var(--hm-display); font-size:calc(29px*var(--bf-type,1)); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--hm-navy); margin: 0; }
.hm-sh p { font-size:calc(14px*var(--bf-type,1)); color: var(--hm-muted); margin: 6px 0 0; max-width: 620px; }
.hm-sh-r { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.hm-more { font-size:calc(13.5px*var(--bf-type,1)); font-weight: 700; color: var(--hm-navy); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.hm-more:hover { color: var(--hm-red); }
.hm-empty { border: 1px dashed #d3d7de; border-radius: 14px; padding: 22px; text-align: center; font-size:calc(14px*var(--bf-type,1)); color: var(--hm-muted); background: #fff; }
.hm-empty b { color: var(--hm-navy); }
.hm-empty a { font-weight: 700; color: var(--hm-red); }
.hm .hp-tabs { display: inline-flex; gap: 2px; background: #eceef2; padding: 3px; border-radius: 10px; flex-wrap: wrap; }
.hm .hp-tabs button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font-size:calc(12.5px*var(--bf-type-sm,1)); font-weight: 600; color: var(--hm-muted); white-space: nowrap; cursor: pointer; }
.hm .hp-tabs button.on { background: #fff; color: var(--hm-navy); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.hm-wb { background: transparent !important; }
.hm .hm-grid3 { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; }

/* ── Bento: everything on Bildfie ── */
.hm-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hm-bx { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--hm-line); border-radius: var(--hm-r); background: #fff; color: var(--hm-ink); min-width: 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.hm-bx:hover { transform: translateY(-2px); border-color: #cfd5de; box-shadow: 0 16px 30px -24px rgba(17,24,39,.5); }
.hm-bx-hero { grid-column: span 2; grid-row: span 2; background: var(--hm-navy); border-color: var(--hm-navy); color: rgba(255,255,255,.86); padding: 24px; }
.hm-bx-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.hm-bx-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--hm-navy-soft); color: var(--hm-navy); display: grid; place-items: center; font-size:calc(18px*var(--bf-type,1)); flex: none; }
.hm-bx-hero .hm-bx-ic { background: rgba(255,255,255,.12); color: #fff; }
.hm-bx-n { font-size:calc(11.5px*var(--bf-type-sm,1)); font-weight: 700; color: var(--hm-navy); background: var(--hm-navy-soft); padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.hm-bx-hero .hm-bx-n { background: rgba(255,255,255,.14); color: #fff; }
.hm-bx h3 { font-family: var(--hm-display); font-size:calc(17px*var(--bf-type,1)); font-weight: 800; color: var(--hm-navy); margin: 0; letter-spacing: -.01em; }
.hm-bx-hero h3 { color: #fff; font-size:calc(26px*var(--bf-type,1)); }
.hm-bx p { font-size:calc(13px*var(--bf-type,1)); line-height: 1.5; color: var(--hm-muted); margin: 0; }
.hm-bx-hero p { color: rgba(255,255,255,.75); font-size:calc(14.5px*var(--bf-type,1)); max-width: 460px; }
.hm-bx-arrow { margin-top: auto; padding-top: 6px; color: var(--hm-navy); opacity: .45; transition: opacity .2s, transform .2s; }
a.hm-bx:hover .hm-bx-arrow { opacity: 1; transform: translateX(3px); }
.hm-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 6px; }
.hm-cats a { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 11px; background: rgba(255,255,255,.08); color: #fff; font-size:calc(13.5px*var(--bf-type,1)); font-weight: 600; min-width: 0; }
.hm-cats a:hover { background: rgba(255,255,255,.16); }
.hm-cats .bi { color: #93c5fd; }
.hm-bx-go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 18px; border-radius: 10px; background: #fff; color: var(--hm-navy); font-weight: 700; font-size:calc(14px*var(--bf-type,1)); }
.hm-bx-go:hover { background: var(--hm-navy-soft); color: var(--hm-navy); }

/* ── Marketplace items ── */
.hm-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
.hm-item { display: grid; gap: 2px; color: var(--hm-ink); min-width: 0; }
.hm-item-img { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--hm-bg2); border: 1px solid var(--hm-line); display: grid; place-items: center; color: #9aa3b2; font-size:calc(26px*var(--bf-type,1)); margin-bottom: 8px; }
.hm-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.hm-item:hover .hm-item-img img { transform: scale(1.04); }
.hm-item-t { font-size:calc(14px*var(--bf-type,1)); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-item-p { font-size:calc(15px*var(--bf-type,1)); font-weight: 800; color: var(--hm-green); }
.hm-item-p small { font-weight: 500; color: var(--hm-muted); }
.hm-item-m { font-size:calc(12px*var(--bf-type-sm,1)); color: var(--hm-muted); }

/* ── Live: map + feed ── */
.hm-live { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.hm-live.no-map { grid-template-columns: 1fr; }
.hm-map { display: flex; flex-direction: column; border: 1px solid var(--hm-line); border-radius: var(--hm-r); overflow: hidden; background: #fff; min-width: 0; }
.hm-map .bf-map-wrap { border: 0; border-radius: 0; margin: 0; }
.hm-map #bildfie-map { height: 380px; }
.hm-map-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 11px 14px; border-top: 1px solid var(--hm-line); font-size:calc(13px*var(--bf-type,1)); color: var(--hm-muted); }
.hm-map-foot b { color: var(--hm-navy); }
.hm-map-foot .hm-more { margin-left: auto; }
.hm-where { display: inline-flex; align-items: center; gap: 6px; color: var(--hm-ink); }
.hm-where .bi { color: var(--hm-red); }
.hm-feed { border: 1px solid var(--hm-line); border-radius: var(--hm-r); background: #fff; display: flex; flex-direction: column; min-width: 0; max-height: 430px; }
.hm-feed-h { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--hm-line); font-weight: 700; color: var(--hm-navy); font-size:calc(14px*var(--bf-type,1)); }
.hm-feed-h .hm-where { margin-left: auto; font-weight: 500; font-size:calc(12.5px*var(--bf-type-sm,1)); }
.hm-live-badge { font-size:calc(10.5px*var(--bf-type-sm,1)); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--hm-red); padding: 2px 7px; border-radius: 5px; }
.hm-feed > :not(.hm-feed-h) { flex: none; }
.hm-feed { overflow: auto; }
.hm-feed-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 16px; border-bottom: 1px solid #f1f2f4; color: var(--hm-ink); font-size:calc(13px*var(--bf-type,1)); line-height: 1.4; }
.hm-feed-row:last-child { border-bottom: 0; }
.hm-feed-row:hover { background: var(--hm-bg2); }
.hm-feed-ic { width: 32px; height: 32px; border-radius: 10px; background: var(--hm-navy-soft); color: var(--hm-navy); display: grid; place-items: center; }
.hm-feed-t strong { color: var(--hm-navy); }
.hm-feed-w { font-size:calc(11.5px*var(--bf-type-sm,1)); color: var(--hm-muted); white-space: nowrap; }
.hm-feed-empty { padding: 22px 16px; color: var(--hm-muted); font-size:calc(13px*var(--bf-type,1)); }
.hm-online { display: inline-flex; align-items: center; gap: 8px; font-size:calc(13px*var(--bf-type,1)); font-weight: 700; color: #166534; }
.hm-tip { min-width: 210px; padding: 10px 12px; font-size:calc(12px*var(--bf-type-sm,1)); color: #33373f; background: #fff; }
.hm-tip b { display: block; color: var(--hm-navy); font-size:calc(13px*var(--bf-type,1)); }
.hm-tip > span { color: var(--hm-muted); }
.hm-tip dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 8px 0 4px; }
.hm-tip dt { color: var(--hm-muted); font-weight: 500; } .hm-tip dd { margin: 0; text-align: right; font-weight: 700; } .hm-tip dd.g { color: var(--hm-green); }
.hm-tip em { font-style: normal; color: var(--hm-muted); font-size:calc(11px*var(--bf-type-sm,1)); }

/* ── Properties, completed work, Digitals ── */
.hm-props, .hm-done { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hm-prop, .hm-done-c, .hm-dg { display: flex; flex-direction: column; border: 1px solid var(--hm-line); border-radius: var(--hm-r); overflow: hidden; background: #fff; color: var(--hm-ink); min-width: 0; transition: transform .2s, box-shadow .2s; }
.hm-prop:hover, .hm-done-c:hover, .hm-dg:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -24px rgba(17,24,39,.5); }
.hm-prop-img, .hm-done-img, .hm-dg-img { position: relative; aspect-ratio: 16 / 10; background: var(--hm-navy-soft); display: grid; place-items: center; color: var(--hm-navy); font-size:calc(28px*var(--bf-type,1)); overflow: hidden; }
.hm-done-img.no-img, .hm-prop-img.no-img { aspect-ratio: auto; height: 64px; }
.hm-prop-img img, .hm-done-img img, .hm-dg-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-prop-deal, .hm-done-tag { position: absolute; top: 10px; left: 10px; font-size:calc(11px*var(--bf-type-sm,1)); font-weight: 700; background: rgba(255,255,255,.95); color: var(--hm-navy); padding: 3px 9px; border-radius: 20px; }
.hm-done-tag { color: var(--hm-green); }
.hm-prop-b, .hm-done-b { display: grid; gap: 4px; padding: 13px 15px 14px; }
.hm-prop-k { font-size:calc(12px*var(--bf-type-sm,1)); color: var(--hm-muted); font-weight: 600; }
.hm-prop-k .bi { color: var(--hm-green); }
.hm-prop b, .hm-done-c b, .hm-dg b { font-size:calc(15px*var(--bf-type,1)); color: var(--hm-navy); line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hm-prop-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size:calc(12.5px*var(--bf-type-sm,1)); color: var(--hm-muted); margin-top: 2px; }
.hm-prop-f > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-prop-f .bi { color: var(--hm-red); margin-right: 3px; }
.hm-prop-f .hm-money { font-size:calc(14px*var(--bf-type,1)); white-space: nowrap; }
.hm-dgs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hm-dg { gap: 4px; padding-bottom: 13px; }
.hm-dg-img { aspect-ratio: 4 / 3; margin-bottom: 8px; }
.hm-dg-k, .hm-dg b, .hm-dg-f { padding: 0 14px; }
.hm-dg-k { font-size:calc(11.5px*var(--bf-type-sm,1)); font-weight: 700; color: var(--hm-muted); text-transform: uppercase; letter-spacing: .05em; }
.hm-dg-f { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 4px; }
.hm-dg-r { font-size:calc(12.5px*var(--bf-type-sm,1)); color: var(--hm-ink); display: inline-flex; gap: 4px; align-items: center; }
.hm-dg-r .bi { color: #f59e0b; }

/* ── How it works ── */
.hm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.hm-steps li { position: relative; background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-r); padding: 18px; }
.hm-steps li > span { width: 32px; height: 32px; border-radius: 50%; background: var(--hm-navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size:calc(14px*var(--bf-type,1)); margin-bottom: 12px; }
.hm-steps b { display: block; font-family: var(--hm-display); font-size:calc(16px*var(--bf-type,1)); color: var(--hm-navy); margin-bottom: 4px; }
.hm-steps p { font-size:calc(13px*var(--bf-type,1)); line-height: 1.55; color: var(--hm-muted); margin: 0; }

/* ── Business tools ── */
.hm-tools-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 36px; align-items: center; }
.hm-tools-copy p { font-size:calc(15px*var(--bf-type,1)); line-height: 1.55; color: var(--hm-muted); margin: 10px 0 20px; }
.hm-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hm-tool { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--hm-line); border-radius: 14px; background: #fff; min-width: 0; }
.hm-tool b { display: block; color: var(--hm-navy); font-size:calc(14.5px*var(--bf-type,1)); }
.hm-tool p { font-size:calc(12.5px*var(--bf-type-sm,1)); color: var(--hm-muted); margin: 2px 0 0; line-height: 1.45; }

/* ── Local rates ── */
.hm-rates { padding: 44px 0; border-top: 1px solid var(--hm-line); }
.hm-rates-f { display: flex; align-items: center; gap: 6px; border: 1px solid var(--hm-line); border-radius: 10px; padding: 0 10px; height: 36px; background: #fff; margin: 0; }
.hm-rates-f .bi { color: var(--hm-red); }
.hm-rates-f input { border: 0; outline: 0; width: 140px; font-size:calc(13px*var(--bf-type,1)); background: transparent; }
.hm-rate-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.hm-rate { display: grid; gap: 2px; padding: 13px 14px; border: 1px solid var(--hm-line); border-radius: 14px; background: #fff; color: var(--hm-ink); min-width: 0; }
.hm-rate:hover { border-color: var(--hm-navy); }
.hm-rate-l { font-size:calc(13px*var(--bf-type,1)); font-weight: 700; color: var(--hm-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-rate b { font-size:calc(15.5px*var(--bf-type,1)); }
.hm-rate-u { font-size:calc(11.5px*var(--bf-type-sm,1)); color: var(--hm-muted); }
.hm-rates-note { font-size:calc(12px*var(--bf-type-sm,1)); color: var(--hm-muted); margin-top: 10px; }

/* ── Tags, news ── */
.hm-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-cloud a { padding: 6px 13px; border-radius: 22px; background: var(--hm-navy-soft); color: var(--hm-navy); font-weight: 600; font-size:calc(13px*var(--bf-type,1)); }
.hm-cloud a span { opacity: .55; font-weight: 500; margin-left: 2px; }
.hm-cloud a:hover { background: var(--hm-navy); color: #fff; }
.hm-news { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.hm-news-f { display: grid; gap: 6px; padding: 0 0 16px; border: 1px solid var(--hm-line); border-radius: var(--hm-r); overflow: hidden; background: #fff; color: var(--hm-ink); }
.hm-news-f > :not(.hm-news-img) { padding: 0 16px; }
.hm-news-img { aspect-ratio: 16 / 8; background: var(--hm-navy-soft); display: grid; place-items: center; color: var(--hm-navy); font-size:calc(28px*var(--bf-type,1)); overflow: hidden; position: relative; margin-bottom: 6px; }
.hm-news-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-news-f b { font-family: var(--hm-display); font-size:calc(19px*var(--bf-type,1)); color: var(--hm-navy); line-height: 1.3; }
.hm-news-f p { font-size:calc(13.5px*var(--bf-type,1)); color: var(--hm-muted); margin: 0; line-height: 1.55; }
.hm-news-l { display: grid; gap: 10px; align-content: start; }
.hm-news-l a { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--hm-line); border-radius: 14px; background: #fff; }
.hm-news-l b { color: var(--hm-navy); font-size:calc(14.5px*var(--bf-type,1)); line-height: 1.35; }
.hm-news-f:hover b, .hm-news-l a:hover b { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 1199.98px) {
  .hm-hero-in { gap: 32px; }
  .hm-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-bx-hero { grid-column: span 3; grid-row: auto; }
  .hm-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-dgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-rate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .hm-hero { padding: 34px 0 30px; }
  .hm-hero-in { grid-template-columns: 1fr; gap: 0; }
  .hm-hero-art { margin-top: 26px; }
  .hm-hero-art { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-tile-big { min-height: 240px; }
  .hm .hm-grid3, .hm-props, .hm-done { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .hm .hm-grid3 > :nth-child(3), .hm-props > :nth-child(3), .hm-done > :nth-child(3) { display: none; }
  .hm-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-items > :nth-child(n+7) { display: none; }
  .hm-live { grid-template-columns: 1fr; }
  .hm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-tools-in { grid-template-columns: 1fr; gap: 20px; }
  .hm-news { grid-template-columns: 1fr; }
  .hm-sec { padding: 42px 0; }
}
@media (max-width: 575.98px) {
  .hm-h1 { font-size:calc(31px*var(--bf-type,1)); }
  .hm-lead { font-size:calc(15px*var(--bf-type,1)); }
  .hm-search { padding: 8px; border-radius: 18px; }
  .hm-scopes button { padding: 6px 11px; font-size:calc(13px*var(--bf-type,1)); }
  .hm-search-box { padding: 5px 5px 5px 12px; gap: 8px; }
  .hm-search-box input { font-size:calc(16px*var(--bf-type,1)); padding: 11px 0; }
  .hm-search-go { padding: 0 16px; height: 48px; font-size:calc(15px*var(--bf-type,1)); }
  .hm-search-go .bi { display: none; }
  .hm-btn { height: 42px; padding: 0 16px; }
  .hm-hero-art { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hm-tile-big { grid-column: 1 / -1; grid-row: auto; min-height: 220px; }
  .hm-tile-big:not(.has-img) { min-height: 0; }
  .hm-tile-big:not(.has-img) .hm-tile-ic { margin-bottom: 8px; }
  .hm-tile { padding: 13px; }
  .hm-tile-n { font-size:calc(28px*var(--bf-type,1)); }
  .hm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hm-bx-hero { grid-column: span 2; padding: 18px; }
  .hm-bx-hero h3 { font-size:calc(22px*var(--bf-type,1)); }
  .hm-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-bx { padding: 14px; }
  .hm-bx-arrow { display: none; }
  .hm-bx p { font-size:calc(12.5px*var(--bf-type-sm,1)); }
  .hm .hm-grid3, .hm-props, .hm-done { grid-template-columns: 1fr !important; }
  .hm .hm-grid3 > :nth-child(3), .hm-props > :nth-child(3), .hm-done > :nth-child(3) { display: none; }
  .hm-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .hm-items > :nth-child(n+5) { display: none; }
  .hm-dgs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hm-steps { grid-template-columns: 1fr; }
  .hm-rate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-tools { grid-template-columns: 1fr; }
  .hm-sh h2, .hm-tools-copy h2 { font-size:calc(24px*var(--bf-type,1)); }
  .hm-strip-in { justify-content: flex-start; gap: 8px 18px; font-size:calc(12.5px*var(--bf-type-sm,1)); }
  .hm-map #bildfie-map { height: 280px; }
  .hm-map-foot .hm-more { margin-left: 0; }
}

/* ══ Life (2026-10-04, owner: "too static… animations, looping stuff… images and life") ══ */
/* soft drifting glow behind the hero */
.hm-hero { position: relative; overflow: hidden; }
.hm-hero > .container { position: relative; z-index: 1; }
.hm-hero::before, .hm-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.hm-hero::before { width: 520px; height: 520px; background: rgba(30,58,95,.10); top: -180px; right: -120px; animation: hmDrift 18s ease-in-out infinite alternate; }
.hm-hero::after { width: 420px; height: 420px; background: rgba(192,57,43,.07); bottom: -220px; left: -120px; animation: hmDrift 22s ease-in-out infinite alternate-reverse; }
@keyframes hmDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-70px, 50px) scale(1.12); } }

/* hero slideshow (real photos) */
.hm-slides { padding: 0; background: var(--hm-navy); }
.hm-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 16px; color: #fff; opacity: 0; transition: opacity .9s ease; z-index: 0; }
.hm-slide.on { opacity: 1; z-index: 1; }
.hm-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hm-slide.on > img { animation: hmKen 7s ease-out forwards; }
@keyframes hmKen { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hm-slide .hm-tile-foot b { color: #fff; }
.hm-dots { position: absolute; right: 12px; top: 14px; z-index: 3; display: flex; gap: 5px; }
.hm-dots button { width: 7px; height: 7px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s, background .3s; }
.hm-dots button.on { width: 20px; background: #fff; }

/* moving belt: photos one way, skills the other */
.hm-belt { padding: 22px 0 6px; overflow: hidden; display: grid; gap: 12px; }
.hm-belt-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.hm-belt-track { display: flex; gap: 14px; width: max-content; animation: hmMarq 70s linear infinite; }
.hm-belt-row.rev .hm-belt-track { animation-direction: reverse; animation-duration: 55s; }
.hm-belt-row:hover .hm-belt-track { animation-play-state: paused; }
@keyframes hmMarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hm-pc { position: relative; width: 250px; height: 160px; border-radius: 14px; overflow: hidden; flex: none; color: #fff; background: var(--hm-navy); }
.hm-pc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hm-pc:hover img { transform: scale(1.06); }
.hm-pc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,31,54,0) 35%, rgba(13,31,54,.82)); }
.hm-pc-b { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; display: grid; gap: 1px; }
.hm-pc-b small { font-size:calc(10.5px*var(--bf-type-sm,1)); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.hm-pc-b b { font-size:calc(14px*var(--bf-type,1)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-pc-b em { font-style: normal; font-size:calc(13px*var(--bf-type,1)); }
.hm-pc .hm-money { color: #86efac !important; }
.hm-skill { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 9px 16px; border-radius: 30px; background: var(--hm-bg2); border: 1px solid var(--hm-line); color: var(--hm-navy); font-weight: 600; font-size:calc(14px*var(--bf-type,1)); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.hm-skill .bi { color: var(--hm-red); }
.hm-skill:hover { background: var(--hm-navy); border-color: var(--hm-navy); color: #fff; }
.hm-skill:hover .bi { color: #fff; }

/* rise in on scroll */
.hm-rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.hm-rv.in { opacity: 1; transform: none; }

/* small touches */
.hm-bx-ic { transition: transform .35s cubic-bezier(.3,1.6,.5,1), background .2s; }
a.hm-bx:hover .hm-bx-ic { transform: rotate(-8deg) scale(1.12); }
.hm-bx-hero .hm-cats a { transition: background .2s, transform .2s; }
.hm-bx-hero .hm-cats a:hover { transform: translateX(3px); }
.hm-dot { animation: hmPulse 1.8s infinite; }
@keyframes hmPulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.hm-live-badge { animation: hmBlink 2.4s ease-in-out infinite; }
@keyframes hmBlink { 50% { opacity: .55; } }
.hm-feed { scroll-behavior: smooth; }
.hm-steps li > span { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.hm-steps li:hover > span { transform: scale(1.15); }
.hm-tile-n { font-variant-numeric: tabular-nums; }

@media (max-width: 575.98px) {
  .hm-pc { width: 200px; height: 130px; }
  .hm-skill { padding: 7px 13px; font-size:calc(13px*var(--bf-type,1)); }
  .hm-hero::before { width: 320px; height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-hero::before, .hm-hero::after, .hm-belt-track, .hm-slide.on > img, .hm-dot, .hm-live-badge { animation: none !important; }
  .hm-belt-row { overflow-x: auto; }
  .hm-rv { opacity: 1 !important; transform: none !important; }
}
