/* Handova · design system v1 (from the approved prototype) */
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --ink: #10302c; --deep: #123e3a; --teal: #0f6f63; --teal-hover: #0c5a50; --mint: #dcebe6; --mint-2: #eaf3ef; --sage: #7fa99b;
  --ivory: #f6f3ec; --paper: #fffdf8; --line: #ddd6c7; --line-strong: #b9b2a3; --muted: #55625f; --on-deep: #c9ddd6; --on-deep-quiet: #a9c9bf;
  --ochre: #c68a2e; --ochre-bg: #f6e8cc; --ochre-line: #ecd3a4; --ochre-ink: #7a4f0e; --clay: #b85c38; --clay-bg: #f5ddd2; --clay-ink: #7c3419; --sand: #efe6d4;
  --serif: "Newsreader", Georgia, "Times New Roman", serif; --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --section-gap: clamp(48px, 6.25vw, 80px); --page-top: clamp(40px, 6vw, 72px); --radius: 18px; --radius-sm: 12px; --shadow: 0 18px 40px rgba(18, 62, 58, 0.1); --max: 1200px; --gutter: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
#main { flex: 1 0 auto; }
html.non-home #main[data-static-home="1"] { min-height: 80vh; }
html.non-home #main[data-static-home="1"] > * { display: none !important; }
img, svg { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.015em; }
h1, h2, .serif { font-family: var(--serif); }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.75rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.08; }
h3, .h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.eyebrow { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 12px 18px; border-radius: 999px; background: var(--deep); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row { display: flex; align-items: center; gap: var(--gap, 12px); flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
/* Questions: heading on one line, questions in two compact columns */
.faq-grid [data-faq] { columns: 2; column-gap: 48px; }
.faq-grid [data-faq] details.faq { break-inside: avoid; }
.faq-grid details.faq { padding: 10px 0; }
.faq-grid details.faq summary { font-size: 1.05rem; }
.faq-grid details.faq p { margin-top: 4px; font-size: 1rem; }
.faq-grid .faq-icon { width: 28px; height: 28px; }
@media (max-width: 760px) { .faq-grid [data-faq] { columns: 1; } }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
section.block { padding-block: var(--section-gap); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid var(--teal); background: var(--teal); color: #fff; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background 0.15s; white-space: nowrap; }
.btn:hover { background: var(--teal-hover); color: #fff; }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.secondary:hover { background: var(--mint-2); color: var(--ink); }
.btn.dark { background: var(--deep); border-color: var(--deep); }
.btn.light { background: var(--paper); color: var(--deep); border-color: var(--paper); }
.btn.ghost-light { background: transparent; color: var(--paper); border-color: rgba(255, 253, 248, 0.55); }
.btn.ghost-light:hover { background: rgba(255, 253, 248, 0.1); color: var(--paper); }
.btn.danger { background: var(--clay-ink); border-color: var(--clay-ink); }
.btn.sm { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; }
.btn.lg { min-height: 56px; padding: 16px 30px; font-size: 1.05rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; min-height: 44px; font: 600 1rem var(--sans); color: var(--teal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* chips */
.tag { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; background: var(--mint-2); color: var(--deep); font-size: 0.82rem; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; background: var(--mint); color: var(--deep); white-space: nowrap; }
.pill.ochre { background: var(--ochre-bg); color: var(--ochre-ink); }
.pill.clay { background: var(--clay-bg); color: var(--clay-ink); }
.pill.grey { background: #ebe7de; color: #3f4a47; }
.example-badge { display: inline-flex; padding: 4px 10px; border-radius: 6px; background: var(--ochre-bg); color: var(--ochre-ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.notice { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--ochre-bg); border: 1px solid var(--ochre-line); color: var(--ochre-ink); }
.banner { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 14px; background: var(--mint); }
.banner.warn { background: var(--ochre-bg); border: 1px solid var(--ochre-line); color: #3d2806; }
.banner.alert { background: var(--clay-bg); border: 1px solid #e6b9a6; color: #4d1f0d; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; min-height: 77px; background: rgba(246, 243, 236, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font: 600 1.35rem var(--serif); letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; }
.main-nav a[aria-current="page"] { font-weight: 700; border-bottom-color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ochre); color: #1f1304; font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.menu-toggle { display: none; }
.account-menu { position: relative; }
.account-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 600; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu .menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.account-menu .menu a, .account-menu .menu button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; background: none; border: 0; font: 500 1rem var(--sans); cursor: pointer; text-align: left; }
.account-menu .menu a:hover, .account-menu .menu button:hover { background: var(--mint-2); }
/* About dropdown in the main menu */
.nav-drop { position: relative; }
.nav-drop summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; font-weight: 500; color: var(--ink); border-bottom: 2px solid transparent; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary.current { font-weight: 700; border-bottom-color: var(--teal); }
.nav-drop summary svg { transition: transform 0.2s ease; }
.nav-drop[open] summary svg { transform: rotate(180deg); }
.nav-drop .menu { position: absolute; left: -14px; top: calc(100% + 8px); z-index: 30; min-width: 290px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.main-nav .nav-drop .menu a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 44px; padding: 10px 12px; border-radius: 10px; border-bottom: 0; font-weight: 400; }
.main-nav .nav-drop .menu a strong { font-weight: 700; color: var(--ink); }
.main-nav .nav-drop .menu a span { font-size: 0.875rem; color: var(--muted); }
.main-nav .nav-drop .menu a:hover, .main-nav .nav-drop .menu a[aria-current="page"] { background: var(--mint-2); }

/* footer */
.site-footer { background: var(--deep); color: var(--paper); padding: 36px 0 22px; margin-top: 40px; }
/* Slim footer */
.ft-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.ft-brand { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ft-top { display: inline-flex; align-items: center; gap: 8px; }
.site-footer a.ft-brand:hover { text-decoration: none; }
.ft-name { font: 500 1.45rem/1 var(--serif); }
.ft-tag { font: 400 0.95rem/1.25 var(--serif); color: var(--on-deep); } .ft-tag b { display: block; font-weight: 400; color: #e0a07f; }
.ft-eb { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; padding-left: 28px; border-left: 1px solid rgba(255, 253, 248, 0.18); color: var(--on-deep); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ft-eb img { display: block; width: 190px; height: auto; opacity: 0.92; } .site-footer a.ft-eb:hover { text-decoration: none; } .ft-eb:hover img { opacity: 1; }
.ft-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-left: auto; font-weight: 500; }
.ft-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .ft-nav a.ft-join { min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--paper); color: var(--deep); font-weight: 700; text-decoration: none; }
.ft-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 253, 248, 0.18); color: var(--on-deep); font-size: 0.875rem; }
.site-footer .ft-bottom a { color: var(--on-deep); }
.ft-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; }
.ft-legal a, .ft-legal .footer-action { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-deep); font-size: 0.875rem; }
.ft-social { display: flex; gap: 6px; }
.ft-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 253, 248, 0.22); }
.site-footer .ft-social a:hover { background: rgba(255, 253, 248, 0.1); text-decoration: none; }
@media (max-width: 960px) { .ft-nav { margin-left: 0; width: 100%; } }
@media (max-width: 600px) { .ft-eb { padding-left: 0; border-left: 0; } }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { font: 700 0.8rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-deep-quiet); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-action { display: inline-flex; align-items: center; min-height: 36px; padding: 0; border: 0; background: transparent; color: var(--paper); font: inherit; cursor: pointer; }
.footer-action:hover { text-decoration: underline; }
.footer-action:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 253, 248, 0.18); color: var(--on-deep); font-size: 0.9rem; }

/* cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card.flush { padding: 0; overflow: hidden; }
.card-link { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.card-link:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.card-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; }
.card-title { margin: 0; font: 500 1.55rem/1.2 var(--serif); letter-spacing: -0.01em; color: inherit; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.9rem; color: var(--ink); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.cover { display: block; width: 100%; height: auto; aspect-ratio: 384 / 176; }
.cover-banner { display: flex; justify-content: center; height: clamp(150px, 22vw, 250px); }
.cover-banner .cover { width: auto; height: 100%; }
.avatar { flex-shrink: 0; border-radius: 50%; }

/* page heads */
.page-head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; padding-top: var(--page-top); padding-bottom: 32px; }
/* Page head to first content: 40px, whatever gap the page’s stack uses. */
.stack > .page-head { padding-bottom: max(0px, calc(40px - var(--gap, 16px))); }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.hero h1 { font-size: clamp(3rem, 7vw, 5.8rem); line-height: 0.98; letter-spacing: -0.025em; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.door { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; }
.door:hover { color: var(--ink); box-shadow: var(--shadow); }
.door.dark { background: var(--deep); border-color: var(--deep); color: var(--paper); }
.door.dark:hover { color: var(--paper); }
.door .door-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint); }
.door.dark .door-icon { background: rgba(255, 253, 248, 0.12); }
.door .door-title { font: 500 1.6rem var(--serif); }
.door p { color: var(--muted); }
.door.dark p { color: var(--on-deep); }
.door .door-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal); }
.door.dark .door-cta { color: var(--paper); }
.collage { position: relative; aspect-ratio: 56 / 61; max-width: 560px; justify-self: end; width: 100%; }
.collage > * { position: absolute; }
.float { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }

/* trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.trust-strip > div { display: flex; gap: 16px; padding: 26px 24px; }
.trust-strip > div + div { border-left: 1px solid var(--line); }
.icon-tile { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--mint); }
.icon-tile.lg { width: 60px; height: 60px; border-radius: 16px; }
.icon-tile.paper { background: var(--paper); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li.accent { background: var(--mint); border-color: #bcd6cd; }
.step-num { font: 400 2rem var(--serif); color: #4f7f72; }

/* dark band */
.band-dark { background: var(--deep); color: var(--paper); }
.band-dark .eyebrow { color: var(--on-deep-quiet); }
.band-dark .lead, .band-dark .muted { color: var(--on-deep); }
.band-dark .card { color: var(--ink); }
.band-dark .card .muted { color: var(--muted); }
.band-dark .card .eyebrow { color: var(--teal); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.metric-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.metric { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-radius: 14px; background: var(--mint-2); }
.metric strong { font: 500 2.3rem/1 var(--serif); color: var(--deep); }
.metric span { font-size: 0.85rem; color: var(--muted); }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.stat strong { font: 500 2.5rem/1 var(--serif); color: var(--deep); }
.stat span { font-size: 0.9rem; color: var(--muted); }
.stats-dark { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--deep); color: var(--paper); border-radius: 22px; }
.stats-dark > div { padding: 26px 28px; }
.stats-dark > div + div { border-left: 1px solid rgba(255, 253, 248, 0.18); }
.stats-dark strong { display: block; font: 500 3.4rem/1 var(--serif); }
.stats-dark span { color: var(--on-deep); font-size: 0.95rem; }

/* faq */
details.faq { padding: 22px 0; border-top: 1px solid var(--line); }
details.faq summary { cursor: pointer; font-size: 1.2rem; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
details.faq p { margin-top: 10px; color: var(--muted); font-size: 1.05rem; }

/* forms */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label.field { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea, .filters input, .filters select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); font: 400 1rem var(--sans); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .filters input:focus, .filters select:focus { outline: 3px solid var(--ink); border-color: var(--teal); }
.hint { font-weight: 400; font-size: 0.85rem; color: var(--muted); }
label.check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.97rem; line-height: 1.5; font-weight: 400; }
label.check input, .field label.check input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; accent-color: var(--teal); flex-shrink: 0; }
.checkbox-box { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.form-error { color: var(--clay-ink); font-weight: 600; min-height: 1em; }
.form-error:empty { display: none; }
.field-error { margin: 6px 0 0; color: var(--clay-ink); font-weight: 600; font-size: 0.9rem; }
[aria-invalid="true"]:is(input, textarea, select, summary) { border-color: var(--clay-ink) !important; box-shadow: 0 0 0 1px var(--clay-ink); }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-weight: 700; margin-bottom: 12px; }
.role-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.role-card { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 16px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 400; }
.role-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role-card:has(input:checked) { border-color: var(--teal); background: var(--mint-2); }
.role-card:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.role-card strong { display: block; font-size: 1.08rem; }

/* filters */
.filters { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.filters label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 0.9rem; }
.filters .actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* two column layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.split.left { grid-template-columns: 340px minmax(0, 1fr); }
.sticky { position: sticky; top: 100px; }
.side-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.prose { white-space: pre-line; font-size: 1.05rem; line-height: 1.7; }
.reading { max-width: none; }
/* Our founder: her story and closing statement */
.founder-story h2 { max-width: none; font-size: clamp(2rem, 3.1vw, 2.7rem); }
.fs-route { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--mint); color: var(--deep); font-weight: 700; font-size: 0.9rem; }
.fs-route i { width: 22px; height: 2px; border-radius: 1px; background: var(--sage); }
.fs-beats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; counter-reset: none; }
.fs-beat { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3vw, 32px); background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.fs-beat strong { font: 500 1.6rem/1.15 var(--serif); }
.fs-beat p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.fs-n { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mint); color: var(--deep); font-weight: 700; }
.fs-beat.final { background: var(--deep); border-color: var(--deep); color: var(--paper); }
.fs-beat.final p { color: var(--on-deep); } .fs-beat.final strong { color: #e0a07f; } .fs-beat.final .fs-n { background: #e0a07f; color: var(--deep); }
.founder-quote { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 72px); background: var(--deep); color: var(--paper); border-radius: 28px; }
.fq-glyph { position: relative; z-index: 1; display: block; height: 0.42em; margin-bottom: 18px; font: 500 clamp(5rem, 8vw, 7rem)/0.8 var(--serif); color: #e0a07f; pointer-events: none; }
.founder-quote blockquote { position: relative; z-index: 1; margin: 0; max-width: 980px; display: flex; flex-direction: column; gap: 18px; }
.fq-big { font: 500 clamp(1.8rem, 3.6vw, 3rem)/1.18 var(--serif); letter-spacing: -0.01em; }
.fq-hl { color: #e0a07f; }
.fq-small { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--on-deep); max-width: 760px; }
.founder-quote footer { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.founder-quote footer > span { display: flex; flex-direction: column; } .founder-quote footer strong { font-weight: 700; } .founder-quote footer > span > span { color: var(--on-deep); font-size: 0.92rem; }
.founder-quote footer .avatar { border: 2px solid rgba(255, 253, 248, 0.6); border-radius: 50%; object-fit: cover; }
.fq-arch { position: absolute; right: clamp(-40px, -2vw, 0px); bottom: 24px; width: clamp(180px, 26vw, 340px); height: auto; color: rgba(127, 169, 155, 0.25); pointer-events: none; }
/* Working responsibly: the longer sections side by side, using the full width */
.wr-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 24px; }
.wr-col.card { display: flex; flex-direction: column; gap: 12px; }
.wr-col h2, .wr-col h3 { margin: 0; }
.wr-col p { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.reading h2 { font-size: 2rem; margin-top: 44px; margin-bottom: 12px; }
.reading h3 { margin-top: 24px; margin-bottom: 8px; }
.reading p, .reading li { font-size: 1.05rem; line-height: 1.7; }
.reading p + p { margin-top: 12px; }
.reading ul, .reading ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
table.data { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.data th { text-align: left; padding: 14px 18px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--mint-2); }
table.data td { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }

/* profile */
.profile-head { display: grid; grid-template-columns: auto minmax(0, 1fr) 260px; gap: 36px; align-items: center; }
.profile-head h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.contribution { display: grid; grid-template-columns: 220px minmax(0, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.contribution .art { display: flex; align-items: center; }
.contribution .body { display: flex; flex-direction: column; gap: 14px; padding: 26px 30px; }
.label-cap { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
blockquote.endorse { margin: 0; padding: 18px 22px; background: var(--mint-2); border-radius: 14px; display: flex; flex-direction: column; gap: 8px; }
blockquote.endorse p { font: 400 1.2rem/1.45 var(--serif); }
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.tabs button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; font: 600 0.95rem var(--sans); color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--deep); color: var(--paper); }

/* workspace */
.workspace { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0; min-height: 70vh; }
.side-nav { display: flex; flex-direction: column; gap: 4px; padding: 28px 16px; border-right: 1px solid var(--line); }
.side-nav a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; }
.side-nav a[aria-current="page"] { background: var(--mint); color: var(--deep); font-weight: 700; }
.side-nav .badge { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--ochre); color: #1f1304; font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ws-main { display: flex; flex-direction: column; gap: 28px; padding: 36px clamp(20px, 4vw, 56px) var(--section-gap); min-width: 0; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: 0; }
.list-row .row { flex-shrink: 0; }
.list-row.review-row { display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: start; gap: 24px; }
.review-main { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.review-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.review-actions .btn { width: 100%; }
.review-actions .pill { align-self: flex-start; }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border: 1px dashed var(--line-strong); border-radius: 16px; }
.empty .empty-title { margin: 0; color: var(--ink); font: 500 1.35rem var(--serif); }
.agreement-doc { display: flex; flex-direction: column; padding: clamp(24px, 4vw, 48px) clamp(20px, 4vw, 56px); background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.agreement-doc section { padding: 22px 0; border-top: 1px solid var(--line); }
.agreement-doc section h3 { margin-bottom: 8px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.facts div { padding: 16px 18px; background: var(--mint-2); border-radius: 12px; }
.facts span { display: block; font-size: 0.8rem; color: var(--muted); }
.facts strong { font-size: 1.05rem; }
.sig { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.messages { display: flex; flex-direction: column; gap: 12px; max-height: 60vh; overflow-y: auto; padding: 4px; }
.message { max-width: 80%; padding: 14px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.message.mine { align-self: flex-end; background: var(--mint); border-color: #bcd6cd; }
.message small { display: block; color: var(--muted); margin-bottom: 4px; }
.notif { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.notif-box { padding: 0; }
.notif-box > summary { list-style: none; cursor: pointer; padding: 14px clamp(16px, 3vw, 24px); border-radius: var(--radius); }
.notif-box > summary::-webkit-details-marker { display: none; }
.notif-box > summary:hover { background: rgba(18, 62, 58, .04); }
.notif-box > summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.notif-box-head { display: flex; align-items: center; gap: 12px; }
.notif-box-head h2 { font: 500 clamp(1.15rem, 1.9vw, 1.4rem)/1.2 var(--serif); margin: 0; flex: 1; min-width: 0; }
.notif-box-head > svg { flex-shrink: 0; transition: transform .2s; }
.notif-box[open] > .notif-box-head > svg { transform: rotate(180deg); }
.notif-count { color: var(--muted); font-family: var(--sans); font-size: .95em; font-weight: 600; }
.notif-box.has-count .notif-count { color: var(--clay); }
.notif-box-body { padding: 0 clamp(16px, 3vw, 24px) 6px; }
.notif-box-tools { padding-bottom: 4px; }
.notif-box-tools .link-btn { font-size: .9rem; }
.notif-queue-link { display: inline-block; padding-bottom: 12px; font-weight: 600; color: var(--teal); }
.notif-none { padding: 4px 0 14px; margin: 0; }
.notif-more > summary { cursor: pointer; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--teal); list-style: none; }
.notif-more > summary::-webkit-details-marker { display: none; }
.notif.unread strong::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 4px; background: var(--ochre); vertical-align: middle; }

/* dialog, toast, consent */
dialog { width: min(640px, 100% - 32px); max-height: 90vh; padding: 0; border: 0; border-radius: 22px; background: var(--ivory); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25); }
dialog::backdrop { background: rgba(16, 48, 44, 0.45); }
.dialog-inner { display: flex; flex-direction: column; gap: 18px; padding: 32px; }
.dialog-inner h2 { font-size: 2rem; }
.dialog-close { position: absolute; right: 14px; top: 14px; }
#toast { position: fixed; left: 50%; bottom: 24px; width: max-content; z-index: 60; transform: translate(-50%, 140%); max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 14px; background: var(--deep); color: var(--paper); font-weight: 600; opacity: 0; pointer-events: none; transition: transform 0.25s, opacity 0.25s; }
#toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.consent p { flex: 1 1 380px; margin: 0; font: 400 .875rem/1.35 Arial, sans-serif; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 55; display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 920px; margin-inline: auto; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.consent .btn { min-height: 36px; padding: 6px 12px; font: 600 .875rem/1.2 Arial, sans-serif; }
.loading { min-height: 100vh; min-height: 100svh; padding: 80px 0; text-align: center; color: var(--muted); }

/* responsive */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters label:first-child { grid-column: 1 / -1; }
  .profile-head { grid-template-columns: auto minmax(0, 1fr); }
  .profile-head .actions-col { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
.main-nav .nav-signin { display: none; }
@media (max-width: 960px) {
  .main-nav .nav-signin { display: flex; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--ivory); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { min-height: 52px; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--teal); }
  .nav-drop summary { display: flex; justify-content: space-between; width: 100%; min-height: 52px; border-bottom: 1px solid var(--line); }
  .nav-drop summary.current { border-bottom-color: var(--line); color: var(--teal); }
  .nav-drop .menu { position: static; min-width: 0; padding: 4px 0 8px 12px; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .main-nav .nav-drop .menu a { border-bottom: 0; min-height: 48px; }
  .hero, .split, .split.left, .grid-2, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { gap: 28px; }
  .collage { justify-self: center; }
  .trust-strip, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip > div + div { border-left: 0; }
  .trust-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trust-strip > div:nth-child(even) { border-left: 1px solid var(--line); }
  .stats-dark { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-dark > div:nth-child(3) { border-left: 0; }
  .stats-dark > div:nth-child(n+3) { border-top: 1px solid rgba(255, 253, 248, 0.18); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .workspace { grid-template-columns: 1fr; }
  .side-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px var(--gutter); }
  .side-nav a { flex-shrink: 0; }
  .sticky { position: static; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .brand span { font-size: 1.15rem; }
  .doors, .form-grid, .role-cards, .metric-row, .steps { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-4:has(> .stat) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .trust-strip > div:nth-child(even) { border-left: 0; }
  .trust-strip > div + div { border-top: 1px solid var(--line); }
  .contribution { grid-template-columns: 1fr; }
  .contribution .art { max-height: 170px; overflow: hidden; }
  .list-row { flex-direction: column; align-items: flex-start; }
  .list-row.review-row { grid-template-columns: minmax(0, 1fr); }
  .review-actions { flex-direction: row; flex-wrap: wrap; }
  .review-actions .btn { width: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .collage { display: none; }
  .header-actions .hide-sm { display: none; }
  .dialog-inner { padding: 24px 20px; }
  .profile-head { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .site-footer, .no-print, .consent, #toast { display: none !important; }
  body { background: #fff; }
  .card, .contribution, .agreement-doc { break-inside: avoid; box-shadow: none; }
}

svg { flex-shrink: 0; }
.req { color: var(--clay-ink); }
.mobile-cta { display: none; }
@media (max-width: 960px) { .mobile-cta { display: grid; gap: 10px; } }
#main[aria-busy="true"] { opacity: 0.55; transition: opacity 0.2s 0.35s; }
#main[aria-busy="true"]::before { content: ""; position: fixed; top: 0; left: 0; z-index: 70; height: 3px; width: 40%; background: var(--teal); animation: ia-load 1.1s ease-in-out infinite; }
@keyframes ia-load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { #main[aria-busy="true"]::before { animation: none; width: 100%; } }

/* How it works */
.how-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: var(--page-top); }
.how-hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.how-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.how-fact { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.how-fact strong { display: block; font: 500 1.45rem/1.15 var(--serif); }
.how-fact span:not(.icon-tile) { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 2px; }
.journey { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.j-lane-label { display: none; }
.j-stage { display: grid; grid-template-rows: auto 1fr 1fr; gap: 10px; }
.j-head { display: flex; align-items: center; gap: 8px; padding: 0 4px 6px; border-bottom: 2px solid var(--line); font-weight: 700; }
.j-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 13px; background: var(--deep); color: var(--paper); font-size: 0.85rem; }
.j-cell { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
.j-cell strong { display: block; margin-bottom: 4px; }
.j-cell p { color: var(--muted); font-size: 0.95rem; }
.j-cell.org { background: var(--deep); border-color: var(--deep); color: var(--paper); }
.j-cell.org p { color: var(--on-deep); }
.j-cell.both { grid-row: 2 / span 2; background: var(--mint); border-color: #bcd6cd; display: flex; flex-direction: column; justify-content: center; }
.j-who { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; color: var(--teal); }
.j-cell.org .j-who { color: var(--on-deep-quiet); }
.how-agree { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(26px, 4vw, 48px); background: var(--mint); border: 1px solid #bcd6cd; border-radius: 24px; }
.how-checks { list-style: none; margin: 0; padding: 6px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.how-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; }
.how-checks li + li { border-top: 1px solid var(--line); }
.how-concern { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: clamp(20px, 3vw, 32px); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
@media (max-width: 1100px) {
  .journey { grid-template-columns: minmax(0, 1fr); }
  .j-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .j-head { grid-column: 1 / -1; }
  .j-cell.both { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .how-hero, .how-agree { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .how-fact { flex-direction: column; gap: 10px; padding: 14px; }
  .how-fact strong { font-size: 1.25rem; }
  table.stack-sm thead { display: none; }
  table.stack-sm, table.stack-sm tbody, table.stack-sm tr, table.stack-sm td { display: block; width: 100%; }
  table.stack-sm tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  table.stack-sm td { padding: 2px 0; border: 0; }
  table.stack-sm td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink); }
  .j-stage { grid-template-columns: minmax(0, 1fr); }
  .how-concern { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Handova · brand, motion and interactive home (v2) ===== */
.brand { gap: 10px; color: var(--deep); font: 500 1.45rem var(--serif); letter-spacing: -0.02em; }
.brand .hv-mark { transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.brand:hover .hv-mark { transform: rotate(-12deg); }
.brand:hover .hv-mark .hv-dot { animation: hv-pass 0.9s ease-in-out; }
@keyframes hv-pass { 0%,100% { transform: translate(0,0); } 40% { transform: translate(-7px,7px); } 70% { transform: translate(7px,-7px); } }
.hv-mark .hv-dot { transform-box: fill-box; transform-origin: center; }
.site-header { transition: box-shadow 0.25s, background 0.25s; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(18, 62, 58, 0.08); background: rgba(255, 253, 248, 0.97); }

/* scroll reveal: only hidden when motion is allowed and JS has marked the element */
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform 0.7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.motion .reveal.in { opacity: 1; transform: none; }
.card-link, .hv-lift, .door, .trust-strip > div { transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s, border-color 0.25s, opacity 0.7s, background 0.25s; }
.card-link:hover, .hv-lift:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(18, 62, 58, 0.13); border-color: #bcd6cd; }
.card-link .cover { transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.card-link:hover .cover { transform: scale(1.04); }
.btn svg { transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }
.btn { transition: background 0.15s, transform 0.15s, box-shadow 0.15s; }
.btn:active { transform: translateY(1px); }

/* hero */
.hv-hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #1b5650 0%, var(--deep) 55%, #0d302d 100%); color: var(--paper); padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hv-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; }
.hv-hero .eyebrow { color: var(--on-deep-quiet); }
.hv-hero h1 { font-size: clamp(2.5rem, 4.3vw, 4rem); line-height: 1.04; letter-spacing: -0.025em; color: var(--paper); }
.hv-top { grid-column: 1 / -1; }
.hv-hero h1 span { color: #e0a07f; }
.hv-hero .lead { color: var(--on-deep); max-width: 600px; }
.hv-copy > * { animation: hv-rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
.hv-copy > *:nth-child(2) { animation-delay: 0.08s; } .hv-copy > *:nth-child(3) { animation-delay: 0.16s; } .hv-copy > *:nth-child(4) { animation-delay: 0.24s; } .hv-copy > *:nth-child(5) { animation-delay: 0.32s; }
@keyframes hv-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.door.light { background: var(--paper); border-color: var(--paper); }
.door.ghost { background: rgba(255, 253, 248, 0.06); border-color: rgba(255, 253, 248, 0.28); color: var(--paper); }
.door.ghost:hover { color: var(--paper); background: rgba(255, 253, 248, 0.11); }
.door.ghost p { color: var(--on-deep); }
.door.ghost .door-icon { background: rgba(255, 253, 248, 0.12); }
.door.ghost .door-cta { color: #e0a07f; }
.door:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22); }
.door .door-cta svg { transition: transform 0.2s; }
.door:hover .door-cta svg { transform: translateX(4px); }
.hv-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 6px 0 0; border-top: 1px solid rgba(255, 253, 248, 0.16); }
.hv-facts div { padding: 16px 14px 0 0; }
.hv-facts div + div { padding-left: 16px; border-left: 1px solid rgba(255, 253, 248, 0.16); }
.hv-facts dt b { font: 500 2.2rem/1 var(--serif); color: var(--paper); } .hv-facts .fact-pre { font-size: 1.05rem; color: var(--on-deep); }
.hv-facts dd { margin: 4px 0 0; font-size: 0.85rem; color: var(--on-deep); } .hv-facts .hv-fact-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 253, 248, 0.4); text-underline-offset: 3px; } .hv-facts .hv-fact-link:hover { color: var(--paper); text-decoration-color: currentColor; }
.hv-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; animation: hv-drift 18s ease-in-out infinite alternate; }
.hv-orb.o1 { width: 520px; height: 520px; right: -170px; top: -160px; background: radial-gradient(circle, rgba(127, 169, 155, 0.35), rgba(127, 169, 155, 0) 70%); }
.hv-orb.o2 { width: 380px; height: 380px; left: -150px; bottom: -170px; background: radial-gradient(circle, rgba(224, 160, 127, 0.28), rgba(224, 160, 127, 0) 70%); animation-duration: 22s; }
.hv-orb.o3 { width: 200px; height: 200px; left: 46%; top: 8%; background: radial-gradient(circle, rgba(198, 138, 46, 0.18), rgba(198, 138, 46, 0) 70%); animation-duration: 15s; }
@keyframes hv-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, 24px) scale(1.08); } }
.hv-cue { position: absolute; left: 50%; bottom: 8px; z-index: 1; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 253, 248, 0.4); border-radius: 14px; }
.hv-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--paper); animation: hv-cue 1.8s ease-in-out infinite; }
@keyframes hv-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* hero stage */
.hv-stage { --mx: 0; --my: 0; position: relative; aspect-ratio: 1 / 1; max-width: 540px; width: 100%; justify-self: end; }
.hv-ring { position: absolute; inset: 8%; border-radius: 50%; border: 1.5px dashed rgba(201, 221, 214, 0.35); animation: hv-spin 60s linear infinite; }
.hv-ring::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 253, 248, 0.07), rgba(255, 253, 248, 0) 70%); }
@keyframes hv-spin { to { transform: rotate(360deg); } }
.hv-big { position: absolute; left: 25%; top: 25%; width: 50%; height: 50%; overflow: visible; transform: translate(calc(var(--mx) * -10px), calc(var(--my) * -10px)); transition: transform 0.4s ease-out; }
.hv-big .hv-a, .hv-big .hv-b { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hv-draw 1.2s cubic-bezier(.6,.1,.2,1) forwards; }
.hv-big .hv-b { animation-delay: 0.45s; }
.hv-big .hv-dot { transform-box: fill-box; transform-origin: center; opacity: 0; animation: hv-dot-in 0.6s 1.2s cubic-bezier(.2,.8,.2,1.4) forwards, hv-handover 6s 2s ease-in-out infinite; }
@keyframes hv-draw { to { stroke-dashoffset: 0; } }
@keyframes hv-dot-in { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }
@keyframes hv-handover { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-30%, 30%); } 45% { transform: translate(0, 0) scale(1.15); } 65% { transform: translate(30%, -30%); } 85% { transform: translate(0, 0); } }
.hv-float { position: absolute; background: var(--paper); color: var(--ink); border-radius: 16px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28); overflow: hidden; animation: hv-in 0.9s cubic-bezier(.2,.8,.2,1) both, hv-bob 7s ease-in-out infinite alternate; translate: calc(var(--mx) * var(--k, 18px)) calc(var(--my) * var(--k, 18px)); transition: translate 0.4s ease-out; }
.hv-float.f1 { left: 50%; top: 2%; width: 50%; padding: 12px 14px; animation-delay: 0.5s, 1.4s; --k: 26px; }
.hv-fict { font-size: 0.75rem; color: var(--muted); font-style: italic; }
.hv-float.f2 { left: 0; top: 40%; width: 54%; padding: 12px 14px; animation-delay: 0.8s, 1.7s; --k: 14px; }
.hv-float.f3 { left: 56%; top: 74%; animation-delay: 1.1s, 2s; --k: 30px; }
.hv-float.f4 { left: 0; top: 86%; width: 66%; padding: 14px 16px; animation-delay: 1.4s, 2.3s; --k: 20px; }
.hv-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--teal); color: var(--paper); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
@keyframes hv-in { from { opacity: 0; transform: translateY(24px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes hv-bob { from { margin-top: 0; } to { margin-top: -10px; } }

.trust-strip.hv-lift { position: relative; z-index: 2; margin-top: -44px; box-shadow: 0 24px 50px rgba(18, 62, 58, 0.12); }
.trust-strip.hv-lift:hover { transform: none; }
.trust-strip > div:hover { background: var(--mint-2); }
.trust-strip > div:first-child { border-radius: 20px 0 0 20px; } .trust-strip > div:last-child { border-radius: 0 20px 20px 0; }

/* compare */
.hv-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hv-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.hv-col { padding: clamp(24px, 3.5vw, 40px); border-radius: 22px; }
.hv-col.without { background: var(--clay-bg); border: 1px solid #e6b9a6; }
.hv-col.with { background: var(--mint); border: 1px solid #bcd6cd; }
.hv-tag { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--paper); }
.hv-col.without .hv-tag { color: var(--clay-ink); } .hv-col.with .hv-tag { color: var(--deep); }
.hv-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hv-col li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; font-size: 1.08rem; font-weight: 600; border-top: 1px solid rgba(16, 48, 44, 0.1); transition: transform 0.25s; }
.hv-col li:first-child { border-top: 0; }
.hv-col.without li { color: #4d1f0d; }
.hv-col li:hover { transform: translateX(6px); }
/* Why Handova: professionals | the bridge | organisations */
.hb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 290px) minmax(0, 1fr); align-items: stretch; }
.hb-side { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3.5vw, 36px); border-radius: 22px; }
.hb-side.pro { background: var(--clay-bg); border: 1px solid #e6b9a6; }
.hb-side.org { background: var(--mint); border: 1px solid #bcd6cd; }
.hb-side .hv-tag { align-self: flex-start; }
.hb-side.pro .hv-tag { color: var(--clay-ink); } .hb-side.org .hv-tag { color: var(--deep); }
.hb-title { font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--serif); margin-top: 6px; }
.hb-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; }
.hb-list li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-top: 1px solid rgba(16, 48, 44, 0.1); font-weight: 600; line-height: 1.4; }
.hb-list li:first-child { border-top: 0; }
.hb-list li svg { flex-shrink: 0; margin-top: 1px; }
.hb-side.pro .hb-list li { color: #4d1f0d; }
.hb-bridge { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px 14px; text-align: center; }
.hb-arch { display: block; width: calc(100% + 64px); max-width: none; margin: 0 -32px 4px; height: auto; }
.hb-name { display: inline-flex; align-items: center; gap: 8px; font: 500 1.7rem/1 var(--serif); color: var(--deep); }
.hb-sub { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.hb-planks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.hb-planks li { padding: 8px 0 8px 14px; border-left: 3px solid var(--sage); color: var(--deep); font-weight: 600; font-size: 0.92rem; text-align: left; }
.motion .hb-dot { animation: hb-cross 5s ease-in-out infinite; }
@keyframes hb-cross { 0%, 100% { transform: translateX(-115px); } 50% { transform: translateX(115px); } }
@media (max-width: 900px) { .hb { grid-template-columns: minmax(0, 1fr); } .hb-bridge { padding: 8px 20px 20px; } .hb-arch { width: 240px; margin: 0 auto 4px; } }
@media (prefers-reduced-motion: reduce) { .motion .hb-dot { animation: none; } }

/* stepper */
.hv-stepper { --progress: 0%; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.hv-tabs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hv-track { position: absolute; left: 10%; right: 10%; top: 27px; height: 3px; background: var(--line); border-radius: 2px; }
.hv-track i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--progress); background: linear-gradient(90deg, var(--teal), var(--clay)); border-radius: 2px; transition: width 0.6s cubic-bezier(.2,.8,.2,1); }
.hv-tabs [role="tab"] { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 4px 6px; background: none; border: 0; cursor: pointer; font: 600 0.98rem var(--sans); color: var(--muted); text-align: center; }
.hv-num { position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); color: var(--muted); transition: all 0.3s; }
.hv-num em { position: absolute; right: -4px; top: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--line); font: 700 0.72rem/20px var(--sans); font-style: normal; color: var(--muted); }
.hv-tabs [role="tab"].done .hv-num { border-color: var(--teal); color: var(--teal); background: var(--mint-2); }
.hv-tabs [role="tab"][aria-selected="true"] { color: var(--deep); }
.hv-tabs [role="tab"][aria-selected="true"] .hv-num { background: var(--deep); border-color: var(--deep); color: var(--paper); transform: scale(1.08); box-shadow: 0 0 0 8px rgba(15, 111, 99, 0.12); }
.hv-tabs [role="tab"][aria-selected="true"] .hv-num em { background: var(--clay); border-color: var(--clay); color: #fff; }
.hv-tabs [role="tab"]:hover .hv-num { border-color: var(--teal); }
.hv-panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 28px; padding: clamp(20px, 3vw, 34px); border-radius: 20px; background: var(--ivory); animation: hv-panel 0.5s cubic-bezier(.2,.8,.2,1); }
.hv-panel[hidden] { display: none; }
.hv-panel h3 { font: 500 clamp(1.7rem, 2.6vw, 2.3rem)/1.1 var(--serif); letter-spacing: -0.015em; }
.hv-step-k { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay-ink); }
.hv-panel-art { display: flex; justify-content: center; }
.hv-panel-art svg { width: 100%; max-width: 280px; height: auto; }
@keyframes hv-panel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* dark band + CV */
.hv-band { position: relative; overflow: hidden; }
.hv-cv { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); transition: transform 0.4s cubic-bezier(.2,.8,.2,1), opacity 0.7s; }
.hv-cv:hover { transform: rotate(-1deg) translateY(-4px); }

/* faq */
details.faq summary { list-style: none; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background 0.25s, border-color 0.25s, transform 0.3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--teal); border-radius: 1px; transition: transform 0.3s; }
.faq-icon::after { transform: rotate(90deg); }
details.faq[open] .faq-icon { background: var(--deep); border-color: var(--deep); transform: rotate(180deg); }
details.faq[open] .faq-icon::before, details.faq[open] .faq-icon::after { background: var(--paper); }
details.faq[open] .faq-icon::after { transform: rotate(0deg); }
details.faq summary:hover .faq-icon { border-color: var(--teal); }
details.faq[open] p { animation: hv-panel 0.4s cubic-bezier(.2,.8,.2,1); }

/* closing call to action */
.hv-cta { position: relative; overflow: hidden; margin: var(--section-gap) 0 -40px; padding: clamp(56px, 8vw, 110px) 0; background: linear-gradient(135deg, var(--teal) 0%, var(--deep) 70%); color: var(--paper); }
.hv-cta .eyebrow { color: var(--on-deep-quiet); }
.hv-cta h2 { color: var(--paper); font-size: clamp(2.4rem, 4.6vw, 4rem); }
.hv-cta .lead { color: var(--on-deep); max-width: 560px; }
.hv-cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hv-cta-mark { justify-self: center; }
.hv-cta-mark svg { width: clamp(140px, 18vw, 220px); height: auto; }
.motion .hv-cta-mark .hv-dot { animation: hv-handover 6s ease-in-out infinite; }

@media (max-width: 960px) {
  .hv-hero-grid, .hv-head, .hv-compare, .hv-cta-grid, .hv-panel { grid-template-columns: minmax(0, 1fr); }
  .hv-stage { justify-self: center; max-width: 460px; }
  .hv-cta-mark { display: none; }
  .hv-tabs .hv-tl { font-size: 0.85rem; }
  .trust-strip > div:first-child, .trust-strip > div:last-child { border-radius: 0; }
}
@media (max-width: 640px) {
  .hv-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hv-facts div:nth-child(n+3) { margin-top: 12px; }
  .hv-stage { display: none; }
  .hv-cue { display: none; }
  .trust-strip.hv-lift { margin-top: -28px; }
  .hv-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
  .hv-tabs .hv-tl { display: none; }
  .hv-num { width: 46px; height: 46px; }
  .hv-track { top: 22px; }
  .hv-panel-art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-copy > *, .hv-float, .hv-ring, .hv-orb, .hv-big .hv-a, .hv-big .hv-b, .hv-big .hv-dot, .hv-cue span, .hv-panel, details.faq[open] p { animation: none !important; }
  .hv-big .hv-a, .hv-big .hv-b { stroke-dashoffset: 0; }
  .hv-big .hv-dot { opacity: 1; }
  .card-link:hover, .hv-lift:hover, .door:hover, .hv-cv:hover, .card-link:hover .cover { transform: none; }
}
@media print { .motion .reveal { opacity: 1 !important; transform: none !important; } .hv-cue, .hv-orb { display: none; } }
#main:focus { outline: none; }
.btn.linkedin { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.btn.linkedin:hover { background: #004182; border-color: #004182; color: #fff; }
.avatar.photo { object-fit: cover; background: var(--mint); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line); }
ul.xp { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; display: flex; flex-direction: column; gap: 14px; }
ul.xp::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 1px; }
ul.xp li { position: relative; display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
ul.xp li::before { content: ""; position: absolute; left: -18px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--teal); }
ul.xp li:first-child::before { background: var(--teal); }
ul.xp strong { font-weight: 700; color: var(--deep); }
ul.xp span { font-size: 0.93rem; color: var(--muted); }
ul.bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
ul.bullets li { position: relative; padding-left: 18px; line-height: 1.4; }
ul.bullets li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
/* compact, expandable contributions */
details.contrib { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; transition: box-shadow 0.25s, border-color 0.25s; }
details.contrib:hover { border-color: #bcd6cd; box-shadow: 0 12px 28px rgba(18, 62, 58, 0.08); }
details.contrib[open] { border-color: #bcd6cd; box-shadow: var(--shadow); }
details.contrib summary { list-style: none; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 30px; gap: 16px; align-items: center; padding: 16px 18px; cursor: pointer; }
details.contrib summary::-webkit-details-marker { display: none; }
.c-logo { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.c-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.c-logo .avatar { width: 52px; height: 52px; border-radius: 0; }
.c-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.c-title { font: 500 1.25rem/1.2 var(--serif); color: var(--deep); }
.c-org { font-weight: 600; font-size: 0.92rem; color: var(--teal); }
.c-pills { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 4px; }
.c-pills .pill { padding: 3px 10px; font-size: 0.74rem; }
.c-hours { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; padding: 8px 10px; border-radius: 12px; background: var(--mint-2); }
.c-hours strong { font: 500 1.7rem/1 var(--serif); color: var(--deep); }
.c-hours span { font-size: 0.75rem; color: var(--muted); }
.c-toggle { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: transform 0.3s, background 0.25s, border-color 0.25s; }
.c-toggle::before, .c-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--teal); border-radius: 1px; transition: transform 0.3s; }
.c-toggle::after { transform: rotate(90deg); }
details.contrib[open] .c-toggle { background: var(--deep); border-color: var(--deep); transform: rotate(180deg); }
details.contrib[open] .c-toggle::before, details.contrib[open] .c-toggle::after { background: var(--paper); }
details.contrib[open] .c-toggle::after { transform: rotate(0deg); }
.c-body { display: flex; flex-direction: column; gap: 14px; padding: 4px 22px 20px 86px; animation: hv-panel 0.35s cubic-bezier(.2,.8,.2,1); }
.c-note { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--ochre-bg); color: var(--ochre-ink); }
.c-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
@media (max-width: 640px) {
  details.contrib summary { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
  .c-logo { width: 44px; height: 44px; } .c-logo .avatar { width: 44px; height: 44px; }
  .c-toggle { display: none; }
  .c-hours { min-width: 52px; padding: 6px 8px; } .c-hours strong { font-size: 1.4rem; }
  .c-body { padding: 0 16px 18px; }
}
@media print { details.contrib .c-body { display: flex !important; } }
.c-logo { position: relative; }
.c-logo img { position: absolute; inset: 0; background: #fff; }
/* How it works: path switch and the two audience sections */
.path-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.path-switch button { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.path-switch button > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.path-switch button strong { font: 500 1.35rem var(--serif); }
.path-switch button:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #bcd6cd; }
.path-switch button svg:last-child { color: var(--teal); transition: transform 0.2s; transform: rotate(90deg); }
.path-switch button:hover svg:last-child { transform: rotate(90deg) translateX(3px); }
.path-section { scroll-margin-top: 96px; }
/* "For organisations" / "For professionals": a real section label, not a small kicker */
.path-eyebrow { font-size: 0.9rem; letter-spacing: 0.14em; }
.path-section .row, .how-hero .row { --gap: 12px; }

/* Join / sign in split by role */
.role-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.auth-side { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.auth[data-role="organisation"] :is(.only-professional, .only-student, .only-person, .only-none),
.auth[data-role="professional"] :is(.only-organisation, .only-student, .only-none),
.auth[data-role="student"] :is(.only-organisation, .only-professional, .only-none),
.auth[data-role="none"] :is(.only-organisation, .only-professional, .only-student, .only-person, .only-any),
.auth[data-role=""] :is(.only-organisation, .only-professional, .only-student, .only-person, .only-any) { display: none !important; }
/* Three ways to join: icon above the words so each card fits a third of the form. */
.role-tabs.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.role-tabs.three .role-card { flex-direction: column; gap: 10px; padding: 16px; }
.study-fields .checkbox-box[hidden] { display: none; }
.pf-study[disabled] { display: none; }
.pf-study { border: 0; padding: 0; margin: 0; min-width: 0; }
.auth fieldset[disabled] { display: none; }
.auth .form > fieldset + fieldset { animation: hv-panel 0.35s cubic-bezier(.2,.8,.2,1); }

/* About */
.about-mark { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 36px; border-radius: 28px; background: radial-gradient(120% 90% at 80% 10%, #1b5650 0%, var(--deep) 70%); color: var(--on-deep); text-align: center; font: 400 1.4rem/1.3 var(--serif); }
.about-mark b { color: #e0a07f; font-weight: 500; }
.about-mark .hv-mark .hv-a { stroke: #fffdf8; } .about-mark .hv-mark .hv-b { stroke: #7fa99b; } .about-mark .hv-mark .hv-dot { fill: #e0a07f; }
.motion .about-mark .hv-dot { animation: hv-handover 6s ease-in-out infinite; }
.about-flow { display: flex; flex-direction: column; gap: 24px; }
.about-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.about-steps li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.about-steps li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 40px; width: 10px; height: 10px; border-top: 2px solid var(--clay); border-right: 2px solid var(--clay); transform: rotate(45deg); }
.about-steps strong { font: 500 1.5rem var(--serif); color: var(--deep); }
.about-steps p { color: var(--muted); }
.about-steps a { margin-top: auto; font-weight: 700; }
.about-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--deep); color: var(--paper); font-weight: 700; }
.about-founder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; }
.about-eb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; padding: clamp(26px, 4vw, 48px); background: var(--deep); color: var(--paper); border-radius: 24px; }
.about-eb h2 { color: var(--paper); } .about-eb .lead { color: var(--on-deep); } .about-eb .eyebrow { color: var(--on-deep-quiet); }
.about-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.about-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 253, 248, 0.07); border: 1px solid rgba(255, 253, 248, 0.16); color: var(--paper); font-weight: 600; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.about-link:hover { background: rgba(255, 253, 248, 0.14); color: var(--paper); transform: translateY(-2px); }
.footer-social { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 0.9rem; }
.footer-social a { color: var(--on-deep); }
@media (max-width: 960px) {
  .about-steps, .about-eb { grid-template-columns: minmax(0, 1fr); }
  .about-steps li:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  .path-switch, .role-tabs, .role-tabs.three, .about-links { grid-template-columns: minmax(0, 1fr); }
  .role-tabs.three .role-card { flex-direction: row; }
  .about-founder { grid-template-columns: minmax(0, 1fr); }
}
/* the exchange: what stays on both sides */
.hv-exchange { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; align-items: stretch; background: var(--deep); color: var(--paper); border-radius: 24px; overflow: hidden; }
.hv-ex-side { display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 3.5vw, 40px); }
.hv-ex-side .hv-tag { align-self: flex-start; margin-bottom: 6px; background: rgba(255, 253, 248, 0.1); color: var(--on-deep); }
.hv-ex-side strong { font: 500 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--serif); }
.hv-ex-side.pro strong { color: #e0a07f; }
.hv-ex-side p { color: var(--on-deep); }
.hv-ex-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px 28px; background: rgba(255, 253, 248, 0.06); border-inline: 1px solid rgba(255, 253, 248, 0.14); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-deep-quiet); white-space: nowrap; }
.motion .hv-ex-mid .hv-dot { animation: hv-handover 6s ease-in-out infinite; }
@media (max-width: 760px) { .hv-exchange { grid-template-columns: minmax(0, 1fr); } .hv-ex-mid { flex-direction: row; border-inline: 0; border-block: 1px solid rgba(255, 253, 248, 0.14); } .hv-ex-mid svg { width: 44px; height: 44px; } }
/* demo video: 16:9 box reserved before anything loads, so the page never jumps */
.hv-video-frame { margin: 0; border-radius: 22px; overflow: hidden; background: var(--deep); box-shadow: var(--shadow); width: 100%; max-width: 100%; }
.hv-video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hv-subs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; background: var(--deep); color: var(--paper); border-top: 1px solid rgba(255, 253, 248, 0.14); }
.hv-subs-label { display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-deep, #cfe1db); }
.hv-subs button { font: inherit; font-weight: 600; font-size: 0.95rem; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255, 253, 248, 0.35); background: transparent; color: var(--paper); cursor: pointer; }
.hv-subs button:hover { border-color: var(--paper); }
.hv-subs button[aria-pressed="true"] { background: var(--paper); color: var(--deep); border-color: var(--paper); }
.hv-subs button:focus-visible { outline: 2px solid #e0a07f; outline-offset: 2px; }
.hv-video-frame video::cue { background: rgba(11, 39, 36, 0.8); color: #fffdf8; line-height: 1.35; }
.j-stage:last-child .j-cell { background: var(--mint); border-color: #bcd6cd; color: var(--ink); }
.j-stage:last-child .j-cell p { color: var(--ink); }
.j-stage:last-child .j-who { color: var(--teal) !important; }
.j-stage:last-child .j-num { background: var(--deep); }
/* handover strip: who handed it over → handover → who keeps it */
.h-strip { display: flex; align-items: flex-start; justify-content: center; gap: 0; padding: 22px 18px 16px; background: var(--mint-2); }
.card.handed .h-strip { aspect-ratio: 384 / 176; align-items: center; padding: 18px; }
.handed-need .h-strip { border-radius: 16px; justify-content: center; }
.hs-end, .hs-mark { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; max-width: 110px; text-align: center; }
.hs-face { border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--paper); background: var(--mint); }
.hs-org { position: relative; display: inline-flex; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px var(--paper); }
.hs-org .avatar { width: 100%; height: 100%; }
.hs-org img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
.hs-mark { padding-top: 13px; }
.hs-mark .hv-mark { background: var(--paper); border-radius: 50%; padding: 4px; box-sizing: content-box; box-shadow: 0 0 0 1px var(--line); }
.hs-cap { font-size: 0.72rem; font-weight: 700; color: var(--muted); line-height: 1.2; }
.hs-mark .hs-cap { color: var(--clay-ink); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.64rem; }
.hs-line { flex: 1; min-width: 18px; max-width: 90px; height: 2px; margin-top: 28px; background: repeating-linear-gradient(90deg, var(--teal) 0 6px, transparent 6px 11px); }
.card.handed .hs-line { margin-top: 0; align-self: center; }
.card.handed .hs-end, .card.handed .hs-mark { padding-top: 0; }
.motion .card-link.handed:hover .hs-mark .hv-dot, .motion .handed-need:hover .hs-mark .hv-dot { animation: hv-handover 2.4s ease-in-out; }
.org-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; }
.org-logo { width: 120px; height: 120px; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 640px) { .org-head { grid-template-columns: 1fr; } .hs-line { min-width: 10px; } }
/* dropdown pickers (languages, skills): chosen items as removable chips, options as toggle pills */
.lang-picker { gap: 10px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 0; }
.lp-empty { color: var(--muted); font-size: 0.95rem; font-weight: 400; }
.lp-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 4px 4px 4px 12px; border-radius: 999px; background: var(--mint); color: var(--deep); font-size: 0.9rem; font-weight: 600; line-height: 1.25; }
.lp-chip > span { overflow-wrap: anywhere; }
.lp-remove { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--deep); cursor: pointer; }
.lp-remove:hover { background: var(--clay-bg); color: var(--clay-ink); }
.lp-remove:focus-visible { outline: 3px solid var(--ink); }
.lp { position: relative; font-weight: 400; }
.lp summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 14px; border: 1px dashed var(--line-strong); border-radius: 12px; background: #fff; color: var(--teal); font-weight: 700; cursor: pointer; }
.lp summary::-webkit-details-marker { display: none; }
.lp summary:hover { border-color: var(--teal); }
.lp[open] summary { border-style: solid; border-color: var(--teal); outline: 3px solid rgba(15, 111, 99, 0.18); }
.lp-sum { display: inline-flex; align-items: center; gap: 8px; }
.lp-sum svg { transition: transform 0.2s; }
.lp[open] .lp-sum svg { transform: rotate(45deg); }
.lp-count { padding: 3px 10px; border-radius: 999px; background: var(--mint-2); color: var(--deep); font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.lp-count[data-count="0"] { visibility: hidden; }
.lp-panel { margin-top: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); }
.lp-search { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font: 400 1rem var(--sans); }
.lp-list { max-height: min(52vh, 380px); overflow-x: hidden; overflow-y: auto; margin-top: 10px; padding-right: 4px; overscroll-behavior: contain; }
.lp-group { padding-bottom: 12px; }
.lp-group[hidden], .lp-item[hidden] { display: none; }
.lp-glabel { position: sticky; top: 0; z-index: 1; display: block; padding: 8px 0 8px; background: var(--paper); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.lp-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-item { position: relative; display: inline-flex; max-width: 100%; }
.lp-item input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lp-pill { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 36px; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); font-size: 0.92rem; line-height: 1.25; cursor: pointer; overflow-wrap: anywhere; transition: background 0.15s, border-color 0.15s; }
.lp-pill svg { display: none; flex-shrink: 0; }
.lp-item:hover .lp-pill { border-color: var(--teal); background: var(--mint-2); }
.lp-item input:checked + .lp-pill { border-color: var(--teal); background: var(--teal); color: #fff; }
.lp-item input:checked + .lp-pill svg { display: inline; }
.lp-item input:focus-visible + .lp-pill { outline: 3px solid var(--ink); outline-offset: 2px; }
.lp-none { margin: 8px 0; color: var(--muted); }
.lp-other { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.lp-other input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; font: 400 1rem var(--sans); }
.lp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.lp-foot .lp-count[data-count="0"] { visibility: visible; }
@media (max-width: 640px) { .lp-panel { padding: 12px; } .lp-pill { font-size: 0.9rem; } }

/* Structured profile: entries, photo, form sections */
ul.xp .xp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
ul.xp .xp-years { flex-shrink: 0; font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
ul.xp li > span { color: var(--muted); font-size: 0.92rem; }
.form-sec { padding-top: 14px; border-top: 1px solid var(--line); }
.form-sec:first-child { padding-top: 0; border-top: 0; }
.form-sec h2 { font-size: 1.5rem; }
.entry-list { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 10px; }
.entry { position: relative; margin: 0; padding: 16px 16px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.entry-years { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.entry-remove { margin-top: 8px; color: var(--clay-ink); font-size: 0.9rem; }
.photo-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.photo-preview .avatar { width: 96px; height: 96px; }
.photo-pick { cursor: pointer; position: relative; }
.photo-pick:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (max-width: 640px) { .entry-grid { grid-template-columns: 1fr; } }
.entry-editor { display: flex; flex-direction: column; gap: 4px; }

/* LinkedIn-style experience and education */
ul.xp-li { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
ul.xp-li > li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
ul.xp-li > li:first-child { border-top: 0; padding-top: 2px; }
.xp-logo { flex-shrink: 0; width: 44px; height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--mint-2, #e3efe9); color: var(--deep); font: 700 0.86rem var(--sans); letter-spacing: 0.02em; }
.xp-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.4; font-size: 0.93rem; }
.xp-title { font-weight: 700; color: var(--deep); font-size: 1rem; }
.xp-muted { color: var(--muted); font-size: 0.88rem; }
.xp-desc { margin: 6px 0 0; font-size: 0.9rem; line-height: 1.5; white-space: pre-line; }
.xp-more summary { list-style: none; cursor: pointer; }
.xp-more summary::-webkit-details-marker { display: none; }
.xp-more[open] summary { display: none; }
.xp-more-btn { color: var(--muted); font-weight: 600; }
.xp-skills { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; font-weight: 700; font-size: 0.86rem; color: var(--deep); }
.entry-date { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.date-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.entry-grid .full { grid-column: 1 / -1; }
.entry textarea { width: 100%; }
.date-pair select { width: 100%; min-height: 50px; padding: 12px 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); font: 400 1rem var(--sans); }
.date-pair select:focus { outline: 3px solid var(--ink); border-color: var(--teal); }
.date-label { font-size: 0.95rem; }
ul.xp-roles { list-style: none; margin: 10px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
ul.xp-roles > li { display: flex; flex-direction: column; gap: 1px; position: relative; }
ul.xp-roles > li::before { content: ""; position: absolute; left: -22px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); }
.entry-tools { display: flex; gap: 18px; margin-top: 10px; flex-wrap: wrap; }
.entry-tools .link-btn { font-size: 0.9rem; }
.xp-more { margin-top: 4px; }
.xp-more > summary { display: inline-flex; color: var(--teal); font-weight: 600; font-size: 0.86rem; cursor: pointer; }
.xp-more[open] > summary { display: inline-flex; }
.entry-opt > summary { cursor: pointer; color: var(--teal); font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.entry-opt textarea { width: 100%; min-height: 80px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; font: 400 1rem var(--sans); }
.skill-areas { display: flex; flex-direction: column; gap: 12px; }
.skill-area { display: block; margin-bottom: 6px; font-size: 0.78rem; font-weight: 700; color: var(--muted); }

/* Profile: CV / Contributions tabs, and stat tiles that open Contributions */
.stats-btns .stat-btn { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 4px; padding: 26px 28px; cursor: pointer; border-radius: 22px; transition: background 0.2s; }
.stats-btns .stat-btn + .stat-btn { border-left: 1px solid rgba(255, 253, 248, 0.18); border-radius: 0; }
.stats-btns .stat-btn:last-child { border-radius: 0 22px 22px 0; }
.stats-btns .stat-btn:first-child { border-radius: 22px 0 0 22px; }
.stats-btns .stat-btn:hover { background: rgba(255, 253, 248, 0.07); }
.stats-btns .stat-btn:focus-visible { outline: 3px solid #e0a07f; outline-offset: -3px; }
.stats-btns strong { display: block; font: 500 3.4rem/1 var(--serif); color: var(--paper); }
.stat-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.8rem !important; font-weight: 600; color: #e0a07f !important; opacity: 0.85; }
.stat-btn:hover .stat-more { opacity: 1; text-decoration: underline; }
.ptabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.ptabs [role="tab"] { all: unset; cursor: pointer; padding: 10px 16px 12px; font: 500 1.6rem/1.1 var(--serif); color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 8px; }
.ptabs [role="tab"][aria-selected="true"] { color: var(--deep); border-bottom-color: var(--teal); }
.ptabs [role="tab"]:hover { color: var(--deep); }
.ptabs [role="tab"]:focus-visible { outline: 3px solid var(--ink); border-radius: 6px; }
.ptab-count { font: 700 0.8rem var(--sans); background: var(--mint-2, #e3efe9); color: var(--deep); padding: 3px 9px; border-radius: 999px; }
#profile-main { scroll-margin-top: 96px; }
#profile-main [role="tabpanel"][hidden] { display: none; }
@media (max-width: 760px) {
  .stats-btns .stat-btn, .stats-btns .stat-btn:first-child, .stats-btns .stat-btn:last-child { border-radius: 0; padding: 20px; }
  .stats-btns strong { font-size: 2.6rem; }
}
@media print {
  #profile-main [role="tabpanel"][hidden] { display: flex !important; }
  .ptabs, .stat-more { display: none !important; }
}
.xp-logo.has-img { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.xp-logo.has-img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.entry-logo .logo-pick { cursor: pointer; }
.entry-logo .logo-pick:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
.stats-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stats-5 .stat-btn:last-of-type { border-radius: 0; }
.stat-avail { display: flex; flex-direction: column; gap: 4px; padding: 26px 28px; border-left: 1px solid rgba(255, 253, 248, 0.18); background: rgba(224, 160, 127, 0.12); border-radius: 0 22px 22px 0; }
.stat-avail strong { color: #f3c9b1 !important; }
.stat-avail .stat-more { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.8rem; font-weight: 600; color: #e0a07f; }
.stat-note { margin-top: 6px; font-size: 0.8rem !important; font-weight: 600; color: #e0a07f !important; }
.stats-btns .stat-btn strong, .stat-avail strong { font-size: clamp(2.4rem, 4vw, 3.4rem); }
@media (max-width: 980px) { .stats-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat-avail, .stats-5 .stat-btn { border-radius: 0 !important; } }
@media (max-width: 640px) { .stats-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat-avail { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255, 253, 248, 0.18); border-radius: 0 0 22px 22px !important; } }
/* Hours left this month stands out in clay */
.stat-avail { background: var(--clay); border-left: 0; }
.stat-avail strong { color: #fff !important; }
.stat-avail > span { color: #fff !important; }
.stat-avail .stat-note { color: #fde9df !important; font-weight: 700; }
.stat-avail .stat-more { color: #fff; text-decoration: underline; }
.stats-btns .stat-btn { justify-content: flex-start; }
/* Professional agreement */
.agreement { display: flex; flex-direction: column; gap: 14px; }
.agreement-text { padding: 18px 22px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: 0.95rem; line-height: 1.6; overflow-wrap: anywhere; }
.agreement-text h3 { font: 700 1rem var(--sans); color: var(--deep); margin: 16px 0 6px; }
.agreement-text h3:first-child { margin-top: 0; }
.agreement-text ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.agreement-text p { margin: 0; }
.agreement.signed > p { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--mint-2); }
.agreement.signed summary { cursor: pointer; color: var(--teal); font-weight: 600; margin-bottom: 10px; }
/* Agreements: plain summary, full text, reading copy switch and Download PDF (prints only the agreement) */
.agr-view { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.agr-summary { padding: 18px 22px; border: 1px solid #bcd6cd; border-radius: 12px; background: var(--mint-2); }
.agr-summary h3 { font: 700 1.05rem var(--sans); color: var(--deep); margin: 0 0 10px; }
.agr-summary ul { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.agr-summary p { margin: 0; }
.agr-switch .btn { white-space: normal; text-align: left; height: auto; min-height: 44px; border-radius: 14px; }
.agr-view .binding-note { margin: 0; }
.agr-reading-note { margin: 0 0 14px !important; padding: 10px 14px; border-radius: 10px; background: var(--ochre-bg); border: 1px solid var(--ochre-line); color: var(--ochre-ink); font-weight: 600; }
.agr-pane > section:first-child, .agr-pane > .agr-reading-note + section { border-top: 0; }
.agr-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.agr-print-title { display: none; }
.agr-page { max-width: 820px; }
@media print {
  .agreement-text { border: 0; padding: 0; }
  body.agr-printing [data-agr-hide], body.agr-printing .agr-view .no-print { display: none !important; }
  body.agr-printing .agr-print-title { display: block; font-size: 1.4rem; margin-bottom: 8px; }
  body.agr-printing .agr-summary { break-inside: avoid; }
}
/* Identity check */
.id-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--ochre-line); border-radius: 14px; background: var(--ochre-bg); }
.id-card.ok { border-color: #bcd6cd; background: var(--mint-2); }
.id-badge { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 0.75rem; font-weight: 700; }
.row > .id-badge { margin-top: 0; }
/* Profile editor laid out like the public profile */
.pf { display: flex; flex-direction: column; gap: 22px; }
.pf .field { display: flex; flex-direction: column; gap: 6px; }
.pf-head { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 32px; align-items: start; padding: clamp(22px, 3vw, 36px); }
.pf-photo { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.pf-photo .photo-preview .avatar { width: 150px; height: 150px; }
.pf-name { font: 500 clamp(1.8rem, 3.4vw, 2.6rem)/1.1 var(--serif) !important; min-height: 64px !important; }
.pf-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pf-cardhead { display: flex; flex-direction: column; gap: 4px; }
.pf-cols { align-items: start; }
.pf .entry-editor > .hint { display: block; }
@media (max-width: 900px) { .pf-head { grid-template-columns: 1fr; } .pf-meta { grid-template-columns: 1fr; } }
/* Identity check: prominent call to action */
.id-card.hero { gap: 20px; padding: clamp(20px, 3vw, 30px); border: 0; background: var(--deep); color: var(--paper); align-items: center; }
.id-card.hero .id-icon { flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: var(--clay); color: #fff; }
.id-card.hero strong { font: 500 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--serif); color: #fff; }
.id-card.hero p { margin: 0; color: var(--on-deep, #cfe3dc); font-size: 0.98rem; line-height: 1.5; }
.id-card.hero p strong { font: inherit; font-weight: 700; color: #fff; }
.id-card.hero .id-step { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #f3c9b1; }
.id-card.hero .id-btn { background: var(--clay); color: #fff; border-color: var(--clay); }
.id-card.hero .id-btn:hover { background: #a14f2f; }
.id-card.hero.wait .id-icon { background: rgba(255, 253, 248, 0.14); }
@media (max-width: 640px) { .id-card.hero { flex-direction: column; align-items: flex-start; } }
.invite-btn { background: var(--teal); border-color: var(--teal); color: #fff; }
.invite-btn:hover { background: var(--teal-hover); border-color: var(--teal-hover); }
.invite-btn { white-space: normal; height: auto; min-height: 52px; padding: 12px 22px; line-height: 1.25; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.invite-btn svg { flex-shrink: 0; }
/* "An initiative of Ethical Bridge" badge */
.eb-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--mint-2); border: 1px solid #bcd6cd; color: var(--deep); font-size: 0.92rem; text-decoration: none; transition: background 0.2s; }
.eb-badge:hover { background: var(--mint); }
.eb-badge strong { font-weight: 700; }
.eb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }
/* the same badge on the dark home hero */
.hv-hero .eb-badge { background: rgba(255, 253, 248, 0.08); border-color: rgba(255, 253, 248, 0.22); color: var(--paper); }
.hv-hero .eb-badge:hover { background: rgba(255, 253, 248, 0.16); color: var(--paper); }
.hv-hero .eb-badge .eb-dot { background: #e0a07f; }
/* one line under the "For organisations" card list */
.eb-note { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--mint-2); color: var(--muted); font-size: 0.92rem; text-align: center; }
.eb-note .eb-dot { display: inline-block; margin-right: 8px; vertical-align: 0.1em; }
.eb-note a { font-weight: 700; }
/* footer and About: Ethical Bridge logo (light version, for the dark backgrounds) */
.footer-eb { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 4px; color: var(--on-deep-quiet); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.footer-eb img, .about-eb-logo img { display: block; width: 200px; max-width: 100%; height: auto; opacity: 0.92; transition: opacity 0.2s; }
.footer-eb:hover, .site-footer a.footer-eb:hover { text-decoration: none; color: var(--on-deep); } .footer-eb:hover img, .about-eb-logo:hover img { opacity: 1; }
.about-eb-logo { align-self: flex-start; margin-bottom: 6px; }
.about-eb-logo img { width: 220px; }
.footer-eb:focus-visible, .about-eb-logo:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; border-radius: 6px; }

/* Audit fixes, 2 October 2026 */
/* Focus ring with enough contrast on light backgrounds; ochre stays on dark teal areas. */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.hv-hero :focus-visible, .stats-dark :focus-visible, .band-dark :focus-visible, .site-footer :focus-visible, .id-card.hero :focus-visible, .hv-cta :focus-visible, .about-eb :focus-visible { outline-color: #f0c27a; }
/* Form controls with a visible border (at least 3:1). */
.field input, .field select, .field textarea, .filters input, .filters select, .date-pair select, .lp summary, .lp-search, .lp-other input, .entry-opt textarea { border-color: #8f8878; }
/* LinkedIn as a secondary action, so "Invite to help" stays the main one. */
.btn.linkedin { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn.linkedin svg { color: #0a66c2; }
.btn.linkedin:hover { background: #f3f7fb; border-color: #0a66c2; color: var(--ink); }
/* Clay hours tile: readable small text. */
.stat-avail .stat-note { color: #fff !important; font-size: 0.86rem !important; }
/* Mobile: the workspace tabs show that they scroll; notices wrap neatly; footer links are easy to tap. */
@media (max-width: 900px) { .side-nav { mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); } }
@media (max-width: 640px) { .banner { flex-wrap: wrap; } .banner > a, .banner > .btn { width: 100%; } }
.footer-social a { display: inline-block; padding-block: 10px; }

/* Language menu */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font: 600 .875rem var(--sans); letter-spacing: .04em; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { background: var(--mint-2); }
.lang-menu[open] summary { border-color: var(--ink); }
.lang-menu .menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; z-index: 60; }
.lang-menu .menu button { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); background: none; border: 0; font: 500 1rem var(--sans); cursor: pointer; text-align: left; }
.lang-menu .menu button:hover { background: var(--mint-2); }
.lang-menu .menu button[aria-checked="true"] { font-weight: 700; }
.lang-menu .menu button span { color: var(--teal, #0f6f63); }
@media (max-width: 560px) { .lang-menu summary { padding: 0 9px; } .lang-menu summary span { display: none; } }
/* Longer labels in other languages: let buttons in the page wrap on small screens, and keep the header on one line. */
@media (max-width: 560px) {
  main .btn { white-space: normal; text-align: center; max-width: 100%; }
  .header-actions { gap: 8px; min-width: 0; }
  .header-actions .btn.sm { padding-inline: 14px; }
}
@media (max-width: 380px) { .brand span { font-size: 1.02rem; } .site-header .wrap { gap: 8px; } .header-actions { gap: 4px; } .header-actions .btn { padding-inline: 12px; } }
/* Audit design fixes */
.role-tag { display: inline-flex; padding: 4px 10px; border-radius: 6px; background: var(--mint); color: var(--deep); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.skills-more { margin-top: 12px; } .skills-more summary { cursor: pointer; font-weight: 700; color: var(--teal); min-height: 44px; display: inline-flex; align-items: center; } .skills-more[open] summary { margin-bottom: 8px; }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 860px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); }
.legal-toc button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 6px 12px; font: 500 0.92rem/1.35 var(--sans); color: var(--muted); cursor: pointer; } .legal-toc button:hover { color: var(--teal); }
@media (max-width: 960px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } .legal-toc { position: static; } }
.founder-hero { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.fh-photo { position: relative; margin: 0; }
.fh-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 50px rgba(18, 62, 58, 0.16); }
.fh-photo figcaption { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px; background: var(--paper); color: var(--deep); font-weight: 700; font-size: 0.88rem; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
.founder-hero h1 { font-size: clamp(2.4rem, 3.9vw, 3.5rem); line-height: 1.05; }
.fh-role { font-size: 1.1rem; color: var(--muted); }
.fh-lead { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.35; margin: 0; }
@media (max-width: 820px) { .founder-hero { grid-template-columns: minmax(0, 1fr); } .fh-photo { max-width: 380px; } }
/* Audit round 2 */
.hv-cue { display: none; }
.hv-orglogo { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; } .hv-orglogo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.reading h2[id] { scroll-margin-top: 96px; }
/* Organisation logo */
.orglogo-field { display: flex; flex-direction: column; gap: 10px; }
.orglogo-label { font-weight: 600; }
.orglogo-preview { flex-shrink: 0; width: 80px; height: 80px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.orglogo-preview img { width: 100%; height: 100%; object-fit: contain; padding: 6px; } .orglogo-preview .avatar { width: 100%; height: 100%; border-radius: 0; }
.orglogo-pick { cursor: pointer; } .orglogo-pick:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
.ws-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 3px; }
img.org-av { object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 3px; }
/* Logo editor */
.crop-wrap { display: flex; flex-direction: column; gap: 16px; }
.crop-frame { position: relative; width: 260px; height: 260px; margin: 0 auto; overflow: hidden; border-radius: 22px; cursor: grab; touch-action: none; box-shadow: 0 0 0 1px var(--line-strong, #c9c1b0); background-color: #fff; background-image: linear-gradient(45deg, #eee 25%, transparent 25%), linear-gradient(-45deg, #eee 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #eee 75%), linear-gradient(-45deg, transparent 75%, #eee 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; }
.crop-frame.dragging { cursor: grabbing; }
.crop-img { position: absolute; left: 0; top: 0; max-width: none; user-select: none; pointer-events: none; }
.crop-zoom { display: flex; align-items: center; gap: 12px; font-weight: 600; } .crop-zoom input { flex: 1; accent-color: var(--teal); }

/* Organisation workspace: To do, Needs, need page */
.ws-title { font-size: clamp(2rem, 3.6vw, 3rem); }
.card-title { font-size: 1.5rem; margin-bottom: 4px; }
.todo-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.todo-row:first-child { border-top: 0; }
.todo-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; justify-content: flex-end; }
.wait-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wait-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.wait-list li svg { flex-shrink: 0; margin-top: 2px; }
.need-group { display: grid; gap: 10px; }
.need-group h2 { font-size: 1.35rem; }
details.need-group > summary { display: flex; align-items: baseline; gap: 8px; cursor: pointer; list-style: none; min-height: 44px; }
details.need-group > summary::-webkit-details-marker { display: none; }
details.need-group > summary::after { content: "Show"; margin-left: auto; font-weight: 700; color: var(--teal); font-size: .95rem; }
details.need-group[open] > summary::after { content: "Hide"; }
.need-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper, #fffdf8); color: var(--ink); text-decoration: none; }
.need-row:hover { border-color: var(--teal); }
.need-row strong { font-size: 1.08rem; color: var(--deep); }
.fold > summary, .fold-card > summary { cursor: pointer; font-weight: 700; color: var(--teal); min-height: 44px; display: flex; align-items: center; }
.fold-card > summary { color: inherit; list-style: none; justify-content: space-between; }
.fold-card > summary::-webkit-details-marker { display: none; }
.fold-card > summary::after { content: "+"; font-size: 1.6rem; color: var(--teal); }
.fold-card[open] > summary::after { content: "–"; }
.nav-short { display: none; }
.clamp-4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) {
  .org-ws .side-nav { display: grid; grid-template-columns: repeat(var(--tabs, 4), minmax(0, 1fr)); gap: 4px; overflow: visible; padding: 8px var(--gutter); mask-image: none; -webkit-mask-image: none; background: var(--ivory); }
  .org-ws .side-nav a { flex-direction: column; justify-content: center; gap: 2px; min-height: 56px; padding: 6px 2px; font-size: .78rem; text-align: center; line-height: 1.15; position: relative; }
  .org-ws .side-nav a span:not(.badge) { overflow-wrap: anywhere; }
  .org-ws .nav-long { display: none; } .org-ws .nav-short { display: inline; }
  .org-ws .side-nav .badge { position: absolute; top: 4px; right: calc(50% - 22px); margin: 0; min-width: 20px; height: 20px; font-size: .7rem; }
}
@media (max-width: 640px) {
  .todo-row { flex-direction: column; align-items: stretch; }
  .todo-actions { justify-content: flex-start; }
  .todo-actions .btn { flex: 1 1 auto; justify-content: center; }
  .need-row { padding: 16px; }
  .ws-head { align-items: flex-start !important; }
}
.admin-stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.need-stats { display: grid; gap: 14px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.need-stats .stat { padding: 18px 18px; }
@media (max-width: 1200px) { .need-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .need-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .need-stats .stat strong { font-size: 2rem; } }
.org-cover { display: flex; align-items: center; justify-content: center; aspect-ratio: 384 / 176; background: linear-gradient(135deg, #e6efeb 0%, #f4efe4 100%); }
.org-cover.banner { aspect-ratio: auto; height: clamp(150px, 22vw, 230px); }
.org-cover-tile { display: flex; align-items: center; justify-content: center; width: 112px; height: 112px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 6px 18px rgba(18, 62, 58, 0.08); }
.org-cover.banner .org-cover-tile { width: 140px; height: 140px; border-radius: 26px; }
.org-cover-tile img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.need-org { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.need-org-id { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
a.need-org-id:hover strong { color: var(--teal); text-decoration: underline; }
.need-org-id strong { font-size: 1.1rem; color: var(--deep); }
.need-org-logo { width: 64px; height: 64px; border-radius: 16px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.need-org .avatar { flex-shrink: 0; }
.need-hero { display: grid; gap: 18px; padding: clamp(22px, 3.4vw, 36px); border-radius: 24px; background: linear-gradient(135deg, #e3eeea 0%, #f3eee3 100%); border: 1px solid var(--line); }
.need-title { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
.need-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.need-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; color: var(--deep); }
.need-facts li svg { color: var(--teal); flex-shrink: 0; }
.need-body { display: grid; gap: 0; padding: 0; overflow: hidden; }
.need-sec { padding: 26px clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.need-sec:first-child { border-top: 0; }
.need-sec h2 { font: 700 .8rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.need-sec .prose { font-size: 1.08rem; }
.need-deliver { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.need-deliver li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; background: var(--mint-2); font-weight: 600; color: var(--deep); }
.need-deliver li svg { flex-shrink: 0; margin-top: 1px; }
.need-steps h2 { font-size: 1.5rem; margin-bottom: 14px; }
.need-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.need-steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; row-gap: 2px; counter-increment: step; }
.need-steps li::before { content: counter(step); grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--deep); color: var(--paper); font-weight: 700; }
.need-steps li span { color: var(--muted); }
.need-about { display: flex; gap: 18px; align-items: flex-start; }
@media (max-width: 640px) { .need-about { flex-direction: column; } .need-facts li { font-size: .9rem; padding: 7px 12px; } }
.pro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.quiet-empty { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: var(--mint-2); }
.quiet-empty p { margin: 0; flex: 1 1 280px; color: var(--ink); }
.invite-msg { padding: 10px 14px; border-left: 3px solid var(--teal); background: var(--mint-2); border-radius: 0 10px 10px 0; color: var(--ink); }
.impact-card { display: grid; gap: 14px; background: linear-gradient(160deg, #e3eeea 0%, #f6f1e6 100%); }
.impact-stats { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
/* Each number sits beside its label; the free-hours box keeps its own layout. */
.impact-stats > div:not(.impact-hours) { flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px; }
.impact-stats > div:not(.impact-hours) dd { min-width: 1.6ch; }
.impact-stats > div:not(.impact-hours) dt { font-size: .92rem; }
.impact-stats > div { padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; }
.impact-stats dd { order: -1; }
.impact-stats dt { font-size: .82rem; color: var(--muted); }
.impact-stats dd { margin: 0; font: 500 1.9rem/1 var(--serif); color: var(--deep); }
@media (max-width: 1100px) { .pro-grid { grid-template-columns: minmax(0, 1fr); } .impact-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .impact-stats { grid-template-columns: minmax(0, 1fr); } }
.next-box { display: grid; gap: 14px; padding: 22px clamp(18px, 3vw, 28px); border-radius: 20px; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--teal); }
.next-box.wait { border-left-color: var(--ochre, #c68a2e); }
.next-box.ok { border-left-color: var(--sage); }
.next-box.alert { border-left-color: var(--clay-ink); background: #fbf1ec; }
.next-head { display: flex; gap: 14px; align-items: flex-start; }
.next-head > svg { flex-shrink: 0; margin-top: 4px; color: var(--teal); }
.next-box.wait .next-head > svg { color: #8a5a12; } .next-box.alert .next-head > svg { color: var(--clay-ink); }
.next-head h2 { font-size: 1.45rem; line-height: 1.2; }
.next-head p { margin: 0; color: var(--ink); }
.next-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 36px; }
.next-list { padding-left: 36px; }
.work-card { display: grid; gap: 16px; }
.work-name { font: 600 1.25rem/1.2 var(--serif); color: var(--deep); }
.work-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.work-steps li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.work-steps li svg { flex-shrink: 0; margin-top: 2px; color: #8a5a12; }
.work-steps li.done svg { color: var(--teal); }
.work-steps li > span { display: flex; flex-direction: column; gap: 1px; }
.work-steps li strong { color: var(--deep); }
.hours-bar { height: 8px; border-radius: 99px; background: var(--mint-2); overflow: hidden; }
.hours-bar span { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
.finish-block { display: grid; gap: 8px; padding: 16px 18px; border-radius: 14px; background: var(--mint-2); justify-items: start; }
.finish-block p { margin: 0; }
.work-card blockquote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--teal); background: var(--mint-2); border-radius: 0 10px 10px 0; }
.work-foot { margin: 0; }
.work-foot .link-btn { min-height: 44px; padding: 0 2px; font-size: inherit; text-decoration: underline; }
.danger-link { color: var(--clay-ink) !important; }
@media (max-width: 640px) { .next-actions, .next-list { padding-left: 0; } .next-actions .btn { flex: 1 1 auto; justify-content: center; } .finish-block .btn { width: 100%; justify-content: center; } }
.agreement-doc section p + p { margin-top: 10px; }
.message.system { background: var(--mint-2); border: 1px solid var(--mint); border-radius: 14px; padding: 12px 14px; }
.message.system small { color: var(--teal); font-weight: 700; }
.who-sees { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .8rem; color: var(--teal); font-weight: 600; }
.endorse-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.endorse-form legend { font-weight: 700; margin-bottom: 4px; }
.chip-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); cursor: pointer; font-weight: 600; font-size: .92rem; }
.chip-check input:checked + span { background: var(--deep); color: var(--paper); border-color: var(--deep); }
.chip-check input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.starters { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.chip-btn { min-height: 36px; padding: 4px 12px; border-radius: 999px; border: 1px dashed var(--teal); background: var(--mint-2); color: var(--deep); font: 600 .88rem var(--sans); cursor: pointer; }
.private-q { padding: 14px 16px !important; border-radius: 14px; background: #f6efe2; }
.private-q > legend { float: left; width: 100%; padding: 0; margin: 0 0 8px; }
.private-q > legend + * { clear: both; }
.private-note { padding: 10px 14px; border-radius: 12px; background: var(--mint-2); }
.endorse-quote { margin: 0; padding: 8px 12px; border-left: 3px solid var(--teal); background: var(--mint-2); border-radius: 0 10px 10px 0; }
.c-verify { margin: 0; }
[data-counter-for] { display: block; text-align: right; margin-top: 2px; }
/* Chat */
.chat { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.chat-log { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 12px; min-height: 280px; max-height: min(62vh, 640px); overflow-y: auto; background: #faf8f2; }
.chat-empty { margin: auto; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 30px 10px; }
.chat-day { display: flex; justify-content: center; margin: 14px 0 8px; }
.chat-day span { font-size: .8rem; font-weight: 600; color: var(--muted); background: #efebe1; padding: 3px 12px; border-radius: 999px; }
.chat-row { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; }
.chat-row.cont { margin-top: 2px; }
.chat-row.mine { justify-content: flex-end; }
.chat-av { width: 32px; flex: 0 0 32px; }
.chat-av .avatar { width: 32px; height: 32px; font-size: .78rem; }
.chat-col { display: flex; flex-direction: column; max-width: min(78%, 560px); }
.chat-row.mine .chat-col { align-items: flex-end; }
.chat-name { font-size: .8rem; font-weight: 700; color: var(--muted); margin: 0 0 3px 12px; }
.bubble { padding: 10px 14px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.chat-row.mine .bubble { background: var(--teal); border-color: var(--teal); color: #fff; border-radius: 18px; border-bottom-right-radius: 6px; }
.chat-row.mine .bubble a { color: #fff; }
.bubble p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.45; }
.chat-time { font-size: .74rem; color: var(--muted); margin: 3px 10px 0; }
.chat-system { align-self: center; max-width: 92%; margin: 12px 0; padding: 12px 16px; border-radius: 14px; background: var(--mint-2); border: 1px solid var(--mint); }
.chat-system span { color: var(--teal); }
.chat-system p { margin: 4px 0 0; font-size: .95rem; }
.chat-compose { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-compose textarea { flex: 1 1 200px; min-height: 46px; max-height: 200px; resize: none; padding: 11px 14px; border-radius: 22px; border: 1px solid var(--line-strong, #cfc8b8); background: #fff; font: inherit; line-height: 1.4; }
.chat-compose .form-error { flex-basis: 100%; margin: 0; }
.chat-compose .form-error:empty { display: none; }
.chat-send { gap: 6px; min-height: 46px; }
.chat-hint { padding: 0 20px 12px; margin: 0; background: var(--paper); }
.chat-closed { padding: 14px 20px; margin: 0; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .chat-log { padding: 14px 12px; max-height: 66vh; } .chat-col { max-width: 86%; } .chat-send span { display: none; } .chat-hint { display: none; } }
.org-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.pf-private { display: grid; gap: 6px; max-width: 420px; }
/* Questionnaires */
.survey-form .sv-q { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
.sv-title { display: block; font-weight: 700; font-size: 1.02rem; line-height: 1.4; margin-bottom: 8px; padding: 0; }
.sv-opts { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.sv-scale .sv-opts { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }
.sv-opt { position: relative; display: block; }
.sv-opt input, .field .sv-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; }
.sv-opt span { display: flex; align-items: center; min-height: 42px; height: 100%; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; cursor: pointer; font-size: .97rem; line-height: 1.3; }
.sv-scale .sv-opt span { justify-content: center; text-align: center; }
.sv-opt input:checked + span { background: var(--deep); border-color: var(--deep); color: var(--paper); font-weight: 600; }
.sv-opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.sv-opt span:hover { border-color: var(--teal); }

/* Questionnaire answers (admin) */
.rs-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.rs-tabs a { padding: 10px 16px; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.rs-tabs a[aria-current] { color: var(--ink); border-color: var(--teal); }
.rs-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.rs-filter select { min-height: 44px; }
.rs-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; }
.rs-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.rs-tile-t { font-size: .88rem; font-weight: 600; color: var(--muted); line-height: 1.35; }
.rs-tile strong { font: 500 2rem/1.1 var(--serif); color: var(--ink); }
.rs-note { font-size: .8rem; }
.rs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 14px; align-items: start; }
.rs-q h3 { font: 600 1.05rem/1.35 var(--sans); margin: 0 0 4px; }
.rs-bar { display: grid; grid-template-columns: minmax(140px, 1.5fr) 1.5fr 44px; gap: 10px; align-items: center; margin-top: 8px; font-size: .92rem; }
.rs-bar-t { height: 12px; background: #efebe1; border-radius: 999px; overflow: hidden; }
.rs-bar-t span { display: block; height: 100%; background: var(--teal); border-radius: 999px; }
.rs-bar-v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.rs-open { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; max-height: 420px; overflow-y: auto; }
.rs-open li { padding: 10px 12px; border-radius: 10px; background: #faf8f2; border: 1px solid var(--line); }
.rs-open p { margin: 0 0 4px; white-space: pre-line; }
@media (max-width: 560px) { .rs-grid { grid-template-columns: 1fr; } .rs-bar { grid-template-columns: 1fr 44px; } .rs-bar-t { grid-column: 1 / -1; grid-row: 2; } }
.survey-form [hidden], form [hidden].sv-when, .sv-concern[hidden] { display: none !important; }
.c-hide { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--muted); font: 600 .85rem var(--sans); cursor: pointer; white-space: nowrap; }
.c-hide:hover { color: var(--ink); border-color: var(--ink); }
.contrib.is-hidden > summary { opacity: .62; }
.contrib.is-hidden > summary .c-hide { opacity: 1; }
@media (max-width: 560px) { .c-hide span { display: none; } }
details.contrib summary:has(.c-hide) { grid-template-columns: 52px minmax(0, 1fr) auto auto 30px; }
@media (max-width: 760px) { details.contrib summary:has(.c-hide) { grid-template-columns: 44px minmax(0, 1fr) auto auto; } }
/* Questionnaire charts */
.rs-tile { flex-direction: row; align-items: center; gap: 14px; }
.rs-ring { width: 84px; height: 84px; flex: 0 0 84px; }
.rs-ring-track { fill: none; stroke: #ece7dc; stroke-width: 9; }
.rs-ring-fill { fill: none; stroke: var(--teal); stroke-width: 9; stroke-linecap: round; }
.rs-ring-num { font: 500 22px var(--serif); fill: var(--ink); }
.rs-ring-num.sm { font-size: 16px; }
.rs-grid { grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)); }
.rs-grid-open { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.rs-chart { display: grid; gap: 2px; margin-top: 6px; }
.rs-bar { grid-template-columns: minmax(150px, 1.3fr) 2fr 48px; margin-top: 6px; }
.rs-bar-t { height: 22px; border-radius: 0 6px 6px 0; background: #f1ede4; }
.rs-bar-t span { border-radius: 0 6px 6px 0; }
.rs-bar:hover .rs-bar-t span { filter: brightness(1.12); }
.rs-t0 { background: #cfe6e0 !important; } .rs-t1 { background: #9fcfc4 !important; } .rs-t2 { background: #5fae9f !important; } .rs-t3 { background: #2a8a7b !important; } .rs-t4 { background: #0f6f63 !important; }
.rs-avg { font-size: .85rem; color: var(--muted); white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: var(--mint-2); }
.rs-avg strong { color: var(--ink); font-size: 1rem; }
.rs-numbers { margin-top: 10px; }
.rs-numbers summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--teal); }
.rs-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .9rem; }
.rs-table th, .rs-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.rs-table th:not(:first-child), .rs-table td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; width: 90px; }
.rs-table tfoot td { font-weight: 700; border-bottom: 0; }
@media (max-width: 560px) { .rs-grid, .rs-grid-open { grid-template-columns: 1fr; } .rs-ring { width: 68px; height: 68px; flex-basis: 68px; } }
/* Questionnaire layout: cards flow in columns so there are no gaps */
.rs-grid, .rs-grid-open { display: block; columns: 2 440px; column-gap: 14px; }
.rs-grid > .rs-q, .rs-grid-open > .rs-q { break-inside: avoid; display: block; margin: 0 0 14px; width: 100%; }
.rs-qn { display: inline-block; min-width: 34px; margin-right: 6px; padding: 1px 7px; border-radius: 6px; background: var(--deep); color: var(--paper); font: 700 .78rem/1.6 var(--sans); text-align: center; vertical-align: 2px; }
.rs-when { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--mint-2); color: var(--teal); font: 600 .75rem/1.6 var(--sans); vertical-align: 2px; }
@media (max-width: 560px) { .rs-grid, .rs-grid-open { columns: 1; } }
/* Admin numbers and lists */
.al-numbers { display: grid; }
.al-num { display: grid; grid-template-columns: 1fr auto 18px; gap: 14px; align-items: center; padding: 14px 10px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; border-radius: 8px; }
.al-num:first-child { border-top: 0; }
.al-num:hover { background: var(--mint-2); }
.al-num strong { font: 500 1.5rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.al-num svg { color: var(--teal); }
.al-num-l { font-weight: 600; }
.al-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.al-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; background: var(--paper); }
.al-chips a span { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 700; }
.al-chips a[aria-current] { background: var(--deep); border-color: var(--deep); color: var(--paper); }
.al-chips a[aria-current] span { color: var(--on-deep); }
.al-search input { width: 100%; max-width: 420px; min-height: 46px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font: inherit; }
.al-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.al-row:first-of-type { border-top: 0; }
.al-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; flex-shrink: 0; max-width: 46%; }
.al-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; border: 1px solid var(--line); background: #fff; flex-shrink: 0; }
.al-logo-empty { display: grid; place-items: center; color: var(--muted); }
.btn.danger-outline { color: #9b2c1f; border-color: #e3b9b2; }
.btn.danger-outline:hover { background: #fbeeec; }
@media (max-width: 760px) { .al-row { flex-direction: column; } .al-actions { max-width: none; justify-content: flex-start; } }
/* Show / hide password */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 52px !important; }
.pw-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.pw-toggle:hover { color: var(--ink); background: var(--mint-2); }
.pw-toggle.on { color: var(--teal); }
.pw-toggle.on::after { content: ""; position: absolute; width: 22px; height: 2px; background: currentColor; transform: rotate(-45deg); border-radius: 2px; }
.pw-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.impact-hours { position: relative; grid-column: 1 / -1; }
.impact-hours dd { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.impact-hours dd > .small { font-family: var(--sans); font-size: .85rem; }
.impact-hours .row { margin-top: 8px; align-items: center; }
.impact-hours .link-btn { margin-top: 4px; font-weight: 700; color: var(--teal); align-self: flex-start; justify-self: start; text-align: left; padding: 0; }
.account-menu summary .avatar.photo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: none; }
.rs-resp { border-top: 1px solid var(--line); }
.rs-resp:first-child { border-top: 0; }
.rs-resp > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto 30px; gap: 14px; align-items: center; padding: 12px 4px; cursor: pointer; }
.rs-resp > summary::-webkit-details-marker { display: none; }
.rs-resp[open] .c-toggle { background: var(--deep); border-color: var(--deep); transform: rotate(180deg); }
.rs-resp[open] .c-toggle::before, .rs-resp[open] .c-toggle::after { background: var(--paper); }
.rs-resp[open] .c-toggle::after { transform: rotate(0deg); }
.rs-resp-body { padding: 0 4px 16px; }
.rs-ans { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 1.2fr); gap: 6px 18px; margin: 0; font-size: .92rem; }
.rs-ans dt { color: var(--muted); }
.rs-ans dd { margin: 0; font-weight: 600; white-space: pre-line; }
@media (max-width: 640px) { .rs-ans { grid-template-columns: 1fr; } .rs-ans dd { margin-bottom: 8px; } }
/* Questions in questionnaire order, one per row */
.rs-grid, .rs-grid-open { columns: auto !important; display: grid !important; grid-template-columns: 1fr !important; gap: 14px; }
.rs-grid > .rs-q, .rs-grid-open > .rs-q { margin: 0 !important; }
.rs-chart { max-width: 820px; }
.rs-ring-fill.warn { stroke: #b4552f; }
.rs-tile.warn .rs-note { color: #8a3d1f; font-weight: 600; }
.rs-view { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #ece7dc; align-self: flex-start; flex-wrap: wrap; }
.rs-view a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 700; color: var(--muted); text-decoration: none; }
.rs-view a strong { font-variant-numeric: tabular-nums; padding: 0 8px; border-radius: 999px; background: rgba(0,0,0,.06); }
.rs-view a[aria-current] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(16,48,44,.12); }
.rs-tile { align-items: flex-start; }
.rs-ref { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; font-size: .78rem; line-height: 1.35; color: var(--muted); }
.rs-ref .rs-qn { margin-right: 0; min-width: 30px; font-size: .72rem; }
.rs-qn-all { background: var(--mint-2) !important; color: var(--teal) !important; }
.rs-ref > span:last-child { flex-basis: 100%; }
.rs-crit { font-size: .82rem; line-height: 1.4; color: var(--ink); background: var(--mint-2); border-radius: 8px; padding: 4px 8px; align-self: flex-start; }
/* One round chart per question */
.rs-qcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.rs-qc { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.rs-qc-head { display: flex; gap: 8px; align-items: flex-start; }
.rs-qc-head .rs-qn { flex-shrink: 0; margin-top: 1px; }
.rs-qc-q { font-weight: 700; font-size: .92rem; line-height: 1.35; color: var(--ink); }
.rs-qc-body { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; }
.rs-donut { width: 104px; height: 104px; }
.rs-donut-n { font: 500 18px var(--serif); fill: var(--ink); }
.rs-donut-s { font: 600 8px var(--sans); fill: var(--muted); }
.rs-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .84rem; }
.rs-legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.rs-sw { width: 12px; height: 12px; border-radius: 3px; }
.rs-lg-l { line-height: 1.3; }
.rs-lg-v { font-weight: 700; font-variant-numeric: tabular-nums; }
.rs-qc-note { margin: 0; }
.rs-combined { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 14px 18px; border-radius: 14px; background: var(--mint-2); border: 1px solid var(--mint); }
/* Bar charts: compact, two per row in questionnaire order (Q1 Q2 / Q3 Q4); written answers full width below */
.rs-grid:not(.rs-grid-open) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; align-items: stretch; }
.rs-grid:not(.rs-grid-open) > .rs-q { padding: 16px 18px; }
.rs-grid:not(.rs-grid-open) .rs-q h3 { font-size: .95rem; }
.rs-grid:not(.rs-grid-open) .rs-q > .small { font-size: .78rem; }
.rs-grid:not(.rs-grid-open) .rs-chart { max-width: none; margin-top: 4px; }
.rs-grid:not(.rs-grid-open) .rs-bar { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 30px; gap: 8px; margin-top: 3px; font-size: .82rem; line-height: 1.25; }
.rs-grid:not(.rs-grid-open) .rs-bar-t { height: 14px; }
.rs-grid:not(.rs-grid-open) .rs-avg { font-size: .75rem; padding: 2px 8px; }
.rs-grid:not(.rs-grid-open) .rs-avg strong { font-size: .88rem; }
.rs-grid:not(.rs-grid-open) .rs-numbers { margin-top: 6px; }
.rs-grid:not(.rs-grid-open) .rs-numbers summary { font-size: .78rem; }
.rs-grid:not(.rs-grid-open) .rs-table { font-size: .8rem; }
@media (max-width: 820px) { .rs-grid:not(.rs-grid-open) { grid-template-columns: 1fr !important; } }

/* Audit fixes, 19 Oct 2026 */
html { scroll-padding-top: 96px; }
@media (max-width: 960px) { html { scroll-padding-top: 88px; } }
.main-nav a, .main-nav .nav-drop summary { white-space: nowrap; }
@media (max-width: 1200px) { .main-nav { gap: 18px; } }
.need-hero > *, .org-head > *, .need-org-id { min-width: 0; }
.need-org-id, .need-org-id span, .need-title, .org-head h1, .org-head .small, .need-facts { overflow-wrap: anywhere; }
.card, .need-hero, .org-head, .side-card, .bubble { overflow-wrap: anywhere; }
.ptabs { overflow-x: auto; scrollbar-width: none; }
@media (max-width: 420px) { .ptabs [role="tab"] { font-size: 1.3rem; padding: 10px 10px 12px; } }
body:has(.consent:not([hidden])) { padding-bottom: 170px; }
html:has(.consent:not([hidden])) { scroll-padding-bottom: 180px; }
@media (min-width: 961px) { body:has(.consent:not([hidden])) { padding-bottom: 90px; } html:has(.consent:not([hidden])) { scroll-padding-bottom: 100px; } }
/* decorative motion: a few cycles, then still (WCAG 2.2.2) */
.hv-orb { animation-iteration-count: 2; }
.hv-ring { animation-iteration-count: 1; }
.hv-float { animation-iteration-count: 1, 4; }
.hv-big .hv-dot { animation-iteration-count: 1, 3; }
.motion .hb-dot, .motion .hv-cta-mark .hv-dot, .motion .about-mark .hv-dot, .motion .hv-ex-mid .hv-dot { animation-iteration-count: 3; }
.hv-cta .eyebrow { color: var(--mint, #dcebe6); }
.dialog-close { position: sticky; top: 14px; float: right; margin: -4px -4px 0 8px; z-index: 2; }
.chat-row.mine .bubble a:focus-visible { outline-color: #f0c27a; }
.rs-numbers summary, .list-row a.small { display: inline-flex; min-height: 32px; align-items: center; }
html.signed-in .ft-join { display: none; }
html.i18n-wait #main, html.i18n-wait .site-header, html.i18n-wait .site-footer { visibility: hidden; }
.lang-picker > span:first-child, .lp-label { font-weight: 600; font-size: .95rem; }
.flash { animation: hv-flash 1.6s ease-out 1; } @keyframes hv-flash { 0%, 40% { box-shadow: 0 0 0 4px rgba(198,138,46,.55); } 100% { box-shadow: 0 0 0 0 rgba(198,138,46,0); } }
.agreement-full { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 12px; } .agreement-full > summary { cursor: pointer; padding: 10px 0; min-height: 44px; } @media print { .agreement-full > summary { display: none; } }
.ws-btn { gap: 6px; } @media (max-width: 960px) { .ws-btn { display: none !important; } } @media (max-width: 1180px) and (min-width: 961px) { .main-nav { gap: 14px; } }
.stats-dark > .stat-new { grid-column: span 4; display: flex; flex-direction: column; justify-content: center; gap: 6px; } .stats-dark > .stat-new strong { font-size: 2rem; } .stat-new .stat-note { opacity: .8; font-size: .9rem; } @media (max-width: 980px) { .stats-dark > .stat-new { grid-column: span 2; } } @media (max-width: 640px) { .stats-dark > .stat-new { grid-column: 1 / -1; } }
.mf-toggle { display: none; }
@media (max-width: 640px) {
  .filters { padding: 14px; gap: 10px; }
  .filters:not(.show-more) label.more { display: none; }
  .mf-toggle { display: inline-flex; }
  .consent { padding: 8px 10px; left: 8px; right: 8px; bottom: 8px; }
  .consent p { font-size: .8rem; flex-basis: 220px; }
  body:has(.consent:not([hidden])) { padding-bottom: 120px; }
}
#dialog form > .row:has(> [type=submit]) { position: sticky; bottom: 0; background: var(--paper); padding-block: 12px; margin-bottom: -12px; z-index: 1; box-shadow: 0 -10px 16px -12px rgba(16,48,44,.25); }
/* Header fit (D15): ui.js fitHeader() adds .hdr-snug (tighter spacing), .hdr-tight (no "My workspace" text) and .hdr-compact (☰ menu) only when the bar would not fit. */
.site-header.hdr-snug .wrap { gap: 14px; } .site-header.hdr-snug .main-nav { gap: 14px; } .site-header.hdr-snug .header-actions { gap: 6px; }
.hdr-tight .ws-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .hdr-tight .ws-btn { padding-inline: 12px; min-width: 44px; justify-content: center; }
@media (max-width: 1180px) and (min-width: 961px) { .site-header .wrap { gap: 14px; } .main-nav { gap: 12px; } .header-actions { gap: 6px; } }
@media (max-width: 1080px) and (min-width: 961px) { .main-nav { gap: 10px; } .main-nav a, .main-nav .nav-drop summary { font-size: .92rem; } }
.site-header.hdr-compact .main-nav .nav-signin { display: flex; }
.site-header.hdr-compact .menu-toggle { display: inline-flex; }
.site-header.hdr-compact .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(var(--gutter), calc((100% - var(--max)) / 2)) 20px; background: var(--ivory); border-bottom: 1px solid var(--line); max-height: calc(100vh - 80px); overflow-y: auto; }
.site-header.hdr-compact .main-nav.open { display: flex; }
.site-header.hdr-compact .main-nav a { min-height: 52px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.site-header.hdr-compact .main-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--teal); }
.site-header.hdr-compact .nav-drop summary { display: flex; justify-content: space-between; width: 100%; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.site-header.hdr-compact .nav-drop summary.current { border-bottom-color: var(--line); color: var(--teal); }
.site-header.hdr-compact .nav-drop .menu { position: static; min-width: 0; padding: 4px 0 8px 12px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.site-header.hdr-compact .main-nav .nav-drop .menu a { border-bottom: 0; min-height: 48px; }
.site-header.hdr-compact .header-actions .hide-sm:not(.btn) { display: none; }
@media (max-width: 960px) { .main-nav { max-height: calc(100vh - 80px); overflow-y: auto; } }
/* ☰ becomes × while the menu is open (D20). */
.menu-toggle .mt-open, .menu-toggle .mt-close { display: inline-flex; }
.menu-toggle .mt-close, .menu-toggle[aria-expanded="true"] .mt-open { display: none; }
.menu-toggle[aria-expanded="true"] .mt-close { display: inline-flex; }
.invited-pill { white-space: normal; padding: 10px 14px; font-size: .9rem; background: var(--ochre-bg); color: var(--ochre-ink); }
/* Printed impact CV: a line with the link and date; screen-only controls are left out. */
.print-only { display: none; }
@media print { .print-only { display: block; margin: 0 0 12px; color: #33413e; } a.back { display: none !important; } }

/* Messages on phones: the privacy note folds into one line, and the conversation and the message box fit the first screen. */
.chat-privacy { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.chat-privacy > summary { display: flex; gap: 8px; align-items: center; padding: 10px 14px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--teal); list-style: none; }
.chat-privacy > summary::-webkit-details-marker { display: none; }
.chat-privacy > summary::after { content: "+"; margin-left: auto; font-weight: 700; }
.chat-privacy[open] > summary::after { content: "−"; }
.chat-privacy > p { margin: 0; padding: 0 14px 12px; }
@media (max-width: 640px) {
  .chat-log { min-height: 200px; max-height: 52vh; padding: 12px; }
  .chat-head { padding: 10px 14px; }
  .chat-hint { display: none; }
}

/* First-time professional set-up: two steps in one form */
.pf-part:not([hidden]) { display: contents; }
.pf-steps { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; scroll-margin-top: 90px; }
.pf-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .95rem; }
.pf-steps li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ivory); font-size: .85rem; }
.pf-steps li[aria-current] { background: #0f6f63; border-color: #0f6f63; color: #fff; }
.pf-steps li[aria-current] span { color: #0f6f63; }

/* Policies */
.policy-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.policy-card h2 a { color: inherit; text-decoration: none; }
.policy-card h2 a:hover { text-decoration: underline; }
.policy-page .reading table.data { font-size: .95rem; margin: 12px 0 4px; }
.policy-page .reading table.data td, .policy-page .reading table.data th { padding: 10px 12px; }
.policy-page .reading td p, .policy-page .reading td li { font-size: .95rem; }
.policy-page .reading h2 + h3 { margin-top: 8px; }
.wr-policies { margin-top: 8px; }

/* Contact */
.contact-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.contact-addr { font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }

/* Need safety questions */
.sg-box { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--line); padding-top: 22px; }
.sg-q { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sg-q legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.sg-opts { display: flex; flex-direction: column; gap: 6px; }
.sg-flags { display: flex; flex-wrap: wrap; gap: 6px; }

/* FAQ & safety: reporting first */
.concern-bar { border-color: #e6b9a6; margin: 8px 0 28px; }
.policy-links a { white-space: nowrap; }
.faq-contact { text-align: center; padding: 22px; border-top: 1px solid var(--line); color: var(--muted); }

/* Fix sprint 20 Oct 2026 (public pages) */
/* M11: two compact buttons straight under the headline on phones; the doors stay below for larger screens. */
.hero-quick { display: none; }
.watch-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.watch-link:hover { color: #f3c9b1; }
.hero-watch { margin: -6px 0 0; }
@media (max-width: 640px) {
  .hero-quick { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
  .hero-quick .btn { flex: 1 1 140px; min-height: 44px; padding: 8px 14px; }
  .hero-quick .watch-link { flex-basis: 100%; }
  .hero-watch { display: none; }
  .hv-hero h1 { font-size: clamp(2.1rem, 9vw, 2.5rem); }
}
/* M6: the strongest line of the video, as text beside it. */
.video-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.video-quote { margin: 0; padding: 0 0 0 20px; border-left: 4px solid var(--clay, #b85c38); }
.video-quote p { font: 500 clamp(1.3rem, 2.2vw, 1.75rem)/1.25 var(--serif); color: var(--ink); margin: 0; }
.video-quote p span { color: var(--teal); }
.video-quote footer { margin-top: 12px; font-size: .88rem; font-weight: 600; color: var(--muted); }
@media (max-width: 860px) { .video-row { grid-template-columns: minmax(0, 1fr); } }
/* M7: example impact CV entry in the "What stays with the professional" panel. */
.ex-cv { margin: 14px 0 0; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 12px 30px rgba(0, 0, 0, .18); max-width: 420px; }
.ex-cv-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ex-cv-cap { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hv-ex-side .ex-cv strong.ex-cv-title { font: 600 1.05rem/1.25 var(--sans); color: var(--ink); }
.ex-cv-org { font-size: .9rem; color: var(--muted); }
.ex-cv-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ex-cv-hours { font-size: .88rem; color: var(--muted); } .ex-cv-hours b { color: var(--ink); }
.ex-cv blockquote { margin: 4px 0 0; padding-left: 12px; border-left: 3px solid var(--mint, #dcebe6); }
.ex-cv blockquote p { margin: 0; font: 500 1rem/1.35 var(--serif); color: var(--ink); }
.ex-cv blockquote footer { font-size: .8rem; color: var(--muted); margin-top: 4px; }
/* D18: jump links under the concern bar, and the six policies. */
.jump-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: -12px 0; font-weight: 700; }
.jump-links a { display: inline-flex; align-items: center; min-height: 44px; }
.jump-links span { color: var(--muted); }
.policy-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 2px 20px; }
.policy-list a { display: inline-flex; min-height: 32px; align-items: center; }
/* D19: policy section lists. Laptop: scrolls within the screen. Phone: an "On this page" button. */
.legal-toc { max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 8px; }
.toc-m { display: none; }
@media (max-width: 960px) {
  .legal-toc { display: none; }
  .toc-m { display: block; border: 1px solid var(--line); border-radius: var(--radius-sm, 12px); background: var(--paper); }
  .toc-m > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; cursor: pointer; font-weight: 700; list-style: none; }
  .toc-m > summary::-webkit-details-marker { display: none; }
  .toc-m > summary::after { content: "+"; margin-left: auto; font-weight: 700; }
  .toc-m[open] > summary::after { content: "−"; }
  .toc-m .toc-n { font-size: .8rem; font-weight: 600; color: var(--muted); }
  .toc-m ol { list-style: none; margin: 0; padding: 0 8px 10px; }
  .toc-m button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px 8px; min-height: 44px; font: 500 .95rem/1.35 var(--sans); color: var(--teal); cursor: pointer; }
}
.reading h2[tabindex="-1"]:focus:not(:focus-visible), #main h2[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
/* D11: filters. Desktop keeps the one-line grid; phones show the search and a "Filters" button. */
.filters .f-search, .filters .f-more { display: contents; }
@media (min-width: 1101px) { .filters { grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1101px) { .filters.f4 { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); } }
.filters .f-toggle { display: none; }
@media (max-width: 1100px) { .filters label:first-child { grid-column: auto; } .filters .f-search > label { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .filters { grid-template-columns: minmax(0, 1fr); }
  .filters .f-search { display: flex; align-items: flex-end; gap: 10px; }
  .filters .f-search > label { flex: 1 1 auto; min-width: 0; }
  .filters .f-toggle { display: inline-flex; min-height: 50px; padding: 8px 14px; gap: 6px; flex: none; }
  .filters .f-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--teal); color: #fff; font-size: .8rem; }
  .filters .f-count[hidden] { display: none; }
  .filters .f-more { display: none; }
  .filters.show-more .f-more { display: grid; gap: 10px; }
  .filters.show-more label.more { display: flex; }
}
/* W4 and M16 */
.load-error { flex-wrap: wrap; } .load-error p { flex: 1 1 260px; margin: 0; }
.share-box { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.share-box .btn { gap: 6px; }
/* D12: on phones the contributions come before About and Skills on an impact CV. */
@media (max-width: 960px) { .split.left > #profile-main { order: -1; } }
/* D22: dialog footer matches the dialog; the report button keeps its normal width. */
#dialog form > .row:has(> [type=submit]) { background: var(--ivory); }
/* L17: public report form */
.public-report { display: flex; flex-direction: column; gap: 16px; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.report-alt { padding-top: 18px; border-top: 1px solid var(--line); } .report-alt[hidden] { display: none; }
.public-report-done h2:focus { outline: none; }
/* M11: a slimmer cookie bar that leaves the main buttons visible. */
.consent { max-width: 760px; padding: 8px 12px; gap: 6px 12px; flex-wrap: nowrap; }
.consent p { flex: 1 1 auto; font-size: .82rem; line-height: 1.3; }
.consent .row { flex: none; gap: 6px; flex-wrap: nowrap; }
.consent .btn { min-height: 36px; padding: 4px 12px; }
body:has(.consent:not([hidden])) { padding-bottom: 72px; }
@media (max-width: 640px) {
  .consent { flex-wrap: wrap; left: 0; right: 0; bottom: 0; border-radius: 12px 12px 0 0; border-width: 1px 0 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .consent p { flex-basis: 100%; font-size: .78rem; }
  .consent .row { width: 100%; }
  .consent .btn { flex: 1 1 0; min-height: 36px; }
  body:has(.consent:not([hidden])) { padding-bottom: 104px; }
}
/* ---- Fix sprint 20 Oct 2026 (workspace team) ---- */
/* Sign-up bot trap: off screen, never focusable. */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Declared link: label, the link itself and the advice stack, and long words wrap on phones (O14). */
.notice.declared-link { flex-direction: column; align-items: flex-start; gap: 4px; max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.notice.declared-link > * { max-width: 100%; }
/* A password box that must not be closed by accident hides its close button (W1). */
#dialog[data-locked] .dialog-close { display: none; }
/* The ID consent sentence that is saved (T16). */
.consent-quote { display: grid; gap: 6px; }
.consent-quote blockquote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--teal); background: var(--mint-2); border-radius: 0 10px 10px 0; }
/* What changed in the professional agreement (T13). */
.resign-what { flex-direction: column; align-items: flex-start; gap: 6px; }
.resign-what ul { margin: 0; padding-left: 1.2em; }
/* Need form: templates, and the heading over the four safety ticks (O4). */
.need-templates { display: grid; gap: 8px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.need-templates-head { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn[aria-pressed="true"] { border-style: solid; background: var(--teal); color: #fff; }
.sg-ticks-head { font-size: 1.05rem; margin: 6px 0 -4px; }
/* Team (O2). */
.team-add { align-items: flex-end; flex-wrap: wrap; gap: 10px; }
.team-add .field { flex: 1 1 260px; margin: 0; }
.team-form code { display: block; margin-top: 4px; overflow-wrap: anywhere; word-break: break-all; }
.team-row .row { flex-wrap: wrap; }
.silent-org { margin-top: 8px; }
.id-card.hero .link-btn { color: #fff; text-decoration-color: currentColor; }
/* M11 (round 3): on laptops and wider, the cookie notice is a small card in the bottom-right corner instead of a bar
   across the bottom. The two doors on the home page sit on the left, so the card covers only the illustration there
   (bottom-left would cover "I'm an organisation" and "Offer your skills" at 1366x768). */
@media (min-width: 901px) {
  .consent { right: 16px; left: auto; bottom: 16px; width: 420px; max-width: calc(100vw - 32px); margin: 0; flex-wrap: wrap; padding: 12px 14px; gap: 10px; }
  .consent p { flex: 1 1 100%; }
  .consent .row { flex-wrap: nowrap; gap: 8px; }
  /* Room at the end of the page so the card never hides the last footer links. */
  body:has(.consent:not([hidden])) { padding-bottom: 150px; }
  html:has(.consent:not([hidden])) { scroll-padding-bottom: 150px; }
}
/* D28: on phones and tablets the workspace is one column; short pages must not stretch the tab bar. */
@media (max-width: 900px) { .workspace { align-content: start; } }
.org-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 18px; margin: 4px 0; padding: 12px 14px; background: var(--mint-2); border-radius: 12px; font-size: .9rem; }
.org-facts div { min-width: 0; }
.org-facts dt { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.org-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.org-review-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line); flex-shrink: 0; }
.admin-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -8px; } .admin-shortcuts .btn { gap: 6px; }
.deliver-box p { margin: 0; }
.notice.deliver-box { align-items: flex-start; }

/* Ethical work, open to everyone (home, under Why Handova) */
.ms-hl { color: var(--clay); }
.ms-message { background: var(--deep); color: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 10px; }
.ms-message .eyebrow { color: var(--on-deep-quiet); }
.ms-message p { margin: 0; font: 500 clamp(1.35rem, 2.6vw, 2rem)/1.3 var(--serif); }
.ms-boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ms-title { font-size: clamp(1.9rem, 4vw, 3.2rem); margin: 0; }
.ms-box { border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); display: grid; gap: 12px; align-content: start; }
.ms-box.ochre { background: var(--ochre-bg); } .ms-box.clay { background: var(--clay-bg); }
.ms-box.mint { background: var(--mint); }
.ms-box.sand { background: var(--sand); }
.ms-box h3 { font: 500 clamp(1.2rem, 1.55vw, 1.4rem)/1.2 var(--serif); margin: 0; }
.ms-box > p { margin: 0; font-size: .97rem; }
@media (max-width: 1100px) { .ms-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ms-boxes { grid-template-columns: minmax(0, 1fr); } }

/* Section rhythm on the home page: every section starts one section gap below the last. */
.home-sec { padding-top: var(--section-gap); }
.ms-open, .home-sec > .hv-exchange { margin-top: calc(var(--section-gap) - 40px); }
.stack > .wr-cols { margin-top: 0; }

/* Why now: AI and the first step into work (9 Nov 2026) */
.ms-why { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; }
.ms-why-head { display: grid; gap: 10px; }
.ms-why-head h3 { font: 500 clamp(1.6rem, 3vw, 2.3rem)/1.2 var(--serif); margin: 0; }
.ms-why-head p { margin: 0; font-size: 1.05rem; }
.ms-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ms-stats li { border-top: 3px solid var(--clay); padding-top: 14px; display: grid; gap: 6px; align-content: start; }
.ms-stats strong { font: 500 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--serif); color: var(--deep); }
.ms-stats span { font-size: 0.95rem; }
.ms-stats cite { font-style: normal; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 1100px) { .ms-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ms-stats { grid-template-columns: minmax(0, 1fr); } }

/* Public notice on every need: how both sides protect the people served. */
.sensitive-note { display: grid; gap: 12px; background: var(--ochre-bg); border-color: transparent; }
.sensitive-note h2 { font: 500 clamp(1.2rem, 1.8vw, 1.45rem)/1.25 var(--serif); margin: 0; }
.sensitive-note p, .sensitive-note ul { margin: 0; }
.sensitive-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; }
.solved-note { background: var(--mint); border-color: #bcd6cd; color: var(--ink); font-size: 1.05rem; }
.solved-note strong { color: var(--teal); }
/* The two-minute questionnaire after a finished contribution: hard to miss */
.survey-ask { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--ochre-bg); border: 2px solid var(--ochre-line, #e2c98f); }
.survey-ask h2 { font: 500 clamp(1.35rem, 2.2vw, 1.75rem)/1.2 var(--serif); margin: 0; }
.survey-ask p { margin: 0; }
@media (max-width: 640px) { .survey-ask { grid-template-columns: minmax(0, 1fr); } .survey-ask .icon-tile { display: none; } .survey-ask .btn { justify-self: start; } }
.impact-hours .btn { white-space: normal; }
.impact-hours .btn.extra { background: var(--clay); border-color: var(--clay); color: #fff; }
.impact-hours .btn.extra:hover { background: var(--clay-ink); border-color: var(--clay-ink); }
/* Your impact: this month's hours, given and left (11 Nov 2026) */
.impact-hours dt { font-weight: 700; color: var(--ink); font-size: .92rem; }
.impact-hours dd.ih-split { order: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font: inherit; }
.ih-split > span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--mint); }
.ih-split > span + span { background: var(--clay-bg); }
.ih-split strong { font: 500 1.7rem/1 var(--serif); color: var(--deep); }
.ih-split small { font-size: .82rem; color: var(--muted); }
.ih-total { margin: 2px 0 0; }
/* Availability tile on the impact CV: every line readable on the orange */
.stat-avail .stat-note, .stat-avail .stat-note span { color: #fff !important; }
.stat-avail .stat-more { color: #fff !important; opacity: 1 !important; }
.ih-extra { margin: 2px 0 0; font-weight: 700; color: var(--clay-ink); }
.notif-queue-note { margin: 0 0 12px; }
.notif-queue-note a { font-weight: 600; color: var(--teal); }
/* Admin: Progress and bottlenecks (13 Nov 2026) */
.pg-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pg-tile { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.pg-tile strong { font: 500 2.4rem/1 var(--serif); color: var(--deep); }
.pg-tile > span:not(.small) { font-weight: 600; }
.pg-tile.amber { background: var(--ochre-bg); border-color: transparent; }
.pg-tile.red { background: var(--clay-bg); border-color: var(--clay); }
.pg-tile.red strong { color: var(--clay-ink); }
.pg-bars { display: grid; gap: 10px; }
.pg-bar { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr) minmax(90px, auto); gap: 14px; align-items: center; }
.pg-bar-label { font-size: .95rem; }
.pg-bar-track { height: 14px; border-radius: 99px; background: var(--paper-2, #efe9de); overflow: hidden; }
.pg-bar-track > span { display: block; height: 100%; border-radius: 99px; background: var(--teal); }
.pg-bar.slow .pg-bar-track > span { background: var(--clay); }
.pg-bar.slow .pg-bar-label { font-weight: 700; }
.pg-bar-val { font-weight: 600; text-align: right; white-space: nowrap; }
.pg-who { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: var(--mint); color: var(--deep); font-size: .74rem; font-weight: 700; vertical-align: middle; }
.pg-waits { display: grid; gap: 8px; }
.pg-wait { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); border-left: 5px solid var(--teal); color: inherit; text-decoration: none; background: var(--paper); }
.pg-wait:hover { background: rgba(18, 62, 58, .03); }
.pg-wait.amber { border-left-color: var(--ochre, #c9962e); }
.pg-wait.red { border-left-color: var(--clay); background: #fff6f2; }
.pg-wait-days { font: 500 1.8rem/1 var(--serif); text-align: center; color: var(--deep); display: grid; }
.pg-wait-days small { font: 600 .72rem/1.2 var(--sans); color: var(--muted); }
.pg-wait.red .pg-wait-days { color: var(--clay-ink); }
.pg-who-pill { padding: 4px 10px; border-radius: 99px; background: var(--mint); font-size: .8rem; font-weight: 700; color: var(--deep); white-space: nowrap; }
.pg-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-tab { all: unset; cursor: pointer; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); font-weight: 600; background: var(--paper); }
.pg-tab[aria-selected="true"] { background: var(--deep); color: var(--paper); border-color: var(--deep); }
.pg-tab[aria-selected="true"] .muted { color: var(--on-deep-quiet, #cfe0da); }
.pg-tab:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.pg-card { display: grid; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.pg-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pg-title { font-weight: 700; color: var(--ink); }
.pg-track { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.pg-step { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 0 4px; }
.pg-step::before { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.pg-step:first-child::before { display: none; }
.pg-step.done::before, .pg-step.current::before { background: var(--teal); }
.pg-dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 3px solid var(--line); color: #fff; }
.pg-step.done .pg-dot { background: var(--teal); border-color: var(--teal); }
.pg-step.current .pg-dot { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(15, 111, 99, .15); }
.pg-step.current.amber .pg-dot { border-color: var(--ochre, #c9962e); box-shadow: 0 0 0 4px rgba(201, 150, 46, .2); }
.pg-step.current.red .pg-dot { border-color: var(--clay); box-shadow: 0 0 0 4px rgba(184, 90, 56, .2); }
.pg-label { font-size: .82rem; font-weight: 600; line-height: 1.25; }
.pg-step.todo .pg-label { color: var(--muted); font-weight: 500; }
.pg-date { font-size: .78rem; color: var(--muted); display: grid; gap: 2px; justify-items: center; }
.pg-step.current .pg-date { color: var(--deep); font-weight: 700; }
.pg-step.current.red .pg-date { color: var(--clay-ink); }
.pg-date .pg-who { margin: 0; }
.pg-rem { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pg-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; background: var(--ochre-bg); font-size: .76rem; font-weight: 600; }
@media (max-width: 1100px) { .pg-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pg-bar { grid-template-columns: minmax(0, 1fr) auto; } .pg-bar-track { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 640px) {
  .pg-wait { grid-template-columns: 52px minmax(0, 1fr); } .pg-who-pill { grid-column: 2; justify-self: start; }
  .pg-track { grid-auto-flow: row; grid-auto-columns: auto; gap: 10px; }
  .pg-step { grid-template-columns: 24px minmax(0, 1fr) auto; justify-items: start; text-align: left; align-items: center; column-gap: 10px; }
  .pg-step::before { top: -10px; left: 10px; width: 3px; height: 14px; }
  .pg-date { justify-items: end; text-align: right; }
}
[data-pg-panel][hidden] { display: none !important; }
.pg-step.skipped .pg-dot { border-style: dashed; }
.pg-step.skipped .pg-label { color: var(--muted); font-weight: 500; }
.pg-step.skipped::before { background: var(--teal); }
button.pg-tile { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
button.pg-tile.amber { background: var(--ochre-bg); border-color: transparent; }
button.pg-tile.red { background: var(--clay-bg); border-color: var(--clay); }
button.pg-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(18, 62, 58, .08); }
button.pg-tile:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
button.pg-tile[aria-pressed="true"] { outline: 3px solid var(--deep); outline-offset: 2px; }
.pg-tile-go { font-weight: 700; color: var(--teal); }
.pg-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pg-filters .pg-tab { padding: 6px 14px; font-size: .9rem; }
.pg-filters .pg-tab[aria-pressed="true"] { background: var(--deep); color: var(--paper); border-color: var(--deep); }
.pg-sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.pg-wait[hidden] { display: none !important; }
.pg-nth { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; border-radius: 99px; background: var(--mint); font-size: .72rem; }
.pg-need-name { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; max-width: 16ch; margin-inline: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
