/* Cite · Paste-up marketing patterns, shared by the public pages. Each page
   picks different ones so no two pages repeat the same section shapes. */

/* Page hero, split: copy one side, a working demo the other. */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding-top: clamp(28px, 5vw, 72px); }
.hero-split .h1 { margin-top: 18px; }
.hero-split .lede { margin-top: 22px; }
.hero-split .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-split .note { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; max-width: 30em; color: var(--ink2); font-size: 14.5px; }
.hero-split .note b { color: var(--ink); }
.hero-split .note .motif { --ms: 34px; --n: 3; --mw: 1.2px; flex: none; margin-top: 2px; }
@media (max-width: 960px) { .hero-split { grid-template-columns: 1fr; } }

/* A collage stage: a demo sitting on a cluster of plates. */
.stage { position: relative; min-height: 520px; display: grid; place-items: center; }
.stage .art { position: absolute; box-shadow: 0 18px 34px -24px rgba(0,0,0,.55), inset 0 0 0 1px var(--art-ring); }
.stage > .card { position: relative; z-index: 2; }
@media (max-width: 600px) { .stage { min-height: 460px; } }

/* Colour-field band, full bleed. */
.band { position: relative; margin: 0 12px; border-radius: 10px; background: var(--fc, var(--sage)); color: var(--on-field); overflow: hidden; }
.band .in { padding: clamp(40px, 6vw, 96px) var(--gut); }
.band .h2, .band .h3 { color: #1D1F22; }
.band .lede, .band .body, .band p { color: rgba(29,31,34,.78); }
.band .kick { color: rgba(29,31,34,.68); }
.band .kick .no { background: #1D1F22; color: #FBF8F1; }
.band .btn { background: #1D1F22; color: #FBF8F1; }
.band .btn.quiet { background: transparent; color: #1D1F22; box-shadow: inset 0 0 0 1.5px #1D1F22; }
.band .link { color: #1D1F22; }
.band .card { color: var(--ink); }
/* A card on a band is its own sheet: its type follows the sheet, not the band. */
.band .card .h2, .band .card .h3 { color: var(--ink); }
.band .card p, .band .card .lede, .band .card .body { color: var(--ink2); }
.band .card .btn { background: var(--ink); color: var(--ground); }
.band .card .link { color: var(--ink); }
.band .card p, .band .card .body { color: var(--ink2); }
@media (max-width: 600px) { .band { margin: 0 8px; } }

/* Plate-numbered steps. */
.psteps { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); counter-reset: ps; }
.pstep { position: relative; display: flex; flex-direction: column; }
.pstep .demo { position: relative; aspect-ratio: 5 / 4; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: var(--fc, var(--sheet)); box-shadow: var(--shadow); }
.pstep .pno { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; }
.pstep .pno span { font-weight: 800; font-size: 13px; letter-spacing: .08em; color: var(--ink3); }
.pstep h3 { margin-top: 6px; }
.pstep p { margin-top: 8px; color: var(--ink2); max-width: 30em; }
@media (max-width: 900px) { .psteps { grid-template-columns: 1fr; } }

/* Specimen index: numbered rows with an art plate, a name and a why. */
.specimens { display: grid; gap: 0; }
.spec { display: grid; grid-template-columns: 64px 110px minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px 28px; align-items: center; padding: 20px 6px; border-radius: 8px; transition: background-color 200ms ease; }
.spec + .spec { box-shadow: 0 -1px 0 var(--rule); }
.spec .sno { font-weight: 800; font-size: 13px; color: var(--ink3); letter-spacing: .06em; }
.spec .art { width: 110px; }
.spec .nm { font-weight: 800; font-size: clamp(22px, 2.3vw, 34px); letter-spacing: -.035em; line-height: 1.02; }
.spec .nm small { display: block; margin-top: 6px; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.spec p { color: var(--ink2); }
@media (hover: hover) { .spec:hover { background: var(--sheet); } }
@media (max-width: 760px) { .spec { grid-template-columns: 84px minmax(0, 1fr); gap: 10px 16px; } .spec .sno { display: none; } .spec .art { width: 84px; grid-row: span 2; } .spec p { grid-column: 2; font-size: 14.5px; } }

/* Bento: asymmetric feature cards, each with a live demo strip. */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.bento > * { grid-column: span var(--span, 6); }
.feat { display: flex; flex-direction: column; overflow: hidden; }
.feat .demo { position: relative; min-height: 240px; display: grid; place-items: center; margin: 12px 12px 0; border-radius: 6px; background: var(--fc, var(--well)); overflow: hidden; }
.feat .txt { padding: 18px 22px 22px; }
.feat .kick { margin-bottom: 8px; }
.feat p { margin-top: 8px; color: var(--ink2); }
@media (max-width: 960px) { .bento > * { grid-column: 1 / -1 !important; } }

/* Little app pieces used inside demos. */
.pinsheet { width: min(340px, 100%); padding: 16px; border-radius: 10px; background: var(--sheet); box-shadow: var(--shadow-lift); }
.pinsheet .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pinsheet b { font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.pinsheet .meta { color: var(--ink3); font-size: 13px; }
.pinsheet .row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 99px; background: var(--well); color: var(--ink2); font-size: 13.5px; font-weight: 650; transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
@media (hover: hover) { .chip:hover { color: var(--ink); } .chip[aria-pressed="true"]:hover { color: var(--ground); } }
.chip .sdot { box-shadow: none; }
.ago { color: var(--ink3); font-size: 12.5px; font-weight: 600; }
.drain { position: relative; height: 6px; border-radius: 99px; background: var(--well); overflow: hidden; }
.drain i { position: absolute; inset: 0; transform-origin: left; background: var(--green); border-radius: inherit; }
.av { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--oat); color: #1D1F22; font-weight: 800; font-size: 12px; flex: none; }
.avs { display: inline-flex; } .avs .av { box-shadow: 0 0 0 2px var(--sheet); } .avs .av + .av { margin-left: -8px; }
.stars { color: var(--s-busy); letter-spacing: 1px; font-size: 13px; }

/* Ledger: a ruled table, like an exercise book. */
.ledger { width: 100%; border-collapse: collapse; font-size: 15px; }
.ledger th { text-align: left; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); padding: 0 12px 10px; }
.ledger td { padding: 14px 12px; box-shadow: inset 0 -1px 0 var(--rule); vertical-align: middle; }
.ledger td:first-child { font-weight: 700; }
.ledger td small { display: block; color: var(--ink3); font-size: 13px; font-weight: 500; }

/* Price tags, cut like tickets. */
.tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.ptag { position: relative; display: flex; flex-direction: column; padding: 26px 26px 24px; border-radius: 10px; background: var(--sheet); box-shadow: var(--shadow); -webkit-mask: radial-gradient(circle 11px at 0 118px, transparent 98%, #000) , radial-gradient(circle 11px at 100% 118px, transparent 98%, #000); -webkit-mask-composite: source-in; mask-composite: intersect; }
.ptag .what { font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.ptag .amt { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; height: 62px; }
.ptag .amt b { font-weight: 800; font-size: clamp(44px, 4.4vw, 62px); letter-spacing: -.05em; line-height: 1; }
.ptag .amt span { color: var(--ink3); font-weight: 600; font-size: 14px; }
.ptag .perf { margin: 18px -26px 18px; border-top: 2px dashed var(--rule2); }
.ptag h3 { font-size: 19px; }
.ptag ul { margin-top: 12px; display: grid; gap: 9px; }
.ptag li { list-style: none; display: flex; gap: 10px; color: var(--ink2); font-size: 14.5px; }
.ptag li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--green-ink); }
.ptag.feature { background: var(--fc, var(--mustard)); color: #1D1F22; }
.ptag.feature .what, .ptag.feature .amt span { color: rgba(29,31,34,.7); }
.ptag.feature li { color: rgba(29,31,34,.82); }
.ptag.feature li svg { color: #1D1F22; }
.ptag.feature .perf { border-color: rgba(29,31,34,.25); }
@media (max-width: 960px) { .tags { grid-template-columns: 1fr; } }

/* Closing call to action, over a strip of plates. */
.endcta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.endcta .wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.endcta .wall .art:nth-child(3n+1) { transform: translateY(18px); }
.endcta .stores { margin-top: 26px; }
@media (max-width: 860px) { .endcta { grid-template-columns: 1fr; } }

/* Founder plates */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.founder figure { position: relative; }
.founder img { width: 100%; height: auto; border-radius: 8px; filter: var(--art-filter); }
.founder .who { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; }
.founder .who b { font-weight: 800; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.03em; }
.founder .who span { font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }

/* Read-the-code: a little decoder used on home and campus */
.decode { display: flex; gap: 6px; }
.decode span { display: grid; place-items: center; min-width: 54px; height: 64px; padding: 0 10px; border-radius: 8px; background: var(--sheet); font-weight: 800; font-size: 32px; letter-spacing: -.03em; box-shadow: var(--shadow); }
.decode small { display: block; margin-top: 6px; text-align: center; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.band .card, .band .pinsheet { color: var(--ink); }
.band .card p, .band .pinsheet p, .band .card .body, .band .pinsheet .meta, .band .card .small, .band .pinsheet .small { color: var(--ink2); }
.band .pinsheet .small, .band .card .small { color: var(--ink3); }

/* Bulleted points with a green dot */
.points { display: grid; gap: 12px; margin-top: 24px; max-width: 36em; }
.points li { list-style: none; position: relative; padding-left: 24px; color: var(--ink2); }
.points li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.points b { color: var(--ink); font-weight: 750; }
.band .points li { color: rgba(29,31,34,.8); } .band .points b { color: #1D1F22; } .band .points li::before { background: #1D1F22; }
