/* ===================================================================
   C Fodoreanu — site stylesheet
   Shared across all pages
   =================================================================== */

:root {
  --ink: #000000;
  --ink-soft: #000000;
  --grey: #000000;
  --grey-soft: #b4b4b4;
  --rule: #e8e8e8;
  --rule-soft: #f0f0f0;
  --paper: #ffffff;
  --paper-warm: #fafaf8;
  --accent: #000000;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; transition: opacity 0.2s ease; }
a:hover { opacity: 0.6; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ============ HEADER ============ */
header {
  padding: 28px 32px 22px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.logo {
  display: inline-block;
  line-height: 0;
  flex-shrink: 0;
}
.logo img {
  height: 56px;
  width: auto;
  max-width: 240px;
  display: block;
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}
nav a {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: capitalize;
  padding: 4px 10px;
  border-radius: 3px;
}
nav a.current {
  color: var(--ink);
  background: var(--paper-warm);
}

/* ============ PAGE LAYOUT ============ */
.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 32px 80px;
}
.page-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 32px 80px;
}
.page-title-block {
  text-align: center;
  margin-bottom: 56px;
}
.page-eyebrow {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 14px;
}
.page-title {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin-bottom: 12px;
}
.page-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  max-width: 580px;
  margin: 0 auto;
}

/* ============ PROSE ============ */
.prose p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.prose p strong, .prose strong { color: var(--ink); font-weight: 500; }
.prose em { font-style: italic; }
.prose h2 {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin: 40px 0 16px;
  letter-spacing: 0.005em;
}
.prose h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.prose ul {
  margin: 0 0 22px 18px;
  padding: 0;
}
.prose li {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose .lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 32px;
  font-weight: 400;
}
.prose blockquote {
  border-left: 2px solid var(--rule);
  padding-left: 22px;
  margin: 28px 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 400;
}
.prose blockquote cite {
  display: block;
  font-size: 14px;
  font-style: normal;
  color: var(--grey);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* ============ TWO COLUMN INFO ============ */
.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 15.5px;
}
.info-row:last-child { border-bottom: none; }
.info-row .label {
  color: var(--grey);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.info-row .value {
  color: var(--ink-soft);
}
.info-row .value em { font-style: italic; }

/* ============ ENTRY LIST (exhibitions, press, etc) ============ */
.entry-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.entry {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.entry .year {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey);
  letter-spacing: 0.04em;
  padding-top: 1px;
}
.entry .body { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.entry .body .title {
  color: var(--ink);
  font-weight: 400;
}
.entry .body .title em { font-style: italic; }
.entry .body .venue { display: block; font-size: 14.5px; color: var(--grey); margin-top: 3px; letter-spacing: 0.01em; }
.entry .body .partnership {
  display: block;
  font-size: 14px;
  color: var(--grey);
  margin-top: 4px;
  font-style: italic;
}
.entry .body .curatorial-statement {
  display: block;
  margin-top: 14px;
  padding: 14px 0 4px 18px;
  border-left: 1px solid var(--rule);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-style: italic;
}
.entry .body .curatorial-statement::before {
  content: '';
}
.entry .body .curatorial-statement .attribution {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--grey);
  font-style: normal;
  letter-spacing: 0.02em;
}
.entry-list .section-break {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 28px 0 8px;
  border-bottom: none;
  display: block;
}

/* ============ FOOTER ============ */
footer {
  padding: 36px 32px 30px;
  text-align: center;
  border-top: 1px solid var(--rule);
  margin-top: 40px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 14px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.footer-links a { color: var(--ink-soft); }
.copyright {
  font-size: 12.5px;
  color: var(--grey);
  letter-spacing: 0.06em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 760px) {
  header {
    padding: 22px 20px 24px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .logo img { height: 44px; }
  nav ul { gap: 14px; justify-content: center; }
  nav a { font-size: 13.5px; padding: 3px 8px; }
  .page, .page-wide { padding: 44px 20px 56px; }
  .page-title { font-size: 23px; }
  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
  .entry { grid-template-columns: 56px 1fr; gap: 16px; }
  footer { padding: 28px 24px 24px; }
  .footer-links { gap: 14px; }
}

/* ============ SUBSCRIBE FORM (contact page) ============ */
.subscribe-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 56px 0 36px;
}
.subscribe-lead {
  font-size: 15px;
  color: var(--grey);
  margin-bottom: 18px;
  max-width: 520px;
}
.subscribe-form .hidden-field {
  position: absolute;
  left: -9999px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.subscribe-row {
  display: flex;
  gap: 10px;
  max-width: 520px;
  flex-wrap: wrap;
}
.subscribe-row input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--grey);
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s ease;
}
.subscribe-row input[type="email"]:focus {
  border-color: var(--grey);
}
.subscribe-row input[type="email"]::placeholder {
  color: var(--grey-soft);
}
.subscribe-row button {
  padding: 11px 22px;
  font-family: inherit;
  font-size: 15.5px;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--grey);
  border: 1px solid var(--grey);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.subscribe-row button:hover {
  background: #fff;
  color: var(--grey);
}
.subscribe-thanks {
  font-size: 15.5px;
  color: var(--grey);
  padding: 14px 0;
}
@media (max-width: 480px) {
  .subscribe-row { flex-direction: column; }
  .subscribe-row input[type="email"],
  .subscribe-row button { width: 100%; }
}

/* ============ CONTACT PAGE BILLBOARD ============ */
.contact-billboard {
  max-width: 920px;
  margin: 110px auto 0;
  padding: 0 28px;
}
.contact-billboard img {
  width: 100%;
  height: auto;
  display: block;
}
.contact-billboard figcaption {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--grey);
  text-align: center;
  letter-spacing: 0.01em;
}
@media (max-width: 760px) {
  .contact-billboard {
    margin-top: 72px;
    padding: 0 20px;
  }
}

/* === Image protection === */
img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
