/* Art page â extends portfolio-a.css tokens & floating nav.
   Centered editorial pottery board. */

.art-root {
  --clay: #B07A5B;
  --clay-ink: #93603F;
  --clay-bg: #F4EBE3;
}

/* Nav avatar = real photo */
.pa-mark-avatar img.pa-mark-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 48% 22%;
  display: block;
}

/* === HERO / INTRO (centered) === */
.art-hero {
  width: min(680px, calc(100% - 64px));
  margin: 0 auto;
  padding: 64px 0 48px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 26px;
}
.art-eyebrow {
  display: inline-flex; align-items: center;
  color: var(--clay-ink);
}
.art-h1 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.art-h1-accent { color: var(--clay); font-style: italic; font-weight: 500; }
.art-intro {
  display: flex; flex-direction: column; gap: 16px;
  max-width: 56ch;
}
.art-intro p {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.7;
  color: var(--ink-2);
  text-wrap: pretty;
}
.art-intro strong { color: var(--ink); font-weight: 600; }
.art-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  margin-top: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-3);
}
.art-meta span { display: inline-flex; align-items: center; gap: 9px; }
.art-meta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); flex: none; }

/* === GALLERY BOARD (bento grid) === */
.art-board-wrap {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0 24px;
}
.art-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: var(--bento-row, 208px);
  grid-auto-flow: dense;
  gap: 18px;
}
.art-tile {
  margin: 0;
  display: block;
  height: 100%;
  min-height: 0;
}
.art-shot {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--clay-bg);
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px -34px rgba(15,20,25,0.4);
}
.art-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.art-tile:hover .art-shot img { transform: scale(1.035); }
.art-cap {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 4px 0;
}
.art-cap-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.art-cap-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--ink-3);
}

.art-foot-note {
  margin: 18px auto 0;
  max-width: 48ch;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
  text-wrap: pretty;
}

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms), transform .8s cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms); }
[data-on="true"] { opacity: 1; transform: none; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .art-board { grid-template-columns: repeat(2, 1fr); --bento-row: 168px; gap: 14px; }
}
@media (max-width: 560px) {
  .art-hero { width: calc(100% - 40px); padding-top: 40px; gap: 22px; }
  .art-h1 { font-size: clamp(34px, 11vw, 48px); }
  .art-board-wrap { width: calc(100% - 32px); }
  .art-board { --bento-row: 124px; gap: 12px; }
}
