@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url(fonts/figtree-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url(fonts/figtree-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url(fonts/figtree-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url(fonts/figtree-latin-700-normal.woff2) format("woff2"); }

:root {
  /* warm paper theme */
  --bg: #faf7f2;
  --surface: #f2ece2;
  --surface-2: #ebe3d6;
  --text: #23201c;
  --text-soft: #5f584f;
  --line: #e2d9cb;
  --brenda: #9b2226;
  --jerry: #2c4a6e;
  --accent: #9b4a26;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  display: flex; flex-direction: column; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; outline: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--font); font-weight: 650; line-height: 1.12; margin: 0 0 .45em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.eyebrow { font: 600 .8rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.muted { color: var(--text-soft); }
.prose { font-size: 1.1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--accent); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.loading { padding: 30vh 0; text-align: center; color: var(--text-soft); }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 .95rem/1 var(--font);
  padding: .9em 1.4em; border: 1.5px solid currentColor; border-radius: 999px;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.solid:hover { filter: brightness(1.1); color: #fff; }
.arrow::after { content: "→"; transition: transform .2s; }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font: 700 1.45rem/1 var(--font); text-decoration: none; letter-spacing: -.02em; }
.brand em { font-style: normal; color: var(--brenda); }
.footer-brand em { font-style: normal; color: #ec8a7f; }
.site-nav { display: flex; gap: clamp(18px, 2.6vw, 34px); }
.site-nav a { font: 500 .98rem/1 var(--font); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; color: var(--text-soft); }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--text); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--text); margin: 5px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* footer */
.site-footer { margin-top: clamp(64px, 10vw, 120px); background: #23201c; color: #b6ad9f; padding: 48px 0; font-size: .97rem; border-top: 1px solid var(--line); }
.site-footer a { color: #eee8de; }
.site-footer a:hover { color: #fff; }
.footer-inner { display: grid; gap: 24px; grid-template-columns: 1fr auto; align-items: end; }
.footer-brand { font: 700 1.6rem/1 var(--font); letter-spacing: -.02em; color: #eee8de; margin-bottom: .5em; }
.footer-links { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.footer-copy { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid #3b3631; color: #8a8276; font-size: .88rem; }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } .footer-links { text-align: left; } }

/* hand-lettered wordmarks from the business cards */
.wordmark-card { display: inline-block; max-width: 100%; }
.wordmark-card img { display: block; height: auto; max-width: 100%; }

/* home: two arms */
.arms { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: min(86vh, 860px); }
.arm { position: relative; overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; min-height: 420px; background: #000; }
.arm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.arm:hover img { transform: scale(1.04); }
.arm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,10,8,.85) 0%, rgba(12,10,8,.25) 45%, rgba(12,10,8,0) 70%); }
.arm-text { position: relative; z-index: 1; padding: clamp(24px, 4vw, 56px); }
.arm-text h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: .15em; color: #fff; }
.arm-text p { margin: 0 0 1.2em; font-size: 1.1rem; color: rgba(255,255,255,.88); }
.arm-text .btn { color: #fff; }
.arm:hover { color: #fff; }
.arm:hover .btn { background: #fff; color: #1c1a18; border-color: #fff; }
@media (max-width: 760px) { .arms { grid-template-columns: 1fr; min-height: 0; } .arm { min-height: 62vh; } }

.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(64px, 10vw, 120px); }
.intro .photo img { border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(40,30,20,.45); }
.intro .photo figcaption { margin-top: 12px; color: var(--text-soft); font-size: .95rem; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

.band-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-block { padding-top: clamp(56px, 8vw, 96px); }

/* artist page */
.artist-hero { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); text-align: center; }
.artist-hero h1 { margin-bottom: .2em; }
.artist-hero .wordmark-card { margin-bottom: 18px; }
.artist-hero .wordmark-card img { width: min(520px, 76vw); }
.artist-hero .tagline { font-size: 1.2rem; color: var(--text-soft); margin: 0; }
.artist-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 70px; gap: 10px; }
.mosaic button { padding: 0; border: 0; cursor: zoom-in; background: var(--surface); border-radius: 8px; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic button:hover img { transform: scale(1.05); }
.mosaic button:nth-child(6n+1) { grid-column: span 4; grid-row: span 4; }
.mosaic button:nth-child(6n+2) { grid-column: span 2; grid-row: span 2; }
.mosaic button:nth-child(6n+3) { grid-column: span 2; grid-row: span 2; }
.mosaic button:nth-child(6n+4) { grid-column: span 3; grid-row: span 3; }
.mosaic button:nth-child(6n+5) { grid-column: span 3; grid-row: span 3; }
.mosaic button:nth-child(6n+6) { grid-column: span 6; grid-row: span 3; }
@media (max-width: 860px) { .artist-about { grid-template-columns: 1fr; } .mosaic { grid-auto-rows: 52px; } }

.sections-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 560px) { .sections-grid { grid-template-columns: 1fr; } }
.section-card { display: block; text-decoration: none; background: var(--surface); border-radius: var(--radius); overflow: hidden; transition: background .2s; }
.section-card:hover { background: var(--surface-2); color: var(--text); }
.section-card .img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.section-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.section-card:hover img { transform: scale(1.04); }
.section-card .body { padding: 16px 20px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.section-card h3 { margin: 0; }
.section-card p { margin: 0; color: var(--text-soft); font-size: .95rem; }

/* section / gallery page */
.crumbs { font-size: .92rem; color: var(--text-soft); padding-top: 32px; }
.crumbs a { text-decoration: none; color: var(--accent); }
.crumbs a:hover { text-decoration: underline; }
.section-head { text-align: center; padding-block: clamp(24px, 5vw, 56px) clamp(24px, 4vw, 40px); }
.section-head .wordmark-card { margin-bottom: 24px; }
.section-head .wordmark-card img { width: min(620px, 80vw); }
.section-head .prose { max-width: 680px; margin: 0 auto; }
.section-head .note { font-size: .95rem; color: var(--text-soft); margin-top: 1em; }
.filters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { font: 500 .95rem/1 var(--font); border: 1px solid var(--line); background: transparent; padding: .7em 1.2em; border-radius: 999px; cursor: pointer; color: var(--text-soft); }
.chip:hover { color: var(--text); border-color: var(--text-soft); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

.gallery { columns: 3 300px; column-gap: 24px; }
.piece { break-inside: avoid; margin: 0 0 28px; }
.piece button { display: block; width: 100%; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.piece img { width: 100%; height: auto; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.piece button:hover img { transform: scale(1.03); }
.piece figcaption { padding-top: 10px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.piece .t { font-weight: 600; font-size: 1.02rem; }
.piece .m { font-size: .9rem; color: var(--text-soft); white-space: nowrap; }
.badge { display: inline-block; font: 600 .72rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: .45em .75em; border-radius: 999px; background: var(--surface-2); color: var(--text-soft); vertical-align: middle; }
.badge.sold { background: var(--accent); color: #fff; }
.empty { text-align: center; padding: 64px 0; color: var(--text-soft); }

/* lightbox */
body.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20, 17, 14, .96); color: #eee8de; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; height: 100vh; height: 100dvh; display: grid; grid-template-rows: 1fr auto; padding: 24px 0; min-width: 0; }
.lb-media { min-height: 0; display: flex; align-items: center; justify-content: center; }
.lb-media img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-caption { text-align: center; padding-top: 18px; max-width: 760px; margin: 0 auto; }
.lb-caption h2 { font-size: 1.6rem; margin-bottom: .25em; color: #fff; }
.lb-caption .meta { font-size: .98rem; color: #bdb4a6; margin-bottom: .5em; }
.lb-caption .details { font-size: .98rem; margin-bottom: .9em; }
.lb-caption .btn { color: #fff; font-size: .9rem; padding: .8em 1.3em; }
.lb-caption .btn:hover { background: #fff; border-color: #fff; color: #23201c; }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; margin: 4px 0 12px; }
.lb-thumbs button { width: 54px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; opacity: .6; }
.lb-thumbs button[aria-current="true"] { border-color: #fff; opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox > button { background: none; border: 0; color: #fff; font: 300 2.8rem/1 var(--font); cursor: pointer; height: 100%; opacity: .7; }
.lightbox > button:hover { opacity: 1; }
.lb-close { position: absolute; top: 12px; right: 16px; height: auto !important; font-size: 2.4rem !important; z-index: 2; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { position: absolute; bottom: 12px; height: auto !important; z-index: 2; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-figure { padding: 56px 12px 16px; }
  .lb-caption h2 { font-size: 1.35rem; }
}

/* journal */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 24px; }
.post-card { text-decoration: none; display: block; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.post-card:hover { background: var(--surface-2); color: var(--text); }
.post-card .img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.post-card img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 16px 20px 22px; }
.post-card time, .post time { font-size: .88rem; color: var(--accent); font-weight: 500; }
.post-card h3 { margin: 6px 0; }
.post { padding-top: 40px; }
.post .cover { margin: 32px 0; border-radius: var(--radius); }
.post .prose img { border-radius: var(--radius); margin: 1.5em 0; }
.post-gallery { columns: 2 260px; column-gap: 16px; margin-top: 40px; }
.post-gallery button { padding: 0; border: 0; margin-bottom: 16px; cursor: zoom-in; width: 100%; background: none; break-inside: avoid; }
.post-gallery img { border-radius: 8px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-top: clamp(48px, 8vw, 96px); }
.contact img { border-radius: var(--radius); }
.contact .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.card-img { margin-top: 36px; width: 100%; max-width: 420px; box-shadow: 0 16px 40px -20px rgba(40,30,20,.4); }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }
