/* ==========================================================================
   Public website
   ========================================================================== */

.on-dark { background: var(--ink); color: var(--on-dark); }
.on-dark .lede { color: var(--on-dark-muted); }
.on-dark .h1 em, .on-dark .h2 em, .on-dark .h3 em { color: var(--saffron-hi); }

/* faint column rules, like a ledger — used behind dark banners */
.hero::before, .phero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(245, 240, 230, .045) 0 1px, transparent 1px calc(100% / 12));
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 10%, transparent 90%);
}

/* ============ Header ============ */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr-h);
  color: var(--on-dark);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease);
}
.hdr.is-solid {
  background: rgba(245, 240, 230, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  color: var(--text); box-shadow: 0 1px 0 var(--line);
}
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__bar { height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
.brand__logo { width: 44px; height: 44px; flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.04); }
.brand__text { display: grid; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--f-display); font-size: 21px; letter-spacing: -.005em; white-space: nowrap; }
.brand__sub { font: 500 10px/1.5 var(--f-mono); letter-spacing: .13em; text-transform: uppercase; opacity: .62; white-space: nowrap; }

.hdr__nav { display: flex; align-items: center; gap: 2px; }
.hdr__nav a {
  position: relative; padding: 9px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; opacity: .8;
  transition: opacity .2s var(--ease), background-color .2s var(--ease);
}
.hdr__nav a:hover { opacity: 1; background: rgba(245, 240, 230, .09); }
.hdr.is-solid .hdr__nav a:hover { background: rgba(28, 24, 19, .06); }
.hdr__nav a.is-active { opacity: 1; }
.hdr__nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--saffron);
}

.hdr__actions { display: flex; align-items: center; gap: 8px; }
.hdr__staff {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 14px;
  border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(245, 240, 230, .26);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.hdr__staff:hover { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--paper); }
.hdr.is-solid .hdr__staff { box-shadow: inset 0 0 0 1px var(--line-strong); }
.hdr.is-solid .hdr__staff:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.hdr__mark { width: 22px; height: 22px; }

.hdr__menu {
  display: none; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 14px;
  border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(245, 240, 230, .26);
}
.hdr.is-solid .hdr__menu { box-shadow: inset 0 0 0 1px var(--line-strong); }
.hdr__menu-icon { position: relative; width: 16px; height: 10px; }
.hdr__menu-icon i { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.hdr__menu-icon i:first-child { top: 0; }
.hdr__menu-icon i:last-child { top: 8.5px; }
.hdr__menu[aria-expanded="true"] .hdr__menu-icon i:first-child { top: 4.25px; transform: rotate(45deg); }
.hdr__menu[aria-expanded="true"] .hdr__menu-icon i:last-child { top: 4.25px; transform: rotate(-45deg); }

/* mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 90; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--hdr-h) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--ink); color: var(--on-dark);
  opacity: 0; transition: opacity .35s var(--ease);
}
.mnav.is-open { opacity: 1; }
.mnav__links { display: grid; }
.mnav__links a {
  display: flex; align-items: baseline; gap: 18px; padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.05;
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
}
.mnav.is-open .mnav__links a { opacity: 1; transform: none; }
.mnav.is-open .mnav__links a:nth-child(2) { transition-delay: .04s; }
.mnav.is-open .mnav__links a:nth-child(3) { transition-delay: .08s; }
.mnav.is-open .mnav__links a:nth-child(4) { transition-delay: .12s; }
.mnav.is-open .mnav__links a:nth-child(5) { transition-delay: .16s; }
.mnav.is-open .mnav__links a:nth-child(6) { transition-delay: .2s; }
.mnav__links a[aria-current] { color: var(--saffron-hi); }
.mnav__no { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; color: var(--on-dark-muted); }
.mnav__foot { display: grid; gap: 14px; font-size: 15px; color: var(--on-dark-muted); }
.mnav__foot a { display: inline-flex; align-items: center; gap: 12px; }
.mnav__foot .icon { color: var(--saffron-hi); }
.menu-open { overflow: hidden; }
.menu-open .hdr { background: transparent !important; color: var(--on-dark) !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none !important; }
.menu-open .hdr .hdr__menu { box-shadow: inset 0 0 0 1px rgba(245, 240, 230, .26); }

@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .hdr__menu { display: inline-flex; }
}
@media (max-width: 560px) {
  :root { --hdr-h: 66px; }
  .hdr__staff { display: none; }
  .brand__logo { width: 38px; height: 38px; }
  .brand__name { font-size: 19px; }
  .hdr__menu-label { display: none; }
  .hdr__menu { width: 44px; padding: 0; justify-content: center; }
}

/* ============ Hero (home) ============ */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--hdr-h) + clamp(20px, 5vh, 72px)); }
.hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 84px); align-items: center; padding-bottom: clamp(48px, 7vh, 80px);
}
.hero__title {
  margin-top: clamp(16px, 3vh, 26px); font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3.1rem, min(7vw, 11vh), 6.5rem); line-height: .93; letter-spacing: -.022em;
}
.hero__line { display: block; }
.hero__title em { color: var(--saffron-hi); }
.hero__lede { margin-top: clamp(16px, 3vh, 26px); max-width: 47ch; font-size: clamp(1.02rem, 1.3vw, 1.14rem); color: var(--on-dark-muted); }
.hero__lede strong { color: var(--on-dark); font-weight: 500; }

.hsearch {
  position: relative; display: flex; align-items: center; gap: 8px; max-width: 600px; margin-top: clamp(20px, 4vh, 34px);
  padding: 6px 6px 6px 50px; border-radius: 999px;
  background: rgba(245, 240, 230, .07); box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.hsearch:focus-within { background: rgba(245, 240, 230, .1); box-shadow: inset 0 0 0 1px rgba(242, 179, 61, .75), 0 0 0 5px rgba(219, 146, 0, .16); }
.hsearch__icon { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--on-dark-muted); }
.hsearch__input {
  flex: 1; min-width: 0; height: 50px; border: 0; outline: none; background: transparent;
  color: var(--on-dark); font-size: 16px; -webkit-appearance: none; appearance: none;
}
.hsearch__input::placeholder { color: rgba(245, 240, 230, .44); }
.hsearch__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hsearch__kbd {
  padding: 3px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-dark);
  font: 500 12px/1.2 var(--f-mono); color: var(--on-dark-muted);
}
.hsearch__btn { min-height: 50px; }
.hero__shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; }
.hero__shortcuts .mono { margin-right: 4px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.hero__shortcuts a {
  padding: 6px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-dark); color: rgba(245, 240, 230, .86);
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.hero__shortcuts a:hover { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--paper); }

.hero__art {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 100%;
  gap: 14px; height: clamp(420px, 60vh, 580px);
}
.hero__arch { align-self: start; animation: rise 1.2s var(--ease) both; }
.hero__arch img { animation: settle 2.2s var(--ease) both; }
.hero__arch--a { height: 76%; margin-top: 14%; animation-delay: .15s; }
.hero__arch--b { height: 90%; animation-delay: .25s; }
.hero__arch--c { height: 68%; margin-top: 26%; animation-delay: .35s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
@keyframes settle { from { transform: scale(1.12); } }

.seal {
  position: absolute; left: calc(100% / 3 - 64px); bottom: 0; width: 128px; height: 128px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--saffron); box-shadow: 0 0 0 8px var(--ink);
  animation: rise 1.2s .55s var(--ease) both;
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 32s linear infinite; }
.seal__ring text { font: 500 12.5px var(--f-mono); letter-spacing: 1.5px; text-transform: uppercase; fill: var(--ink); }
.seal__logo { width: 60px; height: 60px; padding: 7px; border-radius: 50%; background: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__base {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-top: 20px; padding-bottom: 24px; font-size: 14px; color: var(--on-dark-muted);
}
.hero__base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-dark); }
.hero__base p { display: flex; align-items: center; gap: 10px; }
.hero__base .icon { color: var(--saffron-hi); }
.hero__base a:hover { color: var(--on-dark); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { height: clamp(260px, 62vw, 420px); max-width: 620px; }
}
@media (max-width: 720px) {
  .hsearch { padding-left: 44px; }
  .hsearch__icon { left: 16px; }
  .hsearch__kbd { display: none; }
  .hsearch__btn { padding: 0 16px; }
  .hsearch__btn span { display: none; }
  .hero__base { flex-direction: column; }
  .seal { width: 96px; height: 96px; left: calc(100% / 3 - 48px); box-shadow: 0 0 0 6px var(--ink); }
  .seal__ring text { font-size: 15px; letter-spacing: 1px; }
  .seal__logo { width: 44px; height: 44px; padding: 5px; }
}

/* ============ Sections ============ */
.sect { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.sect__head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px 64px; align-items: end;
  margin: 30px 0 clamp(36px, 5vw, 60px);
}
@media (max-width: 860px) { .sect__head { grid-template-columns: 1fr; } }

/* growth */
.growth__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; margin-top: 32px; }
.growth__statement { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 4.1vw, 3.6rem); line-height: 1.06; letter-spacing: -.016em; }
.ink-num { font-style: italic; color: var(--saffron-ink); white-space: nowrap; }
.ink-num--hi { background: linear-gradient(transparent 64%, var(--saffron-wash) 64% 94%, transparent 94%); padding: 0 .06em; }
.growth__side { display: grid; gap: 20px; justify-items: start; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 84px); border-top: 1px solid var(--line-strong); }
.stat { padding: 22px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dt { font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.stat dd { margin-top: 18px; font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.02em; }
@media (max-width: 860px) {
  .growth__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
}

/* ============ Programmes: the shelf ============ */
.programmes { background: var(--paper-2); }
.shelf { position: relative; display: flex; align-items: flex-end; gap: 8px; height: clamp(500px, 64vh, 600px); padding-bottom: 16px; }
.shelf::after {
  content: ""; position: absolute; left: -14px; right: -14px; bottom: 0; height: 16px; border-radius: 3px;
  background: linear-gradient(180deg, #7a5634 0%, #5b3d22 45%, #3e2814 100%);
  box-shadow: 0 16px 24px -14px rgba(40, 24, 10, .7);
}
.spine {
  --h: 94%;
  position: relative; display: flex; flex: 0 0 74px; height: var(--h); min-width: 0;
  border-radius: 5px 5px 2px 2px; background: var(--cloth); color: var(--paper); overflow: hidden;
  box-shadow: inset -7px 0 10px -6px rgba(0, 0, 0, .4), inset 6px 0 8px -7px rgba(255, 255, 255, .25);
  transition: flex-grow .75s var(--ease-io), flex-basis .75s var(--ease-io), height .75s var(--ease-io), transform .35s var(--ease);
}
.spine:nth-child(2) { --h: 100%; }
.spine:nth-child(3) { --h: 88%; }
.spine:nth-child(4) { --h: 97%; }
.spine:nth-child(5) { --h: 91%; }
.spine:nth-child(6) { --h: 99%; }
.spine.is-open { flex: 1 1 0; height: 100%; }
.spine:not(.is-open):hover { transform: translateY(-12px); }
.spine__h { display: flex; flex: 0 0 74px; margin: 0; font: inherit; }
.spine__tab {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px;
  width: 74px; height: 100%; padding: 22px 0 26px; color: inherit; text-align: center;
}
.spine__tab::before, .spine__tab::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 5px;
  border-top: 1px solid rgba(242, 179, 61, .6); border-bottom: 1px solid rgba(242, 179, 61, .6);
}
.spine__tab::before { top: 56px; }
.spine__tab::after { bottom: 52px; }
.spine__no { margin-top: 2px; font-size: 12px; opacity: .85; }
.spine__title {
  flex: 1; display: flex; align-items: center; justify-content: center; padding-top: 30px; padding-bottom: 40px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--f-display); font-size: 27px; line-height: 1; white-space: nowrap;
}
.spine__kind { display: none; }
.spine__tab:focus-visible { outline-offset: -6px; }

.spine__panel { position: relative; flex: 1 1 auto; min-width: 0; visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s .45s; }
.spine.is-open .spine__panel { visibility: visible; opacity: 1; transition: opacity .6s .2s var(--ease), visibility 0s; }
.spine__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.spine.is-open .spine__panel img { transform: none; }
.spine__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 11, 8, 0) 30%, rgba(14, 11, 8, .55) 58%, rgba(14, 11, 8, .92) 100%); }
.spine__body {
  position: absolute; left: 0; bottom: 0; z-index: 1; width: 100%; min-width: 320px; max-width: 600px;
  display: grid; justify-items: start; gap: 10px; padding: 28px 32px 30px;
  transform: translateY(16px); opacity: 0; transition: transform .7s .25s var(--ease), opacity .7s .25s var(--ease);
}
.spine.is-open .spine__body { transform: none; opacity: 1; }
.spine__meta { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-hi); }
.spine__name { font-family: var(--f-display); font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1; }
.spine__text { max-width: 46ch; font-size: 15.5px; color: rgba(245, 240, 230, .84); }
.spine__body .btn { margin-top: 6px; }

@media (max-width: 900px) {
  .shelf { flex-direction: column; align-items: stretch; height: auto; padding-bottom: 0; gap: 8px; }
  .shelf::after { display: none; }
  .spine, .spine.is-open { flex: none; height: auto; flex-direction: column; border-radius: 6px; }
  .spine:not(.is-open):hover { transform: none; }
  .spine__h { flex: none; }
  .spine__tab { width: 100%; height: 68px; flex-direction: row; gap: 18px; padding: 0 20px; }
  .spine__tab::before { top: 12px; bottom: 12px; left: 52px; right: auto; width: 5px; height: auto; border: 0; border-left: 1px solid rgba(242, 179, 61, .6); border-right: 1px solid rgba(242, 179, 61, .6); }
  .spine__tab::after { display: none; }
  .spine__title { writing-mode: horizontal-tb; transform: none; padding: 0 0 0 16px; justify-content: flex-start; font-size: 25px; }
  .spine__kind { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
  .spine__panel { flex: none; height: 0; transition: height .6s var(--ease-io), opacity .4s var(--ease), visibility 0s .6s; }
  .spine.is-open .spine__panel { height: min(118vw, 480px); transition: height .6s var(--ease-io), opacity .5s .1s var(--ease), visibility 0s; }
  .spine__body { min-width: 0; padding: 22px 20px 24px; }
}
@media (max-width: 480px) { .spine__kind { display: none; } }

/* ============ Rajatha Jayanthi ============ */
.jubilee__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 64px; align-items: end; margin-top: 30px; }
.jubilee__si { font-family: var(--f-si); font-weight: 700; font-size: clamp(3rem, 8.4vw, 7.4rem); line-height: 1.15; color: var(--saffron); margin-bottom: 6px; }
.jubilee__side { display: grid; gap: 24px; justify-items: start; }
@media (max-width: 860px) { .jubilee__head { grid-template-columns: 1fr; } }

.rail { margin-top: clamp(40px, 5vw, 64px); }
.rail__track {
  --pad: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 4px var(--pad) 28px; scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track:focus-visible { outline-offset: -2px; }
.acard {
  position: relative; flex: 0 0 clamp(272px, 27vw, 352px); scroll-snap-align: start;
  display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  border-radius: var(--r-lg); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.acard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(242, 179, 61, .4); }
.acard__img { aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--ink-3); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.acard:hover .acard__img img { transform: scale(1.05); }
.acard__body { display: grid; align-content: start; gap: 6px; padding: 20px 22px 24px; }
.acard__meta { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.acard__title { font-family: var(--f-display); font-size: 28px; line-height: 1.05; }
.acard__si { font-family: var(--f-si); font-size: 17px; color: var(--saffron-hi); }
.go-dot, .acard__go, .album__go {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink);
  opacity: 0; transform: scale(.8); transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.acard:hover .acard__go, .album:hover .album__go, .acard:focus-visible .acard__go, .album:focus-visible .album__go { opacity: 1; transform: none; }
@media (hover: none) { .acard__go, .album__go { opacity: 1; transform: none; } }
.rail__controls { display: flex; justify-content: flex-end; gap: 10px; }
.rail__btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--on-dark);
  transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s;
}
.rail__btn:hover { background: var(--paper); color: var(--ink); }
.rail__btn[disabled] { opacity: .3; pointer-events: none; }

/* ============ Visit ============ */
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 80px; align-items: center; margin-top: 30px; }
.visit__copy { display: grid; gap: 28px; justify-items: start; }
.visit__copy > div:has(.hours) { width: 100%; max-width: 480px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visit__art { position: relative; padding-bottom: 44px; }
.visit__arch { width: 84%; margin-left: auto; aspect-ratio: 4 / 5; max-height: 640px; }
.visit__card {
  position: absolute; left: 0; bottom: 0; width: min(310px, 72%);
  display: grid; gap: 10px; padding: 22px 24px; border-radius: var(--r);
  background: var(--ink); color: var(--on-dark); box-shadow: 0 30px 50px -24px rgba(21, 18, 14, .55);
}
.visit__card .mono { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-hi); }
.visit__card address { font-family: var(--f-display); font-size: 23px; line-height: 1.18; }
.visit__card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; color: var(--on-dark-muted); }
.visit__card a:hover { color: var(--on-dark); }
.visit__card .icon { color: var(--saffron-hi); }
@media (max-width: 900px) { .visit__grid { grid-template-columns: 1fr; } .visit__arch { width: 88%; } }

/* ============ Footer ============ */
.ftr { background: var(--ink); color: var(--on-dark); padding: clamp(72px, 9vw, 120px) 0 28px; }
.ftr__motto { padding-bottom: clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line-dark); }
.ftr__si { font-family: var(--f-si); font-weight: 700; font-size: clamp(3rem, 10vw, 8.6rem); line-height: 1.2; color: var(--saffron-hi); }
.ftr__en { margin-top: 6px; font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; }
.ftr__en span { font-style: italic; color: var(--on-dark-muted); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 52px 0; }
.ftr__brand img { width: 72px; height: 72px; }
.ftr__name { margin-top: 18px; max-width: 19ch; font-family: var(--f-display); font-size: 23px; line-height: 1.2; }
.ftr__name-si { margin-top: 8px; font-family: var(--f-si); font-size: 17px; color: var(--on-dark-muted); }
.ftr__h { margin-bottom: 18px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-hi); }
.ftr__list { display: grid; gap: 9px; font-size: 15px; color: var(--on-dark-muted); }
.ftr__list a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.ftr__list a:hover { color: var(--on-dark); }
.ftr__k { display: inline-block; min-width: 66px; font-size: 13px; color: rgba(245, 240, 230, .42); }
.ftr__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding-bottom: 3px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line-dark); transition: border-color .2s; }
.ftr__link:hover { border-color: var(--saffron); }
.hours--footer li { padding: 7px 0; border-color: var(--line-dark); }
.hours--footer .hours__day { font-weight: 400; font-size: 15px; }
.hours--footer .hours__time { color: var(--on-dark-muted); font-size: 13px; }
.hours--footer .is-today .hours__time { color: var(--on-dark); }
.hours--footer .hours__note { color: rgba(245, 240, 230, .45); }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(245, 240, 230, .5); }
.ftr__base nav { display: flex; flex-wrap: wrap; gap: 20px; }
.ftr__base a:hover { color: var(--on-dark); }
@media (max-width: 960px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ============ Inner page banner ============ */
.phero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: calc(var(--hdr-h) + clamp(44px, 7vw, 90px)) 0 clamp(52px, 7vw, 92px); }
.phero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: end; }
.phero--image .phero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .6fr); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--saffron-hi); }
.crumbs span[aria-hidden] { opacity: .45; }
.crumbs [aria-current] { color: var(--on-dark); }
.phero__title { margin-top: 24px; font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 8vw, 7rem); line-height: .95; letter-spacing: -.022em; }
.phero__title em { color: var(--saffron-hi); }
.phero__si { margin-top: 12px; font-family: var(--f-si); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--saffron-hi); }
.phero__lede { margin-top: 22px; max-width: 58ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--on-dark-muted); }
.phero__lede strong { color: var(--on-dark); font-weight: 500; }
.phero__art { justify-self: end; width: 100%; max-width: 340px; aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .phero--image .phero__grid { grid-template-columns: 1fr; }
  .phero__art { justify-self: start; max-width: 240px; order: -1; display: none; }
}

/* ============ Catalogue ============ */
.csearch { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, .8fr) auto; gap: 10px; margin-top: 36px; max-width: 1100px; }
.csearch .input, .csearch .select {
  min-height: 54px; border-radius: 999px; border-color: var(--line-dark);
  background-color: rgba(245, 240, 230, .07); color: var(--on-dark);
}
.csearch .input { padding-left: 48px; font-size: 16px; }
.csearch .input::placeholder { color: rgba(245, 240, 230, .45); }
.csearch .input-icon > .icon { left: 18px; color: var(--on-dark-muted); width: 20px; height: 20px; }
.csearch .select { padding-left: 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f0e6' stroke-opacity='.6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position: right 16px center; }
.csearch .select option { color: #1c1813; background: #fff; }
.csearch .input:hover, .csearch .select:hover { border-color: rgba(245, 240, 230, .32); }
.csearch .btn { min-height: 54px; }
@media (max-width: 900px) {
  .csearch { grid-template-columns: 1fr 1fr; }
  .csearch .input-icon { grid-column: 1 / -1; }
  .csearch .btn { grid-column: 1 / -1; }
}

.results { padding: clamp(36px, 5vw, 56px) 0 clamp(80px, 10vw, 130px); }
.results__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line-strong); }
.results__count { font-family: var(--f-display); font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.1; }
.results__count em { color: var(--saffron-ink); }
.results__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 13px; font-weight: 500;
  transition: background-color .2s, box-shadow .2s;
}
.chip .icon { width: 15px; height: 15px; color: var(--muted); }
.chip:hover { background: var(--danger-wash); box-shadow: inset 0 0 0 1px rgba(168, 50, 31, .3); }
.chip:hover .icon { color: var(--danger); }
.results__sort { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.results__sort .select { min-height: 40px; width: auto; padding: 6px 38px 6px 14px; border-radius: 999px; font-size: 14px; }

.blist { display: grid; }
.bitem {
  display: grid; grid-template-columns: 10px minmax(0, 1fr) minmax(0, 240px) 150px 110px; gap: 24px; align-items: center;
  padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line);
  transition: background-color .2s var(--ease);
}
.bitem:hover { background: linear-gradient(90deg, var(--paper-2), rgba(235, 227, 212, 0)); }
.bitem__spine { position: relative; width: 10px; height: 54px; border-radius: 2px; background: var(--cloth); box-shadow: inset -2px 0 3px rgba(0, 0, 0, .25); }
.bitem__spine::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 3px; border-top: 1px solid rgba(242, 179, 61, .75); border-bottom: 1px solid rgba(242, 179, 61, .75); }
.bitem__title { font-family: var(--f-display); font-size: 23px; line-height: 1.15; overflow-wrap: anywhere; }
.bitem__author { margin-top: 3px; font-size: 14.5px; color: var(--muted); }
.bitem__tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.bitem__call { font-family: var(--f-mono); font-size: 13.5px; }
.bitem__call small { display: block; margin-top: 2px; font: 400 12px/1.4 var(--f-sans); color: var(--muted); }
.bitem__status { justify-self: end; }
@media (max-width: 900px) {
  .bitem { grid-template-columns: 8px minmax(0, 1fr) auto; grid-template-areas: "s main main" "s tags tags" "s call status"; gap: 10px 16px; padding: 18px 0; }
  .bitem__spine { grid-area: s; height: 100%; min-height: 60px; width: 8px; }
  .bitem__main { grid-area: main; }
  .bitem__tags { grid-area: tags; }
  .bitem__call { grid-area: call; }
  .bitem__call small { display: inline; margin-left: 8px; }
  .bitem__status { grid-area: status; }
}
.results .pager { margin-top: 32px; }

.empty { display: grid; justify-items: center; gap: 14px; padding: clamp(56px, 8vw, 96px) 16px; text-align: center; }
.empty__art { display: flex; align-items: flex-end; gap: 5px; height: 64px; margin-bottom: 8px; }
.empty__art i { display: block; width: 14px; border-radius: 2px 2px 1px 1px; background: var(--paper-3); }
.empty__art i:nth-child(1) { height: 70%; }
.empty__art i:nth-child(2) { height: 100%; background: var(--saffron); }
.empty__art i:nth-child(3) { height: 84%; transform: rotate(14deg); transform-origin: bottom left; margin-left: 4px; }
.empty__title { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; }
.empty p { max-width: 46ch; color: var(--muted); }

/* ============ Gallery ============ */
.albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(330px, auto); gap: 18px; padding: clamp(44px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); }
.album {
  position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark);
}
.album:first-child { grid-column: span 2; grid-row: span 2; }
.album img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.album:hover img { transform: scale(1.045); }
.album::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 18, 14, 0) 20%, rgba(21, 18, 14, .62) 52%, rgba(21, 18, 14, .94) 100%); }
.album__body { margin-top: auto; display: grid; gap: 6px; padding: 24px 26px 26px; }
.album__meta { font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: rgba(245, 240, 230, .72); }
.album__title { font-family: var(--f-display); font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1.05; }
.album:first-child .album__title { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.album__si { font-family: var(--f-si); font-size: 17px; color: var(--saffron-hi); }
.album__blurb { max-width: 46ch; margin-top: 4px; font-size: 14.5px; color: rgba(245, 240, 230, .78); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) {
  .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); }
  .album:first-child { grid-row: span 1; min-height: 420px; }
}
@media (max-width: 600px) {
  .albums { grid-template-columns: 1fr; grid-auto-rows: minmax(320px, auto); }
  .album:first-child { grid-column: auto; }
}

.album-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; color: var(--on-dark-muted); font-size: 14px; }
.album-head .mono { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.album-head .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }

.jgrid { display: flex; flex-wrap: wrap; gap: 10px; padding: clamp(32px, 4vw, 48px) 0 0; }
.jgrid::after { content: ""; flex-grow: 1000000; }
.jgrid__item {
  position: relative; flex-grow: var(--r); flex-basis: calc(var(--r) * 230px);
  aspect-ratio: var(--w) / var(--h); overflow: hidden; border-radius: var(--r-sm); background: var(--paper-3);
}
.jgrid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .6s; }
.jgrid__item:hover img { transform: scale(1.035); }
.jgrid__item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(28, 24, 19, .08); pointer-events: none; }
@media (max-width: 600px) { .jgrid { gap: 6px; } .jgrid__item { flex-basis: calc(var(--r) * 130px); border-radius: 6px; } }

.anav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(56px, 7vw, 96px) 0 clamp(80px, 10vw, 130px); }
.anav a {
  display: grid; gap: 6px; padding: 26px 28px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-1); transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.anav a:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.anav a:last-child { text-align: right; justify-items: end; }
.anav .mono { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.anav__title { font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; }
.anav__si { font-family: var(--f-si); color: var(--saffron-ink); }
@media (max-width: 640px) { .anav { grid-template-columns: 1fr; } .anav a:last-child { text-align: left; justify-items: start; } }

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(13, 11, 8, .97); color: var(--paper); opacity: 0; transition: opacity .3s var(--ease);
}
.lb.is-open { opacity: 1; }
.lb__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(14px, 3vw, 28px); }
.lb__count { font: 500 13px/1 var(--f-mono); letter-spacing: .08em; color: rgba(245, 240, 230, .7); }
.lb__actions { display: flex; gap: 6px; }
.lb__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--paper); transition: background-color .2s; }
.lb__btn:hover { background: rgba(245, 240, 230, .1); }
.lb__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; padding: 0 clamp(8px, 7vw, 92px); touch-action: pan-y; }
.lb__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; transition: opacity .25s var(--ease), transform .35s var(--ease); }
.lb__img.is-loading { opacity: .25; }
.lb__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: rgba(245, 240, 230, .08); color: var(--paper); transition: background-color .2s; }
.lb__nav:hover { background: rgba(245, 240, 230, .18); }
.lb__nav--prev { left: clamp(10px, 2vw, 24px); }
.lb__nav--next { right: clamp(10px, 2vw, 24px); }
.lb__foot { padding: 14px 20px 18px; text-align: center; font-size: 13px; color: rgba(245, 240, 230, .55); }
.lb__foot kbd { font-family: var(--f-mono); padding: 1px 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(245, 240, 230, .25); }
@media (max-width: 720px) { .lb__nav { display: none; } .lb__foot kbd, .lb__keys { display: none; } }

/* ============ About ============ */
.story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px 88px; align-items: start; margin-top: 30px; }
.story__lead { font-family: var(--f-display); font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.12; letter-spacing: -.012em; }
.story__lead em { color: var(--saffron-ink); }
.story__body { display: grid; gap: 18px; margin-top: 30px; max-width: 62ch; font-size: 17px; color: var(--muted); }
.story__art { position: sticky; top: calc(var(--hdr-h) + 24px); aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story__art { position: relative; top: 0; max-width: 420px; } }

.timeline { position: relative; display: grid; gap: 0; margin-top: 40px; }
.tl { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; padding: 34px 0; border-top: 1px solid var(--line-strong); }
.tl__year { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: .9; color: var(--saffron-ink); }
.tl__title { font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.1; }
.tl__text { margin-top: 10px; max-width: 62ch; color: var(--muted); }
@media (max-width: 640px) { .tl { grid-template-columns: 1fr; gap: 12px; } }

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.person { display: grid; gap: 14px; padding: 30px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark); }
.person__role { font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-hi); }
.person__name { font-family: var(--f-display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.08; }
.person p:last-child { color: var(--on-dark-muted); }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }

.subjects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 40px; }
.subj { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.subj__name { font-family: var(--f-display); font-size: 22px; line-height: 1.15; }
.subj__name a:hover { color: var(--saffron-ink); }
.subj__n { font: 500 14px/1 var(--f-mono); color: var(--muted); }
.subj__bar { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: var(--paper-3); overflow: hidden; }
.subj__bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--saffron); transform-origin: left; }
.js .subj__bar i { transform: scaleX(0); transition: transform 1.2s var(--ease); }
.js .is-in .subj__bar i { transform: none; }
@media (max-width: 760px) { .subjects { grid-template-columns: 1fr; } }

.strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-top: 40px; }
.strip figure { overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3.2; }
.strip figure:first-child { aspect-ratio: auto; grid-row: span 2; border-radius: var(--r-arch); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr 1fr; } .strip figure:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; border-radius: var(--r-lg); } }

.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; padding: clamp(36px, 5vw, 64px); border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark); }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ============ Contact ============ */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 72px; padding: clamp(56px, 7vw, 96px) 0 clamp(80px, 10vw, 130px); }
.cblocks { display: grid; gap: 0; }
.cblock { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-top: 1px solid var(--line-strong); }
.cblock:last-child { border-bottom: 1px solid var(--line-strong); }
.cblock__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--saffron-wash); color: var(--saffron-ink); }
.cblock__k { font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cblock__v { margin-top: 10px; font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.25; }
.cblock__v a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.cblock__v a:hover { background-size: 100% 1px; }
.cblock__v small { display: block; font: 400 13px/1.5 var(--f-sans); color: var(--muted); }
.cblock .hours { margin-top: 10px; }
.cblock .status { margin-top: 12px; }
.map { position: relative; overflow: hidden; min-height: 460px; border-radius: var(--r-lg); background: var(--paper-3); box-shadow: var(--shadow-1); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.map__card { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 20px; border-radius: var(--r); background: var(--ink); color: var(--on-dark); }
.map__card p { font-size: 14px; color: var(--on-dark-muted); }
.map__card strong { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 400; color: var(--on-dark); }
.contact__side { display: grid; gap: 16px; align-content: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .map { min-height: 380px; } }
.jubilee { padding-bottom: clamp(56px, 7vw, 100px); }
.mnav:focus, .mnav:focus-visible { outline: none; }
