@font-face { font-family: Anton; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/anton-latin.woff2') format('woff2'); }
@font-face { font-family: Archivo; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/archivo-latin.woff2') format('woff2'); }
:root {
  --paper: #f7f0d8;
  --ink: #101616;
  --body: #41443a;
  --red: #d32e1e;
  --blue: #0751c9;
  --green: #126c46;
  --yellow: #ffd42b;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 106px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Archivo, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: 10; pointer-events: none; opacity: .045; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='130'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' d='M0 0h130v130H0z'/%3E%3C/svg%3E"); }
::selection { background: var(--yellow); color: var(--ink); }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100% - 80px, 1320px); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 20; padding: 14px; background: var(--yellow); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 12; background: var(--paper); border-bottom: 2px solid var(--ink); }
.header-inner { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
/* The lightweight header export preserves the full color lettering crop. */
.brand { display: inline-flex; align-items: center; flex: none; width: 250px; min-height: 44px; }
.brand-art { position: relative; display: block; width: 100%; aspect-ratio: 2029 / 384; overflow: hidden; }
.brand-art img { display: block; width: 100%; height: auto; }
/* Seven slices of the same image, one per letter, fade in from C to N. */
.brand-letters { display: none; }
nav { display: flex; gap: 32px; align-items: center; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: none; }
nav a:hover { text-decoration: underline; }
nav a:last-child { background: var(--red); color: #fff; padding-inline: 26px; }
h1, h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: -.025em; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--green); border-bottom: 3px solid var(--ink); min-height: 670px; }
.hero-art { position: absolute; z-index: -2; inset: 0 0 0 43%; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0 auto 0 0; width: 55%; background: var(--paper); clip-path: polygon(0 0, 89% 0, 100% 14%, 91% 29%, 96% 52%, 90% 75%, 73% 100%, 0 100%); }
.hero::after { content: ''; position: absolute; z-index: -1; width: 22%; height: 36px; left: -2%; bottom: 25px; transform: rotate(-35deg); background: linear-gradient(90deg,var(--red) 0 31%,var(--yellow) 31% 63%,var(--blue) 63%); }
.hero-copy { width: 46%; max-width: 670px; margin-left: max(40px, calc((100vw - 1320px) / 2)); padding: 38px 42px 54px 0; }
h1 { font-size: clamp(44px, 4.7vw, 70px); line-height: 1.02; margin: 0; max-width: 17ch; }
h1 span { display: block; }
h1 span:last-child { color: var(--red); }
.hero-copy p { max-width: 49ch; color: var(--ink); font-size: 15px; line-height: 1.65; margin: 24px 0; }
.button { display: inline-block; background: var(--ink); color: var(--paper); box-shadow: 7px 7px 0 var(--red); padding: 17px 20px; font-size: 14px; line-height: 1.4; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--red); box-shadow: 7px 7px 0 var(--ink); }
h2 { font-size: clamp(38px, 4vw, 60px); line-height: 1.05; margin: 0; }
.products { position: relative; padding-top: 30px; padding-bottom: 58px; }
.anchor-alias { position: absolute; top: 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.section-heading p { max-width: 43ch; margin: 0; color: var(--body); font-size: 14px; line-height: 1.65; }
/* Live Tiles: size shows how important a product is. The grid has three bands at every width: a
   large square with a wide product's tile and a small product's shorter tile stacked beside it, on
   alternating sides. Live tiles (--live: 1) peek between picture and text and show the picture
   while hovered. */
.products { container-type: inline-size; }
.product-grid { --tile-gap: 22px;
  /* A large tile is a square 63% of the width. Its band splits 58 / 42 between the wide and small products. */
  --side: calc((100cqi - 2 * var(--tile-gap)) * .63 + var(--tile-gap));
  --row-wide: calc((var(--side) - var(--tile-gap)) * .58); --row-small: calc((var(--side) - var(--tile-gap)) * .42);
  display: grid; gap: var(--tile-gap); grid-template-columns: minmax(0, 37fr) minmax(0, 26fr) minmax(0, 37fr);
  grid-template-rows: repeat(3, minmax(var(--row-wide), auto) minmax(var(--row-small), auto));
  grid-template-areas:
    "csl csl streamer"
    "csl csl wallet"
    "dronedash lifepark lifepark"
    "computa lifepark lifepark"
    "lowkey lowkey localfeed"
    "lowkey lowkey checkout"; }
.product { --live: 1; --product-color: var(--blue); --product-ink: #fff9e8; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; min-width: 0; background: var(--product-color); color: var(--product-ink); border: 2px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); transition: transform 160ms ease-out, box-shadow 160ms ease-out; }
#csl { grid-area: csl; }
#streamer { grid-area: streamer; --product-color: #5930b8; }
#dronedash { grid-area: dronedash; --product-color: var(--green); }
#local-feed { grid-area: localfeed; --product-color: var(--green); }
#lowkey { grid-area: lowkey; --product-color: #b91569; }
#lifepark { grid-area: lifepark; --product-color: var(--yellow); --product-ink: var(--ink); }
#checkoutagent { grid-area: checkout; --product-color: var(--yellow); --product-ink: var(--ink); }
#wallet-io { grid-area: wallet; --product-color: #c13e1d; }
#computa { grid-area: computa; --product-color: #12667f; }
.tile-faces { position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.tile-front, .tile-back { position: absolute; inset: 0; transition: transform 650ms cubic-bezier(.16, 1, .3, 1); }
.tile-back { transform: translateY(100%); padding: 46px 22px 18px; overflow: hidden; }
.product.is-flipped .tile-front { transform: translateY(-100%); }
.product.is-flipped .tile-back { transform: none; }
.tile-media { position: absolute; inset: 0; background: var(--paper); }
.tile-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tile-label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; padding: 12px 16px 13px; }
h3 { font-family: Anton, Impact, sans-serif; font-size: 30px; font-weight: 400; line-height: 1.08; text-transform: uppercase; letter-spacing: -.02em; margin: 0; overflow-wrap: anywhere; }
.tile-large .tile-label h3 { font-size: clamp(30px, 3vw, 42px); }
.tile-small .tile-label h3 { font-size: 24px; }
.status { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 12px; line-height: 1.5; font-weight: 600; }
.status::before { content: ''; width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.description { font-size: 15px; line-height: 1.6; margin: 0; }
.tile-back .description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--clamp, 4); overflow: hidden; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.45; font-weight: 500; }
.tile-small .tile-back .description { font-size: clamp(14px, 1.15vw, 16px); line-height: 1.5; }
.build-note { font-size: 13px; line-height: 1.6; font-weight: 600; border-left: 3px solid currentColor; margin: 12px 0 0; padding-left: 12px; }
/* Small concept tiles have no screenshot yet. */
.concept-shape { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 9%; background: var(--product-color); color: var(--product-ink); }
.concept-shape i { display: block; width: 16%; height: 42%; background: currentColor; transform: skewY(-25deg); }
.concept-shape i:nth-child(2) { height: 66%; }
.concept-shape i:nth-child(3) { height: 54%; }
#checkoutagent .concept-shape { gap: 0; }
#checkoutagent .concept-shape i { width: 24%; height: 50%; clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%); transform: none; }
/* The whole tile opens its About panel; the chip in the corner names the action. */
.tile-open { position: absolute; inset: 0; z-index: 2; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.tile-open:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.tile-chip { position: absolute; top: -2px; right: -2px; background: var(--ink); color: var(--paper); padding: 8px 12px 8px 20px; font-size: 12px; font-weight: 700; line-height: 1.4; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); }
@media (hover: hover) {
  .product:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
  .product:hover .tile-chip { background: var(--red); }
  .product.is-flipped:hover .tile-front { transform: none; }
  .product.is-flipped:hover .tile-back { transform: translateY(100%); }
}
.product:has(.tile-open:active) { transform: translate(3px, 3px); box-shadow: 4px 4px 0 var(--ink); }
/* About panel: a native popover, so it opens without JavaScript and closes with Escape or a tap outside. */
.about { display: none; width: min(620px, calc(100vw - 32px)); max-height: min(86vh, 900px); margin: auto; padding: 0; overflow: auto; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 10px 10px 0 var(--product-color); }
.about:popover-open { display: block; }
.about::backdrop { background: rgb(16 22 22 / .62); }
.about-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: var(--product-color); color: var(--product-ink); border-bottom: 2px solid var(--ink); }
.about-close { flex: none; min-height: 44px; padding: 10px 16px; border: 0; background: var(--ink); color: var(--paper); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.about-close:hover { background: var(--red); }
.about-close:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.product-details { padding: 22px 22px 26px; }
.product-details > .description { font-size: 16px; line-height: 1.7; margin-bottom: 22px; }
.product-details > .build-note { margin: -8px 0 22px; }
h4 { font-size: 14px; line-height: 1.5; margin: 0 0 8px; }
.workaround p, .reason p { font-size: 15px; line-height: 1.8; color: var(--body); margin: 0; }
.reason { margin-top: 22px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .product, .tile-front, .tile-back { transition: none; } }
/* Wide screens: large tiles show picture on top and text below, both always visible. */
@media (min-width: 1001px) {
  .tile-large { --live: 0; }
  .tile-large .tile-faces { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
  .product.tile-large .tile-front, .product.tile-large .tile-back { position: static; transform: none; }
  .product.tile-large .tile-front { position: relative; min-height: 0; border-bottom: 2px solid var(--ink); }
  .tile-large .tile-back { padding: 18px 22px 20px; }
  .tile-large .tile-back .description { display: block; overflow: visible; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; max-width: 54ch; }
}
/* Narrower screens: rows have fixed heights, so large tiles stay square. Large tiles become live because
   picture and text no longer fit together; small tiles stay still and show picture and name. */
@media (max-width: 1000px) {
  .product-grid { --tile-gap: 14px; grid-template-rows: repeat(3, var(--row-wide) var(--row-small)); }
  .tile-small { --live: 0; }
  /* LowKey's screenshot is nearly all black; at these sizes the tile shows its Vault panel up close. */
  #lowkey .tile-media { overflow: hidden; background: var(--ink); }
  #lowkey .tile-media img { object-position: right top; transform: scale(2.15); transform-origin: 100% 20%; }
  .product.tile-small .tile-front { transform: none; }
  .tile-small .tile-back { display: none; }
  /* Hidden from view only: the chip still names the button and the status is still read out. */
  .tile-small .tile-chip, .tile-small .status { position: absolute; top: auto; right: auto; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tile-label { padding: 9px 13px 10px; }
  .tile-large .tile-label h3 { font-size: clamp(14px, 4.9vw, 40px); }
  .tile-wide .tile-label h3 { font-size: clamp(11px, 3.4vw, 30px); }
  .tile-small .tile-label h3 { font-size: clamp(8.5px, 2.75vw, 20px); letter-spacing: 0; white-space: nowrap; }
  .tile-small .tile-label { padding: 5px 6px 6px; }
  .tile-chip { transition: opacity 200ms; }
  .is-flipped .tile-chip { opacity: 0; }
  .tile-back { padding: 16px 18px 12px; }
  .tile-back .description { font-size: clamp(12.5px, 2.2vw, 20px); line-height: 1.4; }
}
/* Phones: tighter gaps and labels; wide products drop the chip and peek a short teaser. */
@media (max-width: 700px) {
  .product-grid { --tile-gap: 8px; }
  .product { box-shadow: 3px 3px 0 var(--ink); }
  .tile-label { padding: 6px 9px 7px; }
  .tile-large .status, .tile-wide .status, .tile-wide .tile-chip { position: absolute; top: auto; right: auto; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tile-large .tile-label h3 { font-size: clamp(16px, 5.8vw, 40px); }
  .tile-wide .tile-label h3 { font-size: clamp(12px, 4.2vw, 32px); letter-spacing: 0; white-space: nowrap; }
  .tile-small .tile-label h3 { font-size: clamp(10px, 3.6vw, 20px); }
  .tile-wide .tile-label, .tile-small .tile-label { padding: 4px 7px 5px; }
  .tile-back { padding: 10px 11px 8px; }
  .tile-back .description { font-size: clamp(12.5px, 3.4vw, 20px); }
  .tile-wide .tile-back { padding: 7px 9px 6px; }
  .tile-wide .tile-back .description { font-size: clamp(11.5px, 3.1vw, 18px); line-height: 1.35; }
  .tile-chip { padding: 4px 8px 4px 14px; font-size: 11px; }
  .about-head { padding: 14px 16px; }
  .about-head h3 { font-size: 26px; }
  .product-details { padding: 18px 16px 22px; }
}
.idea { position: relative; overflow: hidden; border-block: 2px solid var(--ink); background: var(--yellow); }
.idea::before { content: ''; position: absolute; inset: 0 0 0 45%; background: linear-gradient(135deg,transparent 30%,var(--blue) 30% 44%,var(--green) 44% 70%,#b91569 70% 85%,var(--ink) 85%); }
.idea-inner { position: relative; padding-block: 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.idea h2 { max-width: 17ch; font-size: clamp(40px,4.2vw,64px); }
.idea-inner > div { background: var(--paper); border: 2px solid var(--ink); padding: 30px; box-shadow: 10px 10px 0 var(--ink); }
.idea-intro { margin: 0; font-size: 18px; line-height: 1.75; }
.independent { font-size: 16px; line-height: 1.7; font-weight: 700; margin: 22px 0 0; }
.contact { width: 100%; max-width: none; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px max(40px,calc((100vw - 1320px) / 2)); }
.contact h2 { font-size: 42px; }
.contact p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; }
.contact > a { background: var(--red); color: #fff; padding: 20px 24px; font-size: 18px; line-height: 1.6; overflow-wrap: anywhere; text-decoration: none; }
.contact > a:hover { text-decoration: underline; }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding-block: 25px; }
footer p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--body); }
footer p:last-child { margin-left: auto; }
@media (min-width: 1500px) { .hero-copy { width: 610px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 48px); }
  .hero { min-height: 640px; }
  .hero-copy { width: 49%; margin-left: 24px; padding-right: 24px; }
  .hero::before { width: 60%; }
  .hero-art { left: 43%; }
  h1 { font-size: clamp(43px,5.2vw,58px); }
  .contact { padding-inline: 24px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 120px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 104px; flex-wrap: wrap; justify-content: flex-start; gap: 3px 24px; padding-block: 12px 4px; }
  .brand { width: 210px; }
  nav { width: 100%; justify-content: space-between; gap: 20px; }
  nav a { font-size: 13px; }
  nav a:last-child { background: none; color: inherit; padding-inline: 0; }
  .hero { min-height: 0; padding-bottom: 62vw; background: var(--green); }
  .hero-art { inset: auto 0 0; height: 75vw; }
  .hero-art img { object-position: center; }
  .hero::before { width: 100%; height: calc(100% - 55vw); clip-path: polygon(0 0,100% 0,100% 88%,90% 88%,77% 100%,0 94%); }
  .hero::after { width: 140px; height: 22px; bottom: 56vw; }
  .hero-copy { width: auto; max-width: none; margin: 0; padding: 26px 22px 32px; }
  h1 { font-size: clamp(40px,10.6vw,64px); max-width: 18ch; }
  .hero-copy p { font-size: 15px; line-height: 1.65; max-width: 52ch; margin: 20px 0; }
  .button { font-size: 13px; padding: 15px; }
  .products { padding-top: 24px; padding-bottom: 40px; }
  .section-heading { display: block; padding-bottom: 18px; margin-bottom: 20px; }
  .section-heading p { margin-top: 16px; font-size: 14px; }
  h2 { font-size: 40px; }
  .idea-inner { grid-template-columns: 1fr; padding-block: 30px 36px; gap: 24px; padding-right: 8px; }
  .idea::before { inset: 35% 0 0 35%; }
  .idea h2 { font-size: 43px; }
  .idea-inner > div { padding: 23px; box-shadow: 7px 7px 0 var(--ink); }
  .idea-intro { font-size: 16px; }
  .contact { display: block; padding: 30px 22px; }
  .contact > a { display: inline-block; font-size: 15px; margin-top: 23px; padding: 16px; }
  footer { gap: 16px; }
  footer p:last-child { margin-left: 0; width: 100%; }
}

/* One brief opening story. The complete image is the default and fallback. */
.factory-story { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes enter-content {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes letter-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes reveal-scene { from { opacity: 0; } to { opacity: 1; } }
@keyframes finish-scene { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .header-inner, .hero-copy h1 span, .hero-copy > p, .hero-copy > .button,
  .section-heading, .product, .idea-inner, .contact, footer {
    animation: enter-content 750ms cubic-bezier(.22, 1, .36, 1) backwards;
    animation-delay: var(--entrance-delay, 0ms);
  }
  .hero-copy h1 span { display: block; }
  .hero-copy h1 span + span { --entrance-delay: 180ms; }
  .header-inner { --entrance-delay: 350ms; }
  .hero-copy > p { --entrance-delay: 1050ms; }
  .hero-copy > .button { --entrance-delay: 1250ms; }
  .section-heading, .product, .idea-inner, .contact, footer { --entrance-delay: 1450ms; }
  .art-pending .hero-art { opacity: 0; }
  .brand-letters { display: block; position: absolute; inset: 0; }
  .brand-letters i {
    position: absolute; inset: 0;
    background: url('/assets/cohegen-header-pop.webp') 0 0 / 100% auto no-repeat;
    clip-path: inset(0 calc(100% - var(--r)) 0 var(--l));
    animation: letter-in 500ms cubic-bezier(.4, 0, .2, 1) both;
    animation-delay: calc(350ms + var(--n) * 160ms);
  }
  /* The slices become the logo; the image keeps its size and remains the no-motion fallback. */
  .brand-art img { visibility: hidden; }
  .hero-art.art-ready:not(.art-complete) > img { opacity: 0; }
  .hero-art.art-ready:not(.art-complete) .factory-story { display: block; }
  .art-ready .scene-spark, .art-ready .scene-worker, .art-ready .scene-conveyor {
    animation: reveal-scene 900ms cubic-bezier(.4, 0, .2, 1) both;
    animation-delay: calc(var(--story-wait, 0ms) + var(--scene-delay, 0ms));
  }
  .scene-worker { --scene-delay: 450ms; }
  .scene-conveyor { --scene-delay: 900ms; }
  .art-ready .scene-finish {
    animation: finish-scene 900ms cubic-bezier(.4, 0, .2, 1) both;
    animation-delay: calc(var(--story-wait, 0ms) + 1300ms);
  }
}
