/* Concept wall (/concepts/). Full-screen page on design-study.css tokens only, no shared nav or footer. */
/* Full-screen and immersive: the wall is the whole page, with only the logo on top. */
:root{--wall:#ffffff;--wall-ink:#111111;--wall-tile:#eeeeee;--wall-shadow:#11111126}
:root[data-bg="black"]{--wall:#0d0d0c;--wall-ink:#fff;--wall-tile:#1c1c1a;--wall-shadow:#00000080}
:root[data-bg="stone"]{--wall:#d9d6cd;--wall-ink:#141414;--wall-tile:#cbc7bc;--wall-shadow:#14141433}
html:has(body.cw-page),body.cw-page{height:100%;overflow:hidden;overscroll-behavior:none;background:var(--wall)}
.cw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.cw-wall{position:fixed;inset:0;overflow:hidden;background:var(--wall);cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;outline:none}
.cw-wall:focus-visible{box-shadow:inset 0 0 0 3px var(--teal)}
.cw-wall.is-drag{cursor:grabbing}
/* Soft fade at the edges so tiles slide in and out, and the logo and note stay readable */
.cw-wall::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--wall),transparent 8%,transparent 92%,var(--wall)),linear-gradient(180deg,var(--wall),transparent 15%,transparent 78%,var(--wall))}
.cw-track{position:absolute;inset:0}
/* Homepage hero to /concepts/: browsers that support cross-page view transitions morph the wall between them */
@view-transition{navigation:auto}
.cw-wall{view-transition-name:cw-wall}
::view-transition-group(cw-wall){animation-duration:.55s;animation-timing-function:cubic-bezier(.2,.7,.2,1)}
.cw-tile{position:absolute;left:0;top:0;display:block;padding:0;border:0;border-radius:14px;overflow:hidden;background:var(--wall-tile);box-shadow:0 18px 40px var(--wall-shadow);cursor:inherit;will-change:transform;font:inherit;color:inherit}
.cw-tile img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;pointer-events:none;transition:transform .6s ease}
.cw-tile:hover img,.cw-tile:focus-visible img{transform:scale(1.035)}
.cw-tile:focus-visible{outline:3px solid var(--cream);outline-offset:3px}

.cw-hint{position:absolute;z-index:2;left:calc(var(--gutter) + 160px);bottom:26px;display:inline-flex;align-items:center;gap:10px;min-height:40px;padding:0 18px;border-radius:100px;background:#fff;color:var(--green);font-size:13.5px;pointer-events:none;box-shadow:0 0 0 1px #1111111f,0 8px 24px #1111111a;transition:opacity .4s}
.cw-wall.is-used .cw-hint{opacity:0}
.cw-zoom{position:absolute;z-index:3;left:var(--gutter);bottom:26px;display:flex;padding:3px;border-radius:100px;background:#fff;box-shadow:0 0 0 1px #1111111f,0 8px 24px #1111111a;cursor:default}
.cw-zoom button{min-width:44px;height:40px;padding:0 10px;border:0;border-radius:100px;background:transparent;color:var(--green);font-size:18px;line-height:1;cursor:pointer}
.cw-zoom button[data-zoom="reset"]{font-size:12.5px}
.cw-zoom button:hover{background:#11111112}

.cw-note{position:fixed;z-index:3;right:var(--gutter);bottom:24px;margin:0;max-width:380px;font-size:12.5px;line-height:1.5;color:var(--wall-ink);text-align:right;text-shadow:0 1px 10px var(--wall);pointer-events:none}

/* Wall page: Let's talk stays in the top right corner */
.cw-talk{position:fixed;z-index:4;top:22px;right:var(--gutter);display:inline-flex;align-items:center;gap:22px;min-height:52px;padding:0 22px;border-radius:100px;background:var(--green);color:var(--cream);font-size:15px;box-shadow:0 12px 30px rgba(17,17,17,.22);transition:background .2s}
.cw-talk:hover{background:var(--teal)}
/* Homepage hero: a label follows the mouse to say the wall opens */
.cw-follow{position:absolute;z-index:3;left:0;top:0;padding:8px 14px;border-radius:100px;background:var(--green);color:var(--cream);font-size:13px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .2s}
.cw-wall[data-hero]{cursor:pointer}
.cw-wall[data-hero]:hover .cw-follow{opacity:1}
.cw-wall[data-hero].is-drag .cw-follow{opacity:0}
@media(hover:none){.cw-follow{display:none}}

/* Logo on top; the menu opens on hover or focus, and on tap for touch screens */
.cw-nav{position:fixed;z-index:4;top:22px;left:var(--gutter);display:flex;align-items:center;gap:6px;color:var(--wall-ink)}
.cw-brand{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 6px;font-size:28px;font-weight:700;letter-spacing:-.06em;text-shadow:0 1px 12px var(--wall)}
.cw-brand svg{width:28px;height:28px;fill:currentColor}
.cw-menu{display:flex;align-items:center;gap:4px;padding:5px;margin-left:10px;border-radius:100px;background:#fff;color:var(--green);box-shadow:0 0 0 1px #1111111a,0 12px 34px #11111126;opacity:0;visibility:hidden;transform:translateX(-12px);transition:opacity .25s,transform .3s,visibility 0s .3s}
.cw-nav:hover .cw-menu,.cw-nav:focus-within .cw-menu,.cw-nav.is-open .cw-menu{opacity:1;visibility:visible;transform:none;transition:opacity .25s,transform .3s}
.cw-menu a{display:inline-flex;align-items:center;min-height:40px;padding:0 15px;border-radius:100px;font-size:14px;white-space:nowrap;transition:background .2s}
.cw-menu a:hover,.cw-menu a:focus-visible{background:#11111114}
.cw-menu .cw-menu-cta{background:var(--green);color:var(--cream)}
.cw-menu .cw-menu-cta:hover{background:var(--teal)}


/* Phones */
@media(max-width:600px){
  .cw-nav{top:12px;flex-direction:column;align-items:flex-start}
  .cw-brand{font-size:24px}
  .cw-menu{flex-direction:column;align-items:stretch;margin:6px 0 0;border-radius:18px;min-width:200px;transform:translateY(-8px)}
  .cw-menu a{min-height:44px}
  .cw-wall::after{background:linear-gradient(90deg,var(--wall),transparent 6%,transparent 94%,var(--wall)),linear-gradient(180deg,var(--wall),transparent 14%,transparent 70%,var(--wall) 96%)}
  .cw-note{left:16px;right:16px;bottom:16px;max-width:none;font-size:11.5px}
  .cw-hint{display:none}
  .cw-zoom{left:auto;right:16px;bottom:96px}
  .cw-talk{top:14px;right:16px;min-height:48px;padding:0 18px;gap:14px;font-size:14px}
  .cw-tile{border-radius:10px}
  }
@media(prefers-reduced-motion:reduce){.cw-tile img,.cw-follow{transition:none}}

/* Site preview popup (opened from a tile): the site in a browser-style window, so visitors stay on kamand.co */
.cw-pv{position:fixed;inset:0;z-index:2147480000;display:grid;place-items:center;padding:clamp(12px,3vw,40px)}
.cw-pv-back{position:absolute;inset:0;background:#111111b3;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;transition:opacity .25s ease}
.cw-pv-win{position:relative;display:flex;flex-direction:column;width:min(1280px,100%);height:min(860px,100%);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 40px 100px #00000066;opacity:0;transform:translateY(16px) scale(.98);transition:opacity .25s ease,transform .35s cubic-bezier(.2,.7,.2,1),width .35s cubic-bezier(.2,.7,.2,1)}
/* hidden must win over display:grid, and a closing popup must not catch clicks, or it blocks the wall */
.cw-pv[hidden]{display:none}
.cw-pv:not(.is-open){pointer-events:none}
.cw-pv.is-open .cw-pv-back{opacity:1}
.cw-pv.is-open .cw-pv-win{opacity:1;transform:none}
.cw-pv.is-phone .cw-pv-win{width:min(420px,100%)}
.cw-pv-bar{display:flex;align-items:center;gap:14px;min-height:56px;padding:0 10px 0 18px;border-bottom:1px solid #0000001a;background:#fff;color:#111;font:14px/1.2 Arial,Helvetica,sans-serif}
.cw-pv-dots{display:flex;gap:6px}.cw-pv-dots i{width:10px;height:10px;border-radius:50%;background:#e2e2e2}
.cw-pv-bar strong{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:600}
.cw-pv-size{display:flex;padding:3px;border-radius:100px;background:#f2f2f2}
.cw-pv-size button{min-height:32px;padding:0 12px;border:0;border-radius:100px;background:transparent;color:#555;font:inherit;font-size:13px;cursor:pointer}
.cw-pv-size button[aria-pressed=true]{background:#fff;color:#111;box-shadow:0 1px 4px #0000001f}
.cw-pv-open{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:100px;background:#111;color:#fff;font-size:13.5px;text-decoration:none}
.cw-pv-open:hover{background:#333}
.cw-pv-close{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#111;cursor:pointer}
.cw-pv-close:hover{background:#f2f2f2}
.cw-pv-body{position:relative;flex:1;min-height:0;background:#f4f4f4}
.cw-pv-body iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#fff;opacity:0;transition:opacity .3s ease}
.cw-pv.is-loaded iframe{opacity:1}
.cw-pv-load{position:absolute;inset:0;display:grid;place-items:center;color:#888;font:13px Arial,sans-serif}
.cw-pv-shot{position:absolute;inset:0;overflow-y:auto;overscroll-behavior:contain;background:#fff}
.cw-pv-shot{background:#f4f4f4}.cw-pv-shot img{display:block;width:min(100%,820px);height:auto;margin:0 auto;box-shadow:0 0 40px #0000001a}
.cw-pv.is-shot .cw-pv-size{display:none}
html.pv-open,html.pv-open body{overflow:hidden}
@media(max-width:720px){
  .cw-pv{padding:0;place-items:end stretch}
  .cw-pv-win,.cw-pv.is-phone .cw-pv-win{width:100%;height:96svh;border-radius:18px 18px 0 0}
  .cw-pv-dots,.cw-pv-size{display:none}
  .cw-pv-bar{gap:10px;padding:0 6px 0 16px}
}
@media(prefers-reduced-motion:reduce){.cw-pv-win,.cw-pv-back{transition:none}}
/* Demo notice: always shown above a concept in the preview, so nobody mistakes it for the business's real site */
.cw-pv-demo{display:none;margin:0;padding:10px 18px;align-items:center;gap:12px;background:#111;color:#fff;font:13px/1.4 Arial,Helvetica,sans-serif}
.cw-pv.is-demo .cw-pv-demo{display:flex}
.cw-pv-demo b{flex:none;padding:4px 10px;border-radius:100px;background:#fff;color:#111;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
@media(max-width:720px){.cw-pv-demo{padding:9px 14px;font-size:12px;align-items:flex-start}}
.cw-pv-open[hidden]{display:none}
/* Shared site nav on the wall page (1 Nov 2026): same bar as every other page, pinned over the wall */
.cw-page .cw-sn{position:fixed;top:0;left:0;right:0}
/* Phones: a list instead of the drag wall, client websites first, then the concept designs */
.cw-list{display:none}
@media(max-width:720px){
  html:has(body.cw-page),body.cw-page{height:auto;overflow:auto;overscroll-behavior:auto;background:#fff}
  .cw-page .cw-sn{position:sticky;background:#fff}
  .cw-page .cw-wall,.cw-page .cw-hint,.cw-page .cw-zoom{display:none}
  .cw-list{display:block;padding:12px 16px 24px}
  .cw-list h2{margin:28px 0 6px;font-weight:400;font-size:40px;line-height:1;letter-spacing:-.06em;color:#111}
  .cw-list h2:first-child{margin-top:8px}
  .cw-list>p{margin:0 0 16px;font-size:15px;line-height:1.45;color:#666}
  .cw-list ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
  .cw-list button{display:grid;grid-template-columns:1fr auto;grid-template-areas:"img img" "txt go";align-items:center;gap:12px 14px;width:100%;padding:8px 14px 14px 8px;border:0;border-radius:22px;background:#f4f4f2;font:inherit;color:#111;text-align:left;cursor:pointer}
  .cw-list img{grid-area:img;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top;border-radius:15px;display:block;background:#e6e6e3}
  .cw-list button>span{grid-area:txt;padding-left:8px}
  .cw-list b{display:block;font-weight:400;font-size:20px;line-height:1.15;letter-spacing:-.03em}
  .cw-list small{display:block;margin-top:3px;font-size:13px;color:#777}
  .cw-list i{grid-area:go;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#111;color:#fff;font-style:normal}
  .cw-note{position:static;margin:0 16px 40px;max-width:none}
}

.cw-pv-vid{position:absolute;inset:0;display:grid;place-items:center;background:#111}.cw-pv-vid video{display:block;width:100%;height:100%;object-fit:contain;background:#111}
