/* How it works (includes/pages/how-it-works.php), round 2, 2 Nov 2026. Our own markup, scoped to .hiw, on the site tokens.
   One rhythm for every section (Kyle, 5:44pm: "padding issues"): the same padding top and bottom (--hiw-y), heading, 12px, intro,
   then --hiw-gap before the content. Sections split by hairlines or one tint, never tall empty bands. One button shape (the site pill),
   12px panels, icon rows. The jobs rows are the jobs list's own card (jobs.css). */

body.ld-info-page--how .entry-content > *:not(.hiw) { display: none; }
.hiw { --hiw-pad: 20px; --hiw-y: 48px; --hiw-gap: 28px; font-family: var(--ld-text); color: var(--ld-ink); background: var(--ld-white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
.hiw *, .hiw *::before, .hiw *::after { box-sizing: border-box; }
.hiw ul { list-style: none; margin: 0; padding: 0; }
/* lists that follow a head keep their gap: .hiw ul above would otherwise win (it outranks one class) */
.hiw ul.hiw-pts, .hiw ul.hiw-tiles { margin-top: var(--hiw-gap); }
.hiw ul.hiw-status { margin-top: 20px; }
.hiw a { text-decoration: none; color: inherit; }
.hiw figure { margin: 0; }
.hiw-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--hiw-pad); }
.hiw-i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Type: one section head everywhere */
.hiw-head { display: grid; gap: 12px; }
.hiw-h { margin: 0; font: 800 clamp(26px, 6.4vw, 40px)/1.08 var(--ld-heading); letter-spacing: -.026em; color: var(--ld-midnight); text-wrap: balance; }
.hiw-h3, .hiw .hiw-head h3.hiw-h { margin: 0; font: 700 19px/1.25 var(--ld-heading); letter-spacing: -.012em; color: var(--ld-midnight); }
.hiw-p { margin: 0; max-width: 54ch; font: 400 16px/1.6 var(--ld-text); color: var(--ld-text-muted); text-wrap: pretty; }
.hiw-p a { color: var(--ld-electric); font-weight: 600; }

/* Buttons: the site's primary pill and its white secondary */
.hiw-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--hiw-gap); }
.hiw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--ld-r-pill); background: var(--ld-electric); color: var(--ld-on-primary) !important; box-shadow: var(--ld-glow-primary);
	font: 600 15px/1 var(--ld-text); white-space: nowrap; transition: background-color 160ms var(--ld-ease), transform 160ms var(--ld-ease); }
.hiw-btn:hover { background: var(--ld-deep); }
.hiw-btn:active { transform: scale(.97); }
.hiw-btn:focus-visible, .hiw a:focus-visible { outline: 2px solid var(--ld-electric); outline-offset: 3px; }
.hiw-btn .hiw-i { width: 18px; height: 18px; stroke-width: 2.2; }
.hiw-btn--2 { background: var(--ld-white); color: var(--ld-midnight) !important; box-shadow: inset 0 0 0 1px var(--ld-line); }
.hiw-btn--2:hover { background: var(--ld-pearl); }
.hiw-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 600 15px/1 var(--ld-text); color: var(--ld-electric) !important; white-space: nowrap; }
.hiw-link .hiw-i { width: 18px; height: 18px; transition: transform 160ms var(--ld-ease); }
.hiw-link:hover .hiw-i { transform: translateX(3px); }
.hiw-chev { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ld-text-faint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hiw-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--ld-info-bg); color: var(--ld-electric); font-style: normal; }

/* Hero */
.hiw-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 440px; padding: 96px 0 36px; background: var(--ld-ink-night); color: var(--ld-white); }
.hiw-hero__ph { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: 62% center; }
.hiw-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,13,26,.95) 0%, rgba(11,13,26,.78) 46%, rgba(20,26,102,.3) 100%); }
.hiw-hero__h { margin: 0; max-width: 16ch; font: var(--ld-weight-display) clamp(38px, 10vw, 68px)/1.03 var(--ld-heading); letter-spacing: -.034em; color: var(--ld-white); text-shadow: var(--ld-lift-dark); text-wrap: balance; }
.hiw-hero__p { margin: 14px 0 0; max-width: 42ch; font: 400 17px/1.55 var(--ld-text); color: var(--ld-on-dark); }
.hiw-hero .hiw-acts { margin-top: 22px; }
.hiw-hero__found { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 6px 14px 6px 6px; border-radius: var(--ld-r-pill); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
	font: 500 14px/1.35 var(--ld-text); color: var(--ld-white) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color 160ms var(--ld-ease); }
.hiw-hero__found:hover { background: rgba(255,255,255,.16); }
.hiw-hero__found img { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.hiw-hero__found u { text-decoration: none; font-weight: 600; color: var(--ld-ice); white-space: nowrap; }

/* Sections: one padding, hairline between white neighbours */
.hiw-sec { padding: var(--hiw-y) 0; }
.hiw-sec + .hiw-sec { border-top: 1px solid var(--ld-hairline); }
.hiw-sec--ask, .hiw-sec--tiles { background: var(--ld-pearl); border-top: 0 !important; }
.hiw-sec--ask + .hiw-sec, .hiw-sec--tiles + .hiw-sec { border-top: 0; }
.hiw-split { display: grid; gap: var(--hiw-gap); }
.hiw-photo { overflow: hidden; border-radius: 16px; background: var(--ld-midnight); aspect-ratio: 4 / 3; }
.hiw-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Icon rows (life, jobs, business, founding) */
.hiw-pts { display: grid; gap: 18px; margin-top: var(--hiw-gap); }
.hiw-pts li { display: flex; align-items: flex-start; gap: 14px; }
.hiw-pts span { display: grid; gap: 3px; min-width: 0; padding-top: 1px; }
.hiw-pts b { font: 600 16px/1.3 var(--ld-text); color: var(--ld-ink); }
.hiw-pts small { font: 400 14.5px/1.45 var(--ld-text); color: var(--ld-text-muted); }

/* 1. Ask: the everyday questions on one white sheet */
.hiw-asks { border-radius: 16px; background: var(--ld-white); box-shadow: 0 0 0 1px var(--ld-line), 0 24px 48px -36px rgba(20,26,102,.5); overflow: hidden; }
.hiw-asks li { display: flex; align-items: flex-start; gap: 14px; padding: 16px; }
.hiw-asks li + li { border-top: 1px solid var(--ld-hairline); }
.hiw-asks span { display: grid; gap: 4px; min-width: 0; }
.hiw-asks b { font: 600 16px/1.35 var(--ld-text); color: var(--ld-ink); }
.hiw-asks small { font: 400 13.5px/1.4 var(--ld-text); color: var(--ld-text-muted); }
.hiw-note { margin: 14px 4px 0; font: 400 13px/1.5 var(--ld-text); color: var(--ld-text-faint); }
.hiw-p--2 { margin-top: 12px; }
.hiw-block--status .hiw-head .hiw-p { font-size: 15px; }
.hiw-found--after { padding: var(--hiw-y) 0; }
.hiw-found--after .hiw-found__go { margin-top: 0; }

/* 2. Life here: photo split, then communities and groups, then the four statuses */
.hiw-pair { display: grid; gap: var(--hiw-y); margin-top: var(--hiw-y); }
.hiw-block__h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.hiw-stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 8px; }
.hiw-stamp a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; border-radius: var(--ld-r-chip); padding: 4px 2px; transition: transform 160ms var(--ld-ease); }
.hiw-stamp a:active { transform: scale(.96); }
.hiw-stamp img { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 6px 16px -10px rgba(20,26,102,.5); transition: transform 200ms var(--ld-ease); }
.hiw-stamp a:hover img { transform: translateY(-2px); }
.hiw-stamp span { font: 600 12.5px/1.25 var(--ld-text); color: var(--ld-ink); overflow-wrap: anywhere; }
.hiw-stamp em { font: 600 11px/1 var(--ld-text); font-style: normal; color: var(--ld-electric); }
.hiw-stamp.is-mine img { box-shadow: 0 0 0 3px var(--ld-white), 0 0 0 5px var(--ld-electric); }
.hiw-groups { border-radius: 12px; background: var(--ld-white); box-shadow: 0 0 0 1px var(--ld-line); overflow: hidden; }
.hiw-groups li + li { border-top: 1px solid var(--ld-hairline); }
.hiw-group { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 10px 16px; transition: background-color 160ms var(--ld-ease); }
.hiw-group:hover { background: var(--ld-pearl); }
.hiw-group .ld-gpic { flex: none; }
.hiw-group__t { display: grid; gap: 3px; min-width: 0; flex: 1; }
.hiw-group__t b { font: 600 15.5px/1.3 var(--ld-text); color: var(--ld-ink); overflow-wrap: anywhere; }
.hiw-group__t small { font: 400 13.5px/1.3 var(--ld-text); color: var(--ld-text-faint); }
.hiw-block__go { margin-top: 14px; }
.hiw-block--status { margin-top: calc(var(--hiw-y) * .75); padding-top: calc(var(--hiw-y) * .75); border-top: 1px solid var(--ld-hairline); }
.hiw-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.hiw-status li { display: grid; align-content: start; gap: 10px; padding: 16px; border-radius: 12px; background: var(--ld-pearl); }
.hiw-status span { display: grid; gap: 4px; }
.hiw-status b { font: 700 15.5px/1.25 var(--ld-heading); color: var(--ld-midnight); }
.hiw-status small { font: 400 13.5px/1.45 var(--ld-text); color: var(--ld-text-muted); }
.hiw-status .hiw-ic { background: var(--ld-white); }
.hiw-status--living { background: var(--ld-info-bg) !important; }

/* 3. Jobs: points beside the jobs list's own rows, the photo above them */
.hiw-jobs { display: grid; gap: 0; border-radius: 16px; overflow: hidden; background: var(--ld-white); box-shadow: 0 0 0 1px var(--ld-line), 0 24px 48px -36px rgba(20,26,102,.5); }
.hiw-jobs .hiw-photo { border-radius: 0; aspect-ratio: 16 / 7; }
.hiw-jobs .hiw-photo img { object-position: center 22%; }
.hiw-jobs__h { margin: 0; padding: 14px 16px 4px; font: 700 13px/1.2 var(--ld-text); letter-spacing: .02em; color: var(--ld-text-faint); }
.hiw-jobs__list .ljob + .ljob { border-top: 1px solid var(--ld-hairline); }

/* 4. What members list: four photo tiles, captions on the dark gradient at the foot */
.hiw-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: var(--hiw-gap); }
.hiw-tile a { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--ld-midnight); isolation: isolate; }
.hiw-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ld-ease); }
.hiw-tile a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,13,26,.86) 0%, rgba(11,13,26,.35) 48%, rgba(11,13,26,0) 72%); }
.hiw-tile a:hover img { transform: scale(1.04); }
.hiw-tile__t { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 3px; padding: 12px; color: var(--ld-white); }
.hiw-tile__t b { font: 700 17px/1.2 var(--ld-heading); letter-spacing: -.01em; }
.hiw-tile__t small { font: 400 12.5px/1.35 var(--ld-text); color: rgba(255,255,255,.82); }

/* 6. Founding: the one dark band, the star as it sits on a profile beside a community stamp */
.hiw-found { padding: calc(var(--hiw-y) + 8px) 0; background: radial-gradient(120% 90% at 85% 0%, rgba(61,107,255,.35) 0%, rgba(61,107,255,0) 55%), var(--ld-ink-night); color: var(--ld-white); }
.hiw-found .hiw-h { color: var(--ld-white); font-size: clamp(32px, 8vw, 52px); }
.hiw-found .hiw-p { color: var(--ld-on-dark); font-size: 17px; }
.hiw-found__top { display: grid; gap: var(--hiw-gap); }
.hiw-found__art { position: relative; width: 250px; height: 156px; }
.hiw-found__stamp { position: absolute; left: 0; top: 22px; width: 112px; height: 112px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.1); }
.hiw-found__star { position: absolute; right: 0; top: 0; width: 156px; height: 156px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(227,201,142,.22), 0 24px 60px -18px rgba(201,167,103,.6); }
.hiw-found__k { margin: 0 0 12px; font: 700 13px/1.2 var(--ld-text); letter-spacing: .12em; text-transform: uppercase; color: #E3C98E; }
.hiw-found__yes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 0; font: 500 15px/1.45 var(--ld-text); color: var(--ld-white); }
.hiw-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 4px; border-radius: 999px; background: #FBF6EA; color: #6E5524; font: 600 13px/1 var(--ld-text); white-space: nowrap; }
.hiw-chip img { width: 20px; height: 20px; border-radius: 50%; }
.hiw-found .hiw-pts { margin-top: var(--hiw-y); padding-top: var(--hiw-gap); border-top: 1px solid rgba(255,255,255,.12); }
.hiw-found .hiw-pts b { color: var(--ld-white); }
.hiw-found .hiw-pts small { color: var(--ld-on-dark); }
.hiw-found .hiw-ic { background: rgba(227,201,142,.14); color: #E3C98E; }
.hiw-found__biz { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: start; margin-top: var(--hiw-y); padding: 20px; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.hiw-found__biz .hiw-head { gap: 6px; }
.hiw .hiw-found__biz .hiw-head h3.hiw-h { font-size: 20px; color: var(--ld-white); }
.hiw-found__biz .hiw-p { font-size: 15px; }
.hiw-found__biz .hiw-btn { grid-column: 1 / -1; justify-self: start; }
.hiw-found .hiw-btn { background: var(--ld-white); color: var(--ld-midnight) !important; box-shadow: none; }
.hiw-found .hiw-btn:hover { background: var(--ld-ice); }
.hiw-found .hiw-btn--2 { background: transparent; color: var(--ld-white) !important; box-shadow: var(--ld-ring-on-dark); }
.hiw-found .hiw-btn--2:hover { background: rgba(255,255,255,.08); }
.hiw-found__go { margin-top: var(--hiw-gap); }

@media (min-width: 768px) {
	.hiw { --hiw-pad: 32px; --hiw-y: 64px; --hiw-gap: 32px; }
	.hiw-stamps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 12px; }
	.hiw-stamp img { width: 64px; height: 64px; }
	.hiw-stamp span { font-size: 13px; }
	.hiw-pts--2, .hiw-pts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
	.hiw-status { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.hiw-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
	.hiw-tile a { aspect-ratio: 3 / 4; }
	.hiw-tile__t { padding: 16px; }
	.hiw-tile__t b { font-size: 19px; }
	.hiw-tile__t small { font-size: 13.5px; }
	.hiw-hero { min-height: 480px; padding-bottom: 48px; }
	.hiw-found__biz { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: 24px 28px; }
	.hiw-found__biz .hiw-btn { grid-column: auto; }
}
@media (min-width: 1024px) {
	.hiw { --hiw-pad: 40px; --hiw-y: 88px; --hiw-gap: 32px; }
	.hiw-hero { min-height: 540px; padding: 120px 0 64px; }
	.hiw-hero__p { font-size: 19px; }
	.hiw-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
	.hiw-split--photo { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
	.hiw-split--flip > .hiw-photo { order: 2; }
	.hiw-pair { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
	.hiw-pts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
	.hiw-found__top { grid-template-columns: auto minmax(0, 1fr); gap: 72px; align-items: center; }
	.hiw-found__art { width: 360px; height: 240px; }
	.hiw-found__stamp { top: 40px; width: 160px; height: 160px; }
	.hiw-found__star { width: 240px; height: 240px; }
	.hiw-sec--life .hiw-pts--2 { grid-template-columns: 1fr; }
}
@media (min-width: 1280px) {
	.hiw-sec--life .hiw-pts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .hiw * { transition: none !important; } }
