:root {
  --paper: #f4f2ec;
  --paper-2: #ffffff;
  --ink: #17150f;
  --muted: #6b675c;
  --line: #e2ded3;
  --accent: #c6482c;
  --accent-ink: #a83a20;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(198, 72, 44, .16); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }

.serif { font-family: var(--serif); }
.mut { color: var(--muted); }

.section { padding: 72px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; }
.section-head .more { font-size: 14px; white-space: nowrap; }

/* Header */
.hd {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 242, 236, .86);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hd-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.wordmark {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.wordmark:hover { text-decoration: none; }
.wordmark b { font-weight: 400; font-style: italic; }
.wordmark i {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: super;
  margin-left: 1px;
}
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  color: var(--ink);
  font-size: 14.5px;
  padding: 4px 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--accent);
  transition: right .2s ease;
}
.nav a:hover { text-decoration: none; }
.nav a:hover::after { right: 40%; }
.nav a.active { color: var(--accent-ink); }
.nav a.active::after { right: 0; }

.burger {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-2);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.burger span { width: 17px; height: 1.5px; background: var(--ink); transition: .2s; }
.burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 500;
  padding: 11px 20px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  transition: border-color .18s ease, background .18s ease, transform .05s ease;
}
.btn:hover { border-color: #cfc9ba; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-accent {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }
.btn-block { width: 100%; justify-content: center; }

/* Search */
.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 4px 4px 16px;
  box-shadow: var(--shadow);
}
.search:focus-within { border-color: #cbb; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.search.err { border-color: var(--accent); }
.search svg { flex: none; color: var(--muted); }
.search input {
  flex: 1 1 auto; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 10px 0;
}
.search input::placeholder { color: var(--muted); }
.search button { flex: none; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13.5px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  transition: .16s ease;
}
.chip:hover { border-color: #cfc9ba; }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip.chip-fav.active { background: var(--ink); border-color: var(--ink); }

/* Hero */
.hero { padding: 60px 0 40px; }
.hero-lead { max-width: 720px; }
.hero h1 {
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 14px 0 0;
}
.hero h1 em { font-style: italic; color: var(--accent-ink); }
.hero p { font-size: clamp(16px, 2vw, 19px); color: var(--muted); margin: 20px 0 26px; max-width: 560px; }
.hero .search { max-width: 560px; }
.hero-cats { margin-top: 18px; }
.hero-media {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 14px;
  margin-top: 46px;
}
.hero-media .m {
  position: relative; overflow: hidden;
  border-radius: 6px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.hero-media .m img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.hero-media .m:hover img { transform: scale(1.03); }
.hero-media .m1 { grid-row: span 2; }
.hero-cap {
  position: absolute; left: 12px; bottom: 10px;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgba(12,11,9,.42);
  padding: 4px 9px; border-radius: 4px;
  backdrop-filter: blur(2px);
}
.hero-media .m.miss { background: linear-gradient(135deg, #efece4, #e2ded3); }
.hero-media .m.miss img { display: none; }
.hero-media .m.miss::after {
  content: "F"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 46px;
  color: rgba(23, 21, 15, .16);
}

/* Stat strip */
.stats { display: flex; flex-wrap: wrap; gap: 40px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat .n { font-family: var(--serif); font-size: 30px; line-height: 1; }
.stat .t { margin-top: 6px; }

/* Masonry */
.grid { column-gap: 16px; }
.grid.cols { column-count: 4; }
@media (max-width: 1080px) { .grid.cols { column-count: 3; } }
@media (max-width: 720px) { .grid.cols { column-count: 2; } }
@media (max-width: 420px) { .grid.cols { column-count: 1; } .grid.cols.keep2 { column-count: 2; } }

.grid.teaser { column-count: 4; }
@media (max-width: 1080px) { .grid.teaser { column-count: 3; } }
@media (max-width: 720px) { .grid.teaser { column-count: 2; } }

.card {
  position: relative;
  break-inside: avoid;
  margin: 0 0 16px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper-2);
  cursor: zoom-in;
}
.card img { width: 100%; height: auto; display: block; background: #efece4; }
.card-ph {
  display: none;
  aspect-ratio: var(--ar, 1);
  background:
    linear-gradient(135deg, rgba(255,255,255,.5), rgba(226,222,211,.5)),
    var(--ph-tone, #ece8df);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: var(--muted);
}
.card-ph .mono { font-family: var(--serif); font-size: 30px; color: rgba(23,21,15,.28); font-style: italic; }
.card.is-missing img { display: none; }
.card.is-missing .card-ph { display: flex; }

.card-veil {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 12px;
  background: linear-gradient(to top, rgba(12,11,9,.5) 0%, rgba(12,11,9,.05) 40%, transparent 68%);
  opacity: 0;
  transition: opacity .2s ease;
}
.card:hover .card-veil, .card:focus-within .card-veil { opacity: 1; }
.card-author { color: #fff; font-size: 13px; font-weight: 500; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.card-heart {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: transform .12s ease, background .16s ease;
}
.card-heart svg { width: 17px; height: 17px; }
.card-heart:hover { transform: scale(1.08); }
.card-heart.on { color: var(--accent); }
.card-heart.on svg { fill: var(--accent); }

/* Collections */
.coll-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .coll-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .coll-grid { grid-template-columns: 1fr; } }
.coll {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow);
  transition: border-color .18s ease, transform .18s ease;
}
.coll:hover { border-color: #cfc9ba; transform: translateY(-2px); text-decoration: none; }
.coll-thumbs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 84px 84px; gap: 2px; background: var(--line); }
.coll-thumbs .t { position: relative; overflow: hidden; background: #ece8df; }
.coll-thumbs .t:first-child { grid-row: span 2; }
.coll-thumbs .t img { width: 100%; height: 100%; object-fit: cover; }
.coll-thumbs .t.is-missing { background: linear-gradient(135deg,#efece4,#e2ded3); }
.coll-body { padding: 16px 18px 18px; }
.coll-body h3 { font-size: 21px; }
.coll-body p { color: var(--muted); font-size: 14px; margin: 6px 0 12px; }
.coll-meta { display: flex; align-items: center; justify-content: space-between; }
.coll-meta .cnt { font-size: 13px; color: var(--muted); }
.coll-meta .go { font-size: 13px; color: var(--accent-ink); font-weight: 600; }

/* Authors */
.auth-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .auth-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .auth-grid { grid-template-columns: 1fr; } }
.auth {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper-2);
}
.avatar {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px;
  position: relative;
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-name { font-weight: 600; font-size: 14.5px; }
.auth-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* CTA band */
.cta {
  margin: 8px 0 0;
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  padding: 54px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.1; }
.cta p { color: rgba(244,242,236,.72); margin: 10px 0 0; max-width: 440px; }
.cta .btn { background: var(--accent); color: #fff; border-color: var(--accent); }
.cta .btn:hover { background: #d4553a; border-color: #d4553a; }

/* Gallery toolbar */
.tools { padding: 26px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.tools .search { max-width: 480px; margin-bottom: 18px; }
.tools-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sort { display: flex; align-items: center; gap: 8px; }
.sort .label { white-space: nowrap; }
.sort select {
  font-family: inherit; font-size: 14px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--paper-2); padding: 8px 30px 8px 12px;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%236b675c' stroke-width='1.4' fill='none'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center;
}
.count { font-size: 13px; color: var(--muted); }
.empty { text-align: center; padding: 80px 0; color: var(--muted); }
.empty h3 { font-size: 24px; color: var(--ink); margin-bottom: 8px; }
.more-wrap { text-align: center; padding: 40px 0 10px; }

/* License page */
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.03; max-width: 720px; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 600px; margin: 18px 0 0; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper-2); padding: 28px 26px;
  display: flex; flex-direction: column;
}
.tier.feat { border-color: var(--accent); box-shadow: 0 6px 24px rgba(198,72,44,.08); }
.tier .badge { align-self: flex-start; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: rgba(198,72,44,.1); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.tier h3 { font-size: 24px; }
.tier .price { font-family: var(--serif); font-size: 40px; margin: 14px 0 2px; }
.tier .price span { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.tier .desc { color: var(--muted); font-size: 14px; margin: 8px 0 20px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.tier li { font-size: 14px; padding-left: 26px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.tier li.no { color: var(--muted); }
.tier li.no::before { border: 0; content: "×"; top: -2px; left: 3px; font-size: 17px; color: #b9b3a6; transform: none; }
.tier .btn { margin-top: auto; }

.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
table.cmp th, table.cmp td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
table.cmp thead th { font-family: var(--serif); font-size: 17px; font-weight: 400; }
table.cmp th:first-child { color: var(--muted); font-family: var(--sans); font-size: 13px; }
table.cmp td { text-align: center; }
table.cmp td:first-child { text-align: left; font-weight: 500; }
table.cmp tr:last-child td { border-bottom: 0; }
.yes { color: var(--accent-ink); font-weight: 700; }
.nope { color: #b9b3a6; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 40px 20px 0; position: relative;
  font-size: 17px; font-family: var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 16px;
  font-size: 24px; color: var(--muted); font-family: var(--sans); transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 22px; color: var(--muted); font-size: 15px; max-width: 640px; }

/* Forms */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--paper-2); padding: 12px 14px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: #c9a99f; }
.field textarea { resize: vertical; min-height: 96px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field.err input, .field.err textarea { border-color: var(--accent); }
.field .msg { font-size: 12px; color: var(--accent-ink); min-height: 0; }

.join {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
  align-items: start;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 40px; background: var(--paper-2);
}
@media (max-width: 780px) { .join { grid-template-columns: 1fr; gap: 28px; } }
.join h2 { font-size: 30px; line-height: 1.1; }
.join p { color: var(--muted); margin: 12px 0 0; }
.join ul { margin: 20px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.join li { margin-bottom: 8px; }

/* Footer */
.ft { border-top: 1px solid var(--line); background: var(--paper-2); margin-top: 40px; }
.ft-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.6fr; gap: 40px; padding: 56px 0 44px; }
@media (max-width: 820px) { .ft-top { grid-template-columns: 1fr; gap: 34px; } }
.ft .wordmark { font-size: 24px; }
.ft-brand p { color: var(--muted); font-size: 14px; max-width: 300px; margin: 14px 0 0; }
.ft-col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 14px; }
.ft-col a, .ft-col button.lnk { display: block; color: var(--ink); font-size: 14px; padding: 5px 0; background: none; border: 0; text-align: left; }
.ft-col a:hover, .ft-col button.lnk:hover { color: var(--accent-ink); text-decoration: none; }
.ft-sub p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.ft-sub .search { max-width: none; }
.ft-bottom { border-top: 1px solid var(--line); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(12, 11, 9, .94);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lb.open { display: flex; }
.lb-stage { max-width: 1100px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lb-figure { max-height: 74vh; display: flex; align-items: center; justify-content: center; }
.lb-figure img { max-height: 74vh; max-width: 100%; width: auto; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-ph {
  width: min(70vw, 640px); aspect-ratio: var(--ar, 1);
  background: linear-gradient(135deg,#2a2822,#1a1813);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.3); font-family: var(--serif); font-style: italic; font-size: 40px;
}
.lb-bar { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lb-meta { color: rgba(244,242,236,.9); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.lb-meta .who { font-family: var(--serif); font-size: 18px; color: #fff; }
.lb-meta .dot { color: rgba(244,242,236,.4); }
.lb-meta small { font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: rgba(244,242,236,.55); }
.lb-actions { display: flex; gap: 10px; }
.lb-actions .btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.lb-actions .btn:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
.lb-actions .btn-accent { background: var(--accent); border-color: var(--accent); }
.lb-actions .btn-accent:hover { background: #d4553a; }
.lb-actions .btn.on svg { fill: var(--accent); }
.lb-actions .btn.on { color: #fff; }
.lb-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { background: rgba(255,255,255,.16); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center;
}
.lb-nav:hover { background: rgba(255,255,255,.16); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
@media (max-width: 640px) { .lb { padding: 16px; } .lb-nav { width: 40px; height: 40px; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(12,11,9,.5); }
.modal.open { display: flex; }
.modal-box {
  background: var(--paper); border-radius: 12px;
  max-width: 560px; width: 100%; max-height: 84vh; overflow-y: auto;
  padding: 34px 36px; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}
.modal-box h3 { font-size: 26px; margin-bottom: 14px; }
.modal-box p { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.modal-x { float: right; border: 0; background: none; font-size: 24px; color: var(--muted); line-height: 1; margin: -8px -8px 0 0; }
.modal-x:hover { color: var(--ink); }

/* Toast */
.toasts { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; border-radius: 8px; font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease;
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.ok { border-left: 3px solid var(--accent); }

/* Mobile nav */
@media (max-width: 820px) {
  .burger { display: flex; }
  .nav {
    position: fixed; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px; margin: 0;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .hero-media { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .section { padding: 52px 0; }
  .cta { padding: 36px 26px; }
  .join { padding: 26px; }
  .hero-media { grid-template-rows: 150px 150px; }
}
