:root {
  --white: #fff;
  --ink: #141414;
  --muted: #696969;
  --rule: #e9e9e6;
  --frame: #f2f2f2;
  --font: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(22px, 3vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-weight: 300; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: #dcd7e7; color: var(--ink); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
section { scroll-margin-top: 40px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 200; letter-spacing: .01em; }
.skip-link { position: absolute; top: -60px; left: 10px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 10px; }

/* Small spaced capitals used for labels, nav and links */
.main-nav a, .mobile-menu summary, .mobile-menu a, .eyebrow, .line-link, .button, .footer-label, .hero-caption, .work-tile-title, .motion-title small, .motion-button, .availability-note, .page-lede, .dialog-facts dt {
  font-size: 12px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase;
}

/* Wordmark: Josefin Sans 100, the two Ç are a C plus a hand-drawn cedilla */
.wordmark { --track: .14em; display: inline-flex; text-decoration: none; font-size: clamp(22px, 2vw, 30px); font-weight: 100; letter-spacing: var(--track); line-height: 1; white-space: nowrap; }
.cedilla { position: relative; display: inline-block; }
.cedilla::after { content: ''; position: absolute; left: calc((100% - var(--track)) / 2); top: .74em; width: .25em; height: .32em; transform: translateX(-50%); background: currentColor; -webkit-mask: url('./assets/cedilla.svg?v=3') center / contain no-repeat; mask: url('./assets/cedilla.svg?v=3') center / contain no-repeat; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 104px; padding: 0 var(--gutter); background: var(--white); position: relative; z-index: 20; }
.site-header--overlay { position: absolute; inset: 0 0 auto; background: transparent; color: var(--white); }
.site-header--overlay .mobile-menu nav { color: var(--ink); }
.main-nav { display: flex; gap: clamp(18px, 2.2vw, 40px); margin-left: auto; }
.main-nav a { text-decoration: none; padding: 6px 0 4px; border-bottom: 1px solid transparent; transition: border-color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; padding: 10px 0 8px; border-bottom: 1px solid currentColor; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + 14px); display: flex; flex-direction: column; gap: 16px; min-width: 210px; padding: 24px; background: var(--white); box-shadow: 0 18px 50px #0002; }
.mobile-menu nav a { text-decoration: none; }

/* Buttons and links */
.line-link { display: inline-flex; align-items: center; gap: 22px; text-decoration: none; padding: 6px 0; }
.line-link::before { content: ''; width: clamp(60px, 9vw, 150px); height: 1px; background: var(--ink); transition: width .35s ease; }
.line-link:hover::before { width: clamp(80px, 12vw, 190px); }
.line-link--end { display: flex; width: max-content; margin: 46px var(--gutter) 0 auto; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 4px 34px 0; border: 1px solid var(--ink); background: var(--white); text-decoration: none; cursor: pointer; transition: background .25s, color .25s; }
.button:hover { background: var(--ink); color: var(--white); }

/* Home hero: four paintings, one after another, always shown whole */
.hero { position: relative; height: 100svh; min-height: 560px; max-height: 1100px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; margin: 0; background: var(--frame); opacity: 0; visibility: hidden; transition: opacity 1.4s ease, visibility 0s linear 1.4s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.4s ease, visibility 0s; }
.hero-art { width: 100%; height: 100%; }
/* Full-screen trial: the painting fills the screen (cropped); the dialog still shows it whole */
.hero-art img, .hero-art video { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--focus, center); }
.hero-slide::before, .hero-slide::after { content: ''; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.hero-slide::before { top: 0; height: 230px; background: linear-gradient(#00000066, #0000); }
.hero-slide::after { bottom: 0; height: 160px; background: linear-gradient(#0000, #00000059); }
.hero-caption { position: absolute; left: var(--gutter); bottom: 34px; z-index: 2; display: flex; gap: 22px; align-items: center; color: var(--white); }
.hero-count { opacity: .75; }
.hero-dots { position: absolute; right: var(--gutter); bottom: 36px; display: flex; gap: 12px; z-index: 2; }
.hero-dots button { width: 34px; height: 18px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.hero-dots button::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #ffffff80; transition: background .3s; }
.hero-dots button[aria-current="true"]::after { background: var(--white); height: 2px; }

/* About intro: portrait left, text right */
.intro { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(50px, 8vw, 150px); align-items: center; padding: clamp(100px, 11vw, 180px) var(--gutter); max-width: 1500px; margin: 0 auto; }
.intro-portrait { margin: 0; }
.intro-portrait img { width: 100%; height: auto; }
.intro-copy h2 { font-size: clamp(42px, 4vw, 68px); line-height: 1.05; margin-bottom: 34px; }
.intro-copy p { max-width: 520px; color: #4a4a4a; font-size: 16px; line-height: 1.9; letter-spacing: .02em; margin-bottom: 22px; }
.intro-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 26px; }

/* Collections: right-aligned light titles, equal tiles, paintings uncropped */
.collection { padding: 0 0 clamp(110px, 11vw, 190px); }
.section-title { text-align: right; font-size: clamp(38px, 3.6vw, 60px); line-height: 1.1; margin: 0 var(--gutter) 46px; }
.work-grid { display: grid; gap: 54px 22px; margin: 0 var(--gutter); }
.work-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.work-tile { min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.work-tile-art { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: clamp(18px, 2.2vw, 38px); background: var(--frame); }
.work-tile-art img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 12px 26px #0002; transition: box-shadow .45s ease, transform .45s ease; }
.work-tile:hover img { box-shadow: 0 18px 36px #0003; transform: translateY(-3px); }
.work-tile-title { display: block; padding: 18px 2px 0; }

/* In motion */
.motion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px 22px; margin: 0 var(--gutter); }
.motion-card { margin: 0; min-width: 0; scroll-margin-top: 40px; }
.motion-stage { display: flex; align-items: center; justify-content: center; height: clamp(420px, 46vw, 720px); padding: clamp(22px, 2.6vw, 44px); background: var(--frame); }
.motion-stage video { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 44px #0002; }
.motion-caption { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 2px 0; }
.motion-title { display: flex; flex-direction: column; gap: 10px; font-size: clamp(24px, 2vw, 32px); font-weight: 200; line-height: 1.1; }
.motion-title small { color: var(--muted); }
.motion-controls { display: flex; gap: 8px; flex: 0 0 auto; }
.motion-button { min-width: 92px; min-height: 40px; padding: 3px 14px 0; background: var(--white); border: 1px solid var(--ink); font-size: 11px; cursor: pointer; transition: background .2s, color .2s; }
.motion-button:hover, .motion-button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

/* Contact */
.contact-section { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(100px, 10vw, 160px) var(--gutter); border-top: 1px solid var(--rule); }
.contact-section h2 { font-size: clamp(44px, 4.4vw, 76px); margin-bottom: 26px; }
.contact-section p { max-width: 560px; color: #555; font-size: 16px; line-height: 1.9; margin-bottom: 38px; }

/* Inner pages */
.page { padding-bottom: clamp(110px, 11vw, 180px); }
.page-head { text-align: center; padding: clamp(60px, 7vw, 110px) var(--gutter) 22px; }
.page-head h1 { font-size: clamp(54px, 6vw, 104px); line-height: 1; margin: 0; }
.page-lede { text-align: center; color: var(--muted); margin: 0 auto 64px; padding: 0 var(--gutter); line-height: 1.8; }
.page-text { max-width: 720px; margin: 30px auto 0; padding: 0 var(--gutter); }
.page-text .page-lede { padding: 0; margin-bottom: 40px; text-align: left; text-transform: none; letter-spacing: .02em; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.7; color: #333; }
.page-text p:not(.page-lede) { color: #4a4a4a; font-size: 16px; line-height: 1.9; letter-spacing: .02em; margin-bottom: 24px; }
.availability-note { text-align: center; color: var(--muted); margin: 80px var(--gutter) 0; }

/* Exhibitions: section name on the left, shows on the right */
.show-group { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; max-width: 1240px; margin: 0 auto; padding: 56px var(--gutter) 64px; border-top: 1px solid var(--rule); }
.page-head + .show-group { margin-top: 50px; }
.show-group h2 { font-size: clamp(32px, 2.8vw, 46px); line-height: 1.15; margin: 0; }
.show-list { display: flex; flex-direction: column; gap: 44px; }
.show h3 { font-size: clamp(28px, 2.3vw, 38px); line-height: 1.15; margin: 0 0 16px; }
.show p { margin: 0 0 8px; color: #4a4a4a; font-size: 14px; letter-spacing: .04em; }
.show .show-venue { color: var(--ink); font-weight: 600; font-size: 13px; letter-spacing: .06em; }

/* Shop */
.page-head + .shop-intro { margin-top: 40px; }
.shop-intro { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 2fr); gap: clamp(30px, 4vw, 70px); align-items: start; padding: 56px var(--gutter) 70px; border-top: 1px solid var(--rule); }
.shop-intro-copy h2 { font-size: clamp(40px, 3.6vw, 60px); line-height: 1.05; margin: 0 0 22px; }
.shop-intro-copy p { color: #4a4a4a; font-size: 15px; line-height: 1.8; letter-spacing: .02em; margin-bottom: 18px; }
.shop-intro-copy strong { font-weight: 600; color: var(--ink); }
.shop-intro-copy .button { margin-top: 18px; }
.shop-all { padding: 70px var(--gutter) 30px; border-top: 1px solid var(--rule); }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 26px; }
.shop-item { text-align: center; }
.shop-item .work-tile-art { aspect-ratio: 3 / 4; }
/* On hover the painting is shown hanging in a room (mockup); the painting itself is never cropped */
.shop-item .work-tile-art { position: relative; overflow: hidden; }
.work-tile-art .shop-mockup { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; background: var(--frame); opacity: 0; box-shadow: none; transition: opacity .5s ease; pointer-events: none; }
.shop-item:hover .shop-mockup, .shop-item:focus-visible .shop-mockup { opacity: 1; transform: none; box-shadow: none; }
.shop-item:hover .work-tile-art img:not(.shop-mockup) { transform: none; }
.shop-title { display: block; margin-top: 20px; font-size: clamp(20px, 1.6vw, 26px); font-weight: 300; letter-spacing: .02em; }
.shop-price { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.shop-certificate { position: relative; display: flex; align-items: center; min-height: clamp(340px, 34vw, 480px); margin: 90px var(--gutter) 0; padding: clamp(40px, 5vw, 80px); overflow: hidden; color: var(--white); justify-content: flex-end; }
.shop-certificate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.shop-certificate::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(270deg, #00000059, #0000 65%); }
.shop-certificate > div { position: relative; z-index: 2; width: min(27%, 360px); }
.shop-certificate h2 { font-size: clamp(36px, 3.2vw, 54px); line-height: 1.1; margin: 0 0 22px; }
.shop-certificate p { max-width: 460px; color: #fffffff0; font-size: 15px; line-height: 1.8; margin: 0; }
.shop-policies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0 var(--gutter); padding: 70px 0; border-bottom: 1px solid var(--rule); }
.shop-policies h3 { font-size: clamp(26px, 2.2vw, 34px); margin: 0 0 16px; }
.shop-policies p { color: #4a4a4a; font-size: 14px; line-height: 1.8; margin: 0; }
.shop-enquiry { max-width: 720px; margin: 0 auto; padding: 90px var(--gutter) 0; }
.shop-enquiry h2 { text-align: center; font-size: clamp(40px, 3.8vw, 64px); margin: 0 0 14px; }
.shop-enquiry-note { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 44px; }
#enquiry-form { display: flex; flex-direction: column; gap: 26px; }
#enquiry-form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 0; padding: 0; border: 0; }
#enquiry-form legend, #enquiry-form label > span:first-child { display: block; margin-bottom: 10px; font-size: 13px; letter-spacing: .06em; }
#enquiry-form legend span, #enquiry-form label > span span { color: var(--muted); }
#enquiry-form fieldset label > span { font-size: 11px; color: var(--muted); }
#enquiry-form input, #enquiry-form textarea { width: 100%; padding: 12px 0 10px; border: 0; border-bottom: 1px solid #bdbdbd; background: transparent; font: inherit; font-size: 16px; color: var(--ink); border-radius: 0; }
#enquiry-form input:focus, #enquiry-form textarea:focus { outline: none; border-bottom-color: var(--ink); }
#enquiry-form textarea { resize: vertical; border: 1px solid #bdbdbd; padding: 12px; }
#enquiry-form .button { align-self: flex-start; margin-top: 8px; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-size: 14px; letter-spacing: .03em; color: var(--ink); }
#enquiry-form button:disabled { opacity: .5; cursor: wait; }

/* About page */
.about-page { max-width: 1240px; margin: 0 auto; padding: 30px var(--gutter) clamp(90px, 9vw, 140px); }
.page-head + .about-page { border-top: 1px solid var(--rule); padding-top: 60px; }
.about-lead { max-width: 980px; margin: 0 0 clamp(60px, 7vw, 100px); font-size: clamp(20px, 1.8vw, 27px); line-height: 1.65; letter-spacing: .01em; color: #333; }
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.about-text p { max-width: 430px; color: #4a4a4a; font-size: 15px; line-height: 1.95; letter-spacing: .02em; margin-bottom: 24px; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; margin-top: clamp(60px, 7vw, 100px); }
.about-band { position: relative; min-height: clamp(420px, 42vw, 620px); display: flex; align-items: center; justify-content: flex-end; overflow: hidden; }
.about-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.about-band-copy { position: relative; width: min(440px, calc(100% - 2 * var(--gutter))); margin: 60px var(--gutter); padding: clamp(28px, 3vw, 44px); background: #fffffff2; color: var(--ink); }
.about-band-copy h2 { font-size: clamp(30px, 2.6vw, 42px); margin: 0 0 22px; }
.about-band-copy ul { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.about-band-copy li span { display: block; font-size: 20px; letter-spacing: .03em; }
.about-band-copy li small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.button--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.button--light:hover { background: transparent; color: var(--white); }

/* Contact page: form on the left, studio photo on the right */
.contact-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(40px, 7vw, 110px); align-items: start; max-width: 1240px; margin: 0 auto; padding: 50px var(--gutter) 0; border-top: 1px solid var(--rule); }
.contact-form .shop-enquiry-note { text-align: left; margin-bottom: 34px; }
.contact-form #enquiry-form .button { align-self: stretch; }
.contact-links { list-style: none; margin: 50px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-links a, .contact-plain { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: 15px; letter-spacing: .04em; }
.contact-links a:hover span { text-decoration: underline; text-underline-offset: 5px; }
.contact-links svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; height: auto; }

/* Cart: kept in the visitor's browser; checkout is an email enquiry until payments exist */
.header-tools { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav + .header-tools { margin-left: 0; }
.cart-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 12px; letter-spacing: .1em; padding: 6px 0 4px; border-bottom: 1px solid transparent; }
.cart-link:hover, .cart-link[aria-current="page"] { border-bottom-color: currentColor; }
.cart-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
.cart-count { min-width: 1ch; padding-top: 3px; }
.button--solid { background: var(--ink); color: var(--white); }
.button--solid:hover { background: #333; border-color: #333; color: var(--white); }
.dialog-add { width: 100%; margin-bottom: 12px; }
.dialog-add[data-in-cart="true"] { background: var(--white); color: var(--ink); }
.cart-page { max-width: 900px; margin: 0 auto; padding: 50px var(--gutter) 0; border-top: 1px solid var(--rule); }
.cart-empty { text-align: center; color: var(--muted); font-size: 16px; letter-spacing: .03em; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 26px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.cart-item-art { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 10px; background: var(--frame); }
.cart-item-art img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.cart-item h3 { font-size: clamp(22px, 2vw, 30px); margin: 0 0 6px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.cart-remove { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 6px 0; }
.cart-remove:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.cart-summary { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 40px; }
.cart-summary p { max-width: 560px; color: #4a4a4a; font-size: 15px; line-height: 1.8; margin: 0; }
.cart-clear { border: 0; background: none; cursor: pointer; color: var(--muted); }

/* Product page: thumbnails on the left, large image, details on the right */
.breadcrumb { max-width: 1340px; margin: 0 auto; padding: 34px var(--gutter) 22px; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.breadcrumb a { text-decoration: none; color: var(--ink); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: start; max-width: 1340px; margin: 0 auto; padding: 0 var(--gutter); }
.product-gallery { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 16px; }
.product-thumbs { display: flex; flex-direction: column; gap: 10px; }
.product-thumbs button { width: 74px; aspect-ratio: 1; padding: 6px; border: 1px solid transparent; background: var(--frame); cursor: pointer; }
.product-thumbs button[aria-current="true"] { border-color: var(--ink); }
.product-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-stage { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; max-height: calc(100svh - 120px); background: var(--frame); padding: clamp(18px, 2.4vw, 40px); }
.product-image { grid-area: 1 / 1; max-width: 100%; max-height: 100%; width: auto; height: auto; min-height: 0; object-fit: contain; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.product-image.is-active { opacity: 1; pointer-events: auto; }
.product-stage { grid-template: 100% / 100%; }
.product-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 56px; border: 0; background: #ffffffb3; font-size: 30px; font-weight: 200; line-height: 1; cursor: pointer; }
.product-arrow:hover { background: var(--white); }
.product-arrow--prev { left: 0; }
.product-arrow--next { right: 0; }
.product-copy { position: sticky; top: 30px; }
.product-copy h1 { font-size: clamp(40px, 3.6vw, 60px); line-height: 1.05; margin: 0 0 12px; }
.product-copy .shop-price { margin: 0 0 26px; }
.product-facts { font-size: 15px; line-height: 1.8; letter-spacing: .03em; margin: 0 0 18px; }
.product-story { color: #4a4a4a; font-size: 15px; line-height: 1.85; letter-spacing: .02em; max-width: 460px; margin: 0 0 30px; }
.product-add, .product-ask { width: 100%; max-width: 360px; }
.product-add { display: flex; margin: 8px 0 12px; }
.product-add[data-in-cart="true"] { background: var(--white); color: var(--ink); }
.product-more { margin-top: 100px; }
.product-more h2 { font-size: clamp(32px, 2.8vw, 46px); margin: 0 0 40px; }
.product-infos { max-width: 900px; margin: 90px auto 0; padding: 0 var(--gutter); }
.product-info { border-top: 1px solid var(--rule); }
.product-info:last-child { border-bottom: 1px solid var(--rule); }
.product-info summary { list-style: none; cursor: pointer; padding: 20px 0 16px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; display: flex; justify-content: space-between; }
.product-info summary::-webkit-details-marker { display: none; }
.product-info summary::after { content: '+'; font-size: 20px; font-weight: 200; }
.product-info[open] summary::after { content: '–'; }
.product-info p { margin: 0 0 22px; color: #4a4a4a; font-size: 15px; line-height: 1.8; }
.back-to-shop { margin: 60px 0 0; text-align: center; }
a.work-tile { display: block; color: inherit; text-decoration: none; }

/* Legal pages and form privacy note */
.legal { max-width: 760px; margin: 0 auto; padding: 40px var(--gutter) 0; border-top: 1px solid var(--rule); }
.legal section { margin-bottom: 40px; }
.legal h2 { font-size: clamp(24px, 2vw, 30px); margin: 0 0 14px; }
.legal p { color: #3f3f3f; font-size: 15px; line-height: 1.85; letter-spacing: .01em; margin: 0 0 14px; }
.placeholder { background: #ffe9a8; color: var(--ink); padding: 0 4px; }
.form-privacy { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.footer-legal { float: right; display: inline-flex; gap: 22px; }

/* Footer: the same light grey as the painting frames */
.site-footer { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; padding: 80px var(--gutter) 30px; background: var(--frame); }
.wordmark--footer { font-size: clamp(20px, 1.7vw, 26px); }
.footer-brand p { margin: 22px 0 0; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.footer-nav, .footer-connect { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-label { color: var(--muted); margin-bottom: 8px; }
.footer-nav a, .footer-connect a, .footer-email { text-decoration: none; font-size: 16px; letter-spacing: .04em; }
.footer-nav a:hover, .footer-connect a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { grid-column: 1 / -1; margin: 30px 0 0; padding-top: 24px; border-top: 1px solid #0001; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

/* Artwork dialog */
.work-dialog { width: min(1170px, calc(100vw - 44px)); max-height: min(850px, calc(100vh - 44px)); padding: 0; border: 0; background: var(--white); box-shadow: 0 25px 100px #0004; }
.work-dialog::backdrop { background: #101010ca; backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 17px; right: 18px; z-index: 2; width: 43px; height: 43px; background: var(--white); border: 1px solid var(--ink); border-radius: 50%; font-size: 26px; font-weight: 100; line-height: 1; padding-top: 4px; cursor: pointer; }
.dialog-close:hover { background: var(--ink); color: var(--white); }
.dialog-layout { display: grid; grid-template-columns: 1.05fr .95fr; height: min(850px, calc(100vh - 44px)); }
.dialog-image-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; min-height: 0; min-width: 0; background: var(--frame); padding: 38px 38px 26px; }
.dialog-image-wrap img { min-height: 0; max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; box-shadow: 0 18px 42px #0002; }
.dialog-views { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.dialog-views button { padding: 4px 0 2px; border: 0; border-bottom: 1px solid transparent; background: none; cursor: pointer; color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.dialog-views button:hover, .dialog-views button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.dialog-copy { padding: 75px clamp(32px, 4.7vw, 78px) 45px; overflow: auto; }
.eyebrow { color: var(--muted); margin: 0; }
.dialog-copy h2 { font-size: clamp(48px, 4.4vw, 76px); line-height: 1; margin: 24px 0 28px; }
.dialog-story { font-size: 15px; line-height: 1.85; color: #4a4a4a; letter-spacing: .02em; }
.dialog-facts { border-top: 1px solid var(--rule); margin: 32px 0 30px; }
.dialog-facts div { display: grid; grid-template-columns: 105px 1fr; gap: 15px; border-bottom: 1px solid var(--rule); padding: 14px 0 12px; font-size: 14px; }
.dialog-facts dt { color: var(--muted); font-size: 11px; }
.dialog-facts dd { margin: 0; }
.dialog-enquire { width: 100%; }
.source-link { margin-top: 22px; }
.dialog-note { margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; letter-spacing: .03em; }

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .mobile-menu { display: block; }
  .work-grid--four { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .site-header { min-height: 80px; }
  .wordmark { font-size: 19px; --track: .12em; }
  .hero { min-height: 520px; }
  .hero-caption { bottom: 30px; gap: 14px; font-size: 11px; }
  .hero-dots { bottom: 30px; gap: 8px; }
  .hero-dots button { width: 22px; }
  .intro { grid-template-columns: 1fr; gap: 44px; }
  .show-group { grid-template-columns: 1fr; gap: 30px; padding: 44px var(--gutter) 50px; }
  .shop-intro { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .contact-page { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product-copy { position: static; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-thumbs { order: 2; flex-direction: row; overflow-x: auto; }
  .product-thumbs button { flex: 0 0 64px; width: 64px; }
  .about-band { justify-content: center; }

  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 14px; }
  .shop-certificate::before { background: #00000073; }
  .shop-certificate > div { width: auto; }
  .shop-policies { grid-template-columns: 1fr; gap: 34px; }
  .intro-portrait { max-width: 520px; }
  .work-grid--three, .work-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 14px; }
  .motion-grid { grid-template-columns: 1fr; gap: 44px; }
  .motion-stage { height: 460px; padding: 22px; }
  .section-title { margin-bottom: 34px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 44px 24px; padding-top: 56px; }
  .footer-brand { grid-column: 1 / -1; }
  .dialog-layout { display: block; height: auto; }
  .work-dialog { width: calc(100vw - 24px); max-height: calc(100vh - 24px); }
  .dialog-image-wrap { height: min(52vh, 420px); padding: 20px 20px 14px; gap: 12px; }
  .dialog-image-wrap img { max-height: min(calc(52vh - 70px), 350px); }
  .dialog-views { gap: 4px 16px; }
  .dialog-views button { font-size: 10px; }
  .dialog-copy { padding: 36px 26px 40px; }
  .dialog-close { top: 10px; right: 10px; }
}

@media (max-width: 550px) {
  :root { --gutter: 16px; }
  .wordmark { font-size: 16px; --track: .1em; }
  .work-grid--three, .work-grid--four { grid-template-columns: 1fr; gap: 44px; }
  .footer-legal { float: none; display: flex; margin-top: 14px; }
  .cart-item { grid-template-columns: 80px 1fr; gap: 16px; }
  .cart-remove { grid-column: 2; justify-self: start; }
  .header-tools { gap: 18px; }
  #enquiry-form fieldset { grid-template-columns: 1fr; }
  .motion-caption { flex-direction: column; align-items: flex-start; }
  .line-link::before { width: 48px; }
  .hero-caption .hero-count { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* An odd last film sits centred under the pair above it. */
.motion-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 11px); }
@media (max-width: 760px) { .motion-card:last-child:nth-child(odd) { width: 100%; } }
