/* Site layout on top of tokens.css and fl-components.css (both copied in at build).
   Cream ground, navy ink, heavy outlines, hard offset shadows, halftone dots. No gradients or soft shadows.
   The CSP allows no inline styles: every style lives in this file. */

@font-face { font-family: "Archivo Black"; src: url("/assets/fonts/archivo-black-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* Reading measure: Archivo is narrow, so 54ch holds about 70 characters a line */
:root { --measure: 54ch; }

html { background: var(--cream); scroll-padding-top: 96px; }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--font-sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-wrap: pretty; }
img { max-width: 100%; height: auto; }
a { color: var(--shade); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.05; margin: 0 0 20px; }
h3 { font-size: 22px; line-height: 1.12; margin: 10px 0 6px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--surface-sunken); border: 1px solid var(--line-soft); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--navy); color: var(--cream); padding: 8px 14px; border-radius: var(--radius-md); }

/* Parent-brand strip: Fountain signs small, in white on navy, and never leads */
.parent-bar { background: var(--navy); color: var(--cream); }
.parent-bar__inner { display: flex; align-items: center; min-height: 32px; }
.parent-bar__sig { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); font-family: var(--font-display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .9; }
.parent-bar__sig:hover { color: var(--cream); opacity: 1; }
.parent-bar__sig img { display: block; width: auto; height: 14px; }

/* Header (the same on every page; markup comes from siteHeader() in build.mjs) */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--cream); border-bottom: var(--stroke) solid var(--navy); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-block: 12px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.site-brand__icon { border-radius: 22%; display: block; }
.site-brand__word { display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 2px solid transparent; border-radius: var(--radius-pill); color: var(--navy); font-family: var(--font-display); font-size: 14px; letter-spacing: .01em; text-decoration: none; }
.site-nav a:hover { border-color: var(--navy); }
.site-nav a[aria-current="page"] { background: var(--navy); color: var(--cream); }
.site-lock-icon { flex: none; }
@media (max-width: 860px) {
  /* Phones: one row of links you swipe sideways, running edge to edge, fading out on the right */
  .site-header { position: static; }
  .site-header__inner { gap: 4px; padding-block: 10px 6px; }
  .site-brand { gap: 10px; }
  .site-brand__icon { width: 34px; height: 34px; }
  .site-brand__word { width: 136px; height: auto; }
  .site-nav { flex-wrap: nowrap; width: calc(100% + 2 * 16px); margin-inline: calc(-1 * 16px); padding: 2px 48px 6px 16px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: none; white-space: nowrap; }
}

/* Page sections */
.section { padding-block: 56px; }
.section--tight { padding-block: 24px 56px; }
.page-head { padding-block: 64px 32px; }
/* Breadcrumb above a page title */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; font-size: 15px; font-weight: 700; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.page-head h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: .95; margin: 14px 0 18px; max-width: 15ch; }
.lede { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.45; font-weight: 600; max-width: var(--measure); margin: 0; }
.note { font-size: 15px; color: var(--ink-muted); max-width: var(--measure); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }

/* Home hero */
.hero { position: relative; overflow: hidden; padding-block: 56px 72px; border-bottom: var(--stroke) solid var(--navy); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; pointer-events: none; background-image: radial-gradient(circle, var(--navy) 0 2px, transparent 2.4px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000); mask-image: linear-gradient(to bottom, transparent, #000); opacity: .16; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); line-height: .92; margin: 0 0 20px; max-width: 13ch; text-wrap: balance; }
.hero__mark { justify-self: center; width: 360px; }
.hero__mark img { display: block; width: 100%; height: auto; }
@media (max-width: 820px) {
  /* Phones and small tablets: a small mascot above the headline, so the headline makes the first screen */
  .hero { padding-block: 20px 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 12px; }
  .hero__mark { grid-row: 1; justify-self: start; width: 132px; }
  .hero h1 { font-size: clamp(36px, 9.6vw, 56px); max-width: none; }
  .hero .actions { margin-top: 22px; }
}
/* The full community name fits beside "See our work" from here up; narrower phones say "Join the Community" */
@media (max-width: 520px) { .hero__long { display: none; } }

/* Cards */
/* Stickers are earned (DESIGN.md): tags and cards that aren't links sit flat, so a sticker shadow always means "press me" */
.fl-tag { box-shadow: none; }
.fl-card:not(a) { box-shadow: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.tile { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); transition: transform .08s ease, box-shadow .08s ease; }
a.tile:hover { color: var(--navy); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 0 var(--navy); }
a.tile:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 0 var(--navy); }
.tile__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; }
.tile h2, .wcard__body h2, .empty h2 { font-size: 22px; line-height: 1.12; margin: 10px 0 6px; }
.tile :is(h2, h3) { margin-top: 14px; }
.tile p { margin: 0; max-width: var(--measure); font-size: 16px; }
/* Short card copy in narrow columns: balanced lines, since "pretty" can't keep the last word company there */
.tile p, .person-card__focus, .mark-card__body p, .timeline p, .dated__desc { text-wrap: balance; }
.tile__go { margin-top: auto; padding-top: 18px; font-family: var(--font-display); font-size: 14px; letter-spacing: .02em; }
.tile--soon { border-style: dashed; box-shadow: none; }
.tile__art { display: grid; place-items: center; margin: -8px -8px 6px; padding: 16px; border-radius: 8px; background: var(--navy); }
.site-lock { gap: 6px; }

/* Feature band (home) */
.feature { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 36px; border: var(--stroke) solid var(--navy); border-radius: var(--radius-lg); background: var(--navy); color: var(--cream); box-shadow: 6px 6px 0 0 var(--blue); }
.feature h2 { color: var(--cream); margin: 10px 0 8px; }
.feature .fl-eyebrow { color: var(--cream); }
.feature p { margin: 8px 0 0; max-width: 56ch; }
.feature .actions { margin-top: 22px; }
.feature .fl-btn { border-color: var(--cream); box-shadow: 3px 3px 0 0 var(--blue); }
.feature .fl-btn:hover { box-shadow: 4px 4px 0 0 var(--blue); }
.feature .fl-btn:active { box-shadow: none; }
/* The start date as a flat Sun block, so the hero mascot stays the page's one cartoon moment */
.feature__date { display: grid; justify-items: center; align-content: center; gap: 12px; box-sizing: border-box; width: 220px; aspect-ratio: 1; margin: 0; padding: 12px; border-radius: var(--radius-lg); background: var(--cpuc26-sun); color: var(--navy); font-family: var(--font-display); text-transform: uppercase; text-align: center; }
.feature__date-label { font-size: 13px; letter-spacing: .12em; }
.feature__date time { display: grid; justify-items: center; gap: 4px; line-height: .85; }
.feature__month { font-size: 30px; letter-spacing: .08em; }
.feature__day { font-size: 112px; letter-spacing: -.02em; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .feature__date { width: 164px; gap: 8px; }
  .feature__date-label { font-size: 11px; letter-spacing: .08em; }
  .feature__month { font-size: 22px; }
  .feature__day { font-size: 72px; }
}

.when { font-family: var(--font-display); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 14px 0 0; }

/* Section heads and home page sections */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 32px; }
.section-head h2 { margin: 10px 0 0; }
.section-head > h2 { margin: 0; }
.section-head .lede { font-weight: 400; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }
.section--sunken { background: var(--surface-sunken); border-block: var(--stroke) solid var(--navy); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h2, .section--navy .fl-eyebrow { color: var(--cream); }
.section--navy .lede { color: var(--cream); }
.tile__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--ink-muted); }
.tile__meta b { color: var(--navy); font-family: var(--font-display); font-weight: 400; }
.grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }

/* Work cards: a screenshot or animated mockup of the work on top */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; gap: 24px; } }
.wcard { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: var(--navy); transition: transform .08s ease, box-shadow .08s ease; }
a.wcard:hover { color: var(--navy); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 0 var(--navy); }
a.wcard:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 0 var(--navy); }
.wcard__shot { display: block; aspect-ratio: 16 / 10; border-bottom: var(--stroke) solid var(--navy); background: var(--surface-sunken); overflow: hidden; }
.wcard__shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }
.wcard__body :is(h2, h3) { margin: 12px 0 6px; }
.wcard__body p { margin: 0; font-size: 16px; }
@media (min-width: 761px) {
  .wcard--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; }
  .wcard--wide .wcard__shot { border-bottom: 0; border-right: var(--stroke) solid var(--navy); }
  .wcard--wide .wcard__body { justify-content: center; padding: 28px 32px; }
  .wcard--wide .wcard__body :is(h2, h3) { font-size: clamp(28px, 3vw, 36px); }
  .wcard--wide .wcard__body p { font-size: 18px; }
}
.work-more { display: flex; justify-content: center; margin-top: 36px; }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; }

/* Research: outside reading, each card a branded cover that links to the publisher */
.research-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.rcard__shot { display: block; aspect-ratio: 16 / 9; border-bottom: var(--stroke) solid var(--navy); background: var(--surface-sunken); overflow: hidden; }
.rcard__shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rcard__pub { font-size: 14px; font-weight: 700; color: var(--ink-muted); text-align: right; }
.rcard :is(h2, h3) { font-size: 21px; line-height: 1.15; }
.rcard .wcard__body p { font-size: 15px; }

/* Hiring Engineer Community */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__note { margin: 16px 0 0; max-width: var(--measure); font-size: 15px; color: var(--ink-muted); }
.countdown { margin-top: 24px; }
.countdown .fl-eyebrow { margin: 0 0 10px; }
.countdown__units { display: flex; flex-wrap: wrap; gap: 10px; }
.countdown__units p { display: grid; justify-items: center; min-width: 78px; margin: 0; padding: 10px 12px 8px; border: var(--stroke) solid var(--navy); border-radius: var(--radius-md); background: var(--surface-raised); }
.countdown__units b { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__units span { margin-top: 4px; font-size: 13px; color: var(--ink-muted); }
.who { display: grid; gap: 16px; }
.who__card h3 { margin: 0 0 6px; font-size: 22px; }
.who__card p { margin: 0; }
.apply { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .apply { grid-template-columns: 1fr; gap: 28px; } }
.apply__intro h2 { margin: 10px 0 12px; }
.apply__card { padding: 28px; }
@media (max-width: 560px) { .apply__card { padding: 20px; } }
.apply__form { display: grid; gap: 20px; }
.apply__form .fl-btn { justify-self: start; }
.choices legend i { font-style: normal; font-weight: 400; color: var(--ink-muted); }
.hosts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; }
.hosts li { display: flex; align-items: center; gap: 14px; }
.hosts img { width: 64px; height: 64px; border-radius: 50%; border: var(--stroke) solid var(--navy); object-fit: cover; }
.hosts b { display: block; font-size: 17px; }
.hosts span { font-size: 15px; color: var(--ink-muted); }
.faq-wrap > * { max-width: 860px; }
.faq { display: grid; gap: 12px; margin-top: 20px; }
.faq details { padding: 16px 20px; border: var(--stroke) solid var(--navy); border-radius: var(--radius-md); background: var(--surface-raised); }
.faq summary { font-weight: 700; font-size: 18px; cursor: pointer; }
.faq p { margin: 10px 0 0; max-width: var(--measure); }
.agenda-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.agenda-list li { display: grid; gap: 2px; padding: 12px 16px; border: var(--stroke) solid var(--navy); border-radius: var(--radius-md); background: var(--surface-raised); }
.agenda-list b { font-family: var(--font-display); font-weight: 400; font-size: 15px; letter-spacing: .02em; }
.thanks { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; max-width: 900px; min-height: 50vh; }
.thanks img { width: 240px; height: auto; }
.thanks h1 { margin: 14px 0 12px; font-size: clamp(40px, 6vw, 64px); line-height: .95; }
@media (max-width: 700px) { .thanks { grid-template-columns: 1fr; gap: 20px; } .thanks img { width: 160px; } }
/* Home: what we share, as one sentence with two links */
.share { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 48px; align-items: baseline; }
.share h2 { margin: 0; }
.share__line { margin: 0; max-width: 40ch; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; font-weight: 600; }
.share__line a { font-weight: 700; }
.share .note { margin: 14px 0 0; }
@media (max-width: 820px) { .share { grid-template-columns: 1fr; } }
/* Home: events as a dated list, newest first */
.dated { list-style: none; margin: 0; padding: 0; border-top: var(--stroke) solid var(--navy); }
.dated li { border-bottom: 1px solid var(--line-soft); }
.dated li:last-child { border-bottom: var(--stroke) solid var(--navy); }
.dated a { display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 8px 32px; align-items: baseline; padding: 22px 0; color: var(--navy); text-decoration: none; }
.dated__when { font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.dated__what { display: grid; gap: 6px; }
.dated__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-family: var(--font-display); font-size: 24px; line-height: 1.1; }
.dated__desc { font-size: 16px; color: var(--ink-muted); }
.dated b { font-family: var(--font-display); font-weight: 400; font-size: 22px; transition: transform .08s ease; }
.dated a:hover .dated__title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.dated a:hover b { transform: translateX(4px); }
@media (max-width: 760px) { .dated a { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; } .dated__when { grid-column: 1 / -1; } }
.timeline { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; border-top: var(--stroke) solid var(--cream); }
.timeline li { position: relative; padding-top: 22px; }
.timeline li::before { content: ""; position: absolute; top: -11px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: var(--stroke) solid var(--cream); }
.timeline .yr { font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 44px); line-height: 1; color: var(--cream); }
.timeline p { margin: 10px 0 0; color: var(--ink-muted-on-navy); font-size: 16px; max-width: 28ch; }
@media (max-width: 900px) {
  /* The line runs down the left, with a dot beside each year */
  .timeline { grid-auto-flow: row; gap: 28px; margin-top: 40px; padding-left: 28px; border-top: 0; border-left: var(--stroke) solid var(--cream); }
  .timeline li { padding-top: 0; }
  .timeline li::before { top: 8px; left: -39px; }
  .timeline p { max-width: var(--measure); }
}
.cta-band { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 36px; }
.cta-band img { width: 120px; display: block; }
.cta-band--plain { grid-template-columns: minmax(0, 1fr) auto; }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; max-width: var(--measure); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 24px; } .cta-band img { width: 88px; } }

/* "Try it in Cue" cards ({{cue ...}}, cue-prompts.js). "Open Cue" also copies the prompt (assets/js/cue.js). */
.try-cue { margin-bottom: 56px; }
.try-cue__head { margin-bottom: 20px; }
.try-cue__head h2 { margin: 6px 0 8px; }
.try-cue__head p:last-child { margin: 0; max-width: var(--measure); }
.try-cue__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.cue-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; }
.cue-card__prompt { margin: 0; align-self: stretch; padding: 12px 14px; border: 2px dashed var(--navy); border-radius: 8px; background: var(--cream); font-size: 17px; font-weight: 700; line-height: 1.4; user-select: all; }
.cue-card__why { margin: 0 0 4px; font-size: 15px; color: var(--ink-muted); }
.cue-card__go { margin-top: auto; }
.cue-card__copied { min-height: 1.4em; font-size: 14px; font-weight: 600; }
.try-cue__new { margin: 18px 0 0; font-size: 15px; }
.feature__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* Utilities that replace inline styles */
.narrow { max-width: 640px; }
.mt-lg { margin-top: 36px; }
.mt-sm { margin-top: 14px; }
.mark-card__art .icon { width: 160px; }
.swatch__chip--navy { background: var(--navy); }
.swatch__chip--blue { background: var(--blue); }
.swatch__chip--shade { background: var(--shade); }
.swatch__chip--cream { background: var(--cream); }
.swatch__chip--mesa { background: var(--cpuc26-mesa); }
.swatch__chip--sun { background: var(--cpuc26-sun); }
.swatch__chip--saguaro { background: var(--cpuc26-saguaro); }

/* Empty state */
.empty { max-width: 720px; padding: 32px; border: var(--stroke) dashed var(--navy); border-radius: var(--radius-md); background: var(--surface-raised); }
.empty :is(h2, h3) { margin-top: 0; }
.empty p { margin: 8px 0 0; max-width: var(--measure); }

/* Numbered steps */
.steps { counter-reset: step; list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; min-height: 36px; padding: 4px 0 0 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border: var(--stroke) solid var(--navy); border-radius: 50%; background: var(--shade); color: var(--cream); font-family: var(--font-display); font-size: 15px; }

/* Skills page: the public skills we like, linking out to GitHub */
.tile .note { margin-top: 10px; }
.pick__src { font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.tile .pick__by { margin: 2px 0 10px; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.pick .downloads { margin-top: auto; padding-top: 16px; }
.tile .pick__cmd { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-soft); font-size: 14px; line-height: 1.6; }
.pick__cmd code { font-size: 12.5px; }

/* Download pills */
.downloads { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dl { display: inline-flex; align-items: center; padding: 6px 12px; border: 2px solid var(--navy); border-radius: var(--radius-pill); background: var(--cream); color: var(--navy); font-family: var(--font-display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.dl:hover { background: var(--navy); color: var(--cream); }
/* Back from the download form: the download is starting (skills.js) */
.unlocked { margin: 0 0 24px; padding: 14px 18px; max-width: calc(var(--measure) + 36px); }

/* Brand page */
.mark-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.mark-card__art { display: grid; place-items: center; min-height: 300px; padding: 24px; border-bottom: var(--stroke) solid var(--navy); background: var(--cream); }
.mark-card__art--dark { background: var(--navy); }
.mark-card__art--blue { background: var(--blue); }
.mark-card__art img { width: 240px; }
.mark-card__art .wide { width: 100%; max-width: 280px; }
.mark-card__body { padding: 16px 20px 20px; }
.mark-card__body h3 { margin: 0; font-size: 19px; }
.mark-card__body p { margin: 4px 0 0; font-size: 15px; color: var(--ink-muted); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.swatch { overflow: hidden; border: var(--stroke) solid var(--navy); border-radius: var(--radius-md); background: var(--surface-raised); }
.swatch__chip { height: 96px; border-bottom: var(--stroke) solid var(--navy); }
.swatch__meta { padding: 12px 14px; font-size: 14px; line-height: 1.4; }
.swatch__meta b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 17px; }
.type-sample { padding: 28px; }
.type-sample__display { font-family: var(--font-display); font-size: clamp(40px, 7vw, 72px); line-height: .95; margin: 0; }
.type-sample__body { font-size: 18px; margin: 16px 0 0; }
.rules { display: grid; gap: 10px; margin: 0; padding-left: 22px; max-width: 72ch; }


/* Password page */
.lock { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 40px 16px; background-color: var(--cream); background-image: radial-gradient(circle, #0b1b331f 0 2px, transparent 2.4px); background-size: 16px 16px; }
.lock__home img { display: block; border-radius: 22%; }
.lock__card { width: min(460px, calc(100vw - 32px)); }
.lock__title { font-size: clamp(30px, 6vw, 40px); line-height: 1; margin: 16px 0 8px; }
.lock__lede { margin: 0; }
.lock__msg { margin: 14px 0 0; padding: 10px 12px; border: 2px solid var(--navy); border-radius: 8px; background: var(--cpuc26-sun); font-weight: 600; }
.lock__form { display: grid; gap: 10px; margin-top: 20px; }
.lock__form input { min-width: 0; padding: 12px 14px; border: var(--stroke) solid var(--navy); border-radius: var(--radius-md); background: var(--cream); color: var(--navy); font: inherit; font-size: 18px; }
.lock__form input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.lock__help { margin: 0; font-size: 14px; color: var(--ink-muted); }
.lock__ask { width: min(460px, calc(100vw - 32px)); }
.lock__ask summary { width: max-content; max-width: 100%; margin-inline: auto; padding: 6px 4px; color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lock__ask[open] { padding: 18px 20px 20px; border: var(--stroke) solid var(--navy); border-radius: var(--radius-md); background: var(--surface-raised); }
.lock__ask[open] summary { margin: 0 0 4px; text-decoration: none; }
.lock__form--ask { gap: 14px; }
.lock__fine { margin: 0; font-size: 13px; color: var(--ink-muted); }
.lock__fine a { color: inherit; }
/* The free download form (a details gate): one checkbox for new-skill emails */
.lock__check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.lock__form .lock__check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; padding: 0; accent-color: var(--navy); }
.lock__sent { width: min(460px, calc(100vw - 32px)); margin: 0; padding: 14px 18px; }
.lock__parent { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-muted); font-family: var(--font-display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.lock__parent img { display: block; width: auto; height: 12px; }

/* Footer */
/* The footer's margin is the gap after the last plain section, so it doesn't stack on the section's own padding */
main > section.section:last-of-type:not(.section--sunken, .section--navy) { padding-bottom: 0; }
.site-footer { margin-top: 80px; background: var(--navy); color: var(--cream); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-block: 44px 28px; }
.site-footer__inner img { display: block; }
.site-footer p { margin: 12px 0 0; max-width: 40ch; color: var(--ink-muted-on-navy); }
.site-footer__sig { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-decoration: none; }
.site-footer .fl-eyebrow { color: var(--cream); font-size: 11px; }
.site-footer__fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 16px 32px; border-top: 1px solid #f7f3ea33; font-size: 14px; color: var(--ink-muted-on-navy); }
.site-footer__fine a { color: var(--cream); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 600px) { .site-footer__sig { align-items: flex-start; } }

/* Team: people cards with Slack profile photos (self-hosted in /assets/team/) */
.people { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.person-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.person-card__photo { width: 112px; height: 112px; margin-bottom: 10px; border-radius: 50%; border: var(--stroke) solid var(--navy); object-fit: cover; background: var(--surface-sunken); }
.person-card h3 { margin: 0; font-size: 22px; line-height: 1.1; }
.person-card__role { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink-muted); }
.person-card__focus { margin: 8px 0 0; font-size: 15px; line-height: 1.45; }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .people { grid-template-columns: 1fr; } }
.person-card--lead { display: grid; grid-template-columns: auto 1fr; gap: 12px 32px; align-items: center; max-width: 860px; padding: 28px 32px; }
.person-card--lead .person-card__photo { width: 160px; height: 160px; margin: 0; }
.person-card--lead h2 { margin: 12px 0 4px; font-size: clamp(30px, 4vw, 40px); line-height: 1; }
.person-card--lead .person-card__role { font-size: 16px; }
.person-card--lead .person-card__focus { font-size: 17px; max-width: 52ch; }
@media (max-width: 600px) { .person-card--lead { grid-template-columns: 1fr; padding: 24px; } .person-card--lead .person-card__photo { width: 120px; height: 120px; } }
.team-sub { margin: 56px 0 20px; }

/* "Maybe you?": the last card on the Team page, which opens the collaborate dialog */
.people__you { display: flex; }
.person-card--you { flex: 1; border-style: dashed; background: var(--surface-sunken); color: var(--navy); text-decoration: none; box-shadow: none; transition: transform .08s ease, box-shadow .08s ease, background .08s ease; }
.person-card--you:hover { color: var(--navy); background: var(--surface-raised); border-style: solid; transform: translate(-2px, -2px); box-shadow: 8px 8px 0 0 var(--navy); }
.person-card--you:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 0 var(--navy); }
.person-card--you .person-card__photo { background: var(--blue); }
.person-card__go { margin-top: auto; padding-top: 14px; font-family: var(--font-display); font-size: 14px; letter-spacing: .02em; }
.person-card__go b { font-weight: 400; }

/* Form fields: the collaborate dialog and the password request on lock pages */
.field { display: grid; gap: 6px; min-width: 0; font-weight: 700; font-size: 15px; }
.field i { font-style: normal; font-weight: 400; color: var(--ink-muted); }
.field input, .field textarea { width: 100%; min-width: 0; padding: 11px 13px; border: var(--stroke) solid var(--navy); border-radius: var(--radius-md); background: var(--cream); color: var(--navy); font: inherit; font-weight: 400; font-size: 17px; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 8px 14px; border: 2px solid var(--navy); border-radius: var(--radius-pill); background: var(--cream); font-size: 15px; font-weight: 600; cursor: pointer; }
.choice input:checked + span { background: var(--navy); color: var(--cream); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Dialog */
.modal { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: var(--stroke) solid var(--navy); border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--ink); box-shadow: 8px 8px 0 0 var(--navy); }
.modal::backdrop { background: #0b1b33b3; }
.modal__body { padding: 26px 28px 24px; }
.modal__head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 20px; }
.modal__head img { display: block; border: var(--stroke) solid var(--navy); border-radius: 50%; }
.modal__head h2 { margin: 4px 0 0; font-size: 30px; line-height: 1; }
.modal__close { align-self: start; width: 40px; height: 40px; border: var(--stroke) solid var(--navy); border-radius: 50%; background: var(--cream); color: var(--navy); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.modal__close:hover { background: var(--navy); color: var(--cream); }
.modal__form { display: grid; gap: 16px; }
.modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .modal__row { grid-template-columns: 1fr; } .modal__body { padding: 20px; } }
.modal__msg { margin: 0; padding: 10px 12px; border: 2px solid var(--navy); border-radius: 8px; background: var(--cpuc26-sun); font-weight: 600; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.modal__fine { margin: 0; max-width: var(--measure); font-size: 14px; color: var(--ink-muted); }
.modal__done { display: grid; justify-items: start; gap: 6px; padding: 8px 0 4px; }
.modal__done h3 { margin: 0; font-size: 26px; }
.modal__done h3:focus { outline: none; }
.modal__done p { margin: 0 0 14px; }
