/* Home page: plain single column, flat rows. */
:root {
  --bg: #050607; --ink: #eef2f1; --ink-2: rgba(238, 242, 241, .72); --ink-3: rgba(238, 242, 241, .48);
  --line: rgba(255, 255, 255, .11); --accent: #2fd4c4; --accent-ink: #04110f; --ha: #ff5a6e; --frame: #1f2629;
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

.col { max-width: 920px; margin: 0 auto; padding: 0 24px; }
main { padding: 56px 0 24px; }
h1 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
h2 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.lead { color: var(--ink-2); margin-top: 16px; max-width: 60ch; }
a.text { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; transition: text-decoration-color .2s; }
a.text:hover { text-decoration-color: var(--accent); }

.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--line); font: 600 15px/1 var(--font); text-decoration: none; transition: transform .2s, border-color .2s, background .2s; }
.btn:hover { border-color: rgba(255, 255, 255, .4); }
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.btn-solid:hover { background: #5fe6d9; border-color: transparent; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.ba { position: relative; margin-top: 36px; aspect-ratio: 3 / 2; border: 1px solid var(--line); border-radius: 8px; background: var(--frame); overflow: hidden; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ba .after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); background: var(--frame); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba .knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: #05110f; display: grid; place-items: center; pointer-events: none; }
.ba .knob svg { width: 18px; height: 18px; }
.ba .tag { position: absolute; top: 12px; z-index: 1; pointer-events: none; font: 500 12px/1 var(--mono); padding: 7px 9px; border-radius: 6px; background: rgba(5, 6, 7, .8); }
.ba .tag.l { left: 12px; } .ba .tag.r { right: 12px; color: var(--accent); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.ba:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }

section.list { margin-top: 64px; }
section.list > h2 { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.item img { width: 56px; height: 56px; border-radius: 12px; }
.item h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.item h3 span { font: 500 12px/1 var(--mono); color: var(--ink-3); margin-left: 8px; }
.item p { color: var(--ink-2); font-size: 15.5px; margin-top: 3px; }
.item .meta { font: 500 12.5px/1.5 var(--mono); color: var(--ink-3); margin-top: 6px; }
a.item:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.note { color: var(--ink-3); font-size: 14px; margin-top: 14px; }

.about p { color: var(--ink-2); margin-top: 14px; max-width: 62ch; }
.about p:first-of-type { margin-top: 16px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

footer { margin-top: 72px; border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--ink-3); font-size: 14px; }
footer .col { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 560px) {
  .col { padding: 0 20px; }
  main { padding-top: 36px; }
  .cta .btn { width: 100%; justify-content: center; }
  .item { grid-template-columns: 44px 1fr; gap: 14px; }
  .item img { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
