/* ==========================================================================
   queer.tech — "Cooperative Desktop" Ghost theme
   Direction 01 from queertech.pen
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Tokens
   -------------------------------------------------------------------------- */
:root {
    --paper: #F4F3EF;
    --ink: #101010;
    --muted: #66645F;
    --body: #4A4945;

    --blue: #82B7FF;
    --violet: #775CFF;
    --orange: #FF8D5C;
    --salmon: #FF9B74;
    --lime: #C8FF63;
    --lilac: #C6A6FF;
    --lavender: #C7B5FF;
    --butter: #FFF5A8;
    --cobalt: #0D67C8;
    --plum: #241044;
    --dark: #151515;
    --navy: #0A2147;
    --live: #48C774;

    --font: var(--gh-font-body, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
    --font-heading: var(--gh-font-heading, var(--font));
    --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --wordmark: "Unbounded", var(--font);

    --container: 1440px;
    --gutter: clamp(20px, 3.75vw, 54px);
    --radius: 4px;
    --pill: 999px;

    --hard-shadow: 10px 12px 0 #07172D;
    --line: 1px solid var(--ink);
}

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

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
svg.lucide { width: 1em; height: 1em; flex: none; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

code { font-family: var(--mono); font-size: 0.9em; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   2. Type
   -------------------------------------------------------------------------- */
.display, .hero-headline, .post-content h2, .post-content h3, .work-card-title, .note-card-title, .resource-title, .thrive-heading, .path-heading, .step-title, .cap-title {
    font-family: var(--font-heading);
}
.display {
    font-size: clamp(38px, 4.65vw, 67px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-wrap: balance;
    max-width: 14ch;
}

.index {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4C4B47;
}
.index--lime { color: var(--lime); }

.eyebrow {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #555550;
}
.eyebrow--dark { color: #3E332F; font-size: 11px; }
.eyebrow--lime { color: var(--lime); }
.eyebrow--navy { color: #142D57; }

.section-intro {
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.45;
    color: #494844;
    max-width: 52ch;
}

.empty { color: var(--muted); padding: 40px 0; }

/* --------------------------------------------------------------------------
   3. Buttons & badges
   -------------------------------------------------------------------------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 19px;
    border-radius: var(--pill);
    border: 1px solid #5B5B5B;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    color: var(--ink);
    white-space: nowrap;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
    overflow: hidden;
    isolation: isolate;
}
.btn .lucide { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }

/* gloss highlight */
.btn::before {
    content: "";
    position: absolute;
    inset: 4px 12px auto 12px;
    height: 9px;
    border-radius: var(--pill);
    background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,0));
    pointer-events: none;
    z-index: -1;
}

.btn--shine {
    background: linear-gradient(180deg, #FFFFFF 0%, #E4E4E4 45%, #FAFAFA 100%);
    box-shadow: 0 7px 16px rgba(0,0,0,.11);
}
.btn--iridescent {
    background: linear-gradient(180deg, #F4F0FF 0%, #A8C7FF 28%, #C6A6FF 62%, #FFB998 100%);
    border-color: #3B2B87;
    box-shadow: 0 10px 22px rgba(81,61,168,.2);
}
.btn--lime {
    background: var(--lime);
    border-color: var(--lime);
    box-shadow: none;
}
.btn--lime::before { display: none; }
.btn--sm { padding: 9px 16px; font-size: 14px; font-weight: 500; }
.btn--lg { padding: 13px 21px; font-size: 17px; }

.dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: currentColor; flex: none;
}
.dot--live { background: var(--live); }

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 12px;
    border-radius: var(--pill);
    background: #fff;
    border: 1px solid rgba(0,0,0,.15);
    box-shadow: 0 4px 10px rgba(0,0,0,.07);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.badge--coop { font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }
.badge-star { color: var(--violet); font-size: 13px; }
.badge--paper { background: var(--paper); border-color: rgba(17,17,17,.25); box-shadow: none; }

.star { display: inline-block; flex: none; }
.star--violet { color: #633FDE; }
.star--orange { color: #FF6E45; }

/* --------------------------------------------------------------------------
   4. Menubar
   -------------------------------------------------------------------------- */
.menubar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244,243,239,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16,16,16,.08);
    transition: box-shadow .2s ease;
}
.menubar--scrolled { box-shadow: 0 4px 24px rgba(16,16,16,.06); }

.menubar-inner {
    max-width: var(--container);
    margin-inline: auto;
    height: 58px;
    padding-inline: 28px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.brand-mark--gradient {
    background: conic-gradient(from 0deg, #FF6B6B 0%, #FFD93D 22%, #6BCB77 44%, #4D96FF 68%, #9D4EDD 100%);
}
.brand-name { font-family: var(--wordmark); font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }

.menubar-nav { margin-inline: auto; }
.nav { display: flex; gap: 22px; }
.nav-link { font-size: 14px; color: #454541; }
.nav-link:hover, .nav-item--current .nav-link { color: var(--ink); }

.menubar-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.menubar-toggle {
    display: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid #5B5B5B;
    background: #fff;
    align-items: center; justify-content: center;
    cursor: pointer;
}
.menubar-toggle .lucide { width: 20px; height: 20px; }
.menubar-toggle-close { display: none; }
.menubar-toggle[aria-expanded="true"] .menubar-toggle-open { display: none; }
.menubar-toggle[aria-expanded="true"] .menubar-toggle-close { display: block; }

.mobile-menu {
    display: none;
    padding: 24px 28px 32px;
    border-top: 1px solid rgba(16,16,16,.08);
}
.mobile-menu .nav { flex-direction: column; gap: 4px; margin-bottom: 20px; }
.mobile-menu .nav-link { display: block; font-size: 20px; padding: 10px 0; color: var(--ink); }
.mobile-menu .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
    .menubar-nav { display: none; }
    .menubar-toggle { display: inline-flex; }
    .mobile-menu:not([hidden]) { display: block; }
    .menubar-inner { padding-inline: var(--gutter); }
}
@media (max-width: 480px) {
    .menubar-actions .btn { display: none; }
}

/* --------------------------------------------------------------------------
   5. Hero / desktop
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 840px;
    padding: 150px var(--gutter) 60px;
    overflow: hidden;
}

.desktop-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle, rgba(23,23,23,.1) 1px, transparent 1.2px);
    background-size: 42px 42px;
    background-position: 20px 32px;
    mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 740px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}
.hero-headline {
    font-size: clamp(42px, 4.65vw, 67px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-wrap: balance;
}
.hero-subhead {
    max-width: 660px;
    font-size: clamp(16px, 1.32vw, 19px);
    line-height: 1.45;
    color: var(--body);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }

/* windows ------------------------------------------------------------ */
.window {
    background: linear-gradient(90deg, #D4D3D5 0%, #F2F2F2 50%, #D4D3D5 100%);
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 9px;
    padding: 7px;
    box-shadow: 0 12px 30px rgba(0,0,0,.14);
}
.window-bar {
    display: flex; align-items: center; gap: 8px;
    height: 20px; padding: 0 4px 4px;
    font-family: var(--mono); font-size: 11px; color: rgba(0,0,0,.45);
}
.traffic-lights { display: inline-flex; gap: 5px; }
.traffic-lights i {
    width: 11px; height: 11px; border-radius: 50%;
    border: 1px solid rgba(0,0,0,.13);
}
.traffic-lights i:nth-child(1) { background: #FF5F57; }
.traffic-lights i:nth-child(2) { background: #FEBC2E; }
.traffic-lights i:nth-child(3) { background: #28C840; }
.window-title { margin-inline: auto; }
.window-expand .lucide { width: 12px; height: 12px; color: rgba(0,0,0,.45); }
.window-media {
    position: relative; display: block;
    border-radius: 5px; overflow: hidden;
    background: #ccc;
}
.window-media img { width: 100%; height: 100%; object-fit: cover; }

.play-disc {
    position: absolute; left: 50%; top: 50%;
    width: 48px; height: 48px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid #fff;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(8px);
    display: grid; place-items: center;
    color: #111;
}
.play-disc .lucide { width: 19px; height: 19px; fill: currentColor; }
.play-disc--pill { width: 64px; height: 50px; border-radius: var(--pill); }

/* props ----------------------------------------------------------- */
.props { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.props .prop { position: absolute; pointer-events: auto; }
.no-props .props { display: none; }

.prop--video { left: max(24px, calc(50% - 660px)); top: 128px; width: 291px; }
.prop--video .window-media { aspect-ratio: 264 / 154; }

.sticky-note {
    width: 267px;
    padding: 18px;
    background: var(--butter);
    border: 1px solid rgba(0,0,0,.35);
    box-shadow: 4px 6px 0 rgba(0,0,0,.18);
    transform: rotate(1.5deg);
}
.prop--note { right: max(24px, calc(50% - 627px)); top: 138px; }
.note-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #665B21; margin-bottom: 12px; }
.note-message { font-size: 19px; font-weight: 500; line-height: 1.25; color: #2B2716; }

.chat {
    width: 304px;
    padding: 13px;
    background: #F8F8F8;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.prop--chat { right: max(24px, calc(50% - 665px)); top: 605px; }
.chat-prompt { font-size: 15px; color: #555; margin-bottom: 10px; }
.chat-reply {
    display: inline-block;
    padding: 10px 13px;
    border-radius: var(--pill);
    border: 1px solid #4256A8;
    background: linear-gradient(180deg, #DCEBFF 0%, #9CC6FF 55%, #BBA7FF 100%);
    font-size: 15px; font-weight: 500;
}

.file-stack { width: 340px; display: flex; flex-direction: column; gap: 8px; }
.prop--files { left: max(24px, calc(50% - 638px)); top: 665px; }
.file a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.33);
    border-radius: var(--radius);
    box-shadow: 0 3px 6px rgba(0,0,0,.09);
    font-size: 15px; font-weight: 500;
    transition: transform .15s ease;
}
.file a:hover { transform: translateX(4px); }
.swatch { width: 42px; height: 9px; border-radius: 2px; background: var(--c); }

.prop--emoticon { right: max(24px, calc(50% - 605px)); top: 379px; font-size: 24px; }
.prop--code { left: max(24px, calc(50% - 621px)); top: 470px; font-family: var(--mono); font-size: 18px; color: var(--body); }

.prop--star { right: max(24px, calc(50% - 594px)); top: 68px; width: 126px; }
.prop--fuzzy { left: max(0px, calc(50% - 693px)); top: 514px; width: 136px; }
.prop--knot { left: calc(50% + 210px); top: 673px; width: 157px; }

.y2k { pointer-events: none; user-select: none; }

/* hero links ------------------------------------------------------ */
.hero-links {
    position: relative; z-index: 2;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end;
    gap: 24px;
    margin-top: 40px;
}
@media (min-width: 1101px) {
    .hero { min-height: 900px; }
    .hero-links { position: absolute; inset: 0; margin: 0; display: block; pointer-events: none; }
    .hero-links > * { position: absolute; pointer-events: auto; }
    .pathway-card { left: calc(50% - 238px); top: 707px; }
    .commons-folder { right: max(24px, calc(50% - 665px)); top: 810px; }
}
.pathway-card {
    display: flex; align-items: center; gap: 16px;
    width: 473px; max-width: 100%;
    padding: 12px 16px;
    background: #161616; color: #fff;
    border: 1px solid #000;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
    transition: transform .15s ease;
}
.pathway-card:hover { transform: translateY(-2px); }
.pathway-copy { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pathway-text { font-size: 15px; font-weight: 500; }
.pathway-card .lucide { width: 20px; height: 20px; }

.commons-folder {
    display: flex; align-items: center; gap: 10px;
    width: 277px; max-width: 100%;
    padding: 11px 14px;
    background: var(--blue);
    border: 1px solid #142D57;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(20,45,87,.18);
    transition: transform .15s ease;
}
.commons-folder:hover { transform: translateY(-2px); }
.commons-folder .lucide { width: 21px; height: 21px; }
.commons-folder-copy { display: flex; flex-direction: column; gap: 2px; }
.commons-folder-desc { font-size: 14px; font-weight: 600; }

@media (max-width: 1320px) {
    .prop--note { right: 24px; }
    .prop--chat { right: 24px; }
    .prop--star { right: 40px; }
    .prop--emoticon { right: 40px; }
    .prop--fuzzy { left: 0; }
    .prop--knot { left: auto; right: 24px; top: 720px; }
    .prop--files { left: 24px; }
    .prop--video { left: 24px; }
}
@media (max-width: 1100px) {
    .hero { min-height: 0; padding-top: 110px; }
    .props { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 980px; margin: 56px auto 0; }
    .props .prop { position: static; width: auto; }
    .prop--emoticon, .prop--code, .prop--star, .prop--fuzzy, .prop--knot { display: none; }
    .sticky-note { transform: none; }
    .hero-links { margin-top: 40px; }
}
@media (max-width: 640px) {
    .hero { padding-top: 80px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   6. Sections (shared)
   -------------------------------------------------------------------------- */
.section { position: relative; padding: clamp(56px, 6vw, 92px) 0; }
.section-head { position: relative; display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .index { margin-bottom: 8px; }
.section-head--split {
    flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px;
}
.section-head--split > div { display: flex; flex-direction: column; gap: 22px; }
.section-head--split .section-intro { max-width: 500px; padding-bottom: 8px; }
.section-foot { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 56px); }
.section-foot--end { justify-content: flex-end; }

@media (max-width: 900px) {
    .section-head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* --------------------------------------------------------------------------
   7. 01 / Past work
   -------------------------------------------------------------------------- */
.section--work { background: var(--cobalt); color: #fff; }
.section--work .index { color: #fff; }
.section--work .section-intro { color: #EAF4FF; }

.work-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}
.work-grid > :nth-child(2) { margin-top: 0; }
.work-grid--archive { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.work-card {
    display: flex; flex-direction: column;
    background: #F6F3EE; color: #111;
    border: 1px solid #07172D;
    border-radius: var(--radius);
    box-shadow: var(--hard-shadow);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.work-card:hover { transform: translate(-2px, -2px); box-shadow: 12px 14px 0 #07172D; }
.work-card-media { position: relative; display: block; aspect-ratio: 19 / 10; background: #cfd6de; overflow: hidden; }
.work-card-media img { width: 100%; height: 100%; object-fit: cover; }
.work-card-media-empty { position: absolute; inset: 0; background: linear-gradient(135deg, #D4D3D5, #F2F2F2); }
.work-card-body { display: flex; flex-direction: column; gap: 12px; padding: 20px; flex: 1; }
.work-card[data-accent="1"] .work-card-body, .work-card[data-accent="4"] .work-card-body { background: var(--salmon); }
.work-card[data-accent="2"] .work-card-body, .work-card[data-accent="5"] .work-card-body { background: var(--lime); }
.work-card[data-accent="3"] .work-card-body, .work-card[data-accent="6"] .work-card-body { background: #C8B4FF; }
.work-card-title { font-size: clamp(22px, 1.75vw, 25px); font-weight: 650; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.work-grid > :first-child .work-card-title { font-size: clamp(24px, 2.1vw, 30px); }
.work-card-link {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto; padding-top: 24px;
    font-size: 14px; font-weight: 600;
}
.work-card-link .lucide { width: 18px; height: 18px; }

@media (max-width: 1000px) {
    .work-grid { grid-template-columns: 1fr 1fr; }
    .work-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .work-grid { grid-template-columns: 1fr; gap: 24px; }
    .work-card { box-shadow: 6px 8px 0 #07172D; }
}

/* --------------------------------------------------------------------------
   8. 02 / Capabilities
   -------------------------------------------------------------------------- */
.section--capabilities .section-head { gap: 18px; }
.y2k--blue { position: absolute; right: 0; top: -40px; width: clamp(140px, 15vw, 219px); }

.cap-grid {
    counter-reset: cap;
    border: var(--line);
    background: var(--paper);
}
.cap-row {
    display: grid;
    grid-template-columns: 104px 355px 1fr 363px;
    align-items: center;
    min-height: 130px;
    border-top: var(--line);
}
.cap-row:first-child { border-top: 0; }
.cap-row:nth-child(even) { background: #fff; }
.cap-icon {
    align-self: stretch;
    display: grid; place-items: center;
    background: var(--c);
    border-right: var(--line);
}
.cap-icon .lucide { width: 30px; height: 30px; }
.cap-title {
    padding: 24px;
    border-right: var(--line);
    align-self: stretch; display: flex; align-items: center;
    font-size: 23px; font-weight: 650; line-height: 1.1; letter-spacing: -0.025em;
}
.cap-desc {
    padding: 24px;
    border-right: var(--line);
    align-self: stretch; display: flex; align-items: center;
    font-size: 15px; line-height: 1.4; color: #454541;
}
.cap-outcome { padding: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }

@media (max-width: 1100px) {
    .cap-row { grid-template-columns: 80px 1fr 1fr; }
    .cap-outcome { grid-column: 2 / -1; padding-top: 0; }
    .cap-desc { border-right: 0; }
}
@media (max-width: 720px) {
    .cap-row { grid-template-columns: 64px 1fr; }
    .cap-title { border-right: 0; padding: 20px 20px 4px; font-size: 20px; }
    .cap-desc { grid-column: 2; padding: 0 20px 8px; }
    .cap-outcome { grid-column: 2; padding: 0 20px 20px; }
    .cap-icon { grid-row: 1 / span 3; }
}

/* --------------------------------------------------------------------------
   9. 03 / How we work
   -------------------------------------------------------------------------- */
.section--process { background: var(--dark); color: #fff; }
.section--process .section-intro { color: #F2F2F2; }

.loop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(255,255,255,.33);
}
.step {
    display: flex; flex-direction: column;
    min-height: 330px;
    padding: 24px;
    border-left: 1px solid rgba(255,255,255,.33);
}
.step:first-child { border-left: 0; }
.step:nth-child(odd) { background: #1D1D1D; }
.step-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.step-num { font-family: var(--mono); font-size: 12px; font-weight: 700; color: #D7D7D7; }
.step-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--c); color: #111;
    display: grid; place-items: center;
}
.step-icon .lucide { width: 22px; height: 22px; }
.step-title { margin-top: 90px; font-size: 24px; font-weight: 650; line-height: 1.12; letter-spacing: -0.03em; }
.step-desc { margin-top: 12px; font-size: 15px; line-height: 1.45; color: #CECECE; }

@media (max-width: 1000px) {
    .loop { grid-template-columns: 1fr 1fr; }
    .step:nth-child(3) { border-left: 0; }
    .step:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.33); }
    .step { min-height: 0; }
    .step-title { margin-top: 40px; }
}
@media (max-width: 560px) {
    .loop { grid-template-columns: 1fr; }
    .step { border-left: 0; }
    .step:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,.33); }
}

/* --------------------------------------------------------------------------
   10. 04 / For talent
   -------------------------------------------------------------------------- */
.section--talent { background: var(--lavender); color: var(--plum); }
.section--talent .index { color: #2B155A; }
.section--talent .section-intro { color: #3E2A62; }

.talent-grid {
    display: grid;
    grid-template-columns: 483px 357px 1fr;
    grid-template-areas:
        "window thrive path"
        "cta cta path";
    gap: 40px;
    align-items: start;
}

.window--talent { grid-area: window; border-color: var(--plum); box-shadow: 10px 13px 0 var(--plum); border-radius: 11px; padding: 10px 8px 8px; }
.window--talent .window-media { aspect-ratio: 454 / 330; border-radius: 6px; }
.window--talent .window-title { color: #4A366D; }
.media-caption {
    position: absolute; left: 12px; bottom: 12px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 11px;
    border-radius: var(--pill);
    background: rgba(17,17,17,.8); color: #fff;
    font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

.paper-card {
    background: var(--paper);
    border: 1px solid var(--plum);
    box-shadow: 8px 10px 0 var(--plum);
}
.thrive { grid-area: thrive; padding: 25px; display: flex; flex-direction: column; gap: 18px; }
.thrive-heading { font-size: 31px; font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.thrive-list { display: flex; flex-direction: column; gap: 18px; }
.thrive-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.35; }

.path {
    grid-area: path;
    background: var(--plum); color: #fff;
    border: 1px solid var(--plum);
    box-shadow: 9px 11px 0 var(--orange);
    scroll-margin-top: 80px;
}
.path-header { padding: 22px; background: var(--orange); color: var(--plum); display: flex; flex-direction: column; gap: 6px; }
.path-header .eyebrow { color: var(--plum); }
.path-heading { font-size: 28px; font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.path-steps li {
    display: flex; gap: 14px;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,.22);
}
.path-num { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--lime); padding-top: 4px; }
.path-steps h4 { font-size: 17px; font-weight: 650; margin-bottom: 5px; }
.path-steps p { font-size: 14px; line-height: 1.35; color: #E5DDF1; }

.talent-cta {
    grid-area: cta;
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    min-height: 155px;
    padding: 28px;
    background: var(--lime);
    border: 1px solid var(--plum);
    border-radius: var(--radius);
}
.talent-cta-heading { font-size: 24px; font-weight: 650; letter-spacing: -0.02em; }
.talent-cta-desc { font-size: 15px; color: #493762; margin-top: 5px; }
.talent-cta .btn { border-color: var(--plum); color: var(--plum); }
.y2k--chrome-knot { position: absolute; right: 22%; top: -140px; width: 189px; }

@media (max-width: 1240px) {
    .talent-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "window thrive"
            "path path"
            "cta cta";
    }
    .y2k--chrome-knot { display: none; }
}
@media (max-width: 760px) {
    .talent-grid { grid-template-columns: 1fr; grid-template-areas: "window" "thrive" "path" "cta"; gap: 32px; }
    .talent-cta { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   11. 05 / Solidarity commons
   -------------------------------------------------------------------------- */
.section--commons { padding: 0; }
.commons-layout { display: grid; grid-template-columns: 510px 1fr; min-height: 820px; }
.commons-panel {
    position: relative;
    padding: 48px var(--gutter) 60px;
    background: var(--lime);
    border-right: var(--line);
    color: #152900;
    display: flex; flex-direction: column; gap: 28px;
    overflow: hidden;
}
.commons-panel .index { color: #1A2E00; }
.commons-panel .display { max-width: 9ch; font-size: clamp(38px, 4.2vw, 61px); }
.commons-panel .section-intro { color: #304611; }
.y2k--folder { margin-top: auto; align-self: flex-start; width: clamp(180px, 18vw, 258px); margin-left: 12%; }

.commons-list { display: flex; flex-direction: column; background: var(--paper); }
.resource {
    display: grid;
    grid-template-columns: 118px 1fr 80px;
    min-height: 180px;
    border-bottom: var(--line);
}
.resource-icon { display: grid; place-items: center; border-right: var(--line); }
.resource-icon .lucide { width: 36px; height: 36px; }
.resource-icon img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.resource[data-accent="1"] .resource-icon, .resource[data-accent="5"] .resource-icon { background: var(--salmon); }
.resource[data-accent="2"] .resource-icon, .resource[data-accent="6"] .resource-icon { background: var(--blue); }
.resource[data-accent="3"] .resource-icon, .resource[data-accent="7"] .resource-icon { background: var(--lilac); }
.resource[data-accent="4"] .resource-icon, .resource[data-accent="8"] .resource-icon { background: var(--butter); }
.resource-copy { display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 26px; }
.resource-copy .eyebrow { font-size: 11px; color: #4B4B47; }
.resource-title { font-size: clamp(20px, 1.7vw, 24px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.15; }
.resource-desc { font-size: 15px; line-height: 1.4; color: #4A4A46; }
.resource-action { display: grid; place-items: center; border-left: var(--line); transition: background .15s ease; }
.resource-action .lucide { width: 24px; height: 24px; }
.resource-action:hover { background: var(--lime); }

.commons-footer {
    margin-top: auto;
    min-height: 100px;
    padding: 20px 28px;
    background: #111; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    font-size: 17px; font-weight: 500;
}
.commons-footer .btn { border-color: var(--lime); }
.commons-footer .pagination { width: 100%; }

@media (max-width: 1000px) {
    .commons-layout { grid-template-columns: 1fr; min-height: 0; }
    .commons-panel { border-right: 0; border-bottom: var(--line); }
    .y2k--folder { position: absolute; right: 0; bottom: -10px; margin: 0; width: 180px; opacity: .9; }
}
@media (max-width: 640px) {
    .resource { grid-template-columns: 64px 1fr 56px; min-height: 0; }
    .resource-copy { padding: 18px 16px; }
    .resource-icon .lucide { width: 26px; height: 26px; }
}

/* --------------------------------------------------------------------------
   12. 06 / The cooperative
   -------------------------------------------------------------------------- */
.section--about { background: var(--salmon); color: #351006; }
.section--about .index { color: #461507; }
.about-grid { display: grid; grid-template-columns: 1fr 558px; gap: 80px; align-items: start; }
.about-copy { display: flex; flex-direction: column; gap: 28px; }
.about-copy .display { font-size: clamp(38px, 4.86vw, 70px); }
.about-body { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: #4B190C; max-width: 610px; }
.quote-strip {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px;
    background: var(--butter);
    border: 1px solid #351006;
    border-radius: var(--radius);
    font-size: 17px; font-weight: 650;
    max-width: 611px;
    margin-top: auto;
}
.quote-strip .star { font-size: 22px; }

.window--status {
    padding: 0; overflow: hidden;
    background: var(--paper);
    border: 1px solid #351006; border-radius: 8px;
    box-shadow: 12px 14px 0 #351006;
}
.window--status .window-bar {
    height: 55px; padding: 0 17px;
    background: linear-gradient(180deg, #fff 0%, #D8D8D8 50%, #F4F4F4 100%);
    border-bottom: 1px solid #351006;
    color: #5C342B;
}
.status-list li {
    position: relative;
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    min-height: 105px;
    padding: 20px 60px 20px 42px;
    border-top: 1px solid #351006;
    font-size: 22px; font-weight: 650; color: #351006;
}
.status-list li:first-child { border-top: 0; }
.status-list li:nth-child(even) { background: #fff; }
.status-list li::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 22px;
    background: var(--c); border-right: 1px solid #351006;
}
.status-list .eyebrow { color: #664238; font-size: 11px; }
.status-list .lucide { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 21px; height: 21px; }

@media (max-width: 1100px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .window--status { box-shadow: 8px 10px 0 #351006; }
}

/* --------------------------------------------------------------------------
   13. 07 / Contact
   -------------------------------------------------------------------------- */
.section--contact {
    min-height: 600px;
    background:
        radial-gradient(at 0% 0%,   #BCE5FF 0, transparent 55%),
        radial-gradient(at 50% 0%,  #6EB7FF 0, transparent 55%),
        radial-gradient(at 100% 0%, #A992FF 0, transparent 55%),
        radial-gradient(at 0% 50%,  #F5D6FF 0, transparent 55%),
        radial-gradient(at 50% 50%, #4F8FE8 0, transparent 60%),
        radial-gradient(at 100% 50%,#FF9B74 0, transparent 55%),
        radial-gradient(at 0% 100%, #FFF5D6 0, transparent 55%),
        radial-gradient(at 50% 100%,#A8D8FF 0, transparent 55%),
        radial-gradient(at 100% 100%,#C8FFB0 0, transparent 55%),
        #A8D8FF;
    color: var(--navy);
    overflow: hidden;
}
.section--contact .container { position: relative; }
.section--contact .index { color: var(--navy); }

.glass {
    position: relative; z-index: 1;
    max-width: 764px;
    margin: 24px auto 0;
    padding: 42px clamp(24px, 4vw, 55px);
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 19px;
    background: rgba(255,255,255,.79);
    border: 1px solid #fff;
    border-radius: 20px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 40px rgba(22,49,92,.25);
}
.glass .display { max-width: 12ch; font-size: clamp(36px, 4.3vw, 62px); }
.glass-body { max-width: 610px; font-size: 18px; line-height: 1.45; color: #344B6D; }
.glass-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.glass-note { font-family: var(--mono); font-size: 11px; color: #425877; margin-top: 8px; }

.y2k--pink-form { position: absolute; left: 4%; top: 100px; width: 203px; }
.y2k--star-lg { position: absolute; right: 4%; top: 40px; width: 208px; }

@media (max-width: 1100px) {
    .y2k--pink-form, .y2k--star-lg { display: none; }
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #111; color: #fff; }
.footer-main {
    display: grid; grid-template-columns: 390px 1fr;
    gap: 60px;
    padding-block: 38px 60px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-name { font-family: var(--wordmark); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.footer-brand-desc { font-size: 15px; line-height: 1.45; color: #ccc; }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col-heading { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-col-heading--orange { color: var(--salmon); }
.footer-col-heading--lilac { color: var(--lilac); }
.footer-col-heading--lime { color: var(--lime); }
.footer-col-heading--blue { color: var(--blue); }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: #E0E0E0; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); }
.footer-bottom-inner {
    min-height: 80px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding-block: 20px;
    font-family: var(--mono); font-size: 11px; color: #B8B8B8;
}
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: #C5C5C5; }
.footer-social a:hover { color: #fff; }

@media (max-width: 900px) {
    .footer-main { grid-template-columns: 1fr; gap: 40px; }
    .footer-cols { justify-content: flex-start; gap: 40px 60px; }
}

/* --------------------------------------------------------------------------
   15. Archives, notes & posts
   -------------------------------------------------------------------------- */
.section--archive { padding-top: clamp(48px, 6vw, 80px); }
.section--notes .display { color: var(--ink); }

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.note-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: var(--line);
    border-radius: var(--radius);
    box-shadow: 6px 8px 0 var(--ink);
    overflow: hidden;
    transition: transform .2s ease;
}
.note-card:hover { transform: translate(-2px, -2px); }
.note-card-media { aspect-ratio: 16 / 9; background: #D4D3D5; }
.note-card-media img { width: 100%; height: 100%; object-fit: cover; }
.note-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.note-card-title { font-size: 22px; font-weight: 650; line-height: 1.12; letter-spacing: -0.03em; }
.note-card-excerpt { font-size: 15px; line-height: 1.45; color: #4A4A46; }
.note-card-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 600; }
.note-card-link .lucide { width: 18px; height: 18px; }

.pagination {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    margin-top: clamp(32px, 4vw, 56px);
    font-family: var(--mono); font-size: 12px;
}
.section--commons .pagination { margin-top: 0; }

.author-head .author-id { display: flex; align-items: center; gap: 20px; }
.author-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: var(--line); }
.author-links { display: flex; gap: 16px; margin-top: 12px; font-family: var(--mono); font-size: 12px; }

/* posts ----------------------------------------------------------- */
.post-single { padding-block: clamp(48px, 6vw, 80px) clamp(56px, 6vw, 92px); }
.post-head { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; max-width: 980px; }
.post-title { max-width: 18ch; }
.post-excerpt { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--body); max-width: 640px; }
.post-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.post-author { color: var(--ink); font-weight: 700; }

.post-feature { max-width: 1200px; margin: 48px auto 0; }
.post-feature .window-media { border-radius: 5px; }
.post-feature-caption { padding: 10px 4px 2px; font-family: var(--mono); font-size: 11px; color: rgba(0,0,0,.5); text-align: center; }

.post-content {
    max-width: 720px;
    margin: 48px auto 0;
    padding-inline: var(--gutter);
    font-size: 18px;
    line-height: 1.6;
    color: #232220;
}
.post-content > * + * { margin-top: 1.4em; }
.post-content h2, .post-content h3, .post-content h4 { letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); }
.post-content h2 { font-size: 32px; font-weight: 600; margin-top: 2em; }
.post-content h3 { font-size: 24px; font-weight: 650; margin-top: 1.8em; }
.post-content h4 { font-size: 19px; font-weight: 650; }
.post-content a { text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: 3px; }
.post-content ul, .post-content ol { padding-left: 1.3em; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li + li { margin-top: .4em; }
.post-content blockquote {
    margin-inline: 0; padding: 16px 20px;
    background: var(--butter);
    border: var(--line); border-radius: var(--radius);
    font-weight: 500;
}
.post-content pre {
    padding: 18px 20px; overflow-x: auto;
    background: #151515; color: #F2F2F2;
    border-radius: 6px; font-size: 14px;
}
.post-content code { background: rgba(16,16,16,.06); padding: .1em .35em; border-radius: 3px; }
.post-content pre code { background: none; padding: 0; }
.post-content hr { border: 0; border-top: var(--line); margin-block: 2.5em; }
.post-content figure { margin: 2em 0; }
.post-content figcaption { margin-top: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: center; }
.post-content img { border-radius: 6px; }
.post-content .kg-width-wide { width: 100vw; max-width: 1200px; margin-inline: calc(50% - 50vw); }
@media (min-width: 1200px) { .post-content .kg-width-wide { margin-inline: calc(50% - 600px); } }
.post-content .kg-width-full { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.post-content .kg-width-full img { border-radius: 0; }
.post-content .kg-callout-card { border-radius: var(--radius); }
.post-content .kg-button-card .kg-btn { border-radius: var(--pill); font-weight: 600; }
.post-content .kg-embed-card iframe { max-width: 100%; }

.post-foot { max-width: 720px; margin-top: 64px; }
.post-foot-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    padding: 24px 28px;
    background: var(--lime);
    border: var(--line); border-radius: var(--radius);
}
.post-foot-text { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.post-comments { margin-top: 48px; }

.section--related { background: #fff; border-top: var(--line); }
.section--related .index { margin-bottom: 28px; }

/* error ------------------------------------------------------------ */
.section--error { padding-block: clamp(56px, 8vw, 120px); }
.window--error { max-width: 720px; margin-inline: auto; }
.error-body { padding: 40px clamp(20px, 4vw, 48px); background: var(--paper); border-radius: 5px; display: flex; flex-direction: column; gap: 20px; }

/* --------------------------------------------------------------------------
   16. Motion
   -------------------------------------------------------------------------- */
@keyframes drift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1.2deg); }
}
.y2k.is-drifting, .prop--star.is-drifting, .prop--fuzzy.is-drifting, .prop--knot.is-drifting {
    animation: drift 7s ease-in-out infinite;
    animation-delay: var(--drift-delay, 0s);
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .is-drifting { animation: none; }
    .btn, .work-card, .note-card, .file a, .pathway-card, .commons-folder { transition: none; }
}

/* --------------------------------------------------------------------------
   17. Ghost portal / members bits kept minimal
   -------------------------------------------------------------------------- */
.gh-content .kg-signup-card, .gh-content .kg-product-card { border-radius: 6px; }

/* --------------------------------------------------------------------------
   16. Homepage sections edited in Ghost (see partials/home/ + main.js)
   Sections backed by a page body are hidden until main.js has poured the
   editor content into the layout, so the default copy never flashes first.
   If the script never runs, they reveal themselves after a beat anyway.
   -------------------------------------------------------------------------- */
.home-body, [hidden] { display: none !important; }
html.js [data-home-hydrate]:not(.is-hydrated) {
    visibility: hidden;
    animation: home-reveal 0s 1.5s forwards;
}
@keyframes home-reveal { to { visibility: visible; } }
.home-section-note {
    margin-top: 40px;
    padding: 14px 18px;
    border: 1px dashed rgba(16,16,16,.35);
    border-radius: var(--radius);
    background: var(--butter);
    font-size: 14px;
    line-height: 1.4;
}
.home-section-note a { text-decoration: underline; }
