[hidden] { display: none !important; }
:root {
  --ground: #F4F7EC;
  --ink: #18210F;
  --green: #3F5E14;
  --mint: #CFE8C6;
  --muted: #4F5A45;
  --line: #18210F;
  --display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); line-height: 1.5; }
img, video { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; }
:focus-visible { outline: 3px solid #E0A100; outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.section { padding-top: 80px; padding-bottom: 56px; }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--ink); color: var(--ground); padding: 10px 14px; border-radius: 8px; z-index: 10; }

/* splash */
.splash { display: none; min-height: 100vh; background: #FDFDFC; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; }
html.splashing .splash { display: flex; }
.splash-enter { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); }
.splash-enter img { width: min(560px, 80vw); height: auto; }
.splash-label { font-family: var(--display); font-weight: 800; font-size: 28px; }
.splash-skip { color: var(--muted); font-weight: 600; font-size: 14px; padding: 12px; }
html.splashing #site { display: none; }

/* header */
.header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.logo img { width: 260px; height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a { padding: 12px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.nav a:hover { background: var(--mint); }
.nav .nav-cta { background: var(--ink); color: var(--ground); padding: 12px 18px; }
.nav .nav-cta:hover { background: var(--green); color: #fff; }

/* hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; }
.lede { margin: 0; font-size: 19px; line-height: 1.55; color: #3E4934; max-width: 560px; }
.pill { align-self: flex-start; margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.pill.open { background: var(--mint); color: #24360B; }
.pill.closed { background: #E6E3DA; color: #3B3A33; }
.hero-art { flex: 1 1 400px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hero-art button { padding: 0; border: 0; background: #fff; border-radius: 20px; overflow: hidden; cursor: pointer; }
.hero-art button:first-child { grid-column: span 2; }
.hero-art img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn-primary { background: var(--green); color: var(--ground); }
.btn-primary:hover { background: var(--ink); color: var(--ground); }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ground); }

/* work */
.band { background: #fff; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); padding: 72px 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 600 14px var(--body); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; background: none; text-align: left; color: var(--ink); cursor: pointer; font: inherit; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; border: 2px solid var(--line); background: #fff; transition: transform .15s ease; }
.card:hover img { transform: translateY(-3px); }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-title { font-weight: 600; font-size: 17px; }
.tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; font-size: 13px; color: var(--muted); }
.tag-anim { padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--ground); font-size: 12px; font-weight: 600; }
.empty { color: var(--muted); }

/* zines */
.zines { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.zine { display: flex; flex-wrap: wrap; gap: 24px; padding: 24px; border-radius: 20px; background: #fff; border: 2px solid var(--line); }
.zine:first-child { background: var(--mint); }
.zine img { flex: 0 0 160px; width: 160px; height: 207px; object-fit: cover; border-radius: 10px; border: 2px solid var(--line); }
.zine-body { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.zine-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #2F4510; }
.zine h3 { font-size: 26px; }
.zine p { margin: 0; font-size: 16px; }
.zine a { margin-top: auto; font-weight: 600; }

/* about */
.dark { background: var(--ink); color: var(--ground); padding: 80px 0; }
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about img { flex: 0 1 320px; width: 320px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; background: #fff; }
.about .stack { flex: 1 1 420px; min-width: 0; gap: 18px; }
#aboutText p { margin: 0 0 16px; font-size: 18px; line-height: 1.6; color: #DCE6D0; }
.muted-light { margin: 0; font-size: 15px; color: #B9C7A9; }

.big { font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -0.02em; }
.footer { padding-top: 24px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }

/* viewer */
.viewer { border: 0; padding: 0; border-radius: 20px; max-width: min(1100px, 94vw); width: 100%; background: #fff; color: var(--ink); }
.viewer::backdrop { background: rgba(24, 33, 15, .75); }
.viewer-inner { position: relative; display: flex; flex-wrap: wrap; }
.viewer-media { flex: 1 1 520px; min-width: 0; background: var(--ground); display: flex; flex-direction: column; gap: 8px; max-height: 86vh; overflow: auto; }
.viewer-media img, .viewer-media video { width: 100%; height: auto; }
.viewer-info { flex: 1 1 260px; padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.viewer-info p { margin: 0; }
.viewer-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 24px; cursor: pointer; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card img { transition: none; }
}
