/* AI Photoshoot: a photographer's contact sheet. Mark frames, send them on WhatsApp */
.lk { position: relative; margin: 0 calc(-1 * var(--gutter)); padding: clamp(48px, 7vh, 88px) var(--gutter) clamp(40px, 5vw, 72px); background: radial-gradient(70% 46% at 50% 52%, #1c1f1e 0, #0c0d0d 70%, #0a0a0a 100%); isolation: isolate; }
.lk-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 22px 60px; margin-bottom: 30px; }
.lk-head h3 { margin: 0; font: 900 clamp(2.5rem, 4.4vw, 5.2rem)/.88 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.lk-head h3 em { display: block; font-style: normal; color: var(--green); }
.lk-head p { margin: 0; max-width: 40ch; color: rgba(255,255,255,.78); line-height: 1.65; text-wrap: pretty; }
.lk-tabs { display: flex; flex-wrap: wrap; gap: 2px 24px; margin-bottom: 24px; }
.lk-tabs button { border: 0; background: none; padding: 12px 0; color: rgba(255,255,255,.64); font: 600 .94rem/1 "Inter", sans-serif; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .25s ease; }
.lk-tabs button:hover, .lk-tabs button.on { color: #fff; }
.lk-tabs button.on { border-color: var(--green); }

.lk-sheet { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); row-gap: 18px; position: relative; }
.lk-sheet.few { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.lk-cell { position: relative; display: block; padding: 19px 4px 21px; border: 0; background: #060707; color: rgba(255,196,120,.75); cursor: crosshair; text-align: left; font: 600 .66rem/1 "Inter", sans-serif; -webkit-tap-highlight-color: transparent; }
.lk-cell::before, .lk-cell::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, transparent 0 5px, #2b2f2d 5px 15px, transparent 15px 20px); }
.lk-cell::before { top: 5px; } .lk-cell::after { bottom: 7px; opacity: .55; }
.lk-cell img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #111; transition: filter .3s ease; }
.lk-sheet:hover .lk-cell img { filter: brightness(.72); }
.lk-sheet .lk-cell:hover img, .lk-cell.on img { filter: none !important; }
.lk-num { position: absolute; left: 9px; bottom: 6px; z-index: 1; background: #060707; padding: 2px 5px; }
.lk-cell svg { position: absolute; z-index: 2; left: -4%; top: 5%; width: 108%; height: 86%; overflow: visible; pointer-events: none; }
.lk-cell path { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; filter: drop-shadow(0 0 5px rgba(0,255,100,.45)); transition: stroke-dashoffset .6s cubic-bezier(.4,0,.2,1); }
.lk-cell path { opacity: 0; } .lk-cell.on path { stroke-dashoffset: 0; opacity: 1; }
.lk-cell.on { z-index: 2; }
.lk-cell:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; z-index: 3; }
.lk-cell.in { animation: lkIn .5s ease both; animation-delay: calc(var(--i) * 18ms); }
@keyframes lkIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.lk-loupe { position: fixed; z-index: 60; left: 0; top: 0; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; pointer-events: none; opacity: 0; scale: .7; transition: opacity .2s ease, scale .25s ease; background: #111 no-repeat; border: 9px solid #0b0c0c; box-shadow: 0 0 0 1px rgba(255,255,255,.35), inset 0 0 34px rgba(0,0,0,.55), 0 24px 60px rgba(0,0,0,.7); }
.lk-loupe.on { opacity: 1; scale: 1; }

.lk-tray { position: sticky; z-index: 20; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px 26px; margin-top: 30px; padding: 14px 16px 14px 22px; background: rgba(12,14,13,.94); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; }
.lk-tray p { margin: 0; color: rgba(255,255,255,.84); font-size: .95rem; }
.lk-tray p b { color: var(--green); }
.lk-picked { display: flex; gap: 6px; flex: 1; }
.lk-picked button { position: relative; width: 44px; height: 55px; padding: 0; border: 0; background: none; cursor: pointer; }
.lk-picked img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 3px; }
.lk-picked button::after { content: "\00d7"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.6); color: #fff; font-size: 1.3rem; opacity: 0; transition: opacity .2s ease; border-radius: 3px; }
.lk-picked button:hover::after, .lk-picked button:focus-visible::after { opacity: 1; }
.lk-send { flex: none; display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 99px; background: var(--green); color: #050505; font-weight: 800; font-size: .92rem; text-decoration: none; transition: transform .25s ease, background .25s ease, color .25s ease; }
.lk-send:hover { transform: translateY(-2px); }
.lk-tray.empty .lk-send { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }

@media (max-width: 1240px) { .lk-sheet, .lk-sheet.few { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .lk-sheet, .lk-sheet.few { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; margin: 0 calc(-1 * var(--gutter) + 8px); }
  .lk-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 0 var(--gutter); }
  .lk-tabs::-webkit-scrollbar { display: none; }
  .lk-tray { flex-wrap: wrap; padding: 12px; bottom: 10px; margin-inline: calc(-1 * var(--gutter) + 8px); }
  .lk-tray p { flex: 1 1 100%; font-size: .88rem; }
  .lk-tray:not(.empty) p { display: none; }
  .lk-picked { flex: 1 1 100%; } .lk-picked:empty { display: none; }
  .lk-send { width: calc(100% - 64px); justify-content: center; padding: 0 12px; }
}
@media (hover: none) { .lk-loupe { display: none; } .lk-sheet:hover .lk-cell img { filter: none; } .lk-cell { cursor: pointer; } }
@media (prefers-reduced-motion: reduce) { .lk * { animation: none !important; transition: none !important; } }
