/* 04 In progress / Concepts and Builds, and the same plate on every other homepage project row.
   One 12-column grid: text plate on the left, card on the right, overlapping about one column
   (two on narrower screens), so copy and image read as one object with no dead gap and no zigzag.
   Where a plate covers part of a card, the labels it would hide move to the other side of the card.
     work rows  card right, plate on its left edge, set down from the top (same arrangement as Morrow)
     kodo       card right, plate hanging off its lower-left corner
     Morrow     tall portrait card right, plate on its left edge, set down from the top
     Drift      same card box as the others; plate on its left edge. The render shifts right inside the box
                so the front can stays clear of the plate.
     Grade      card right, plate hanging off its lower-left corner (same arrangement as kodo)
   Motion: kodo (inkline, then the walkthrough), then Morrow, then Drift, then Grade Helper's one-shot float, each played once
   as it scrolls in and never ahead of the one before it (concepts-motion.js). Without JS or with reduced
   motion, every card shows its final state. */

.concept-archive{--cg:clamp(16px,1.8vw,28px);--hang:clamp(64px,6.5vw,104px);padding:96px 40px 160px}
.concept-row,.work-row{--cg:clamp(16px,1.8vw,28px);display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--cg);align-items:start;margin-bottom:clamp(150px,13vw,210px)}
.concept-row:last-child,.work-row:last-child{margin-bottom:0}
.concept-row>.entry,.work-row>.entry{grid-row:1;min-width:0;position:relative;z-index:1}
.concept-row>.project-note,.work-row>.project-note{grid-row:1;position:relative;z-index:3;max-width:none;width:auto;justify-self:stretch;align-self:start;margin:0;
 padding:clamp(24px,2.3vw,34px) clamp(24px,2.6vw,40px) clamp(28px,2.7vw,40px);background:var(--bg);border:1px solid var(--line);text-align:left}
.concept-row>.project-note h3,.work-row>.project-note h3{margin:22px 0 18px;max-width:15ch}
.concept-row>.project-note>p,.work-row>.project-note>p{margin:0;max-width:40ch}
.concept-row>.project-note .note-result,.work-row>.project-note .note-result{margin-top:26px;padding-top:20px}
.concept-row>.project-note .note-cta,.work-row>.project-note .note-cta{display:inline-block;margin-top:24px}
.concept-row .entry-details,.work-row .entry-details{max-width:52ch}

/* Client websites, films, and webstack: Morrow's arrangement, every row the same width. */
.work-row>.entry{grid-column:5/13}
.work-row>.project-note{grid-column:1/6;margin-top:clamp(112px,9vw,128px)}
.work-row .entry-details{padding-left:calc((100% + var(--cg)) / 8 + 8px)}
.work-row .card-bottom{justify-content:flex-end;gap:56px}
.work-row .project-visual{height:clamp(340px,30vw,440px)}

/* kodo */
.cmp-kodo{margin-bottom:calc(clamp(150px,13vw,210px) + var(--hang))}
.cmp-kodo>.entry{grid-column:5/13}
.cmp-kodo>.project-note{grid-column:1/6;align-self:end;margin-bottom:calc(-1 * var(--hang))}
.cmp-kodo .card-bottom{justify-content:flex-end;gap:56px}
.cmp-kodo .cover-tag{left:auto;right:12px}
.cmp-kodo .project-visual{height:clamp(340px,30vw,440px)}

/* Morrow Labs */
.cmp-morrow>.entry{grid-column:5/13}
.cmp-morrow>.project-note{grid-column:1/6;margin-top:clamp(112px,9vw,128px)}
.cmp-morrow .project-visual{height:clamp(420px,40vw,600px)}
.cmp-morrow .entry-details{padding-left:calc((100% + var(--cg)) / 8 + 8px)}
.cmp-morrow .card-bottom{justify-content:flex-end;gap:56px}

/* Drift: same card box as Morrow and the work rows. The render is inset from the left so the
   plate (one column, two between 761 and 1100) covers paper tone instead of the front can. */
.cmp-drift>.entry{grid-column:5/13}
.cmp-drift>.project-note{grid-column:1/6;margin-top:clamp(112px,9vw,128px)}
.cmp-drift .card-bottom{justify-content:flex-end;gap:56px}
.cmp-drift .cover-tag{left:auto;right:12px}
.cmp-drift .project-visual{height:clamp(340px,30vw,440px);aspect-ratio:auto}
.cmp-drift .entry-details{padding-left:calc((100% + var(--cg)) / 8 + 8px)}
.cmp-drift .drift-layer{left:clamp(28px,7%,76px)}

/* Grade Helper: same arrangement as kodo */
.cmp-grade{margin-bottom:var(--hang)}
.cmp-grade>.entry{grid-column:5/13}
.cmp-grade>.project-note{grid-column:1/6;align-self:end;margin-bottom:calc(-1 * var(--hang))}
.cmp-grade .card-bottom{justify-content:flex-end;gap:56px}
.cmp-grade .cover-tag{left:auto;right:12px}
.cmp-grade .project-visual{height:clamp(340px,30vw,440px)}

@media(max-width:1100px) and (min-width:761px){
 .concept-archive{padding:80px 28px 140px}
 .cmp-kodo>.entry,.cmp-morrow>.entry,.cmp-grade>.entry,.cmp-drift>.entry,.work-row>.entry{grid-column:4/13}
 .cmp-kodo>.project-note,.cmp-morrow>.project-note,.cmp-grade>.project-note,.cmp-drift>.project-note,.work-row>.project-note{grid-column:1/6}
 .cmp-morrow .entry-details,.cmp-drift .entry-details,.work-row .entry-details{padding-left:calc((100% + var(--cg)) * 2 / 9 + 8px)}
 .cmp-kodo .card-meta,.cmp-drift .card-meta,.work-row .card-meta{justify-content:flex-end;gap:56px}
 .cmp-drift .drift-layer{left:14%}
}

@media(max-width:760px){
 .concept-archive,.work-row{--lap:32px}
 .concept-archive{padding:56px 16px 96px}
 .concept-row,.work-row{display:flex;flex-direction:column;margin-bottom:104px}
 .concept-row>.entry,.work-row>.entry{width:100%}
 .concept-row>.project-note,.work-row>.project-note{width:calc(100% - 28px);padding:22px 20px 26px}
 .concept-row>.project-note h3,.work-row>.project-note h3{margin:16px 0 14px}
 .cmp-kodo,.cmp-grade,.work-row{margin-bottom:104px}
 /* plate below the card: kodo, Grade Helper */
 .cmp-kodo>.project-note,.cmp-grade>.project-note{margin:calc(-1 * var(--lap)) 0 0}
 .cmp-kodo>.project-note,.cmp-grade>.project-note,.cmp-morrow>.project-note,.cmp-drift>.project-note{align-self:flex-start}
 .cmp-kodo .project,.cmp-grade .project{padding-bottom:calc(16px + var(--lap))}
 /* plate above the card: Morrow, Drift (their case-study links stay directly under the card) */
 .cmp-morrow>.project-note,.cmp-drift>.project-note{order:-1;margin:0 0 calc(-1 * var(--lap))}
 .cmp-morrow>.entry,.cmp-drift>.entry{margin-top:0}
 .cmp-morrow .project,.cmp-drift .project{padding-top:calc(16px + var(--lap))}
 .cmp-morrow .entry-details,.cmp-drift .entry-details,.work-row .entry-details{padding-left:4px}
 .cmp-kodo .card-bottom,.cmp-morrow .card-bottom,.cmp-grade .card-bottom,.cmp-drift .card-meta,.cmp-drift .card-bottom,.work-row .card-meta,.work-row .card-bottom{justify-content:space-between;gap:12px}
 .concept-row .project-visual,.work-row .project-visual{width:auto;max-width:none;aspect-ratio:auto;margin-left:0;margin-right:0}
 .cmp-kodo .project-visual,.cmp-grade .project-visual,.cmp-drift .project-visual,.work-row .project-visual{height:300px}
 .cmp-morrow .project-visual{height:400px}
 .cmp-drift .drift-layer{left:0}
 .work-row>.project-note{order:-1;margin:0 0 calc(-1 * var(--lap));align-self:flex-start}
 .work-row .project{padding-top:calc(16px + var(--lap))}
 .cmp-kodo .cover-tag,.cmp-drift .cover-tag,.cmp-grade .cover-tag{left:12px;right:auto}
}

/* ---- kodo: the logo SVG is inline so kodo-intro.js (inkline-v2) can write it in.
   The walkthrough sits on top of that cover and stays hidden until the intro restores the logo.
   Without JS, or with reduced motion, the poster is what shows. ---- */
.kodo-cover{position:relative}
.kodo-cover svg.kodo-logo{display:block;overflow:visible}
.kodo-walkthrough{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;object-fit:contain;background:#0e0d0c}
.kodo-cover.kodo-intro-holding .kodo-walkthrough{opacity:0;visibility:hidden}
.kodo-cover .kodo-walkthrough{transition:opacity .45s ease}
.cmp-kodo .kodo-walkthrough-details{display:flex;justify-content:flex-end}
.cmp-kodo .kodo-walkthrough-details .website-preview-control{margin:10px 16px 0 auto}
@media(prefers-reduced-motion:reduce){.kodo-cover .kodo-walkthrough{transition:none}}

/* kodo case: sample dashboard. Geist for titles and rows, Geist Mono for labels. */
.kodo-study{border:1px solid var(--line);padding:clamp(28px,4vw,48px)}
.kodo-study>span,.kodo-screen header small,.kodo-features span,.kodo-case-video figcaption span,.kodo-next{font:11px/1.4 'Geist Mono',monospace;letter-spacing:.08em;text-transform:uppercase}
.kodo-study>span{color:var(--muted)}
.kodo-study h3{font-family:Geist,sans-serif;font-size:clamp(28px,3.4vw,44px);font-weight:600;letter-spacing:-.03em;line-height:1.15;margin:14px 0 12px}
.kodo-study-lede{font-family:Geist,sans-serif!important;font-size:16px;line-height:1.55;letter-spacing:-.011em;max-width:62ch;margin:0 0 28px}
.kodo-screens{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.kodo-screen:first-child{grid-column:1 / -1}
.kodo-screen{background:#12110f;color:#e8dfcc;border:1px solid rgba(232,223,204,.12);padding:16px 16px 18px;min-width:0}
.kodo-screen header{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.kodo-screen header small{color:rgba(232,223,204,.55)}
.kodo-screen header strong{font-family:Geist,sans-serif;font-weight:600;font-size:18px;letter-spacing:-.03em;line-height:1.2}
.kodo-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.kodo-cols p,.kodo-todo li,.kodo-screen>p{font-family:Geist,sans-serif!important;font-size:14px;line-height:1.45;letter-spacing:-.011em}
.kodo-cols span{display:block;color:rgba(232,223,204,.5);font:10px/1.4 'Geist Mono',monospace;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}
.kodo-cols p{margin:0 0 8px;padding:8px;background:rgba(232,223,204,.06);border:1px solid rgba(232,223,204,.08)}
.kodo-todo{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.kodo-todo li{padding-left:16px;position:relative}
.kodo-todo li::before{content:"";position:absolute;left:0;top:.45em;width:7px;height:7px;border:1px solid #7A1E22}
.kodo-bars{display:flex;align-items:flex-end;gap:8px;height:88px;margin:8px 0 12px}
.kodo-bars i{display:block;flex:1;height:var(--h);background:#7A1E22}
.kodo-screen>p{margin:0;color:rgba(232,223,204,.62)}
.kodo-features{display:grid;grid-template-columns:1fr 1fr;gap:18px 28px;margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.kodo-features span{display:block;color:var(--muted);margin-bottom:6px}
.kodo-features p{font-family:Geist,sans-serif!important;font-size:16px;line-height:1.55;letter-spacing:-.011em;margin:0;max-width:48ch}
.kodo-case-video{margin:28px 0 0}
.kodo-case-video figcaption{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;font-family:Geist,sans-serif!important;font-size:16px;line-height:1.5;letter-spacing:-.011em;text-transform:none}
.kodo-case-video figcaption span{color:var(--muted)}
.kodo-case-video video{display:block;width:100%;height:auto;background:#0e0d0c;border:1px solid var(--line)}
.kodo-next-title{font-family:Geist,sans-serif;font-weight:600;font-size:clamp(22px,2vw,28px);letter-spacing:-.03em;line-height:1.15;margin:28px 0 0}
.kodo-next{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:10px;text-transform:none;letter-spacing:-.011em;font-family:Geist,sans-serif!important;font-size:16px;line-height:1.5;counter-reset:kn}
.kodo-next li{padding-left:2.4em;position:relative;counter-increment:kn}
.kodo-next li::before{content:counter(kn,decimal-leading-zero);position:absolute;left:0;font:10px/1.6 'Geist Mono',monospace;letter-spacing:.08em;color:var(--muted)}
@media(max-width:760px){.kodo-screens,.kodo-features,.kodo-cols{grid-template-columns:1fr}}

/* Grade Helper case page: the flow, in the site's own type. No product screenshot. */
.grade-flow{border:1px solid var(--line);padding:clamp(28px,4vw,48px)}
.grade-flow>span{font:12px 'Geist Mono',monospace;color:var(--muted)}
.grade-flow h3{font-size:clamp(32px,4vw,52px);font-weight:400;letter-spacing:-1.5px;line-height:1.05;margin:16px 0 28px}
.grade-flow .webstack-guide{border-top-color:var(--line)}

/* ---- Morrow: the identity, seen as a smart-glasses HUD over the portrait ---- */
.hud-visual{background:#0d1010}
.project .project-visual>.hud-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:46% 34%}
.hud-reticle{position:absolute;inset:clamp(14px,1.8vw,24px);pointer-events:none}
.hud-reticle i{position:absolute;width:18px;height:18px;border:0 solid rgba(237,238,240,.72)}
.hud-reticle i:nth-child(1){top:0;left:0;border-top-width:1px;border-left-width:1px}
.hud-reticle i:nth-child(2){top:0;right:0;border-top-width:1px;border-right-width:1px}
.hud-reticle i:nth-child(3){bottom:0;left:0;border-bottom-width:1px;border-left-width:1px}
.hud-reticle i:nth-child(4){bottom:0;right:0;border-bottom-width:1px;border-right-width:1px}
.hud-panel{position:absolute;right:clamp(28px,3.2vw,44px);bottom:clamp(28px,3.2vw,44px);z-index:1;width:min(42%,300px);display:flex;flex-direction:column;gap:18px;
 padding:16px 18px 18px;color:#edeef0;background:rgba(10,13,14,.46);border:1px solid rgba(237,238,240,.34);
 -webkit-backdrop-filter:blur(12px) saturate(1.05);backdrop-filter:blur(12px) saturate(1.05)}
.hud-panel>small{font:10px/1.5 'Geist Mono',monospace;letter-spacing:.06em;color:rgba(237,238,240,.84)}
.hud-panel>small:first-child{display:flex;align-items:center;gap:8px}
.hud-panel>small:first-child::before{content:"";width:6px;height:6px;border-radius:50%;background:#dce4ec;box-shadow:0 0 0 3px rgba(220,228,236,.16)}
.hud-panel .morrow-final-lockup{align-items:flex-start;gap:14px}
.hud-panel .morrow-final-lockup .morrow-symbol{width:26%}
.hud-panel .morrow-final-lockup .morrow-wordmark{width:100%}
/* The panel's backdrop blur isolates its contents, so the screen blend the white PNGs use elsewhere would show their
   dark background as a box here. #hud-luma turns luminance into alpha instead. */
.hud-defs{position:absolute;width:0;height:0;overflow:hidden}
.hud-panel .morrow-art-window img[src]{filter:url(#hud-luma);mix-blend-mode:normal}
@media(max-width:760px){.hud-panel{width:min(62%,250px);right:24px;bottom:24px;gap:14px;padding:13px 14px 15px}}

/* ---- Drift: the render drifts into place inside its frame ---- */
.drift-layer{position:absolute;inset:0;display:block}
.project .project-visual.drift-render,.drift-layer{background:#eae4df}
.drift-layer img{display:block;width:100%;height:100%;object-fit:contain;object-position:50% 50%}

/* ---- Grade Helper: the word cover. Same one-shot float as Drift (concepts-motion.js). ---- */
.grade-cover{position:relative;padding:0;overflow:hidden;border-color:rgba(255,255,255,.18)}
.grade-layer{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:50px 20px}
.grade-graded{color:#f3e7d2;
 background:radial-gradient(120% 95% at 88% 0%,rgba(226,150,82,.62),rgba(226,150,82,0) 56%),
  radial-gradient(110% 110% at 6% 104%,rgba(20,86,94,.95),rgba(20,86,94,0) 62%),
  linear-gradient(165deg,#1d2b2d 0%,#0e1618 58%,#170f0d 100%)}
.grade-graded small{color:rgba(243,231,210,.74)}
@media(max-width:760px){.grade-layer{padding:36px 14px}}

/* ---- armed (waiting to scroll in) and play states; only concepts-motion.js adds these classes ---- */
.cm-armed .hud-panel{opacity:0;transform:translate3d(32px,0,0)}
.cm-armed .hud-panel>*{opacity:0;transform:translate3d(0,6px,0)}
.cm-armed .hud-reticle i{opacity:0;scale:.6}
.cm-armed.cm-play .hud-panel{opacity:1;transform:none;transition:opacity 700ms var(--motion-ease),transform 1000ms var(--motion-ease)}
.cm-armed.cm-play .hud-panel>*{opacity:1;transform:none;transition:opacity 520ms var(--motion-ease),transform 520ms var(--motion-ease)}
.cm-armed.cm-play .hud-panel>:nth-child(1){transition-delay:380ms}
.cm-armed.cm-play .hud-panel>:nth-child(2){transition-delay:480ms}
.cm-armed.cm-play .hud-panel>:nth-child(3){transition-delay:580ms}
.cm-armed.cm-play .hud-reticle i{opacity:1;scale:1;transition:opacity 600ms var(--motion-ease),scale 900ms var(--motion-ease)}

.cm-armed .drift-layer,.cm-armed .grade-layer{transform:translate3d(-3.2%,1.4%,0) scale(1.09)}
.cm-armed.cm-play .drift-layer,.cm-armed.cm-play .grade-layer{transform:translate3d(0,0,0) scale(1);transition:transform 3000ms cubic-bezier(.16,.62,.18,1)}

/* Project info plates. One system: Geist Mono labels and links, Geist titles and body.
   Label 11px / 1.4 / 0.08em. Title clamp(24px, 2.1vw, 32px) / 1.15 / -0.03em.
   Body 16px / 1.55 / -0.011em. Link 12px / 1.4 / 0.06em. */
.concept-row>.project-note .note-business,
.work-row>.project-note .note-business,
.concept-row>.project-note .note-result>span,
.work-row>.project-note .note-result>span{
 font-family:'Geist Mono',ui-monospace,Menlo,monospace!important;
 font-size:11px!important;font-weight:500!important;line-height:1.4!important;letter-spacing:.08em!important;text-transform:uppercase}
.concept-row>.project-note h3,
.work-row>.project-note h3{
 font-family:Geist,'Helvetica Neue',Arial,sans-serif;font-weight:600;
 font-size:clamp(24px,2.1vw,32px);line-height:1.15;letter-spacing:-.03em}
.concept-row>.project-note>p,
.work-row>.project-note>p,
.concept-row>.project-note .note-result p,
.work-row>.project-note .note-result p{
 font-family:Geist,'Helvetica Neue',Arial,sans-serif!important;
 font-size:16px!important;font-weight:400!important;line-height:1.55!important;letter-spacing:-.011em!important}
.concept-row>.project-note .note-result p,
.work-row>.project-note .note-result p{font-weight:500!important;color:var(--fg)}
.concept-row>.project-note .note-cta,
.work-row>.project-note .note-cta{
 font-family:'Geist Mono',ui-monospace,Menlo,monospace!important;
 font-size:12px!important;font-weight:500!important;line-height:1.4!important;letter-spacing:.06em!important;text-transform:uppercase}

/* Homepage copy under each project card. The block shares the card's right edge.
   On the left it starts where the overlapping plate ends, so the words stay clear of that card.
   The description is a block of about 60 characters (42ch in Geist, whose zero is wider than a typical letter). The case-study link and preview control sit on the next line. */
.work-row .entry-details,
.concept-row .entry-details,
.cmp-morrow .entry-details,
.cmp-drift .entry-details{
 contain:inline-size;display:block;width:100%;max-width:100%;min-width:0;margin:20px 0 0;padding:0;box-sizing:border-box}
.work-row .entry-details,
.cmp-morrow .entry-details,
.cmp-drift .entry-details{padding-left:calc((100% - 7 * var(--cg)) / 8)}
@media(max-width:1100px) and (min-width:761px){
 .work-row .entry-details,.cmp-morrow .entry-details,.cmp-drift .entry-details{padding-left:calc(2 * (100% - 8 * var(--cg)) / 9 + var(--cg))}
}
@media(max-width:760px){
 .work-row .entry-details,.concept-row .entry-details,.cmp-morrow .entry-details,.cmp-drift .entry-details{padding-left:0;padding-right:0}
}
.entry-details .entry-business-description{
 display:block;box-sizing:border-box;width:auto;max-width:min(42ch,100%);min-width:0;margin:0 0 12px;padding:0;
 font-family:Geist,'Helvetica Neue',Arial,sans-serif!important;
 font-size:16px!important;font-weight:400!important;line-height:1.6!important;letter-spacing:-.011em!important}
.entry-details .entry-link{display:inline-flex;vertical-align:middle;margin:0 28px 0 0;padding:0!important;width:auto;min-height:44px}
.entry-details .preview-control,
.entry-details .website-preview-control{
 display:inline-flex;vertical-align:middle;align-items:center;justify-content:flex-start;gap:12px;width:auto;margin:0;padding:0;min-height:44px;
 font:500 12px/1.4 'Geist Mono',ui-monospace,Menlo,monospace;letter-spacing:.06em;text-transform:uppercase;text-align:left;text-decoration:none}
.entry-details .preview-control,
.entry-details .website-preview-control button{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.entry-details .website-preview-control span{font-size:12px;line-height:1.4;letter-spacing:.04em;text-transform:none;text-decoration:none}
