:root {
  --bg: #0d0f14;
  --bg-2: #131722;
  --panel: rgba(22, 26, 36, 0.86);
  --panel-strong: rgba(28, 33, 45, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --text: #f5efe7;
  --muted: #b7b0a6;
  --muted-strong: #d9d0c5;
  --accent: #d39bff;
  --accent-2: #82dbc3;
  --accent-3: #ffd36e;
  --border: rgba(255, 255, 255, 0.09);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --radius-sm: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(211, 155, 255, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(130, 219, 195, 0.12), transparent 26%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

.site-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 88px;
}

.site-header {
  padding: 4px 0 48px;
}
.site-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.site-title {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-kicker,
.site-tagline,
.post-date,
.post-card-date,
.back-link,
.eyebrow,
.section-label,
.hero-note-label {
  color: var(--muted);
}
.site-kicker,
.hero-note-label,
.section-label,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
}
.site-tagline {
  margin-top: 14px;
  max-width: 760px;
  font-size: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
  padding: 12px 0 42px;
}
.hero-copy-block {
  max-width: 760px;
}
.hero h1,
.post-header h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.94;
  max-width: 9ch;
}
.hero-copy {
  font-size: 1.1rem;
  color: var(--muted-strong);
  max-width: 58ch;
}
.hero-note {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}
.hero-note p + p {
  margin-top: 10px;
}

.site-header-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.site-rss-link {
  color: var(--accent-2);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-snug {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 24px;
  margin: 8px 0 32px;
}

.about-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--panel);
}

.about-card-soft {
  background:
    linear-gradient(180deg, rgba(130,219,195,0.1), rgba(211,155,255,0.06)),
    var(--panel-strong);
}

.about-card h2 {
  margin: 10px 0 14px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}

.about-card p + p {
  margin-top: 10px;
}

.featured-exhibit {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.15fr);
  gap: 24px;
  align-items: stretch;
  margin: 4px 0 28px;
}
.featured-copy,
.featured-image-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--panel);
  overflow: hidden;
}
.featured-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(211,155,255,0.1), rgba(130,219,195,0.05)),
    var(--panel-strong);
}
.featured-copy h2 {
  margin: 10px 0 14px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
  max-width: 10ch;
}
.featured-caption {
  color: var(--muted-strong);
  font-size: 1.05rem;
  max-width: 34ch;
}
.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.featured-link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 22px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 600;
}
.featured-image-frame {
  padding: 16px;
}
.featured-image-frame img {
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  object-position: top center;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8, 10, 14, 0.85);
}
.gallery-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
}
.section-copy {
  color: var(--muted);
  max-width: 44ch;
  text-align: right;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.post-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.post-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(211,155,255,0.08), transparent 36%);
  pointer-events: none;
}
.post-card-link {
  display: block;
}
.post-card-frame {
  padding: 16px 16px 0;
}
.post-card-frame img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  background: #0b0d11;
  border: 1px solid rgba(255,255,255,0.08);
}
.post-card-body {
  padding: 18px 18px 20px;
}
.post-card-body h2 {
  margin: 8px 0 10px;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.05;
}
.post-card-body p:last-child {
  color: var(--muted);
}

.post-detail {
  max-width: 980px;
}
.back-link {
  display: inline-block;
  margin-bottom: 22px;
}
.post-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}
.post-header h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.95;
  max-width: 11ch;
}
.post-date {
  white-space: nowrap;
}
.post-figure,
.post-caption,
.tuesday-comment,
.empty-state {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.post-figure {
  padding: 18px;
  background: rgba(13, 16, 23, 0.72);
}
.post-figure img {
  border-radius: 18px;
}
.post-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}
.post-caption,
.tuesday-comment,
.empty-state {
  padding: 24px;
  background: var(--panel-strong);
}
.post-caption p:last-child,
.tuesday-comment p:last-child {
  margin-top: 10px;
  font-size: 1.02rem;
}
.tuesday-comment {
  background:
    linear-gradient(180deg, rgba(211,155,255,0.15), rgba(130,219,195,0.07)),
    var(--panel-strong);
}
.tag-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tag-list li {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--panel-soft);
}
.empty-state {
  margin-top: 24px;
}

@media (max-width: 860px) {
  .hero,
  .about-snug,
  .post-meta-grid,
  .gallery-intro,
  .post-header,
  .site-header-row,
  .featured-exhibit {
    grid-template-columns: 1fr;
    display: grid;
  }
  .gallery-intro,
  .post-header,
  .site-header-row {
    gap: 10px;
  }
  .section-copy {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1160px);
    padding-top: 20px;
  }
  .post-figure,
  .post-caption,
  .tuesday-comment,
  .empty-state,
  .hero-note,
  .featured-copy,
  .featured-image-frame {
    padding: 16px;
  }
  .post-card-frame {
    padding: 12px 12px 0;
  }
  .post-card-body {
    padding: 16px;
  }
}

.site-footer {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 0.92rem;
}
