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

:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --surface-alt: #f1f3f5;
  --border: #e9ecef;
  --border-dark: #121316;
  --text-main: #121316;
  --text-muted: #6c757d;
  --accent: #e63946;
  --max-w: 1200px;
  --font-serif: "Ibarra Real Nova", "Didot", "Bodoni MT", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Top Running Ticker */
.ticker-bar {
  background: var(--text-main);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticker-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* Editorial Header */
.site-header {
  border-bottom: 2px solid var(--border-dark);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.site-nav a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-decoration: none;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text-main);
  border-bottom-color: var(--accent);
}

/* Main */
.site-main {
  flex: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Editorial Hero Banner */
.hero-editorial {
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 3.5rem;
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: end;
}

.hero-issue {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

h1 {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.hero-statement {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  border-left: 2px solid var(--border-dark);
  padding-left: 2rem;
}

/* Grid Exhibition Style */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem 3rem;
  margin-bottom: 4.5rem;
}

.gallery-item {
  display: flex;
  flex-direction: column;
}

.gallery-canvas {
  height: 380px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.gallery-canvas svg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-canvas {
  border-color: var(--border-dark);
  transform: translateY(-4px);
}

.gallery-item:hover .gallery-canvas svg {
  transform: scale(1.04);
}

.gallery-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.gallery-meta-row span:last-child {
  color: var(--accent);
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  margin: 0.4rem 0 0.6rem;
  letter-spacing: -0.02em;
}

.gallery-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Index Table Styling */
.archive-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0 4rem;
}

.archive-table th,
.archive-table td {
  padding: 1.25rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.archive-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-dark);
}

.archive-table td {
  font-size: 0.95rem;
}

.archive-table tr:hover td {
  background: var(--surface);
}

.archive-table .col-year {
  font-family: var(--font-mono);
  color: var(--text-muted);
  width: 120px;
}

.archive-table .col-title {
  font-weight: 600;
  font-size: 1.05rem;
}

/* Studio Manifesto Section */
.manifesto-spread {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 4rem 0;
  border-top: 2px solid var(--border-dark);
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
}

.manifesto-heading {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.2;
}

.manifesto-body {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #2b2d42;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 3rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 840px) {
  .hero-editorial {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .manifesto-spread {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 2.75rem;
  }
}
