:root {
  --bg: #fcfcf8;
  --ink: #111110;
  --muted: #6e6d68;
  --line: #e2e1da;
  --tile: #efeee8;
  --accent: #7b3a2e;
  --font: "Nunito Sans", -apple-system, system-ui, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 72px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.9; font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-weight: 300; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.fade { opacity: 0; transition: opacity .7s ease; }
.fade.loaded { opacity: 1; }

/* Thin outlined button, like the reference */
.btn { display: inline-block; border: 1px solid var(--accent); color: var(--accent); padding: 10px 22px; font-size: 13px; line-height: 1.4; transition: background .2s, color .2s; white-space: nowrap; }
.btn:hover { background: var(--accent); color: #fff; }
.btn.dark { border-color: var(--ink); color: var(--ink); }
.btn.dark:hover { background: var(--ink); color: var(--bg); }

/* ============ Header ============ */
.site-header {
  max-width: var(--wrap); margin: 0 auto; padding: 34px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: relative; z-index: 30;
}
.logo { font-size: clamp(22px, 2vw, 27px); font-weight: 400; letter-spacing: .005em; line-height: 1.2; }
.nav { display: flex; gap: clamp(20px, 3vw, 44px); font-size: 14px; }
.nav > a, .nav .dd > a { padding: 4px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav > a:hover, .nav .dd > a:hover, .nav a.active { border-color: var(--ink); }
.dd { position: relative; }
.dd-menu { position: absolute; top: 100%; left: -18px; padding: 14px 18px; background: var(--bg); border: 1px solid var(--line); min-width: 200px; display: none; flex-direction: column; line-height: 2.1; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: flex; }
.dd-menu a { color: var(--muted); }
.dd-menu a:hover { color: var(--ink); }
.menu-btn { display: none; font-size: 14px; }
.site-header::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; border-bottom: 1px solid var(--line); }

@media (max-width: 760px) {
  .site-header { padding: calc(20px + env(safe-area-inset-top, 0px)) var(--gutter) 20px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 300; }
  .nav.open { display: flex; }
  .nav > a, .nav .dd > a { padding: 10px 0; border: 0; }
  .dd-menu { position: static; display: flex; border: 0; padding: 0 0 6px 16px; font-size: 15px; line-height: 2; }
}

/* ============ Page title ============ */
.page-head { padding-top: 56px; padding-bottom: 36px; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(28px, 2.6vw, 34px); line-height: 1.3; }
.page-head .sub { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ============ Home: alternating feature rows ============ */
.feature { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: 56px; padding-bottom: 56px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip { grid-template-columns: 1fr 1.45fr; }
.feature.flip .f-img { order: 2; }
.f-img { display: block; background: var(--tile); }
.f-img img { width: 100%; height: auto; }
.f-text { text-align: center; max-width: 420px; justify-self: center; font-size: 14.5px; line-height: 2.15; }
.f-text h2 { font-size: 26px; line-height: 1.3; margin-bottom: 14px; }
.f-text .meta { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.f-text p { margin: 0 0 26px; }
.f-img .ph { max-height: 78vh; overflow: hidden; }
.f-img .ph img { width: 100%; height: 100%; object-fit: cover; }
.home-band .band-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 32px; border-top: 1px solid var(--line); padding-top: 56px; }
.home-band .band-head h2 { font-size: 26px; }
@media (max-width: 760px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 40px; }
  .feature.flip .f-img { order: 0; }
}

/* ============ Masonry ============ */
.masonry { display: flex; gap: clamp(20px, 3.4vw, 56px); align-items: flex-start; }
.m-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: clamp(32px, 4vw, 64px); }
.m-item { display: block; cursor: zoom-in; }
a.m-item { cursor: pointer; }
.m-item .ph { background: var(--tile); position: relative; }
.m-item img, .ph img { width: 100%; height: auto; }
.ph img { opacity: 0; transition: opacity .7s ease; }
.ph img.loaded { opacity: 1; }
.m-item { margin: 0; }
.m-item .cap { font-size: 12.5px; color: var(--ink); margin-top: 12px; line-height: 1.6; }
.m-item .cap span { color: var(--muted); }
.m-item:hover img { opacity: .9; }

/* ============ Collection toolbar ============ */
.c-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 40px; }
.folders { display: flex; gap: 26px; font-size: 14px; flex-wrap: wrap; }
.folders a { color: var(--muted); padding: 2px 0; border-bottom: 1px solid transparent; }
.folders a:hover { color: var(--ink); }
.folders a.active { color: var(--ink); border-color: var(--ink); }
.c-actions { display: flex; gap: 10px; position: relative; }
.c-actions .btn { padding: 8px 18px; }
.dl-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg); border: 1px solid var(--line); min-width: 240px; padding: 8px 0; z-index: 20; }
.dl-menu button { display: flex; justify-content: space-between; width: 100%; padding: 8px 18px; font-size: 14px; text-align: left; gap: 16px; }
.dl-menu button span { color: var(--muted); }
.dl-menu button:hover { background: var(--tile); }
.folder-title { font-size: 22px; padding: 24px 0 28px; border-top: 1px solid var(--line); margin-top: 32px; display: flex; justify-content: space-between; align-items: baseline; }
.folder-title:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.folder-title span { color: var(--muted); font-size: 13px; }
.c-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 72px; padding-top: 28px; font-size: 14px; }
.c-foot a { color: var(--muted); } .c-foot a:hover { color: var(--ink); }

/* ============ Journal cards ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.4vw, 56px); }
.card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.card .ph { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); margin-bottom: 18px; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.card:hover .ph img { transform: scale(1.03); }
.card .date { font-size: 12px; color: var(--muted); }
.card h3 { font-size: 19px; line-height: 1.45; margin: 6px 0 10px; font-weight: 400; }
.card p { font-size: 14px; line-height: 1.9; color: var(--muted); margin: 0 0 20px; max-width: 34ch; }
.card .btn { margin-top: auto; padding: 8px 18px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ============ Article ============ */
.article { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 0; }
.article .date { color: var(--muted); font-size: 13px; text-align: center; }
.article h1 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.25; text-align: center; margin: 8px 0 44px; }
.article p { font-size: 16.5px; line-height: 2; margin: 0 0 28px; }
.article figure { margin: 44px calc(-1 * min(120px, 8vw)); }
.article figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; text-align: center; }
.article .end { text-align: center; padding: 28px 0 0; border-top: 1px solid var(--line); margin-top: 48px; }
@media (max-width: 760px) { .article figure { margin: 32px 0; } }

/* ============ Bio ============ */
.bio { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 110px); padding-top: 56px; align-items: start; }
.bio .ph { background: var(--tile); }
.bio .ph img { width: 100%; height: 100%; object-fit: cover; }
.bio a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.bio h1 { font-size: clamp(28px, 2.6vw, 34px); margin-bottom: 28px; }
.bio p { font-size: 16px; line-height: 2.05; margin: 0 0 22px; }
.facts { margin: 40px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }
.bio h2 { font-size: 22px; margin: 56px 0 6px; }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; } .facts div { grid-template-columns: 120px 1fr; } }

/* ============ Footer ============ */
.site-footer { margin-top: 120px; border-top: 1px solid var(--line); }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 40px; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-name { font-size: 13px; font-weight: 600; }
.foot-big { font-size: 24px; font-weight: 300; margin: 24px 0 4px; line-height: 1.4; }
.foot-small { color: var(--muted); font-size: 13px; margin: 0; }
.foot-cols { display: flex; gap: clamp(40px, 8vw, 120px); font-size: 13px; }
.foot-cols h4 { font-size: 13px; font-weight: 400; color: var(--muted); margin-bottom: 14px; }
.foot-cols a { display: block; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; line-height: 2.1; }
.foot-cols a:hover { text-decoration-color: var(--ink); }
.foot-legal { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }

/* ============ Lightbox (light, quiet) ============ */
#lightbox { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter) 14px; font-size: 13px; color: var(--muted); }
.lb-actions { display: flex; gap: 24px; }
.lb-actions button { font-size: 13px; color: var(--ink); }
.lb-actions button:hover { text-decoration: underline; text-underline-offset: 3px; }
.lb-stage { position: relative; min-height: 0; touch-action: pan-y; }
.lb-stage img { position: absolute; inset: 0; margin: auto; max-width: calc(100% - 2 * var(--gutter) - 80px); max-height: 100%; object-fit: contain; transition: opacity .25s; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 300; padding: 20px; color: var(--muted); }
.lb-nav:hover { color: var(--ink); }
.lb-nav.prev { left: calc(var(--gutter) - 20px); } .lb-nav.next { right: calc(var(--gutter) - 20px); }
.lb-cap { text-align: center; font-size: 12.5px; padding: 16px var(--gutter) calc(22px + env(safe-area-inset-bottom, 0px)); }
.lb-cap span { color: var(--muted); }
@media (max-width: 760px) { .lb-stage img { max-width: 100%; } .lb-nav { display: none; } }

#toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; font-size: 13px; z-index: 200; }

.c-desc { max-width: 640px; margin: -12px 0 32px; color: var(--ink); line-height: 2; }
.empty { color: var(--muted); }
.draft-note { text-align: center; color: var(--accent); font-size: 13px; border: 1px solid var(--accent); padding: 6px 12px; margin: 0 auto 24px; width: fit-content; }
.article h2 { font-size: 24px; margin: 48px 0 18px; }
.card .ph { display: block; }
