/* Capture Gallery: LAYOUT 1 "Big cover first" (picked by Tobias 1 Dec 2026). capture-client-brand: white, #131313, Montserrat,
   one small blue touch. Rounded buttons (10px) and a still cover photo that the page slides over: his words beat the brand skill. */
:root { --black:#131313; --white:#fff; --grey:#6E6E73; --grey-band:#F4F4F4; --line:#E6E8EB; --line-strong:#C7C9CE; --blue:#066B9E; --blue-on-black:#4490B6; --amber:#B26A00; --amber-bg:#FFF4E0; --radius:10px; --font:'Montserrat','Helvetica Neue',Arial,sans-serif; color-scheme: light only; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
.loading { text-align: center; color: var(--grey); padding: 96px 20px; }

/* landing */
body.landing main { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 24px; gap: 8px; justify-items: center; }
body.landing h1 { font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin: 24px 0 0; line-height: 1.3; }
body.landing p { color: var(--grey); margin: 0; }

/* the photo stays still; everything else slides over it */
.cover { position: fixed; inset: 0; z-index: 0; background: var(--black); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(19,19,19,.80), rgba(19,19,19,0) 62%), linear-gradient(to bottom, rgba(19,19,19,.45), rgba(19,19,19,0) 22%); }
.hero { position: relative; z-index: 1; height: 100vh; height: 100svh; min-height: 520px; color: #fff; }
.top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 20px; }
.top img { width: 120px; }
.top .job { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.htext { position: absolute; left: 20px; right: 20px; bottom: 112px; max-width: 820px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .9; margin: 0; }
.bar { width: 40px; height: 3px; background: var(--blue-on-black); margin: 14px 0 18px; }
h1.name { font-size: 38px; font-weight: 900; letter-spacing: -.02em; line-height: 1.04; text-transform: uppercase; margin: 0; }
.meta { font-size: 14px; font-weight: 500; margin: 16px 0 28px; opacity: .95; }
.meta b { font-weight: 700; }
.hint { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); opacity: .8; }
main#gallery { position: relative; z-index: 1; background: var(--white); min-height: 60vh; }

.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: var(--radius); border: 1px solid var(--black); background: var(--black); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .16s ease-out, background .16s ease-out; }
.btn:hover { background: #2A2A2A; }
.btn:active { transform: scale(.98); }
.btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.btn.white { background: #fff; color: var(--black); border-color: #fff; }
.btn.white:hover { background: #ececec; }

/* sticky bar */
.tool { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.toolin { max-width: 1440px; margin: 0 auto; min-height: 64px; padding: 0 16px; display: flex; align-items: center; gap: 16px; }
.who { display: none; }
.who b { display: block; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
.who span { font-size: 12px; color: var(--grey); }
.tabs { display: flex; gap: 18px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; padding: 22px 0 19px; color: #8E8E93; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--black); border-bottom-color: var(--blue); }
.tab small { font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.act { margin-left: auto; display: none; align-items: center; gap: 20px; font-size: 14px; }
.size { display: flex; align-items: center; gap: 8px; color: var(--grey); font-size: 14px; margin: 0; }
.size select { appearance: none; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23131313' stroke-width='1.6'/></svg>") no-repeat right 12px center; border: 1px solid var(--line-strong); border-radius: var(--radius); min-height: 44px; padding: 8px 32px 8px 12px; font-size: 16px; font-weight: 600; color: var(--black); cursor: pointer; }
.note { font-size: 14px; color: var(--amber); background: var(--amber-bg); border-radius: var(--radius); padding: 10px 14px; margin: 0; line-height: 1.4; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dock .note { flex: 1; }

/* grid: each photo keeps its own shape */
.grid { max-width: 1440px; margin: 0 auto; padding: 4px 4px 120px; columns: 2; column-gap: 4px; }
.ph { position: relative; display: block; width: 100%; margin: 0 0 4px; background: #eee; overflow: hidden; break-inside: avoid; }
.ph .open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s cubic-bezier(.22,1,.36,1); }
.ph img.in { opacity: 1; }
.empty { color: var(--grey); padding: 64px 20px; text-align: center; }
.foot { position: relative; z-index: 1; background: var(--black); color: #B8B8BD; font-size: 12px; padding: 24px 20px 96px; display: flex; flex-direction: column; gap: 4px; }

@media (min-width: 900px) {
  .top { padding: 28px 48px; } .top img { width: 150px; }
  .htext { left: 48px; right: 48px; bottom: 72px; } h1.name { font-size: 72px; line-height: 1.02; } .meta { font-size: 17px; }
  .toolin { height: 76px; padding: 0 48px; gap: 40px; } .who { display: block; } .tabs { gap: 28px; font-size: 13px; } .tab { padding: 28px 0 25px; }
  .act { display: flex; } .dock { display: none; } .hint { bottom: 20px; }
  .grid { columns: 4; column-gap: 6px; padding: 6px 48px 96px; } .ph { margin-bottom: 6px; }
  .foot { flex-direction: row; justify-content: space-between; padding: 28px 48px; }
}
@media (prefers-reduced-motion: reduce) { .cover { position: absolute; } html { scroll-behavior: auto; } * { transition: none !important; } }

/* viewer */
.viewer { position: fixed; inset: 0; z-index: 50; background: var(--black); color: #fff; display: flex; flex-direction: column; }
.viewer .stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; touch-action: pan-y; }
.viewer .stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.viewer .bar2 { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; padding-top: calc(12px + env(safe-area-inset-top)); font-size: 14px; }
.viewer .count { font-variant-numeric: tabular-nums; opacity: .85; }
.viewer .iconbtn { appearance: none; background: transparent; border: 0; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; border-radius: 999px; }
.viewer .iconbtn:hover { background: rgba(255,255,255,.12); }
.viewer .nav { position: absolute; top: 50%; transform: translateY(-50%); }
.viewer .prev { left: 4px; } .viewer .next { right: 4px; }
.viewer .vfoot { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); }

/* selection sheet */
.helper { max-width: 1440px; margin: 0 auto; padding: 14px 16px 6px; color: var(--grey); font-size: 14px; }
@media (min-width: 900px) { .helper { padding: 14px 48px 8px; } }
.heart { position: absolute; right: 6px; bottom: 6px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(19,19,19,.45); display: grid; place-items: center; cursor: pointer; transition: transform .16s ease-out, background .16s ease-out; }
.heart:hover { background: rgba(19,19,19,.7); }
.heart:active { transform: scale(.92); }
.heart[aria-pressed="true"] { background: rgba(19,19,19,.75); }
.hasnote { position: absolute; left: 6px; bottom: 6px; background: rgba(19,19,19,.7); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; }
.pickinfo { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.counter { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.over { font-size: 12px; color: var(--amber); }
.sentnote { font-size: 12px; color: var(--blue); }
.btn.small { min-height: 44px; padding: 0 18px; }
.sheetfoot { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 640px; }
.vheart { flex: none; width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); background: transparent; display: grid; place-items: center; cursor: pointer; }
.vheart[aria-pressed="true"] { background: rgba(255,255,255,.18); border-color: #fff; }
.notebox { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); padding: 10px 12px; resize: none; }
.notebox::placeholder { color: rgba(255,255,255,.6); }
