/* Sitaaj — public site styles. Colours & fonts come from Settings (CSS variables in <head>). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-weight: 400; font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[lang="fa"], [dir="rtl"] { font-family: 'Vazirmatn', var(--font-body); }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--bg); padding: .5rem 1rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }

.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 24px; }
.wrap.wide { max-width: 1380px; }
.wrap.narrow, .narrow-block { max-width: 760px; }
.narrow-block { margin-inline: auto; }
.section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section + .section { padding-top: clamp(1rem, 3vw, 2.5rem); }

/* ---------- header (thin rules above menu items, wide-spaced name) ---------- */
.site-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem;
  padding: 34px clamp(16px, 4vw, 56px) 20px; position: relative; z-index: 20;
}
.brand { text-decoration: none; display: inline-flex; flex-direction: column; border-top: 2px solid currentColor; padding-top: 8px; }
.brand:hover { color: inherit; }
.brand-name { font-family: var(--font-brand); font-weight: 300; font-size: clamp(1.45rem, 2.6vw, 2.2rem); letter-spacing: .32em; text-transform: uppercase; line-height: 1.15; margin-right: -.32em; }
.brand-tag { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 26px; }
.site-nav li { position: relative; }
.site-nav > ul > li > a {
  display: block; text-decoration: none; padding-top: 8px; border-top: 1.5px solid currentColor;
  font-family: var(--font-brand); font-weight: 400; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; opacity: .78;
  transition: opacity .2s, color .2s, border-color .2s;
}
.site-nav > ul > li > a:hover, .site-nav > ul > li.active > a { opacity: 1; }
.site-nav > ul > li.active > a { border-top-color: var(--accent); }
.site-nav .sub-toggle { display: none; }
.site-nav .sub {
  list-style: none; margin: 0; padding: 14px 18px; position: absolute; top: 100%; left: -18px; min-width: 230px;
  background: var(--bg); box-shadow: 0 12px 32px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s; color: var(--text);
}
.site-nav li.has-sub:hover > .sub, .site-nav li.has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub a { display: block; padding: 5px 0; text-decoration: none; font-size: .85rem; letter-spacing: .04em; }
.site-nav .sub a[aria-current] { color: var(--accent); }
.menu-toggle { display: none; }

body.overlay-header .site-header { position: absolute; inset: 0 0 auto 0; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
body.overlay-header .site-header::before { content: ""; position: absolute; inset: 0 0 -60px 0; z-index: -1; pointer-events: none; background: linear-gradient(rgba(0,0,0,.32), transparent); }
body.overlay-header .brand-tag { color: rgba(255,255,255,.85); }
body.overlay-header .site-nav > ul > li.active > a { border-top-color: #fff; }

.edit-pill { position: fixed; right: 16px; bottom: 16px; z-index: 50; background: var(--text); color: var(--bg); padding: 8px 16px; border-radius: 999px; font-size: .8rem; text-decoration: none; letter-spacing: .06em; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.edit-pill:hover { color: var(--bg); background: var(--accent); }
.draft-note { background: #fff4d6; color: #6b5300; text-align: center; padding: 8px 16px; font-size: .85rem; }

/* ---------- typography ---------- */
.section-heading, .page-title {
  font-family: var(--font-head); font-weight: 300; text-transform: uppercase; letter-spacing: .22em;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem); margin: 0 0 1.75rem; line-height: 1.4;
}
h1.section-heading, .page-title { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.font-serif .section-heading, .font-serif .page-title, .font-classic .section-heading, .font-classic .page-title {
  text-transform: none; letter-spacing: .01em; font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.h-small { font-size: .85rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 500; margin: 0 0 1rem; }
.eyebrow { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.eyebrow a { text-decoration: none; }
.prose { max-width: 70ch; }
.prose p { margin: 0 0 1.1em; }
.prose h2, .prose h3 { font-weight: 500; font-size: 1.05rem; letter-spacing: .06em; margin: 2em 0 .6em; }
.prose ul { padding-left: 1.2em; }
.align-center, .align-center .prose { text-align: center; margin-inline: auto; }
.text-section.size-large .prose { font-family: var(--font-head); font-size: clamp(1.2rem, 2.1vw, 1.55rem); line-height: 1.6; font-weight: 300; }
.font-serif .text-section.size-large .prose, .font-classic .text-section.size-large .prose { font-weight: 400; font-style: italic; }
.text-section.size-small .prose { font-size: .9rem; }
.intro { margin: -0.75rem 0 2.5rem; color: var(--muted); max-width: 70ch; }

.btn {
  display: inline-block; padding: .8em 1.7em; border: 1px solid currentColor; background: transparent; color: var(--text);
  font: 500 .75rem/1.2 var(--font-body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-solid { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- hero / slideshow ---------- */
.hero { position: relative; overflow: hidden; background: #ddd; color: #fff; }
.hero-full { height: 100vh; height: 100svh; min-height: 480px; }
.hero-large { height: 82vh; min-height: 420px; }
.hero-medium { height: 60vh; min-height: 340px; }
.hero.fit-contain { background: var(--bg); }
.hero .slides { position: absolute; inset: 0; display: block; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero .slide.is-active { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero.fit-contain .slide img { object-fit: contain; padding: 110px 4vw 40px; }
.hero-text { position: absolute; left: clamp(16px, 4vw, 56px); bottom: clamp(32px, 7vh, 72px); right: 16px; text-shadow: 0 1px 18px rgba(0,0,0,.35); pointer-events: none; }
.hero.fit-contain .hero-text { color: var(--text); text-shadow: none; }
.hero-title { font-family: var(--font-brand); font-weight: 300; text-transform: uppercase; letter-spacing: .28em; font-size: clamp(1.4rem, 3.4vw, 2.8rem); margin: 0; line-height: 1.25; }
.hero-sub { margin: .4rem 0 0; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.hero-dots { position: absolute; right: clamp(16px, 4vw, 56px); bottom: clamp(28px, 7vh, 72px); display: flex; gap: 8px; }
.hero-dots button { width: 22px; height: 2px; padding: 8px 0; border: 0; background: rgba(255,255,255,.45); background-clip: content-box; cursor: pointer; }
.hero-dots button.is-active { background-color: #fff; }
.hero.fit-contain .hero-dots button { background-color: rgba(0,0,0,.25); }
.hero.fit-contain .hero-dots button.is-active { background-color: var(--text); }

/* ---------- image + text ---------- */
.it-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.side-right .it-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.side-right .it-media { order: 2; }
.it-media img { width: 100%; }

/* ---------- galleries ---------- */
.gallery { display: grid; gap: clamp(12px, 2vw, 28px); }
.gallery figure { margin: 0; }
.gallery a { display: block; cursor: zoom-in; }
.gallery figcaption { font-size: .8rem; color: var(--muted); margin-top: .6rem; letter-spacing: .03em; }
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.gallery-masonry { display: block; column-gap: clamp(12px, 2vw, 28px); }
.gallery-masonry.cols-2 { columns: 2; } .gallery-masonry.cols-3 { columns: 3; } .gallery-masonry.cols-4 { columns: 4; }
.gallery-masonry .g-item { break-inside: avoid; margin-bottom: clamp(12px, 2vw, 28px); }
.gallery-sequence { gap: clamp(3rem, 8vw, 6.5rem); max-width: 1140px; }
.gallery-sequence img { margin-inline: auto; max-height: 88vh; width: auto; }
.gallery-sequence figcaption { text-align: center; }
.gallery img { transition: opacity .3s; }
.gallery a:hover img { opacity: .9; }

/* ---------- projects ---------- */
.project-grid { display: grid; gap: clamp(2.2rem, 4vw, 3.5rem) clamp(16px, 2.2vw, 32px); }
.project-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.project-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.project-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.project-grid.layout-list { grid-template-columns: 1fr; max-width: 1140px; margin-inline: auto; gap: clamp(3.5rem, 7vw, 6rem); }
.project-card { text-decoration: none; display: block; }
.project-card:hover { color: inherit; }
.pc-img { overflow: hidden; background: rgba(0,0,0,.04); }
.pc-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.layout-list .pc-img img { aspect-ratio: 16 / 9; }
.project-card:hover .pc-img img { transform: scale(1.03); }
.pc-meta { margin-top: .9rem; font-size: .92rem; letter-spacing: .04em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .25rem; }
.pc-title { text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 500; }
.pc-year { color: var(--muted); font-size: .82rem; }
.pc-fa { margin-left: auto; color: var(--muted); font-size: .9rem; }
.pc-summary { color: var(--muted); max-width: 70ch; margin: .5rem 0 0; }
.project-titles { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(0,0,0,.12); }
.project-titles a { display: flex; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid rgba(0,0,0,.12); text-decoration: none; }
.project-titles .t { text-transform: uppercase; letter-spacing: .16em; font-size: .95rem; }
.project-titles .fa { color: var(--muted); }
.project-titles .y { margin-left: auto; color: var(--muted); font-size: .9rem; }

.project-head { text-align: center; padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: 1.5rem; }
.project-title { font-family: var(--font-brand); font-weight: 300; text-transform: uppercase; letter-spacing: .26em; font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.3; margin: 0 -.26em 0 0; }
.font-serif .project-title, .font-classic .project-title { font-family: var(--font-head); text-transform: none; letter-spacing: .01em; font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 0; }
.project-title-fa { font-size: 1.25rem; color: var(--muted); margin: .5rem 0 0; }
.project-year { color: var(--muted); letter-spacing: .2em; font-size: .85rem; margin: .4rem 0 0; }
.project-statement { padding-block: 1rem 3.5rem; }
.project-statement .prose { margin-inline: auto; }
.project-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: end; padding-block: 5rem 3rem; border-top: 1px solid rgba(0,0,0,.1); margin-top: 5rem; }
.project-nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }
.project-nav a span { display: block; color: var(--muted); font-size: .7rem; margin-bottom: .3rem; }
.project-nav .next { text-align: right; }
.project-nav .all { border-top: 1.5px solid currentColor; padding-top: 6px; }

/* ---------- lists ---------- */
.year-group { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(0,0,0,.1); }
.year-group:last-child { border-bottom: 1px solid rgba(0,0,0,.1); }
.year { margin: 0; font-weight: 400; font-size: .9rem; letter-spacing: .14em; color: var(--accent); }
.year-group ul, .plus-list { list-style: none; margin: 0; padding: 0; }
.year-group li { padding: .15rem 0 .35rem; }
.li-text { display: block; }
.li-detail { display: block; color: var(--muted); font-size: .88rem; }
.year-group a, .year-table a, .plus-list a { text-decoration: none; }
.year-group a:hover .li-text, .plus-list a:hover .li-text { text-decoration: underline; }
.plus-list li { padding: .3rem 0; }
.plus-list .li-text, .plus-list .li-detail { display: inline; }
.plus-list .li-detail::before { content: " / "; }
.li-year { color: var(--muted); }
.year-table { display: grid; grid-template-columns: 7rem 1fr; gap: .6rem 1.25rem; margin: 0; }
.year-table dt { color: var(--muted); }
.year-table dd { margin: 0; }

/* ---------- shop ---------- */
.product-list.layout-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3rem) clamp(16px, 2.2vw, 32px); }
.product-card { text-decoration: none; display: flex; flex-direction: column; }
.product-card:hover { color: inherit; }
.prc-img { background: rgba(0,0,0,.035); overflow: hidden; }
.prc-img img, .prc-img .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .prc-img img { transform: scale(1.03); }
.prc-body { padding-top: 1rem; display: flex; flex-direction: column; flex: 1; }
.prc-title { margin: 0; font-weight: 400; font-size: 1.15rem; line-height: 1.4; }
.prc-sub { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.prc-price { margin: .6rem 0 0; font-size: .95rem; }
.prc-cta { margin-top: .6rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.product-list.layout-rows { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.layout-rows .product-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.layout-rows .prc-body { padding: 0; }
.layout-rows .prc-title { font-family: var(--font-head); font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 300; }
.features { padding-left: 1.1em; margin: 1rem 0; }
.features li { margin: .25rem 0; }
.features li::marker { color: var(--accent); }

.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2rem, 5vw, 4rem); align-items: start; }
.product-media { position: sticky; top: 24px; }
.product-title { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; margin: 0; }
.font-serif .product-title, .font-classic .product-title { font-weight: 400; }
.product-sub { color: var(--muted); font-size: 1.05rem; margin: .4rem 0 0; }
.price { font-size: 1.25rem; margin: 1.2rem 0 1.5rem; }
.price-note { font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.buy { margin: 2rem 0; }
.store-links { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0; }
.request { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,.12); }

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid rgba(0,0,0,.3); padding: .55rem 0; border-radius: 0;
}
.form textarea { border: 1px solid rgba(0,0,0,.3); padding: .7rem; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .btn { justify-self: start; margin-top: .5rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.hp { position: absolute !important; left: -9999px; }
.notice { padding: .9rem 1.1rem; border-left: 2px solid var(--accent); background: rgba(255,255,255,.5); }
.notice.error { border-color: #b3261e; color: #8c1d18; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }
.contact-grid.single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.contact-details { display: grid; grid-template-columns: 6rem 1fr; gap: .7rem 1rem; margin: 2rem 0 0; }
.contact-details dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.contact-details dd { margin: 0; }

/* ---------- misc sections ---------- */
.button-section.align-center { text-align: center; }
.quote-section blockquote { margin-block: 0; text-align: center; }
.quote-section p { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 300; line-height: 1.55; margin: 0; }
.font-serif .quote-section p, .font-classic .quote-section p { font-style: italic; font-weight: 400; }
.quote-section cite { display: block; margin-top: 1.2rem; font-style: normal; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-section figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.spacer-small { height: 1.5rem; } .spacer-medium { height: 4rem; } .spacer-large { height: 8rem; }
.spacer { display: flex; align-items: center; }
.spacer hr { border: 0; border-top: 1px solid rgba(0,0,0,.14); margin: 0 auto; }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(3rem, 8vw, 6rem); padding: 3rem clamp(16px, 4vw, 56px) 2.5rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: baseline; border-top: 1px solid rgba(0,0,0,.14); padding-top: 1.6rem; }
.footer-name { color: var(--text); }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; }
.social a { text-decoration: none; }
.footer-copy { margin-left: auto; text-transform: none; letter-spacing: .03em; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(14,14,14,.97); color: #eee; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: calc(100vw - 140px); text-align: center; }
.lightbox img { max-width: 100%; max-height: 86vh; margin: 0 auto; object-fit: contain; }
.lightbox figcaption { font-size: .85rem; margin-top: .9rem; color: #bbb; min-height: 1.2em; }
.lightbox button { position: absolute; background: none; border: 0; color: #ddd; font-size: 2.6rem; line-height: 1; cursor: pointer; padding: 1rem; font-weight: 200; }
.lightbox button:hover { color: #fff; }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: .75rem; letter-spacing: .2em; color: #888; }

/* ---------- photo protection (Settings) ---------- */
.protect-images img, .protect-images .gallery a, .protect-images .lightbox { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) and (min-width: 861px) {
  .site-nav > ul { gap: 6px 18px; }
  .site-nav > ul > li > a { letter-spacing: .13em; font-size: .76rem; }
}
@media (max-width: 1000px) {
  .project-grid.cols-4, .gallery-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .gallery-masonry.cols-4 { columns: 3; }
}
@media (max-width: 860px) {
  .site-header { align-items: center; padding-top: 22px; }
  .menu-toggle { display: inline-flex; flex-direction: column; gap: 6px; background: none; border: 0; padding: 10px 4px; cursor: pointer; color: inherit; z-index: 40; }
  .menu-toggle span:not(.sr) { width: 26px; height: 1.5px; background: currentColor; transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; background: var(--bg); color: var(--text); text-shadow: none; padding: 110px 28px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 30; }
  body.nav-open .site-nav { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { color: var(--text); text-shadow: none; }
  body.nav-open .site-header::before { display: none; }
  body.nav-open .brand-tag { color: var(--muted); }
  .brand { z-index: 40; position: relative; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li { display: flex; flex-wrap: wrap; align-items: center; border-top: 1px solid rgba(0,0,0,.12); }
  .site-nav > ul > li > a { border: 0; padding: 16px 0; font-size: 1.05rem; flex: 1; opacity: 1; }
  .site-nav .sub-toggle { display: block; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: inherit; position: relative; }
  .site-nav .sub-toggle::before { content: "+"; font-size: 1.4rem; font-weight: 300; }
  .site-nav .sub-toggle[aria-expanded="true"]::before { content: "–"; }
  .site-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 14px 14px; width: 100%; display: none; background: none; }
  .site-nav li.open > .sub { display: block; }
  .site-nav li.has-sub:hover > .sub { display: none; }
  .site-nav li.has-sub.open:hover > .sub { display: block; }
  .project-grid.cols-3, .project-grid.cols-4, .gallery-grid.cols-3, .gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry.cols-3, .gallery-masonry.cols-4 { columns: 2; }
  .product-list.layout-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .it-grid, .side-right .it-grid, .product, .contact-grid, .layout-rows .product-card { grid-template-columns: 1fr; }
  .side-right .it-media { order: 0; }
  .product-media { position: static; }
  .lightbox figure { max-width: 100vw; padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 4px; transform: none; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .project-grid.cols-2, .project-grid.cols-3, .project-grid.cols-4, .gallery-grid.cols-2, .gallery-grid.cols-3, .gallery-grid.cols-4 { grid-template-columns: 1fr; }
  .gallery-masonry.cols-2, .gallery-masonry.cols-3, .gallery-masonry.cols-4 { columns: 1; }
  .row2, .product-list.layout-cards { grid-template-columns: 1fr; }
  .year-group { grid-template-columns: 1fr; gap: .25rem; }
  .year-table { grid-template-columns: 1fr; gap: 0; }
  .year-table dd { margin-bottom: .8rem; }
  .contact-details { grid-template-columns: 1fr; gap: .1rem; }
  .contact-details dd { margin-bottom: .8rem; }
  .project-nav { grid-template-columns: 1fr 1fr; }
  .project-nav .all { display: none; }
  .footer-copy { margin-left: 0; }
  .hero-dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- exhibitions ---------- */
.ex-year { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; padding: 1.2rem 0 2.4rem; border-bottom: 1px solid rgba(0,0,0,.12); margin-bottom: 1.2rem; }
.ex-year:last-child { border-bottom: 0; margin-bottom: 0; }
.ex-year-label { margin: 0; font-weight: 400; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.ex-year.is-live .ex-year-label { color: var(--text); }
.ex-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem 1.6rem; }
.ex-card { text-decoration: none; display: block; }
.ex-card:hover { color: inherit; }
.ex-img { position: relative; overflow: hidden; background: rgba(0,0,0,.05); padding-top: 72%; }
.ex-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ex-card:hover .ex-img img { transform: scale(1.03); }
.ex-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border: 1px solid rgba(0,0,0,.08); }
.ex-body { display: flex; flex-direction: column; gap: .15rem; padding-top: .9rem; }
.ex-kind { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ex-card .ex-title, .ex-list .ex-title { font-size: 1.05rem; line-height: 1.4; }
.ex-meta { color: var(--muted); font-size: .92rem; }
.ex-when { font-size: .85rem; letter-spacing: .04em; }
.ex-badge { align-self: flex-start; display: inline-block; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; background: var(--accent); color: #fff; padding: .3em .7em; margin-bottom: .35rem; }
.ex-group-body { min-width: 0; display: grid; gap: 1.6rem; }
.ex-list { list-style: none; margin: 0; padding: 0; }
.ex-kind-inline { color: var(--muted); font-size: .8rem; letter-spacing: .04em; }
.ex-list a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(0,0,0,.08); text-decoration: none; }
.ex-list .ex-when { text-align: right; color: var(--muted); }
.ex-head { text-align: center; padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: 1.5rem; }
.ex-head .ex-badge { margin: 0 auto .8rem; display: table; }
.ex-page-title { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; margin: 0; }
.font-serif .ex-page-title, .font-classic .ex-page-title { font-weight: 400; }
.ex-page-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.4rem; margin: 1rem 0 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ex-about { padding-bottom: 2.5rem; }
.ex-about .prose { margin-inline: auto; }
.ex-shown { color: var(--muted); }
.ex-photos { margin-top: 1rem; }
@media (max-width: 1000px) { .ex-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .ex-year { grid-template-columns: 1fr; gap: .8rem; }
  .ex-cards { grid-template-columns: 1fr; }
  .ex-list a { grid-template-columns: 1fr; gap: .1rem; }
  .ex-list .ex-when { text-align: left; }
}

/* exhibitions: About-page list + home-page highlights */
.ex-tag { display: inline-block; margin-left: .4rem; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; background: var(--accent); color: #fff; padding: .2em .55em; vertical-align: .15em; }
.ex-all-link { margin: 1.6rem 0 0; }
.exhibitions-compact .ex-all-link a { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.ex-highlights .ex-all-link { text-align: left; }
.ex-h-sub { margin: 1.8rem 0 .4rem; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.ex-h-sub:first-of-type { margin-top: 0; }
.ex-rows { border-top: 1px solid rgba(0,0,0,.12); }
.ex-row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 1.2rem; align-items: baseline; padding: .95rem 0; border-bottom: 1px solid rgba(0,0,0,.12); text-decoration: none; }
.ex-row:hover { color: inherit; }
.ex-row:hover .ex-title { text-decoration: underline; text-underline-offset: 3px; }
.ex-row-when { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.ex-row-main { display: flex; flex-direction: column; gap: .1rem; }
.ex-row .ex-title { font-size: 1.02rem; }
.ex-row-go { color: var(--muted); transition: transform .2s; }
.ex-row:hover .ex-row-go { transform: translateX(3px); color: var(--accent); }
@media (max-width: 600px) { .ex-row { grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .8rem; } .ex-row-when { grid-column: 1 / -1; } }

/* ---------- press & publications ---------- */
.press-block + .press-block { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.press-sub { margin: 0 0 1.4rem; font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.pub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem 1.8rem; }
.pub-cover { position: relative; background: rgba(0,0,0,.04); padding-top: 128%; overflow: hidden; }
.pub-cover > a:first-child, .pub-cover .pub-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pub-cover img { width: 100%; height: 100%; object-fit: contain; padding: 6%; filter: drop-shadow(0 6px 14px rgba(0,0,0,.12)); }
.pub-ph { padding: 12%; text-align: center; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.35; color: var(--muted); border: 1px solid rgba(0,0,0,.08); }
.press-extra { display: none !important; }
.pub-kind { margin: .9rem 0 .2rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pub-title { margin: 0; font-size: 1.02rem; font-weight: 400; line-height: 1.4; }
.pub-outlet { margin: .15rem 0 0; color: var(--muted); font-size: .92rem; }
.pub-note { margin: .5rem 0 0; font-size: .9rem; color: var(--muted); }
.press-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: .7rem 0 0; }
.press-link { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.press-link:hover { color: var(--text); }
.press-featuring { margin: .5rem 0 0; font-size: .88rem; color: var(--muted); }
.press-rows { display: grid; gap: 0; min-width: 0; }
.press-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.2rem 0 1.4rem; border-bottom: 1px solid rgba(0,0,0,.08); }
.press-row:first-child { padding-top: 0; }
.press-row:last-child { border-bottom: 0; }
.press-row.has-thumb { grid-template-columns: minmax(0, 1fr) 150px; }
.press-meta { display: flex; flex-wrap: wrap; gap: .2rem .9rem; margin: 0 0 .35rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.press-title { margin: 0; font-family: var(--font-head); font-weight: 300; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.35; }
.font-serif .press-title, .font-classic .press-title { font-weight: 400; }
.press-title a { text-decoration: none; }
.press-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.press-quote { margin: .7rem 0 0; padding-left: 1rem; border-left: 1px solid var(--accent); font-style: italic; color: var(--muted); max-width: 62ch; }
.press-quote::before { content: "“"; } .press-quote::after { content: "”"; }
.press-thumb a:first-child { display: block; background: rgba(0,0,0,.04); }
.press-thumb img { width: 150px; height: 190px; object-fit: cover; }
.press-compact .li-text span { color: var(--muted); font-size: .8em; }
@media (max-width: 1000px) { .pub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .pub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1rem; }
  .press-row.has-thumb { grid-template-columns: minmax(0, 1fr) 90px; gap: 1rem; }
  .press-thumb img { width: 90px; height: 115px; }
}
