/* 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; }

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; }
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; }
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; }
.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: 10.5px; 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 */
.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) {
  .site-header { position: static; }
  .site-nav { margin-inline: -11px; }
}

/* Page sections */
.section { padding-block: 56px; }
.section--tight { padding-block: 24px 56px; }
.page-head { padding-block: 64px 32px; }
.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: 60ch; margin: 0; }
.note { font-size: 15px; color: var(--ink-muted); max-width: 64ch; }
.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: 14px 0 20px; max-width: 13ch; text-wrap: balance; }
.hero__mark { justify-self: center; width: 360px; }
@media (max-width: 820px) {
  .hero { padding-block: 32px 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__mark { order: -1; justify-self: start; width: 240px; }
}

/* Cards */
.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 h3 { margin-top: 14px; }
.tile p { margin: 0; font-size: 16px; }
.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 img { width: 260px; display: block; }
.feature .actions { margin-top: 22px; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; padding: 24px; gap: 20px; } .feature img { width: 240px; } }

.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 .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: #dfe3ea; }
.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)); }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.principles .num { font-family: var(--font-display); font-size: 15px; letter-spacing: .12em; color: var(--shade); }
.principles .fl-card__title { font-size: 24px; }
.timeline { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 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: #dfe3ea; font-size: 16px; max-width: 28ch; }
.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 h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; max-width: 60ch; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 24px; } .cta-band img { width: 88px; } }
.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 h3 { margin-top: 0; }
.empty p { margin: 8px 0 0; }

/* 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(--blue); font-family: var(--font-display); font-size: 15px; }

/* 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); }

/* 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); box-shadow: var(--shadow-sticker-sm); }
.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__parent { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-muted); font-family: var(--font-display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.lock__parent img { display: block; width: auto; height: 12px; }

/* Footer */
.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: #d9dde4; }
.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 { padding-block: 16px 32px; border-top: 1px solid #f7f3ea33; font-size: 14px; color: #b9c0cc; }
.site-footer__fine a { color: var(--cream); }
@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(4, 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); box-shadow: 4px 4px 0 0 var(--navy); }
.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; } }
