/* Biblical Archaeology exhibit — /archaeology. Parchment + gold, transparent
   page background so the site background shows through. */

.ark-page { position: relative; min-height: 100vh; padding: 0 0 70px; color: #3a3327; font-family: 'Cormorant Garamond', serif; background: transparent; }

.ark-hero { text-align: center; padding: 52px 20px 6px; }
.ark-hero-eyebrow { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; color: #a8823f; margin: 0 0 14px; }
.ark-hero-title {
  font-family: 'Cinzel', serif; font-weight: 700; line-height: 1.06; font-size: clamp(32px, 5.4vw, 54px); margin: 0 0 6px;
  background: linear-gradient(180deg, #9a7a34 0%, #7a5e26 62%, #5f4a1e 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #7a5e26;
}
.ark-hero-sub { font-size: clamp(17px, 2.4vw, 22px); font-style: italic; color: #6b5a34; margin: 0 auto; max-width: 640px; }
.ark-flourish { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 16px auto 18px; max-width: 420px; color: #b8974e; }
.ark-flourish::before, .ark-flourish::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #c9a24e 40%, #c9a24e 60%, transparent); }

/* Filters */
.ark-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px auto 0; max-width: 780px; }
.ark-filter {
  display: inline-flex; align-items: center; gap: 7px; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 0.03em;
  border: 1.5px solid #cdb987; background: rgba(251,246,234,0.7); color: #6b5a34; cursor: pointer; padding: 7px 14px; border-radius: 999px;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.ark-filter .ark-filter-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pc, #a8823f); }
.ark-filter.is-active { background: #a8823f; color: #fbf6ea; border-color: #a8823f; }
.ark-filter.is-active .ark-filter-dot { background: #fbf6ea; }
.ark-hint { text-align: center; font-size: 16px; color: #7d7057; margin: 14px auto 0; padding: 0 16px; }

/* Map */
.ark-map { max-width: 1080px; margin: 22px auto 0; padding: 0 20px; }
.ark-map-inner { position: relative; border-radius: 12px; overflow: hidden; border: 1.5px solid #b89a5c; box-shadow: inset 0 0 0 4px rgba(222,203,146,0.5), 0 8px 24px rgba(90,68,28,0.18); }
.ark-map-img { display: block; width: 100%; height: auto; }
.ark-map-empty { aspect-ratio: 3 / 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #a8823f; background: linear-gradient(160deg, #f6eed6, #efe2c4); border: 1.5px dashed #cdb987; border-radius: 12px; }
.ark-map-empty i { width: 34px; height: 34px; }
.ark-map-empty p { font-size: 16px; color: #7d7057; margin: 0; }

.ark-pin { position: absolute; transform: translate(-50%, -50%); border: none; background: none; cursor: pointer; padding: 7px; z-index: 2; }
.ark-pin-dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--pc, #a8823f); border: 2.5px solid #fbf6ea; box-shadow: 0 1px 4px rgba(0,0,0,0.4); transition: transform 140ms ease; }
.ark-pin:hover .ark-pin-dot, .ark-pin:focus-visible .ark-pin-dot { transform: scale(1.35); }
.ark-pin.is-dim { opacity: 0.16; pointer-events: none; }

/* List */
.ark-list { max-width: 1080px; margin: 26px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 14px; }
.ark-card {
  text-align: left; cursor: pointer; display: flex; flex-direction: column;
  background: linear-gradient(165deg, #faf3e2, #f2e8cf); border: 1px solid #b8974e; border-left: 4px solid var(--pc, #a8823f); border-radius: 9px;
  padding: 14px 16px; box-shadow: inset 0 0 0 1px rgba(255,253,246,0.7), 0 4px 14px rgba(90,68,28,0.12);
  transition: transform 150ms ease, box-shadow 180ms ease;
}
.ark-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255,253,246,0.7), 0 10px 24px rgba(120,90,30,0.2); }
.ark-card.is-dim { display: none; }
.ark-card-cat { align-self: flex-start; font-family: 'Cinzel', serif; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pc, #a8823f); margin-bottom: 6px; }
.ark-card-name { font-family: 'Cinzel', serif; font-size: 18px; font-weight: 600; color: #6b4f1e; margin: 0 0 3px; line-height: 1.15; }
.ark-card-site { font-size: 13.5px; color: #8a6a3f; font-style: italic; margin: 0 0 7px; }
.ark-card-summary { font-size: 15px; line-height: 1.42; color: #5f5647; margin: 0; }

/* Note */
.ark-note { max-width: 640px; margin: 26px auto 0; text-align: center; background: linear-gradient(165deg, #faf3e2, #efe2c4); border: 1px solid #cdb987; box-shadow: inset 0 0 0 3px #e2d0a0, 0 4px 14px rgba(90,68,28,0.12); padding: 14px 22px; }
.ark-note b { font-family: 'Cinzel', serif; color: #7a5e26; letter-spacing: 0.04em; }
.ark-note p { font-size: 15px; color: #6b6152; margin: 5px 0 0; line-height: 1.5; }

/* Drawer */
.ark-scrim { position: fixed; inset: 0; background: rgba(38,32,20,0.5); z-index: 1190; opacity: 0; visibility: hidden; transition: opacity 220ms ease, visibility 220ms; }
.ark-scrim.open { opacity: 1; visibility: visible; }
.ark-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 96vw); background: linear-gradient(180deg, #f7f0de, #f2e8d0); border-left: 2px solid #b89a5c; z-index: 1200; transform: translateX(100%); transition: transform 260ms ease; overflow-y: auto; box-shadow: -14px 0 44px rgba(60,45,20,0.24); }
.ark-drawer.open { transform: translateX(0); }
.ark-drawer-head { position: relative; padding: 22px 26px 16px; border-bottom: 3px solid var(--pc, #a8823f); background: linear-gradient(180deg, rgba(255,250,236,0.6), transparent); }
.ark-drawer-close { position: absolute; top: 14px; right: 14px; border: none; background: transparent; color: #8a7f68; cursor: pointer; padding: 4px; line-height: 0; }
.ark-drawer-close:hover { color: #2c2a26; }
.ark-drawer-cat { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--pc, #a8823f); }
.ark-drawer-name { font-family: 'Cinzel', serif; font-size: 23px; font-weight: 700; color: #6b4f1e; margin: 4px 0 3px; line-height: 1.14; }
.ark-drawer-meta { font-size: 14px; color: #8a6a3f; font-style: italic; margin: 0; }
.ark-drawer-body { padding: 18px 26px 34px; }

.ark-gallery { margin: 0 0 16px; }
.ark-gal-main { width: 100%; border-radius: 8px; border: 1px solid #cdb987; display: block; max-height: 300px; object-fit: cover; background: #efe2c4; }
.ark-gal-cap { font-size: 13px; color: #8a7f68; font-style: italic; margin: 6px 0 0; text-align: center; }
.ark-gal-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ark-gal-thumb { width: 58px; height: 58px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; }
.ark-gal-thumb.is-active { border-color: #a8823f; }
.ark-gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ark-drawer-lead { font-size: 17px; line-height: 1.55; color: #4a4335; margin: 0 0 12px; }
.ark-drawer-p { font-size: 16px; line-height: 1.55; color: #4a4335; margin: 0 0 12px; }
.ark-drawer h3 { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #7a5e26; margin: 18px 0 6px; }
.ark-callout { border-left: 3px solid #c9a24e; background: rgba(233,220,181,0.42); padding: 12px 15px; margin: 14px 0; }
.ark-callout .lbl { font-family: 'Cinzel', serif; font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: #a8823f; display: block; margin-bottom: 4px; }
.ark-callout p { font-size: 16px; line-height: 1.5; color: #4a4335; margin: 0; }
.ark-drawer-row { display: flex; gap: 10px; font-size: 15px; color: #5f5647; padding: 8px 0; border-top: 1px solid #e6d9bd; }
.ark-drawer-row .k { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: #a8823f; min-width: 110px; padding-top: 2px; }
.ark-drawer-row .v { flex: 1; }
.ark-drawer-links { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.ark-drawer-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.04em; color: #6b4f1e; background: #efe4ca; border: 1px solid #cdb987; padding: 12px 15px; text-decoration: none; transition: border-color 140ms ease, background 140ms ease; }
.ark-drawer-link:hover { border-color: #a8823f; background: #eaddbe; color: #6b4f1e; }
.ark-drawer-link i { color: #a8823f; }

@media (prefers-reduced-motion: reduce) { .ark-card, .ark-drawer, .ark-scrim, .ark-pin-dot { transition: none; } }
