/* Keith Thomas: site styles */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-Italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
	--ink: #1d1c1a;
	--ink-2: #3a3732;
	--muted: #5f5a51;
	--paper: #f6f2eb;
	--tint: #ece5d9;
	--wall: #e9e2d6;
	--line: #ddd4c5;
	--ochre: #8a5a1f;
	--light: #efe6d6;
	--light-muted: #bdb3a3;
	--display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(72px, 9vw, 128px);
	--shadow: 0 18px 40px -22px rgba(29, 28, 26, .55), 0 2px 6px -2px rgba(29, 28, 26, .18);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.menu-open, body.zoom-open { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ochre); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; font-variant-numeric: lining-nums; margin: 0; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6vw, 5rem); line-height: 1; letter-spacing: -.015em; }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.04; letter-spacing: -.01em; }
h3 { font-size: 1.6rem; line-height: 1.15; }
p { margin: 0 0 1em; }
.wp-site-blocks > * + * { margin-block-start: 0; }
main { display: block; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 3px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { width: 100%; max-width: 1440px; margin-inline: auto; }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.kicker { font: 600 12px/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ochre); margin: 0 0 18px; }
h2 + .lede { margin-top: 16px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.small { font-size: 14px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.icon { flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: 2px; font: 500 15px/1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ochre); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--light); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-line-light { border-color: rgba(239, 230, 214, .55); color: var(--light); }
.btn-line-light:hover { border-color: var(--light); background: var(--light); color: var(--ink); }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-light { color: var(--light); }
.link-light:hover { color: #fff; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246, 242, 235, .92); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand:hover { color: inherit; }
.brand-name { font: 500 30px/1 var(--display); letter-spacing: -.005em; }
.brand-sub { font: 500 11px/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 500; }
.nav-links > a:not(.btn) { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-links > a:not(.btn):hover, .nav-links > a[aria-current]:not(.btn) { border-bottom-color: currentColor; color: var(--ink); }
.burger, .menu-close, .zoom-close { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 0; cursor: pointer; position: relative; color: inherit; }
.burger span, .menu-close span, .zoom-close span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 27px; }
.menu-close span, .zoom-close span { top: 22px; } .menu-close span:first-child, .zoom-close span:first-child { transform: rotate(45deg); } .menu-close span:last-child, .zoom-close span:last-child { transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--light); display: flex; flex-direction: column; padding: 18px var(--gutter) 28px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.mobile-menu nav { display: flex; flex-direction: column; margin: 40px 0 auto; }
.mobile-menu nav a { font: 500 2.4rem/1.15 var(--display); text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(239, 230, 214, .14); }
.mobile-menu nav a:hover { color: #fff; }
.mobile-menu-foot { display: grid; gap: 10px; margin-top: 32px; }
.mobile-menu .menu-close { display: block; color: var(--light); }

/* home hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(40px, 5vw, 64px); }
.hero h1 { font-size: clamp(3rem, 6.6vw, 5.75rem); }
.hero .lede { margin-bottom: 0; }
.feature { position: relative; }
.feature picture img { width: 100%; }
.feature-link { display: block; }
.caption { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; padding-top: 16px; font-size: 14px; color: var(--muted); }
.caption em { font: italic 500 1.25rem/1.3 var(--display); color: var(--ink); }
.caption a { text-decoration: none; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(16px, 2vw, 24px); }
.facts > div { border-top: 1px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.facts strong { font: 500 clamp(2.2rem, 3.6vw, 3rem)/1 var(--display); font-variant-numeric: lining-nums; }
.facts span { color: var(--muted); font-size: 15px; }

/* sections */
.section { padding-block: var(--section); }
.section-top-0 { padding-top: 0; }
.section-tint { background: var(--tint); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .kicker { margin-bottom: 12px; }
.page-head { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 72px); }
.page-head h1 { max-width: 18ch; }
.page-head .lede { margin-top: 24px; max-width: 52ch; }
.band { padding-block: var(--section); }
.band-dark { background: var(--ink); color: var(--light); }
.band-dark .kicker { color: #d2a464; }
.band-dark p { color: var(--light-muted); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 7vw, 104px); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-copy h2 { margin-bottom: 24px; }
.split-copy p { max-width: 50ch; }
.split-copy .btn, .split-copy .link-arrow { margin-top: 12px; }
.split-media img { width: 100%; box-shadow: var(--shadow); }
.split-media.portrait img { aspect-ratio: 1; object-fit: cover; max-width: 520px; }
.band-dark .split-media img { box-shadow: none; }

.quote { margin: 0 0 24px; padding: 0; }
.quote p { font: italic 500 clamp(1.5rem, 2.4vw, 1.9rem)/1.3 var(--display); color: var(--ink); max-width: 30ch; }
.quote-large p { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.prose p { color: var(--ink-2); }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }

.steps-mini { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 28px; display: grid; gap: 10px; }
.steps-mini li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.steps-mini li::before { font-variant-numeric: lining-nums; content: counter(s); font: 500 1.4rem/1 var(--display); color: var(--ochre); min-width: 16px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.steps li { border-top: 1px solid var(--ink); padding-top: 22px; }
.step-n { font-variant-numeric: lining-nums; display: block; font: 500 3rem/1 var(--display); color: var(--ochre); margin-bottom: 18px; }
.steps h3 { margin-bottom: 12px; }
.steps p { color: var(--ink-2); font-size: 16px; }

/* gallery cards */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 48px); }
.card { display: block; text-decoration: none; color: inherit; }
.card:hover { color: inherit; }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--wall); display: flex; align-items: center; justify-content: center; padding: clamp(22px, 4.5%, 44px); overflow: hidden; }
.card-media picture { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.025); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--paper); font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; }
.card-body { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding-top: 18px; }
.card-body h3 { font-size: 1.65rem; grid-column: 1; transition: color .2s var(--ease); }
.card:hover h3 { color: var(--ochre); }
.card-meta { grid-column: 1; margin: 0; color: var(--muted); font-size: 14px; }
.card-price { grid-column: 2; grid-row: 1; margin: 6px 0 0; font-weight: 500; font-variant-numeric: tabular-nums; }

/* painting detail */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); }
.painting { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(300px, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: 24px; padding-bottom: var(--section); align-items: start; }
.painting-figure { margin: 0; background: var(--wall); padding: clamp(18px, 3.4vw, 52px); position: sticky; top: 108px; }
.painting-zoom { display: block; position: relative; cursor: zoom-in; }
.painting-zoom img { width: 100%; box-shadow: var(--shadow); }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; background: rgba(29, 28, 26, .78); color: #fff; font-size: 13px; padding: 8px 12px; opacity: 0; transition: opacity .2s var(--ease); }
.painting-zoom:hover .zoom-hint, .painting-zoom:focus-visible .zoom-hint { opacity: 1; }
.painting-info h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: 14px; }
.painting-price { font: 500 1.6rem/1.2 var(--body); margin-bottom: 24px; font-variant-numeric: tabular-nums; }
.painting-price span { font-size: 14px; color: var(--muted); font-weight: 400; }
.specs { margin: 0 0 28px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.painting-info .btn + .btn { margin-top: 10px; }
.painting-blurb { margin-top: 32px; }
.painting-blurb p { color: var(--ink-2); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: var(--section); }
.pager a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; border-top: 1px solid var(--ink); padding-top: 16px; font: 500 1.5rem/1.2 var(--display); }
.pager span { font: 600 12px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager-next { text-align: right; align-items: flex-end; }

.step-n, .steps-mini li::before, .card-price, .painting-price, .pager a, .caption em { font-variant-numeric: lining-nums tabular-nums; }

/* faq */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--display); color: var(--ochre); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 8px; max-width: 56ch; }

/* forms */
.enquiry { margin-top: 32px; }
.form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.5 var(--body); color: var(--ink); background: #fffdf9; border: 1px solid #b9ae9c; border-radius: 2px; padding: 13px 14px; min-height: 50px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231d1c1a' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(138, 90, 31, .22); }
.field [aria-invalid="true"] { border-color: #a3341f; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.form .btn { justify-self: start; }
.form-error { color: #a3341f; font-size: 14px; margin: 0; }
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 22px 24px; border-left: 3px solid var(--ochre); background: #fffdf9; margin-bottom: 24px; }
.notice h2 { font-size: 1.9rem; margin-bottom: 10px; }
.notice p:last-child { margin-bottom: 0; }
.notice-error { border-left-color: #a3341f; color: #7d2716; }
.notice:focus { outline: none; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.contact-details h2, .contact-form h2 { font-size: 2rem; margin-bottom: 20px; }
.contact-line { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; margin-bottom: 12px; }
.contact-line .icon { color: var(--ochre); }
.contact-line a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-image { margin-top: 32px; max-width: 360px; }
.contact-image img { aspect-ratio: 1; object-fit: cover; filter: grayscale(.15); }
.contact-form .enquiry { margin-top: 0; }

/* prefooter and footer */
.prefooter { background: var(--ink); color: var(--light); padding-block: clamp(64px, 8vw, 104px); }
.prefooter .kicker { color: #d2a464; }
.prefooter-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: end; }
.prefooter h2 { max-width: 20ch; }
.prefooter-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { background: #141412; color: var(--light-muted); font-size: 15px; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer h2 { font: 600 12px/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--light); margin-bottom: 16px; }
.site-footer a { display: block; text-decoration: none; padding: 4px 0; color: var(--light-muted); }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-name { color: var(--light); margin-bottom: 12px; }
.footer-brand p:last-child { max-width: 34ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(239, 230, 214, .12); padding-top: 22px; padding-bottom: 28px; font-size: 13px; }
.footer-bottom a { display: inline; padding: 0; }

/* full size view */
.zoom { position: fixed; inset: 0; z-index: 80; background: #141412; display: flex; align-items: center; justify-content: center; padding: 56px 20px 20px; cursor: zoom-out; }
.zoom[hidden] { display: none; }
.zoom img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zoom-close { position: absolute; top: 10px; right: 10px; display: block; color: var(--light); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nav-links { gap: 24px; }
}
@media (max-width: 960px) {
	.hero, .split, .contact-layout, .painting, .prefooter-grid { grid-template-columns: minmax(0, 1fr); }
	.split-reverse .split-media { order: 0; }
	.painting-figure { position: static; }
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.contact-image { display: none; }
}
@media (max-width: 820px) {
	.nav-links { display: none; }
	.burger { display: block; margin-right: -10px; }
	.nav { min-height: 72px; }
	.brand-name { font-size: 26px; }
	.brand-sub { font-size: 10px; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.gallery { grid-template-columns: minmax(0, 1fr); }
	.form-grid { grid-template-columns: minmax(0, 1fr); }
	.form .btn { justify-self: stretch; }
	.steps { grid-template-columns: minmax(0, 1fr); }
	.pager { grid-template-columns: minmax(0, 1fr); }
	.pager-next { text-align: left; align-items: flex-start; }
	.card-media { padding: 18px; }
	.actions .btn { flex: 1 1 auto; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
@media print {
	.site-header, .prefooter, .site-footer, .mobile-menu, .zoom { display: none !important; }
}
