/* ===== Art & Table wing pages ===== */

/* --- artwork hero: dark gallery wall --- */
.art-hero {
  position: relative;
  background: linear-gradient(175deg, #14100c 0%, #1d1712 100%);
  color: #f2ead8;
  padding: 6.5rem 0 3rem;
}
.art-hero::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.art-hero .inner { position: relative; z-index: 1; }
.art-hero .wing {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-300);
}
.art-hero .wing::after { content: ""; height: 1px; flex: 1; background: rgba(218, 194, 127, 0.35); }
.art-frame {
  margin-top: 2.2rem;
  border: 1px solid var(--gold-600);
  outline: 1px solid var(--gold-600);
  outline-offset: 5px;
  background: #0a0806;
  position: relative;
  cursor: zoom-in;
}
.art-frame img { width: 100%; max-height: 64svh; object-fit: contain; display: block; }
.art-frame .lens-hint {
  position: absolute; right: 0.8rem; bottom: 0.8rem;
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(242, 234, 216, 0.85);
  background: rgba(10, 8, 6, 0.72);
  border: 1px solid rgba(218, 194, 127, 0.4);
  padding: 0.4rem 0.7rem;
  pointer-events: none;
}
.art-hero h1 { font-size: clamp(2.4rem, 10vw, 4.2rem); margin-top: 2rem; color: #f6efdd; }
.art-hero .byline {
  font-family: var(--font-quote); font-style: italic;
  font-size: clamp(1.15rem, 4.6vw, 1.5rem);
  color: var(--gold-200);
  margin-top: 0.5rem;
}
.art-hero .specs {
  margin-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.45rem;
}
.art-hero .specs span {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(242, 234, 216, 0.78);
  border: 1px solid rgba(236, 228, 210, 0.25);
  padding: 0.35rem 0.65rem;
}

/* --- the study --- */
.study p { color: var(--ink-soft); }
.study p + p { margin-top: 1.2rem; }
.study p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em; line-height: 0.8;
  float: left; padding: 0.08em 0.12em 0 0;
  color: var(--accent-deep);
}

/* --- come and see / pairing --- */
.seen-card {
  border: 1px solid var(--line); background: var(--surface);
  padding: 1.5rem 1.4rem;
  display: grid; gap: 0.3rem;
}
.seen-card .when { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.seen-card .ref { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.pair-link {
  display: block; text-decoration: none;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  padding: 1.3rem 1.4rem;
  transition: border-color 0.35s;
}
.pair-link:hover { border-color: var(--accent); }
.pair-link .pl { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-faint); }
.pair-link .pt { font-family: var(--font-display); font-size: 1.25rem; color: var(--accent-deep); margin-top: 0.3rem; }

/* --- the lens (zoom overlay) --- */
.lens {
  position: fixed; inset: 0; z-index: 100;
  background: #0a0806;
  display: none;
  touch-action: none;
  overflow: hidden;
}
.lens.open { display: block; }
.lens img {
  position: absolute; left: 50%; top: 50%;
  transform-origin: 0 0;
  max-width: none;
  user-select: none; -webkit-user-drag: none;
  cursor: grab;
}
.lens .lens-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  padding: 0.9rem 1.2rem calc(0.9rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(10, 8, 6, 0.9), transparent);
}
.lens .lens-bar .ttl {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: #ece4d2; font-size: 1.05rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lens .lens-controls { display: flex; gap: 0.5rem; }
.lens .lens-controls button {
  appearance: none; cursor: pointer;
  background: rgba(236, 228, 210, 0.08);
  border: 1px solid rgba(218, 194, 127, 0.4);
  color: #ece4d2;
  font-family: inherit; font-size: 0.95rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
}
.lens .lens-close {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2;
  appearance: none; cursor: pointer;
  background: rgba(10, 8, 6, 0.7);
  border: 1px solid rgba(218, 194, 127, 0.4);
  color: #ece4d2;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 0 1rem; height: 44px;
}

/* --- dish pages --- */
.dish-hero {
  position: relative;
  background:
    radial-gradient(130% 90% at 50% 115%, rgba(204, 169, 90, 0.28) 0%, transparent 58%),
    linear-gradient(168deg, color-mix(in oklab, var(--accent-deep) 88%, black) 0%, color-mix(in oklab, var(--accent-deep) 60%, #14100c) 100%);
  color: #f2ead8;
  padding: 7.5rem 0 3.4rem;
  overflow: hidden;
}
.dish-hero::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dish-hero .inner { position: relative; z-index: 1; }
.dish-hero .wing {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-300);
}
.dish-hero .wing::after { content: ""; height: 1px; flex: 1; background: rgba(218, 194, 127, 0.35); }
.dish-hero h1 { font-size: clamp(2.4rem, 10.5vw, 4.4rem); margin-top: 1.3rem; color: #f6efdd; }
.dish-hero .sub { font-family: var(--font-quote); font-style: italic; font-size: clamp(1.15rem, 4.6vw, 1.55rem); color: var(--gold-200); margin-top: 0.5rem; }

.rules-card { border: 1px solid var(--line); background: var(--surface); padding: 1.6rem 1.4rem; }
.rules-card h3 { font-size: 1.4rem; }
.rules-card ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.rules-card li {
  display: flex; gap: 0.8rem; align-items: baseline;
  padding: 0.65rem 0;
  color: var(--ink-soft); font-size: 0.97rem;
}
.rules-card li + li { border-top: 1px solid var(--line-soft); }
.rules-card li::before {
  content: "";
  width: 7px; height: 7px; flex: none;
  background: var(--accent);
  transform: rotate(45deg) translateY(-1px);
}
.dish-photo image-slot { width: 100%; aspect-ratio: 16/10; }
