:root {
  --bg: #f6f4ef; --surface: #fffdf8; --ink: #1c1b19; --muted: #6d6a63; --rule: #e2ddd2; --accent: #c0392b; --note: #fff6c9; --note-ink: #2b2614;
  --display: "Fraunces", Georgia, serif; --body: "Inter", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121211; --surface: #1a1a18; --ink: #ecebe6; --muted: #9b978d; --rule: #2c2b28; --accent: #ef6f5e; --note: #3a3420; --note-ink: #f3ecd2; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); }
a { color: inherit; }
.top { display: flex; justify-content: space-between; align-items: baseline; max-width: 1400px; margin: 0 auto; padding: 28px 16px 20px; }
.top .name { font: 600 22px/1.2 var(--display); text-decoration: none; letter-spacing: -.01em; }
.top .back { flex: 0 0 100%; order: -1; margin: -12px 0 10px; color: var(--accent); font-size: 16px; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.top:has(.back) { flex-wrap: wrap; }
.top nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
main { max-width: 1400px; margin: 0 auto; padding: 0 16px 48px; }
.foot { max-width: 1400px; margin: 0 auto; padding: 24px 16px 40px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--rule); }
.empty { color: var(--muted); padding: 40px 0; }

/* ---- a creator's page ------------------------------------------------------------------------------ */
.creator main { max-width: 1240px; padding: 0 16px 56px; }
.creator .foot { max-width: 1240px; border-top: 0; text-align: center; padding: 8px 16px 40px; }

/* the header: the page's name, the creator, bio, links */
.profile { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 34px 0 26px; max-width: 680px; }
.profile .mono { grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  background: var(--ink); color: var(--bg); font: 600 26px/1 var(--display); }
.profile h1 { margin: 0; font: 600 30px/1.1 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.profile h1 a { text-decoration: none; }
.profile .by { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.profile .bio, .profile .links, .profile .count { grid-column: 1 / -1; }
.profile .bio { margin: 16px 0 0; font-size: 16px; line-height: 1.5; }
.profile .links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 8px; font-size: 15px; font-weight: 500; }
.profile .links a { color: var(--accent); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.profile .links a::after { content: "↗"; font-size: .8em; margin-left: 3px; opacity: .7; }
.profile .count { margin: 14px 0 0; color: var(--muted); font-size: 13px; letter-spacing: .01em; }
.profile .count a { color: inherit; }
.profile:not(:has(.by)) .mono { grid-row: 1; }

/* the grid: photographs keep their own shape. A phone shows one column, edge to edge. */
.grid { display: block; columns: 1; margin: 0 -16px; }
.card { display: block; break-inside: avoid; margin: 0 0 26px; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.card .ph { position: relative; display: block; overflow: hidden; background: var(--rule); }
.card img { display: block; width: 100%; height: auto; }
.card .cap { display: flex; gap: 10px; align-items: baseline; padding: 9px 16px 0; font-size: 15px; }
.card .p-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.card time { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.card .n { position: absolute; top: 10px; right: 10px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; display: grid; place-items: center;
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.card .forsale { position: absolute; left: 10px; bottom: 10px; padding: 4px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,.88); color: #1c1b19; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
@media (hover: hover) { .card:hover img { opacity: .93; } .card:hover .p-name { text-decoration: underline; text-underline-offset: 3px; } }

/* notes and voice notes: paper slips pinned to the fridge */
.card.note { background: var(--note); color: var(--note-ink); padding: 20px 18px 14px; margin: 8px 16px 30px; border-radius: 3px; position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 14px rgba(0,0,0,.06); transform: rotate(-.6deg); }
.card.note:nth-child(even) { transform: rotate(.5deg); }
.card.note::before { content: ""; position: absolute; top: -6px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff8a7a, var(--accent) 60%); box-shadow: 0 2px 3px rgba(0,0,0,.25); }
.note-title { display: block; font: 600 20px/1.25 var(--display); margin-bottom: 6px; }
.note-text { display: block; white-space: pre-line; font-size: 15px; line-height: 1.55; }
.card.note .cap { padding: 10px 0 0; } .card.note time { margin-left: 0; color: inherit; opacity: .6; }
.voiceline { display: inline-block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }

/* video cards */
.vid img { display: block; width: 100%; height: auto; }
.play { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 99px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* desktop: a tighter, calm grid */
@media (min-width: 700px) {
  .creator main { padding: 0 32px 64px; }
  .profile { padding: 56px 0 36px; column-gap: 18px; }
  .profile .mono { width: 68px; height: 68px; font-size: 32px; }
  .profile h1 { font-size: 42px; }
  .profile .bio { font-size: 17px; }
  .grid { columns: 2; column-gap: 20px; margin: 0; }
  .card { margin-bottom: 28px; }
  .card .ph { border-radius: 4px; }
  .card .cap { padding: 8px 2px 0; font-size: 14px; }
  .card time { font-size: 12.5px; }
  .card.note { margin: 10px 4px 32px; }
}
@media (min-width: 1100px) { .grid { columns: 3; } }

/* ---- a pin's page ---------------------------------------------------------------------------------- */
/* the bar: back to all pins, the page's name (an iPhone navigation bar) */
.bar { position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: .5px solid var(--rule); }
.bar-in { max-width: 1148px; margin: 0 auto; padding: 0 8px; height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.bar .back { color: var(--accent); font-size: 17px; text-decoration: none; min-height: 44px; display: flex; align-items: center; padding: 0 8px; white-space: nowrap; justify-self: start; }
.bar-name { font: 600 17px/1.2 var(--display); text-decoration: none; letter-spacing: -.01em; max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.post { max-width: 1100px; margin: 0 auto; }
.post-head { max-width: 680px; margin: 0 auto; }
.post h1 { font: 600 clamp(28px, 4vw, 40px)/1.15 var(--display); margin: 0 0 6px; letter-spacing: -.015em; text-wrap: balance; }
.post .meta { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.post .meta a { color: var(--accent); }
.kind-note .post-head, .kind-voice .post-head { padding-top: 28px; }
.kind-photo .post-head, .kind-video .post-head { padding-top: 18px; }
.photos { margin: 0 -16px; display: grid; gap: 4px; }
.photos figure { margin: 0; }
.photos img, .photos video { display: block; width: 100%; height: auto; margin: 0 auto; }
.photos figcaption { color: var(--muted); font-size: 13.5px; text-align: center; margin: 8px 16px 10px; }
.photos video { background: #000; }
.photos figure.audio { max-width: 680px; margin: 0 16px 22px; background: var(--note); color: var(--note-ink); padding: 16px; border-radius: 6px; }
.photos audio { width: 100%; }
.e-content { max-width: 680px; margin: 0 auto 28px; font-size: 17px; line-height: 1.65; }
.e-content p { margin: 0 0 1em; }
.e-content.big { font: 400 clamp(20px, 2.4vw, 24px)/1.55 var(--display); background: var(--note); color: var(--note-ink); padding: 26px 24px; border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,.07); }
.e-content.big p:last-child { margin-bottom: 0; }
.post .meta.end { max-width: 680px; margin: 0 auto; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 13.5px; }
@media (min-width: 700px) {
  .post { padding-top: 28px; }
  .photos { margin: 0; gap: 18px; }
  .photos img, .photos video { width: auto; max-width: 100%; max-height: 84vh; border-radius: 4px; }
  .photos figure.audio { margin: 0 auto 22px; }
  .kind-note .post-head, .kind-voice .post-head { padding-top: 24px; }
  .kind-photo .post-head, .kind-video .post-head { padding-top: 26px; }
  .bar-in { padding: 0 24px; }
}

/* product front page */
.landing main { max-width: 1000px; }
.landing .top .name { font-size: 24px; }
.hero { padding: 48px 0 24px; max-width: 720px; }
.hero h1 { font: 600 clamp(36px, 6vw, 64px)/1.05 var(--display); letter-spacing: -.02em; margin: 0 0 18px; }
.hero p { font-size: 19px; color: var(--muted); margin: 0; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; padding: 30px 0; }
.how .note { background: var(--note); color: var(--note-ink); padding: 22px 18px 18px; border-radius: 3px; position: relative; box-shadow: 0 6px 14px rgba(0,0,0,.07); }
.how .note b { display: block; font: 600 19px var(--display); margin-bottom: 6px; }
.how .note::before { content: ""; position: absolute; top: -6px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a7a, var(--accent) 60%); }
.tilt-l { transform: rotate(-1deg); } .tilt-r { transform: rotate(1deg); }
.soon { color: var(--muted); }

/* "Buy a print": products made from a photo. Only the box is styled here; its rows belong to the shop. */
.buy { max-width: 680px; margin: 4px auto 30px; background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 16px 16px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05); }
.buy h2 { font: 600 21px/1.2 var(--display); margin: 0 0 8px; letter-spacing: -.01em; }
.buy .offer { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.buy .offer:last-of-type { border-bottom: 0; }
.buy .what { font-weight: 500; } .buy .price { font-weight: 600; font-variant-numeric: tabular-nums; } .buy small, .buy .small { color: var(--muted); font-size: 13px; font-weight: 400; }
.buy .small { margin: 8px 0 0; line-height: 1.45; }
.buy button { background: var(--accent); color: #fff; border: 0; border-radius: 99px; min-height: 40px; padding: 8px 20px; font: 600 15px var(--body); cursor: pointer; }
@media (prefers-color-scheme: dark) { .buy { box-shadow: none; } }
.buy .price { text-align: right; } .buy .price small { display: block; white-space: nowrap; }
.buy select { display: block; margin-top: 6px; max-width: 100%; min-height: 36px; font: 15px var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--rule); border-radius: 8px; padding: 6px 8px; }
/* A phone: the name (and its size / frame picker) on its own line, the price and Buy under it. */
@media (max-width: 560px) {
  .buy .offer { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .buy .what { grid-column: 1 / -1; }
  .buy .price { text-align: left; } .buy .price small { display: inline; }
}
.order { max-width: 560px; margin: 30px auto; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 22px; }
.order h1 { font: 600 26px var(--display); margin: 0 0 8px; } .order .st { font-size: 18px; } .order a.dl { display: inline-block; margin-top: 12px; background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; }


