:root {
  --red: #d25055;
  --ink: #000000;
  --muted: #000000;
  --paper: #ffffff;
  --wash: #f5f3f1;
  --line: #e7e1df;
  --max: 1180px;
  --box-gap: 24px;
  --shadow: 0 16px 44px rgba(34, 27, 25, .11);
}

@font-face {
  font-family: "TeX Gyre Adventor";
  src: url('/assets/texgyreadventor-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #efefef url('/assets/page-background.jpg') 50% 0 fixed no-repeat;
  background-size: cover;
  font: 400 15px/1.8 "TeX Gyre Adventor", "Century Gothic", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: #9f3743; }
button, input, textarea { font: inherit; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100; transform: translateY(-160%); background: #fff; padding: .6rem .9rem; }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.98);
  border-bottom: 4px solid var(--red);
  backdrop-filter: blur(10px);
}
.header-inner { width: min(var(--max), calc(100% - 40px)); min-height: 90px; margin: auto; display: flex; align-items: center; gap: 2rem; }
.brand { display: grid; grid-template-columns: 170px 100px; align-items: center; gap: 10px; min-width: 280px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand-copy { display: grid; gap: 3px; }
.brand-name { color: var(--red); font-size: 18px; letter-spacing: .01em; text-transform: uppercase; line-height: 1.15; }
.brand-tag { font-size: 15px; line-height: 1.2; text-transform: uppercase; }
.brand img { width: 100px; max-height: 76px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 1.65rem; }
.main-nav > a { color: #8d898c; text-decoration: none; white-space: nowrap; }
.main-nav > a:hover, .main-nav > a[aria-current="page"] { color: var(--red); }
.language-switch { display: flex; align-items: center; gap: .7rem; margin-left: .4rem; }
.language-switch a { display: block; padding: 4px 0; opacity: .72; border: 0; text-decoration: none; }
.language-switch a[aria-current="true"] { opacity: 1; }
.language-switch img { width: 19px; height: auto; }
.nav-toggle { display: none; border: 0; background: transparent; padding: .6rem; color: var(--ink); }

.hero-slider { position: relative; width: min(var(--max), calc(100% - 64px)); aspect-ratio: 3 / 2; margin: 16px auto 0; overflow: hidden; background: #fff; box-shadow: 0 5px 8px rgba(100,100,100,.2); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .65s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide > img, .hero-slide > a > img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-slide > a { display: block; width: 100%; height: 100%; color: #fff; }
.film-overlay { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.6rem; color: #fff; background: rgba(0,0,0,.62); }
.film-overlay strong { font-size: 1.15rem; font-weight: 400; }
.slider-dots { position: absolute; z-index: 5; left: 50%; bottom: 13px; display: flex; gap: 9px; transform: translateX(-50%); }
.slider-dots button { width: 11px; height: 11px; padding: 0; border: 1px solid rgba(255,255,255,.95); border-radius: 50%; background: rgba(20,20,20,.35); cursor: pointer; }
.slider-dots button.is-active { background: #fff; }
.hero-overlay { position: absolute; inset: auto 0 0 0; padding: clamp(1.2rem, 4vw, 3.3rem); color: white; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.hero-overlay h1 { max-width: 760px; margin: 0; font-weight: 300; font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -.035em; }
.hero-overlay p { max-width: 700px; margin: 1rem 0 0; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: .7rem 1.1rem; border: 1px solid var(--red); background: var(--red); color: white; text-decoration: none; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }
.button:hover { color: white; background: #a93c49; }
.button--ghost { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.book-section { background: #fff; }
.section--tint { background: rgba(245,243,241,.94); }
.section-inner { width: min(var(--max), calc(100% - 40px)); margin: auto; }
.eyebrow { margin: 0 0 .7rem; color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.3; }
h1 { margin: 0 0 1.2rem; color: var(--red); font-size: clamp(1.8rem, 4vw, 2.4rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { margin: 2.1rem 0 .7rem; color: var(--red); font-size: 1.3rem; }
.lead { max-width: 780px; color: var(--muted); font-size: 1.15rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .65fr); gap: var(--box-gap); align-items: start; }
.article-body { min-width: 0; }
.article-body > :first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.25rem; }
.article-body img:not(.gallery-image) { margin: 1.4rem auto; }
.article-body table { width: 100% !important; border-collapse: collapse; margin: 1.4rem 0; }
.article-body th, .article-body td { padding: .75rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.article-body ul { padding-left: 1.25rem; }
.page-shell { padding: 0 0 clamp(2.7rem, 6vw, 5.5rem); }
.breadcrumbs { margin: var(--box-gap) 0; padding: 16px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; background: #fff; box-shadow: 0 5px 8px rgba(100,100,100,.17); }
.breadcrumbs a,
.breadcrumbs a:visited,
.breadcrumbs a:hover,
.breadcrumbs a:focus { color: inherit; text-decoration: none; }
.page-shell .two-col > .article-body { padding: clamp(1.8rem, 4vw, 3rem); background: #fff; box-shadow: 0 5px 8px rgba(100,100,100,.16); }
.page-sidebar { display: grid; gap: var(--box-gap); }
.side-nav, .sidebar-contact, .sidebar-events, .sidebar-folder { padding: 24px; background: #fff; box-shadow: 0 5px 8px rgba(100,100,100,.16); }
.side-nav { border-top: 3px solid var(--red); }
.side-nav h2 { font-size: 1.15rem; color: var(--red); }
.side-nav ul { list-style: none; padding: 0; margin: 0; }
.side-nav li { border-bottom: 1px solid var(--line); }
.side-nav a { display: block; padding: .62rem 0; color: var(--muted); text-decoration: none; }
.side-nav a:hover, .side-nav a[aria-current="page"] { color: var(--red); }
.sidebar-contact h2 { margin: 0 0 .8rem; color: var(--red); font-size: 1.15rem; }
.sidebar-contact p { margin: 0 0 .65rem; font-size: .9rem; }
.contact-link { display: inline-block; color: var(--red); font-weight: 600; text-decoration: none; }
.contact-link:hover { text-decoration: underline; }
.sidebar-events h3, .sidebar-events h6, .sidebar-folder h2 { margin: 0 0 .8rem; color: var(--red); font-size: 1rem; line-height: 1.45; text-transform: uppercase; }
.sidebar-events p { font-size: .88rem; line-height: 1.65; }
.sidebar-folder img { width: 100%; margin: 0 !important; }

.two-col--exhibitions { grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr); gap: var(--box-gap); }
.exhibition-years { margin: 1.2rem 0 2.2rem; }
.exhibition-year { border-bottom: 1px solid #e5e5e5; }
.exhibition-year summary { position: relative; padding: 15px 34px 10px 0; color: var(--red); font-size: 21px; line-height: 1.3; cursor: pointer; list-style: none; }
.exhibition-year summary::-webkit-details-marker { display: none; }
.exhibition-year summary::after { content: '+'; position: absolute; right: 5px; top: 14px; color: #999; font-size: 22px; }
.exhibition-year[open] summary::after { content: '−'; }
.exhibition-year-content { padding: 8px 0 18px; }
.exhibition-year-content table { margin: 0; }
.exhibition-year-content table img { width: 22px !important; min-width: 22px; margin: 0 !important; }
.exhibition-sidebar { padding: 28px; background: #fff; box-shadow: 0 5px 8px rgba(100,100,100,.16); }
.exhibition-sidebar h2 { color: #555; font-size: 1.45rem; }
.invitation-card { display: block; width: 100%; margin: 0 0 26px; padding: 0; border: 0; color: #555; text-align: left; background: transparent; cursor: zoom-in; }
.invitation-card img { width: 100%; max-height: 280px; object-fit: cover; object-position: top; }
.invitation-card span { display: block; padding-top: 10px; font-size: 1.05rem; }

.art-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: var(--box-gap); margin: 1.5rem 0 2.2rem; }
.art-card { min-width: 0; background: white; border: 1px solid var(--line); }
.art-card--link { display: block; color: var(--ink); text-decoration: none; }
.art-card--link:hover { color: var(--red); box-shadow: var(--shadow); }
.art-card-media { position: relative; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; background: #eee; overflow: hidden; cursor: zoom-in; }
.art-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.art-card:hover .art-card-media img { transform: scale(1.035); }
.art-card-copy { padding: 1rem; }
.art-card-copy h3 { margin: 0 0 .45rem; color: var(--ink); font-size: 1.05rem; }
.art-card-copy p { margin: 0; color: var(--muted); font-size: .92rem; }
.art-card-copy .button { margin-top: .8rem; }
.home-workshops .art-grid { align-items: stretch; }
.home-workshops .art-card { display: flex; flex-direction: column; height: 100%; box-shadow: var(--shadow); border: 0; }
.home-workshops .art-card-copy { display: flex; flex: 1; flex-direction: column; }
.home-workshops .art-card-copy .button { align-self: flex-start; margin-top: auto; }
.bio-panel { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, .72fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.bio-panel h2 { color: var(--red); text-transform: uppercase; }
.bio-panel > img { width: 100%; margin: 0 !important; object-fit: contain; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--box-gap); margin: 1.5rem 0 2.3rem; }
.gallery-tile { width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; background: #f1f1f1; cursor: zoom-in; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-tile:hover img { transform: scale(1.035); }
.publication-list { margin: 1rem 0 2.4rem; padding: 0; list-style: none; }
.publication-list li { border-bottom: 1px solid var(--line); }
.publication-list a { display: block; padding: .65rem 0; color: var(--ink); text-decoration: none; }
.publication-list a:hover { color: var(--red); }
.book-feature { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.book-feature img { width: 100%; max-height: 520px; object-fit: cover; box-shadow: var(--shadow); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: var(--box-gap); }
.news-card { padding: 1.35rem; border: 1px solid var(--line); }
.news-card time { color: var(--muted); font-size: .8rem; }
.news-card h2, .news-card h3 { margin: .55rem 0 .8rem; color: var(--ink); font-size: 1.25rem; }
.news-card p { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.98); }
.rich-footer { padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.rich-footer-grid { width: min(var(--max), calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: 1fr 1.25fr 1fr 1.35fr; gap: var(--box-gap); align-items: start; }
.rich-footer h3, .rich-footer h6 { margin: 0 0 .75rem; color: var(--red); font-size: .92rem; line-height: 1.45; text-transform: uppercase; }
.rich-footer p, .rich-footer li, .rich-footer a { font-size: .83rem; line-height: 1.55; }
.rich-footer ul { padding-left: 1rem; }
.rich-footer .gallery-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; margin: .8rem 0; }
.rich-footer .gallery-tile { aspect-ratio: 1 / 1; }
.footer-inner { padding-top: 2rem; padding-bottom: 2rem; }
.footer-inner { width: min(var(--max), calc(100% - 40px)); margin: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-nav a { color: inherit; text-decoration: none; }
.site-footer a,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:focus { color: #000; text-decoration: none; }

dialog { width: min(1100px, calc(100% - 36px)); max-height: calc(100vh - 36px); padding: 0; border: 0; background: #171616; color: white; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(0,0,0,.84); }
.lightbox-inner { position: relative; display: grid; place-items: center; min-height: 55vh; padding: 2rem; }
.lightbox-inner img { max-height: 78vh; width: auto; }
.lightbox-caption { margin: .8rem 0 0; text-align: center; }
.lightbox-close { position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #111; font-size: 1.5rem; cursor: pointer; }

@media (max-width: 980px) {
  .header-inner { min-height: 78px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 20px 1.25rem; flex-direction: column; align-items: stretch; gap: 0; background: white; border-bottom: 1px solid var(--line); }
  .main-nav[data-open="true"] { display: flex; }
  .main-nav > a { padding: .65rem 0; }
  .language-switch { border-left: 0; padding: .7rem 0 0; }
  .two-col { grid-template-columns: 1fr; }
  .two-col--exhibitions { grid-template-columns: 1fr; }
  .rich-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .exhibition-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--box-gap); }
  .exhibition-sidebar h2 { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  :root { --box-gap: 16px; }
  .header-inner { width: min(100% - 28px, var(--max)); gap: .5rem; }
  .brand { grid-template-columns: 132px 58px; min-width: 200px; gap: 4px; }
  .brand-name { font-size: 14px; }
  .brand-tag { font-size: 12px; }
  .brand img { width: 58px; }
  .hero-slider { width: 100%; margin-top: 0; }
  .film-overlay { align-items: flex-start; flex-direction: column; padding: .8rem 1rem 1.5rem; }
  .film-overlay strong { font-size: .85rem; }
  .film-overlay .button { min-height: 36px; padding: .45rem .7rem; }
  .book-feature { grid-template-columns: 1fr; }
  .bio-panel { grid-template-columns: 1fr; }
  .bio-panel > img { order: -1; max-width: 300px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rich-footer-grid { grid-template-columns: 1fr; }
  .exhibition-sidebar { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
