/*
Theme Name: Shot By Jaz
Theme URI: https://www.shotbyjaz.co.uk/
Author: Jaz Blakeston-Petch
Description: Custom block theme for Shot By Jaz. A photographic publication: white paper, ink text, Georgia headlines, Arial interface, photographs at their original proportions.
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: shotbyjaz
*/

@font-face { font-family: "Courier Prime"; src: url("assets/fonts/courier-prime-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("assets/fonts/courier-prime-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("assets/fonts/courier-prime-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Craufurd blackletter. Drop a web-licensed ED Celandine file into assets/fonts as celandine.woff2 and it takes over; Pirata One (OFL) stands in until then. */
@font-face { font-family: "ED Celandine"; src: url("assets/fonts/celandine.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Pirata One"; src: url("assets/fonts/pirata-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("assets/fonts/unbounded-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("assets/fonts/unbounded-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root { --sbj-type: "Courier Prime", ui-monospace, Menlo, monospace; }


/* Shared */
:root { --sbj-cols: 7fr 5fr; --sbj-gutter: 6vw; --sbj-pad: 4vw; --sbj-line: var(--wp--preset--color--line); --sbj-muted: var(--wp--preset--color--muted); --sbj-ink: var(--wp--preset--color--ink); }
body { padding-left: var(--sbj-pad) !important; padding-right: var(--sbj-pad) !important; }
img { display: block; max-width: 100%; height: auto; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 5px; }
.wp-site-blocks { min-height: 100vh; }
.sbj-eyebrow { font-size: 13px; line-height: 1.5; }
.sbj-muted { color: var(--sbj-muted); }
.sbj-text-link a, a.sbj-text-link { display: inline-block; padding: 5px 0; font-size: 13px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* Header */
.sbj-topbar { border-bottom: 1px solid var(--sbj-line); padding: 25px 0 22px; font-size: 13px; gap: 20px; }
.sbj-topbar a { text-decoration: none; }
.sbj-topbar a:hover { text-decoration: underline; text-underline-offset: 5px; }
.sbj-brand { font-weight: 700; white-space: nowrap; margin: 0; }
.sbj-topbar .sbj-contact { margin: 0; white-space: nowrap; }
.sbj-topbar .sbj-contact a { display: inline-block; text-decoration: none !important; background: var(--sbj-ink); color: var(--wp--preset--color--paper) !important; border: 1px solid var(--sbj-ink); padding: 9px 16px; font-size: 13px; line-height: 1; transition: background .2s, color .2s; }
.sbj-topbar .sbj-contact a:hover, .sbj-topbar .sbj-contact a:focus-visible { background: transparent; color: var(--sbj-ink) !important; }
.sbj-nav .wp-block-navigation__container { gap: 28px; }
.sbj-topbar .wp-block-woocommerce-mini-cart { margin: 0; }

/* Footer */
.sbj-footer { border-top: 1px solid var(--sbj-line); padding: 24px 0 32px; color: var(--sbj-muted); font-size: 12px; margin-top: 64px; }
.sbj-footer p { margin: 0; }

/* Homepage */
.sbj-masthead { margin: 0 0 0 -.008em !important; padding: 25px 0 24px; font-size: clamp(40px, calc((100vw - 2 * var(--sbj-pad)) * .17), 265px); font-weight: 900; line-height: .95; letter-spacing: -.085em; white-space: nowrap; overflow: hidden; }
.sbj-intro { margin-bottom: 24px; font-size: 14px; line-height: 1.5; gap: 25px; align-items: flex-end !important; }
.sbj-intro p { margin: 0; max-width: 330px; }
.sbj-intro p.has-text-align-right { font-size: 12px; }
.sbj-opener { display: grid !important; grid-template-columns: 1.65fr 1fr; gap: 16px; align-items: stretch; }
.sbj-opener > figure { margin: 0 !important; min-width: 0; overflow: hidden; background: var(--wp--preset--color--wash); }
.sbj-opener img { width: 100%; height: 100% !important; aspect-ratio: 1.5; object-fit: cover; cursor: zoom-in; transition: filter .25s; }
.sbj-opener > figure:last-child img { aspect-ratio: 1; }
.sbj-opener img:hover { filter: brightness(.92); }
.sbj-caption-bar { border-bottom: 1px solid var(--sbj-line); padding: 12px 0; font-size: 11px; line-height: 1.4; margin-top: 0 !important; }
.sbj-caption-bar p { margin: 0; }
.sbj-statement { display: grid !important; grid-template-columns: var(--sbj-cols); align-items: center; gap: var(--sbj-gutter); padding: 48px 0 64px; }
.sbj-statement h1 { max-width: 20ch; margin: 0; font-size: clamp(40px, 4.7vw, 72px); line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
.sbj-statement p { max-width: 340px; margin: 0; font-size: 16px; line-height: 1.6; }
.sbj-work { border-top: 1px solid var(--sbj-ink); padding-top: 18px; scroll-margin-top: 24px; }
.sbj-work > p:first-child { font-size: 13px; margin: 0 0 24px; }
.sbj-about { margin-top: 64px !important; border-top: 1px solid var(--sbj-ink); padding-top: 24px; gap: 16px 6vw !important; }
.sbj-about h2 { font-size: clamp(35px, 4vw, 65px); line-height: 1.08; letter-spacing: -.055em; }
.sbj-about p { max-width: 480px; font-size: 15px; line-height: 1.7; }
.sbj-about .wp-block-image { margin-left: auto; max-width: 320px; }
.sbj-enquiry { padding-top: 48px; padding-bottom: 48px; margin-left: calc(-1 * var(--sbj-pad)) !important; margin-right: calc(-1 * var(--sbj-pad)) !important; padding-left: var(--sbj-pad) !important; padding-right: var(--sbj-pad) !important; max-width: none !important; margin-top: 64px !important; background: var(--wp--preset--color--night); color: #fff; scroll-margin-top: 0; gap: 8vw !important; }
.sbj-enquiry h2 { margin: 20px 0; font-size: clamp(42px, 5.7vw, 82px); line-height: 1.04; }
.sbj-enquiry .wp-element-button { border-color: #fff; color: #fff; }
.sbj-enquiry .wp-element-button:hover { background: #fff; color: var(--sbj-ink); }
main:has(.sbj-enquiry:last-child) + footer .sbj-footer { margin-top: 0; border-top: 0; }

/* Photo grid: uncropped, paired rows (row heights set by assets/js/site.js) */
.wp-block-gallery.sbj-photo-grid { --wp--style--unstable-gallery-gap: 24px; gap: 32px 24px !important; align-items: flex-start; }
.wp-block-gallery.sbj-photo-grid figure.wp-block-image { margin: 0 !important; flex-direction: column !important; flex-grow: 0 !important; }
.wp-block-gallery.sbj-photo-grid figure.wp-block-image img { width: 100% !important; height: auto !important; object-fit: contain !important; }
.wp-block-gallery.sbj-photo-grid figure.wp-block-image figcaption { position: static !important; background: none !important; color: var(--sbj-ink) !important; padding: 10px 0 0 !important; margin: 0 !important; text-align: left !important; font-size: 12px !important; text-shadow: none !important; max-height: none !important; overflow: visible !important; }
.wp-block-gallery.sbj-photo-grid figure.wp-block-image::before { display: none !important; }

/* Gallery viewer */
.wp-block-gallery img, .sbj-viewer img { cursor: zoom-in; }
.sbj-dialog { box-sizing: border-box; position: fixed; inset: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: none; margin: 0; border: 0; padding: 24px 4vw; outline: none !important; overflow: hidden; background: #151512; color: #fff; }
.sbj-dialog::backdrop { background: #151512; }
.sbj-dialog__inner { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.sbj-dialog__header, .sbj-dialog__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; line-height: 1.4; }
.sbj-dialog__stage { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 0; }
.sbj-dialog__stage img { width: 100%; height: 100%; object-fit: contain; cursor: default; }
.sbj-dialog__footer { border-top: 1px solid #44443e; padding-top: 16px; }
.sbj-dialog__footer > span { color: #c9c9c1; }
.sbj-dialog__actions { display: flex; gap: 8px; }
.sbj-dialog button { min-height: 44px; border: 1px solid #64645d; padding: 10px 16px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.sbj-dialog button:hover { border-color: #fff; }

/* Pages and Field Notes */
.wp-block-post-content > .wp-block-gallery, .wp-block-post-content > figure.wp-block-image, .wp-block-post-content > .wp-block-embed { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.wp-block-post-content > .wp-block-gallery, .wp-block-post-content > figure.wp-block-image { margin-top: 32px !important; margin-bottom: 32px !important; }
.sbj-dialog *, .sbj-dialog *::before, .sbj-dialog *::after { box-sizing: border-box; }
.sbj-page-head { border-bottom: 1px solid var(--sbj-ink); padding: 40px 0 24px; margin-bottom: 32px; }
.sbj-page-head .wp-block-post-title { max-width: 18ch; margin: 0; }
.sbj-note-list .wp-block-post { padding-bottom: 32px; }
.sbj-note-list .wp-block-post-title { font-size: clamp(30px, 3.4vw, 48px); }
.wp-block-post-content p { font-size: 17px; line-height: 1.72; }
.wp-block-post-content .wp-block-image figcaption { text-align: left; }

/* WooCommerce: keep it in the same voice */
.woocommerce .wp-block-post-title, .wc-block-components-product-name { font-family: var(--wp--preset--font-family--serif); letter-spacing: -0.03em; }
.wc-block-components-button:not(.is-link), .wp-block-button.wc-block-components-product-button .wp-block-button__link { border-radius: 0 !important; }
.wc-block-components-product-price, .wp-block-woocommerce-product-price { font-size: 15px; }
.wp-block-woocommerce-product-image-gallery img, .wc-block-components-product-image img { background: var(--wp--preset--color--wash); }


/* Service pages (Events, Weddings, Music, Commercial) */
.sbj-service > * + * { margin-top: 0; }
.sbj-service-intro { display: grid !important; grid-template-columns: var(--sbj-cols); align-items: end; gap: var(--sbj-gutter); padding: 40px 0 32px; }
.sbj-service-intro h1 { margin: 20px 0 0; font-size: clamp(44px, 6.6vw, 96px); line-height: 1.02; letter-spacing: -0.055em; }
.sbj-service-intro__title > *, .sbj-service-intro__copy > * { margin-top: 0; margin-bottom: 0; }
.sbj-service-intro__copy { max-width: 440px; padding-bottom: 4px; }
.sbj-service-intro__copy p { font-size: 16px; line-height: 1.6; }
.sbj-service-intro__copy p + p:not(.sbj-text-link) { margin-top: 12px; color: var(--sbj-muted); font-size: 13px; }
.sbj-service-intro__copy .sbj-text-link { display: inline-block; margin: 20px 20px 0 0; }
.sbj-opener-grid { margin-bottom: 72px !important; }
.sbj-approach, .sbj-process, .sbj-questions { display: grid !important; grid-template-columns: var(--sbj-cols); align-items: start; gap: var(--sbj-gutter); margin: 0 0 72px !important; }
.sbj-approach .sbj-side-body p { max-width: 670px; font-size: 20px; line-height: 1.6; margin: 0 0 20px; }
.sbj-side-heading { max-width: 640px; }
.sbj-side-heading > * { margin: 0 0 16px; }
.sbj-side-heading h2, .sbj-story-heading h2 { font-size: clamp(36px, 4.7vw, 68px); line-height: 1.05; letter-spacing: -0.05em; }
.sbj-story { border-top: 1px solid var(--sbj-ink); padding-top: 24px; margin: 0 0 72px !important; scroll-margin-top: 24px; }
.sbj-story-heading { display: grid !important; grid-template-columns: var(--sbj-cols); align-items: start; gap: 16px var(--sbj-gutter); margin-bottom: 32px; }
.sbj-story-heading > * { margin: 0; }
.sbj-story-heading .sbj-eyebrow { grid-column: 1 / -1; }
.sbj-story-heading > p:not(.sbj-eyebrow) { max-width: 535px; font-size: 16px; line-height: 1.7; }
.sbj-story-end { display: flex !important; align-items: baseline; justify-content: space-between; gap: 24px; margin-top: 32px; border-bottom: 1px solid var(--sbj-line); padding-bottom: 24px; font-size: 14px; }
.sbj-story-end > * { margin: 0; }
.sbj-steps { display: grid !important; gap: 24px; counter-reset: sbj-steps; }
.sbj-step { display: grid !important; grid-template-columns: 32px 1fr; column-gap: 16px; border-top: 1px solid var(--sbj-line); padding-top: 20px; counter-increment: sbj-steps; margin: 0 !important; }
.sbj-step::before { content: '0' counter(sbj-steps); grid-row: 1 / span 2; color: var(--sbj-muted); font-size: 12px; line-height: 1.8; }
.sbj-step h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.3; letter-spacing: 0; }
.sbj-step p { max-width: 620px; margin: 0; font-size: 15px; line-height: 1.7; }
.sbj-questions .sbj-side-body { border-top: 1px solid var(--sbj-ink); }
.sbj-faq { border-bottom: 1px solid var(--sbj-line); margin: 0 !important; }
.sbj-faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-size: 17px; line-height: 1.5; cursor: pointer; list-style: none; }
.sbj-faq summary::-webkit-details-marker { display: none; }
.sbj-faq summary::after { content: '+'; flex-shrink: 0; font-size: 22px; line-height: 1.15; transition: transform 150ms; }
.sbj-faq[open] summary::after { transform: rotate(45deg); }
.sbj-faq p { max-width: 625px; margin: 0; padding: 0 40px 24px 0; font-size: 15px; line-height: 1.7; }
.sbj-service + * , .sbj-service .sbj-enquiry { margin-top: 0 !important; }
main:has(.sbj-service .sbj-enquiry) + footer .sbj-footer { margin-top: 0; border-top: 0; }


/* Personal work strip (homepage) */
.sbj-personal-strip { border-top: 1px solid var(--sbj-ink); padding-top: 24px; margin-top: 64px !important; scroll-margin-top: 24px; }
.sbj-personal-strip .sbj-story-end { border-bottom: 0; padding-bottom: 0; }

/* Contact form (Fluent Forms) */
.sbj-contact-form { max-width: 720px; margin-bottom: 72px !important; }
.sbj-contact-form .ff-el-group { margin-bottom: 24px; }
.sbj-contact-form .ff-el-input--label label { font-size: 13px; font-weight: 400; color: var(--sbj-ink); }
.sbj-contact-form .ff-el-form-control { border: 1px solid #c9cbc4; border-radius: 0; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--sbj-ink); background: #fff; box-shadow: none; }
.sbj-contact-form .ff-el-form-control:focus { border-color: var(--sbj-ink); outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.sbj-contact-form .ff-btn-submit { border: 1px solid var(--sbj-ink) !important; border-radius: 0 !important; background: var(--sbj-ink) !important; color: #fff !important; padding: 14px 28px !important; font: inherit !important; font-size: 14px !important; }
.sbj-contact-form .ff-btn-submit:hover { background: #fff !important; color: var(--sbj-ink) !important; opacity: 1 !important; }
.sbj-contact-form .ff-message-success { border: 1px solid var(--sbj-line); box-shadow: none; padding: 24px; font-size: 17px; }
.sbj-contact-form .error.text-danger { font-size: 13px; }


/* Menu overlay (below 1200px) */
.sbj-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--paper) !important; color: var(--sbj-ink) !important; padding: 24px var(--sbj-pad) !important; }
.sbj-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; padding-top: 56px !important; }
.sbj-nav .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; gap: 14px !important; }
.sbj-nav .is-menu-open .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--serif); font-size: 32px; letter-spacing: -0.03em; }


/* Touch targets and wayfinding */
.sbj-topbar .wp-block-woocommerce-customer-account a.wc-block-customer-account__link { min-height: 44px !important; height: 44px; display: inline-flex !important; align-items: center; }
.sbj-topbar .wc-block-customer-account__link, .sbj-topbar .wc-block-mini-cart__button { min-width: 44px !important; min-height: 44px !important; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.woocommerce-breadcrumb a, .wc-block-breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.sbj-back { margin: 0 0 8px; font-size: 15px; }
.sbj-back a { display: inline-flex; align-items: center; min-height: 44px; padding-right: 12px; text-decoration: none; border-bottom: 0; }
.sbj-back a:hover { text-decoration: underline; text-underline-offset: 5px; }
.sbj-text-link a, a.sbj-text-link { min-height: 44px; display: inline-flex; align-items: center; }
.sbj-topbar .sbj-brand a, .sbj-topbar .sbj-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.sbj-nav .wp-block-navigation__responsive-container-open { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
.sbj-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.sbj-pagination { margin-top: 32px; font-size: 15px; }
.sbj-pagination a { display: inline-flex; align-items: center; min-height: 44px; }
.sbj-hero img { width: 100%; max-height: 85vh; object-fit: contain; object-position: left top; }
.sbj-post-end { max-width: 720px; margin-top: 64px !important; border-top: 1px solid var(--sbj-ink); padding-top: 8px; }
.sbj-post-nav { display: grid !important; grid-template-columns: 1fr 1fr; gap: 24px; border-bottom: 1px solid var(--sbj-line); }
.sbj-post-nav .post-navigation-link-next { text-align: right; }
.sbj-post-nav a { display: block; padding: 16px 0 20px; text-decoration: none; font-family: var(--wp--preset--font-family--serif); font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; }
.sbj-post-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.sbj-post-nav .post-navigation-link__label { display: block; margin-bottom: 6px; font-family: var(--wp--preset--font-family--sans); font-size: 13px; letter-spacing: 0; color: var(--sbj-muted); }
.sbj-post-end > .sbj-back { margin-top: 16px; }
.sbj-post-cta { margin-top: 24px !important; padding: 24px 0 0; border-top: 1px solid var(--sbj-line); }
.sbj-post-cta p { margin: 0; font-size: 17px; }


/* Field Notes article: one centred column. Text 720px, photographs 1080px, both on the same centre line. */
.single-post .sbj-page-head { max-width: 720px; margin-left: auto; margin-right: auto; }
.single-post .sbj-page-head .wp-block-post-title { max-width: none; font-size: clamp(40px, 5vw, 68px); line-height: 1.02; }
.single-post .sbj-hero { max-width: 1080px; margin: 0 auto 48px !important; }
.single-post .sbj-hero img { object-position: center top; }
.single-post .wp-block-post-content > .wp-block-gallery,
.single-post .wp-block-post-content > figure.wp-block-image,
.single-post .wp-block-post-content > .wp-block-embed { max-width: 1080px !important; margin-left: auto !important; margin-right: auto !important; }
.single-post .wp-block-post-content > .wp-block-image img { margin: 0 auto; }
.single-post .wp-block-post-content h2 { margin-top: 56px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.single-post .wp-block-post-content h3 { margin-top: 48px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.03em; }
.single-post .sbj-post-end { margin-left: auto; margin-right: auto; }


/* One column line across the site: every two-part section splits 7:5 with the same gutter */
.sbj-about, .sbj-enquiry { gap: 16px var(--sbj-gutter) !important; }
.sbj-about > .wp-block-column:first-child, .sbj-enquiry > .wp-block-column:first-child { flex: 7 1 0 !important; }
.sbj-about > .wp-block-column:last-child, .sbj-enquiry > .wp-block-column:last-child { flex: 5 1 0 !important; }
.sbj-about .wp-block-image { margin-left: 0; }
.sbj-enquiry > .wp-block-column:last-child { display: flex; flex-direction: column; justify-content: flex-end; }
.wp-block-gallery.sbj-photo-grid { justify-content: center; }
.wp-block-gallery.sbj-photo-grid > .sbj-break { flex-basis: 100%; width: 100%; height: 0; margin: 0 0 -32px !important; }
.sbj-more { display: block; margin: 32px auto 0; min-height: 44px; border: 1px solid var(--sbj-ink); padding: 12px 24px; background: none; color: var(--sbj-ink); font: inherit; font-size: 14px; cursor: pointer; }
.sbj-more:hover { background: var(--sbj-ink); color: #fff; }
.sbj-more[hidden], .sbj-photo-grid > figure[hidden] { display: none !important; }


/* Client cards (Commercial) and case study pages */
.sbj-clients { margin-top: 0 !important; }
.sbj-cards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.sbj-card > * { margin: 0; }
.sbj-cards > *, .sbj-cs-story > *, .sbj-steps > * { margin: 0 !important; }
.sbj-service-intro > *, .sbj-approach > *, .sbj-process > *, .sbj-questions > *, .sbj-statement > * { margin-top: 0 !important; }
.sbj-card-image a { display: block; }
.sbj-card-image { margin: 0 0 16px !important; overflow: hidden; background: var(--wp--preset--color--wash); }
.sbj-card-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s, filter .25s; }
.sbj-card-image a:hover img { transform: scale(1.02); filter: brightness(.94); }
.sbj-card h3 { margin: 0 0 6px; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.03em; }
.sbj-card h3 a { text-decoration: none; }
.sbj-card h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.sbj-card p { color: var(--sbj-muted); font-size: 14px; line-height: 1.5; }
.sbj-more-work { margin-top: 56px; border-top: 1px solid var(--sbj-line); padding-top: 20px; }
.sbj-more-work > .sbj-eyebrow { margin: 0 0 20px; }
.sbj-cards--small { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 16px; }
.sbj-card--small .sbj-card-image { margin-bottom: 10px !important; }
.sbj-card--small .sbj-card-image img { aspect-ratio: 4 / 5; }
.sbj-card--small h3 { font-family: var(--wp--preset--font-family--sans); font-size: 14px; letter-spacing: 0; line-height: 1.4; }
.sbj-card--small p { font-size: 12px; margin-top: 2px !important; }
.sbj-cs-story { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sbj-gutter); border-top: 1px solid var(--sbj-ink); padding-top: 24px; margin: 0 0 48px !important; }
.sbj-cs-point > * { margin: 0; }
.sbj-cs-point h3 { margin-bottom: 10px; font-size: 20px; letter-spacing: -0.01em; }
.sbj-cs-point p { font-size: 15px; line-height: 1.65; }
.sbj-case-study .sbj-photo-grid { margin-bottom: 48px !important; }
.sbj-case-study .sbj-story-end { margin-bottom: 72px !important; }

/* Next case study: whole panel is one link */
.sbj-cs-next { position: relative; display: grid !important; grid-template-columns: minmax(180px, 320px) 1fr; gap: 40px; align-items: center; border-top: 1px solid var(--sbj-ink); padding-top: 32px; margin: 72px 0 96px !important; }
.sbj-cs-next > * { margin: 0 !important; }
.sbj-cs-next__image { overflow: hidden; background: var(--wp--preset--color--wash); }
.sbj-cs-next__image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s, filter .25s; }
.sbj-cs-next__link { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.sbj-cs-next__link::after { content: ''; position: absolute; inset: 0; }
.sbj-cs-next__link:focus-visible { outline: none; }
.sbj-cs-next:has(.sbj-cs-next__link:focus-visible) { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 8px; }
.sbj-cs-next__label { font-size: 13px; color: var(--wp--preset--color--muted); }
.sbj-cs-next__title { font-family: var(--wp--preset--font-family--serif); font-size: clamp(34px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -0.03em; }
.sbj-cs-next__title span { display: inline-block; transition: transform .25s; }
.sbj-cs-next:hover .sbj-cs-next__title span { transform: translateX(8px); }
.sbj-cs-next:hover .sbj-cs-next__image img { transform: scale(1.02); filter: brightness(.94); }

/* Craufurd open mic */
.sbj-craufurd .sbj-service-intro__copy .wp-block-buttons { margin: 8px 0 4px !important; }
.sbj-craufurd .sbj-service-intro__copy .wp-block-button__link { background: var(--sbj-ink); color: #fff; border-color: var(--sbj-ink); }
.sbj-craufurd .sbj-service-intro__copy .wp-block-button__link:hover { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); }
.sbj-cr-nights { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 40px 24px !important; margin-bottom: 96px !important; }
.sbj-cr-nights .sbj-card h3 { font-family: var(--wp--preset--font-family--serif); font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
.sbj-cr-terms, .sbj-cr-promo { display: grid !important; grid-template-columns: var(--sbj-cols); column-gap: var(--sbj-gutter); border-top: 1px solid var(--sbj-line); padding-top: 32px; margin: 0 0 64px !important; }
.sbj-cr-terms > *, .sbj-cr-promo > * { margin: 0 !important; }
.sbj-cr-terms h2, .sbj-cr-promo h2 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 20px; }
.sbj-cr-terms__copy p, .sbj-cr-promo__copy p { max-width: 620px; font-size: 15px; line-height: 1.7; margin: 0 0 14px; }
.sbj-cr-terms__copy p:first-child { margin-top: 0; }
.sbj-cr-promo__copy h3 { font-size: 20px; margin: 0 0 12px; }
.sbj-cr-promo__image { max-width: 280px; margin: 0 !important; }
.sbj-cr-promo__image img { display: block; width: 100%; height: auto; }
.sbj-craufurd .sbj-photo-grid { margin-bottom: 64px !important; }

/* Personal work */
.sbj-pw-meta { font-size: 15px; }
.sbj-pw-stops { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px !important; font-size: 14px !important; }
.sbj-pw-stops a { color: var(--sbj-ink); text-underline-offset: 5px; }
.sbj-pw-chapter { border-top: 1px solid var(--sbj-ink); padding-top: 24px; margin: 0 0 64px !important; }
.sbj-pw-chapter > h2 { margin: 0 0 4px; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.03em; }
.sbj-pw-chapter > .sbj-pw-meta { margin: 0 0 24px; color: var(--sbj-muted); font-size: 14px; }
.sbj-pw-adventures, .sbj-pw-street { scroll-margin-top: 24px; }
.sbj-pw-street { margin-top: 32px !important; }
.sbj-pw-street .sbj-cs-next { margin-top: 24px !important; }
.sbj-pw-contents { position: relative; }
.sbj-pw-region { margin: 0 0 32px !important; }
.sbj-pw-region__name { margin: 0 0 4px !important; font-family: var(--wp--preset--font-family--sans); font-size: 13px !important; font-weight: 400; letter-spacing: 0; color: var(--sbj-muted); }
.sbj-pw-entry { position: relative; display: grid !important; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--sbj-line); margin: 0 !important; }
.sbj-pw-entry > * { margin: 0 !important; }
.sbj-pw-entry__thumb img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.sbj-pw-entry__link { display: grid; gap: 2px; text-decoration: none; color: inherit; }
.sbj-pw-entry__link::after { content: ''; position: absolute; inset: 0; }
.sbj-pw-entry__title { font-family: var(--wp--preset--font-family--serif); font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }
.sbj-pw-entry__place, .sbj-pw-entry__date { font-size: 13px; color: var(--sbj-muted); }
.sbj-pw-entry:hover .sbj-pw-entry__title, .sbj-pw-entry.is-active .sbj-pw-entry__title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.sbj-pw-entry:focus-within { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 4px; }
.sbj-pw-entry__link:focus-visible { outline: none; }
.sbj-pw-preview { display: none; }
.sbj-pw-contents.has-preview { display: grid !important; grid-template-columns: var(--sbj-cols); column-gap: var(--sbj-gutter); align-items: start; }
.sbj-pw-contents.has-preview > .sbj-pw-region { grid-column: 1; }
.sbj-pw-contents.has-preview .sbj-pw-entry { grid-template-columns: 1fr; }
.sbj-pw-contents.has-preview .sbj-pw-entry__thumb { display: none; }
.sbj-pw-contents.has-preview .sbj-pw-entry__link { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 9.5em; align-items: baseline; column-gap: 24px; }
.sbj-pw-contents.has-preview .sbj-pw-entry__title { font-size: 26px; }
.sbj-pw-contents.has-preview .sbj-pw-entry__date { text-align: right; }
.sbj-pw-contents.has-preview .sbj-pw-preview { display: block; grid-column: 2; grid-row: 1 / span 20; position: sticky; top: 96px; margin: 0; background: var(--wp--preset--color--wash); }
.sbj-pw-preview img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Stops bar on trips with chapters */
.sbj-stops-bar { position: fixed; left: 0; right: 0; z-index: 45; background: var(--wp--preset--color--paper); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; }
.sbj-stops-bar.is-visible { transform: none; opacity: 1; visibility: visible; transition: opacity .2s, transform .2s; }
.sbj-stops-bar__inner { display: flex; align-items: center; gap: 24px; margin: 0 var(--sbj-pad); min-height: 48px; border-bottom: 1px solid var(--sbj-ink); }
.sbj-stops-bar__current { display: none; margin: 0; font-size: 14px; }
.sbj-stops-bar__n { color: var(--sbj-muted); margin-right: 4px; }
.sbj-stops-bar__toggle { display: none; margin-left: auto; min-height: 44px; padding: 0 0 0 16px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--sbj-ink); cursor: pointer; }
.sbj-stops-bar__list { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0; padding: 0; list-style: none; }
.sbj-stops-bar__list a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--sbj-ink); text-decoration: none; }
.sbj-stops-bar__list a:hover, .sbj-stops-bar__list a.is-current { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.sbj-stops-bar__count { display: none; }
.sbj-stops-shade { display: none; }
.sbj-pw-chapter { scroll-margin-top: var(--sbj-stops-offset, 120px); }
.sbj-pw-nextstop { margin: 24px 0 0 !important; font-size: 14px; }
.sbj-pw-nextstop a { color: var(--sbj-ink); text-underline-offset: 6px; }
@media (max-width: 900px) {
  .sbj-stops-bar__inner { flex-wrap: wrap; gap: 0; }
  .sbj-stops-bar__current { display: block; }
  .sbj-stops-bar__toggle { display: block; }
  .sbj-stops-bar__list { display: none; width: 100%; max-height: 60vh; overflow-y: auto; border-top: 1px solid var(--sbj-line); }
  .sbj-stops-bar.is-open .sbj-stops-bar__list { display: block; }
  .sbj-stops-bar__list li { border-bottom: 1px solid var(--sbj-line); }
  .sbj-stops-bar__list li:last-child { border-bottom: 0; }
  .sbj-stops-bar__list a { display: flex; justify-content: space-between; width: 100%; font-size: 16px; }
  .sbj-stops-bar__list a.is-current { font-weight: 700; text-decoration: none; }
  .sbj-stops-bar__count { display: inline; color: var(--sbj-muted); font-size: 13px; font-weight: 400; }
  .sbj-stops-shade.is-open { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; background: rgba(35, 37, 31, .35); }
}
@media (max-width: 600px) {
  header.wp-block-template-part { top: 0 !important; }
}

/* Enquiry page */
.sbj-contact-body { display: grid !important; grid-template-columns: var(--sbj-cols); column-gap: var(--sbj-gutter); align-items: start; margin-bottom: 96px !important; }
.sbj-contact-body > * { margin: 0 !important; }
.sbj-contact-body .sbj-contact-form { max-width: 720px; }
.sbj-contact-aside { position: sticky; top: 32px; display: grid !important; gap: 40px; }
.sbj-contact-aside > * { margin: 0 !important; }
.sbj-contact-panel { border-top: 1px solid var(--sbj-ink); padding-top: 20px; }
.sbj-contact-panel h2 { margin: 0 0 16px; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.sbj-contact-steps { margin: 0; padding: 0; list-style: none; counter-reset: sbj-step; }
.sbj-contact-steps li { counter-increment: sbj-step; display: grid; grid-template-columns: 28px 1fr; padding: 10px 0; border-bottom: 1px solid var(--sbj-line); font-size: 15px; line-height: 1.6; }
.sbj-contact-steps li::before { content: '0' counter(sbj-step); color: var(--sbj-muted); font-size: 12px; line-height: 2; }
.sbj-contact-prices { margin: 0; padding: 0; list-style: none; }
.sbj-contact-prices li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--sbj-line); font-size: 15px; }
.sbj-contact-prices a { color: var(--sbj-ink); text-underline-offset: 5px; }
.sbj-contact-prices span { color: var(--sbj-ink); white-space: nowrap; }
.sbj-contact-prices small { flex-basis: 100%; font-size: 13px; line-height: 1.5; color: var(--sbj-muted); }
.sbj-contact-note { margin: 12px 0 0 !important; font-size: 13px; color: var(--sbj-muted); }
.sbj-contact-testimonial { border-top: 1px solid var(--sbj-ink); padding-top: 24px; }
.sbj-contact-testimonial > * { margin: 0 !important; }
.sbj-contact-testimonial__image img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.sbj-contact-testimonial__image { margin-bottom: 20px !important; }
.sbj-contact-quote { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.sbj-contact-quote p { margin: 0 0 12px; font-family: var(--wp--preset--font-family--serif); font-size: 19px; line-height: 1.45; letter-spacing: -0.01em; }
.sbj-contact-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--sbj-muted); }
.admin-bar .sbj-contact-aside { top: calc(32px + var(--wp-admin--admin-bar--height, 0px)); }

/* Client testimonial: wide photo with an overlapping pull-quote card */
.sbj-testimonial { display: grid !important; grid-template-columns: var(--sbj-cols); column-gap: var(--sbj-gutter); border-top: 1px solid var(--sbj-ink); padding-top: 20px; margin: 0 0 96px !important; }
.sbj-testimonial > * { margin: 0 !important; }
.sbj-testimonial__eyebrow { grid-column: 1 / -1; margin-bottom: 20px !important; }
.sbj-testimonial__image { grid-column: 1 / -1; }
.sbj-testimonial__image img { display: block; width: 100%; height: auto; }
.sbj-testimonial__card { grid-column: 1; grid-row: 3; justify-self: start; width: 100%; max-width: 640px; position: relative; z-index: 1; margin-top: -120px !important; margin-left: 32px !important; background: var(--wp--preset--color--paper); border-top: 2px solid var(--sbj-ink); padding: 28px 32px 8px; }
.wp-block-post-content .sbj-testimonial__pull, .sbj-testimonial__pull { margin: 0 0 16px !important; font-family: var(--wp--preset--font-family--serif); font-size: clamp(30px, 3.2vw, 50px); line-height: 1.06; letter-spacing: -0.03em; }
.wp-block-post-content .sbj-testimonial__who, .sbj-testimonial__who { margin: 0 !important; font-size: 13px; color: var(--sbj-muted); }
.sbj-testimonial__full { grid-column: 1; grid-row: 4; justify-self: start; max-width: 520px; margin: 20px 0 0 64px !important; padding: 4px 0 4px 24px !important; border: 0 !important; border-left: 2px solid var(--sbj-ink) !important; }
.wp-block-post-content .sbj-testimonial__full p, .sbj-testimonial__full p { margin: 0 0 14px; font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: 18px; line-height: 1.55; color: var(--sbj-ink); }
.sbj-testimonial__full cite { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--sbj-muted); }
.sbj-testimonial__full cite::before { content: '— '; }

/* Prices on service pages */
.wp-block-post-content .sbj-price-line, .sbj-price-line { margin: 16px 0 0 !important; font-size: 15px !important; color: var(--sbj-ink) !important; }
.sbj-price-line a { margin-left: 6px; color: var(--sbj-ink); text-underline-offset: 5px; }
.sbj-pricing { display: grid !important; grid-template-columns: var(--sbj-cols); align-items: start; gap: var(--sbj-gutter); border-top: 1px solid var(--sbj-ink); padding-top: 24px; margin: 0 0 72px !important; scroll-margin-top: 96px; }
.wp-block-post-content .sbj-pricing__intro, .sbj-pricing__intro { font-size: 15px; color: var(--sbj-muted); max-width: 420px; }
.sbj-pricing__rows { margin: 0 0 32px !important; padding: 0; list-style: none; border-top: 1px solid var(--sbj-line); }
.sbj-pricing__rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--sbj-line); }
.sbj-pricing__name { font-family: var(--wp--preset--font-family--serif); font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.sbj-pricing__name small { display: block; margin-top: 4px; font-family: var(--wp--preset--font-family--sans); font-size: 13px; letter-spacing: 0; color: var(--sbj-muted); }
.sbj-pricing__price { font-family: var(--wp--preset--font-family--serif); font-size: 22px; white-space: nowrap; }
.wp-block-post-content .sbj-pricing__label, .sbj-pricing__label { margin: 0 0 8px !important; font-size: 13px; color: var(--sbj-muted); }
.sbj-pricing__included { margin: 0 !important; padding: 0; list-style: none; }
.sbj-pricing__included li { position: relative; padding: 6px 0 6px 22px; font-size: 15px; line-height: 1.6; }
.wp-block-post-content .sbj-pricing__note, .sbj-pricing__note { margin: 16px 0 0 !important; font-size: 13px; color: var(--sbj-muted); }
.sbj-pricing__included li::before { content: '—'; position: absolute; left: 0; color: var(--sbj-muted); }
.sbj-page-enquiry { display: grid !important; grid-template-columns: var(--sbj-cols); align-items: start; gap: var(--sbj-gutter); border-top: 1px solid var(--sbj-ink); padding-top: 24px; margin: 0 0 96px !important; scroll-margin-top: 96px; }
.sbj-page-enquiry .sbj-side-heading p { font-size: 16px; line-height: 1.6; max-width: 420px; }
.wp-block-post-content .sbj-page-enquiry__email, .sbj-page-enquiry__email { font-size: 14px !important; color: var(--sbj-muted); }
.sbj-page-enquiry .sbj-contact-form { max-width: none; margin: 0 !important; }

/* Personal work: series first */
.sbj-pw-doors { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 8px 0 64px !important; }
.sbj-pw-doors > * { margin: 0 !important; }
.sbj-pw-door { position: relative; }
.sbj-pw-door > * { margin: 0 !important; }
.sbj-pw-door__image { overflow: hidden; background: var(--wp--preset--color--wash); }
.sbj-pw-door__image img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s, filter .25s; }
.sbj-pw-door:hover .sbj-pw-door__image img { transform: scale(1.02); filter: brightness(.94); }
.sbj-pw-door__text { padding-top: 16px; }
.sbj-pw-door__link { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.sbj-pw-door__link::after { content: ''; position: absolute; inset: 0; }
.sbj-pw-door__title { font-family: var(--wp--preset--font-family--serif); font-size: clamp(32px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.sbj-pw-door__title span { display: inline-block; transition: transform .25s; }
.sbj-pw-door:hover .sbj-pw-door__title span { transform: translateX(8px); }
.sbj-pw-door__meta { font-size: 14px; color: var(--sbj-muted); }
.sbj-pw-door:focus-within { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 6px; }
.sbj-pw-door__link:focus-visible { outline: none; }
.sbj-pw-favs { border-top: 1px solid var(--sbj-ink); padding-top: 20px; margin: 0 0 72px !important; }
.sbj-pw-favs > .sbj-eyebrow { margin: 0 0 16px !important; }
.wp-block-gallery.sbj-pw-favourites { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px !important; margin: 0 !important; }
.wp-block-gallery.sbj-pw-favourites figure.wp-block-image { width: auto !important; margin: 0 !important; }
.wp-block-gallery.sbj-pw-favourites figure.wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover !important; cursor: zoom-in; }
.wp-block-gallery.sbj-pw-favourites figcaption { display: none !important; }
/* Per-photo crops in the favourites row: keep the subject in frame */
.wp-block-gallery.sbj-pw-favourites img[src*="man-fishing-by-golden-gate"] { object-position: 80% 50% !important; }

/* Street: dark page and contact sheet */
body.sbj-dark { --wp--preset--color--paper: #1b1c19; --wp--preset--color--ink: #ecebe6; --wp--preset--color--muted: #9d9c95; --wp--preset--color--line: #3a3b36; --wp--preset--color--wash: #262722; --sbj-ink: #ecebe6; --sbj-muted: #9d9c95; --sbj-line: #3a3b36; background: #1b1c19 !important; color: #ecebe6; }
body.sbj-dark a { color: inherit; }
.sbj-street-lede { margin: 20px 0 0 !important; max-width: 560px; font-size: 18px; line-height: 1.6; }
.sbj-notes-card { border: 1px solid var(--sbj-line); padding: 18px 20px; font-family: var(--sbj-type); }
.sbj-notes-card > * { margin: 0 !important; }
.wp-block-post-content .sbj-notes-card__label, .sbj-notes-card__label { margin-bottom: 10px !important; font-family: var(--sbj-type); font-size: 11px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--sbj-muted) !important; }
.sbj-notes-card__rules { padding: 0; list-style: none; counter-reset: rule; }
.sbj-notes-card__rules li { counter-increment: rule; display: grid; grid-template-columns: 28px 1fr; padding: 4px 0; font-family: var(--sbj-type); font-size: 13px; line-height: 1.6; }
.sbj-notes-card__rules li::before { content: counter(rule, decimal-leading-zero); color: var(--sbj-muted); }
.sbj-sheet-paper { position: relative; margin: 48px 0 88px !important; padding: 28px 28px 30px; background: #efece4; color: #2b2a26; transform: rotate(-.25deg); box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.sbj-sheet-paper > * { margin: 0 !important; }
.sbj-sheet-head { display: grid !important; grid-template-columns: 1fr minmax(180px, 34%); border-bottom: 1px solid #2b2a26; padding-bottom: 12px; margin-bottom: 22px !important; font-family: var(--sbj-type); color: #2b2a26; }
.sbj-sheet-head > * { margin: 0 !important; }
.wp-block-post-content .sbj-sheet-head p, .sbj-sheet-head p { display: grid; gap: 4px; font-size: 12px !important; line-height: 1.5; color: #2b2a26 !important; }
.sbj-sheet-head small { font-size: 10px; color: #6b6a62; }
.sbj-sheet-head strong { font-family: var(--wp--preset--font-family--serif); font-size: 28px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
.sbj-sheet-head em { display: inline-block; width: 60%; border-bottom: 1px solid #2b2a26; transform: translateY(-3px); }
.sbj-sheet-head__line { font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: 16px; }
.sbj-sheet-head__right { border-left: 1px solid #2b2a26; padding-left: 14px; }
.sbj-sheet-head b { margin-left: 6px; font-family: var(--wp--preset--font-family--serif); font-style: italic; font-weight: 400; font-size: 15px; }
.wp-block-gallery.sbj-contact-sheet { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 0 !important; margin: 0 !important; padding: 0; background: none; counter-reset: frame; }
.wp-block-gallery.sbj-contact-sheet figure.wp-block-image { counter-increment: frame; position: relative; display: block !important; width: auto !important; margin: 0 !important; padding: 13px 4px 24px; background:
  repeating-linear-gradient(90deg, #efece4 0 5px, transparent 5px 12px) 2px 4px / 100% 5px no-repeat,
  repeating-linear-gradient(90deg, #efece4 0 5px, transparent 5px 12px) 2px calc(100% - 4px) / 100% 5px no-repeat,
  #0d0d0c; }
.wp-block-gallery.sbj-contact-sheet figure.wp-block-image img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 3 / 2; object-fit: contain !important; background: #161614; cursor: zoom-in; filter: contrast(.94) brightness(.97); }
.wp-block-gallery.sbj-contact-sheet figure.wp-block-image::after { content: '▸ ' counter(frame) '   ' counter(frame) 'A'; position: absolute; left: 7px; bottom: 11px; font-family: var(--sbj-type); font-size: 8px; letter-spacing: .08em; white-space: pre; color: #c7ad5e; }
.wp-block-gallery.sbj-contact-sheet figure.wp-block-image:nth-child(4n+3)::after { content: '▸ ' counter(frame) '   SAFETY FILM'; }
.wp-block-gallery.sbj-contact-sheet figure.wp-block-image:nth-child(n+7):nth-child(-n+12) { transform: translate(5px, 1px); }
.wp-block-gallery.sbj-contact-sheet figure.wp-block-image:nth-child(n+13):nth-child(-n+18) { transform: translate(-3px, -1px); }
.wp-block-gallery.sbj-contact-sheet figure.wp-block-image:nth-child(n+19) { transform: translate(3px, 0); }
.wp-block-gallery.sbj-contact-sheet figure.is-select::before { content: ''; position: absolute; z-index: 2; left: -1px; right: -1px; top: 8px; bottom: 19px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 84' preserveAspectRatio='none'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.4'/%3E%3C/filter%3E%3Cg fill='none' stroke='%23d33a2a' stroke-linecap='round' stroke-linejoin='round' filter='url(%23w)' vector-effect='non-scaling-stroke'%3E%3Cpath d='M6 5 L113 3 L116 79 L5 81 Z M5 9 L8 4' stroke-width='3.4' opacity='.88'/%3E%3Cpath d='M8 7 L111 6 L114 77 L7 79 Z' stroke-width='1.6' opacity='.6'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / 100% 100%; pointer-events: none; }
.wp-block-gallery.sbj-contact-sheet figure.is-select:nth-child(2n)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 84' preserveAspectRatio='none'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.4'/%3E%3C/filter%3E%3Cg fill='none' stroke='%23d33a2a' stroke-linecap='round' stroke-linejoin='round' filter='url(%23w)' vector-effect='non-scaling-stroke'%3E%3Cpath d='M4 7 L115 5 L113 80 L7 78 Z M110 3 L117 9' stroke-width='3.4' opacity='.88'/%3E%3Cpath d='M7 4 L114 8 L111 78 L5 80 Z' stroke-width='1.6' opacity='.6'/%3E%3C/g%3E%3C/svg%3E"); }
.sbj-sheet-notes { display: grid !important; grid-template-columns: minmax(80px, 12%) 1fr; gap: 16px; margin-top: 26px !important; padding-top: 14px; border-top: 1px solid #2b2a26; font-family: var(--sbj-type); color: #2b2a26; }
.sbj-sheet-notes > * { margin: 0 !important; }
.wp-block-post-content .sbj-sheet-notes p, .sbj-sheet-notes p { max-width: 720px; font-family: var(--sbj-type); font-size: 15px !important; line-height: 1.65; color: #2b2a26 !important; }
.wp-block-post-content .sbj-sheet-notes p + p, .sbj-sheet-notes p + p { margin-top: 10px !important; }
.wp-block-post-content .sbj-sheet-notes__label, .sbj-sheet-notes__label { font-size: 12px !important; letter-spacing: .1em; text-transform: uppercase; color: #6b6a62 !important; }
.sbj-sheet-notes a { color: #2b2a26 !important; text-decoration: underline; text-underline-offset: 4px; }
.sbj-street-end { margin: 0 0 96px !important; }
.wp-block-post-content .sbj-selects-label, .sbj-selects-label { margin: 0 0 20px !important; }
.sbj-prints { margin-bottom: 80px !important; }
.sbj-print-meta { margin: 10px 0 0 !important; font-family: var(--sbj-type); font-size: 11px; letter-spacing: .06em; color: var(--sbj-muted); }
.sbj-print-meta.is-placeholder { opacity: .55; }
.sbj-street-why { border-top: 1px solid var(--sbj-line); padding-top: 24px; }

/* Responsive */
@media (min-width: 1700px) {
  :root { --sbj-pad: max(4vw, calc((100vw - 1560px) / 2)); }
}
@media (max-width: 1200px) {
  .sbj-contact-aside { top: 96px; }
  header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; background: var(--wp--preset--color--paper); }
  header.wp-block-template-part { box-shadow: 0 0 0 100vmax var(--wp--preset--color--paper); clip-path: inset(0 -100vmax); }
  .sbj-post-nav { grid-template-columns: 1fr; gap: 0; }
  .sbj-post-nav .post-navigation-link-next { text-align: left; border-top: 1px solid var(--sbj-line); }
  .sbj-post-nav a { font-size: 18px; }
  .sbj-topbar .sbj-nav { order: 3 !important; margin-left: 12px; }
  .sbj-topbar > .wp-block-group { margin-left: auto; }
  .sbj-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
  .sbj-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .sbj-topbar { padding: 8px 0; }
  .sbj-brand .sbj-long, .sbj-contact .sbj-long { display: none; }
}
@media (min-width: 1201px) { .sbj-short { display: none; } }
@media (max-width: 700px) {
  :root { --sbj-pad: 5vw; }
  .sbj-cards { grid-template-columns: 1fr; gap: 32px; }
  .sbj-cards--small { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .sbj-cs-story { grid-template-columns: 1fr; gap: 24px; }
  .sbj-intro { flex-direction: column !important; gap: 8px; }
  .sbj-intro p.has-text-align-right { text-align: left; max-width: none; color: var(--sbj-muted); font-size: 12px; }
  .sbj-about, .sbj-enquiry { flex-direction: column; }
  .single-post .sbj-hero { margin-bottom: 24px !important; }
  .single-post .wp-block-post-content h2, .single-post .wp-block-post-content h3 { margin-top: 36px; }
  .single-post .wp-block-post-content > :first-child { margin-top: 0; }
  .sbj-service-intro, .sbj-approach, .sbj-process, .sbj-questions, .sbj-story-heading { grid-template-columns: 1fr; gap: 24px; }
  .sbj-service-intro { padding: 28px 0 24px; }
  .sbj-service-intro h1 { font-size: clamp(42px, 11vw, 66px); }
  .sbj-service-intro__copy { max-width: none; }
  .sbj-opener-grid, .sbj-approach, .sbj-process, .sbj-questions, .sbj-story { margin-bottom: 48px !important; }
  .sbj-approach .sbj-side-body p { font-size: 18px; }
  .sbj-side-heading { max-width: none; }
  .sbj-side-heading h2, .sbj-story-heading h2 { font-size: 38px; }
  .sbj-story-end { display: block !important; }
  .sbj-sheet-paper { padding: 16px 12px 18px; margin-left: calc(-1 * var(--sbj-pad) + 6px) !important; margin-right: calc(-1 * var(--sbj-pad) + 6px) !important; }
  .sbj-sheet-head { grid-template-columns: 1fr; gap: 10px; }
  .sbj-sheet-notes { grid-template-columns: 1fr; gap: 8px; }
  .wp-block-post-content .sbj-sheet-notes p, .sbj-sheet-notes p { font-size: 14px !important; }
  .sbj-sheet-head__right { border-left: 0; padding-left: 0; }
  .wp-block-gallery.sbj-contact-sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 0 !important; }
  .wp-block-gallery.sbj-contact-sheet figure.wp-block-image { transform: none !important; }
  .sbj-pw-doors { grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px !important; }
  .wp-block-gallery.sbj-pw-favourites { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px !important; }
  .sbj-pricing, .sbj-page-enquiry { grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px !important; }
  .sbj-pricing__name, .sbj-pricing__price { font-size: 19px; }
  .sbj-testimonial { grid-template-columns: 1fr; margin-bottom: 64px !important; }
  .sbj-testimonial__card { grid-column: 1; grid-row: 3; margin: -40px 16px 0 !important; padding: 20px 20px 4px; }
  .sbj-testimonial__full { grid-column: 1; grid-row: 4; margin: 20px 16px 0 36px !important; padding-left: 18px !important; }
  .wp-block-post-content .sbj-testimonial__full p, .sbj-testimonial__full p { font-size: 17px; }
  .sbj-contact-body { grid-template-columns: 1fr; row-gap: 56px; margin-bottom: 64px !important; }
  .sbj-contact-aside { position: static; }
  .sbj-pw-entry__title { font-size: 20px; }
  .sbj-cr-nights { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 16px !important; }
  .sbj-cr-terms, .sbj-cr-promo { grid-template-columns: 1fr; row-gap: 16px; }
  .sbj-cs-next { grid-template-columns: 1fr; gap: 20px; margin: 48px 0 64px !important; padding-top: 24px; }
  .sbj-step { grid-template-columns: 24px 1fr; column-gap: 12px; }
  .sbj-masthead { padding: 24px 0 20px; font-size: calc((100vw - 2 * var(--sbj-pad)) * .17); }
  .sbj-intro { align-items: flex-start !important; font-size: 13px; }
  .sbj-caption-bar { font-size: 11px; }
  .sbj-topbar > .wp-block-group { margin-left: auto; }
  .sbj-opener { grid-template-columns: 1fr; gap: 12px; }
  .sbj-opener img { aspect-ratio: 1.25; }
  .sbj-opener > figure:last-child { display: none; }
  .sbj-statement { grid-template-columns: 1fr; gap: 20px; padding: 32px 0 48px; }
  .sbj-statement h1 { font-size: clamp(36px, 9.5vw, 52px); }
  .wp-block-gallery.sbj-photo-grid figure.wp-block-image { width: 100% !important; }
  .sbj-about .wp-block-image { margin-left: 0; max-width: 240px; }
  .sbj-about h2 { font-size: 38px; }
  .sbj-enquiry { padding-top: 32px !important; padding-bottom: 32px !important; }
  .sbj-enquiry h2 { font-size: 46px; }
  .sbj-dialog { padding: 16px 5vw; }
  .sbj-dialog__footer { display: block; }
  .sbj-dialog__actions { justify-content: space-between; margin-top: 12px; }
}

/* ---------- Craufurd open mic: black, gothic ---------- */
body.sbj-cr-page { --sbj-goth: "ED Celandine", "Pirata One", "UnifrakturMaguntia", serif; --sbj-candle: #eac003; --wp--preset--color--paper: #0a0a09; --wp--preset--color--ink: #ece7dc; --wp--preset--color--muted: #8e877b; --wp--preset--color--line: #2b2824; --wp--preset--color--wash: #161412; --sbj-ink: #ece7dc; --sbj-muted: #8e877b; --sbj-line: #2b2824; background: #0a0a09 !important; color: #ece7dc; }
.sbj-cr-goth { font-family: var(--sbj-goth); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; }
.sbj-craufurd h1.sbj-cr-title { display: flex; flex-direction: column; gap: 6px; margin: 0; line-height: 0.95; }
.sbj-cr-title .sbj-cr-goth:first-child { font-size: clamp(64px, 8vw, 132px); line-height: 0.9; }
.sbj-cr-title .sbj-cr-goth + .sbj-cr-goth { font-size: clamp(20px, 2vw, 30px); letter-spacing: 0.03em; }
.sbj-cr-page .sbj-eyebrow { color: var(--sbj-muted); }
.sbj-cr-page .sbj-craufurd .sbj-service-intro__copy p { font-size: 16px; color: #cfc8bb; line-height: 1.6; }
.sbj-cr-page .sbj-craufurd .sbj-service-intro__copy .wp-block-button__link { background: var(--sbj-ink); color: #0a0a09; border-color: var(--sbj-ink); }
.sbj-cr-page .sbj-craufurd .sbj-service-intro__copy .wp-block-button__link:hover { background: var(--sbj-candle); border-color: var(--sbj-candle); color: #0a0a09; }
/* Why: title over the text */
.sbj-cr-why { border: 1px solid var(--sbj-line); outline: 1px solid var(--sbj-line); outline-offset: 6px; padding: clamp(32px, 4.5vw, 64px); margin: 0 6px 96px !important; }
.sbj-cr-why > * { margin: 0 !important; }
.sbj-craufurd .sbj-cr-why__title { font-size: clamp(26px, 3.4vw, 52px); line-height: 1; white-space: nowrap; margin: 0 0 24px !important; }
.sbj-cr-why__more { display: none; }
@media (max-width: 600px) {
  .sbj-cr-why.is-collapsed .sbj-cr-why__copy { max-height: 8.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
  .sbj-cr-why .sbj-cr-why__more { display: inline-block; }
}
.sbj-cr-why .sbj-cr-why__more { margin-top: 16px; background: none; border: 0; border-bottom: 1px solid var(--sbj-candle); padding: 0 0 2px; color: var(--sbj-candle); font-family: var(--sbj-type); font-size: 14px; letter-spacing: 0.04em; cursor: pointer; }
.sbj-cr-why__more:hover, .sbj-cr-why__more:focus-visible { color: var(--sbj-ink); border-color: var(--sbj-ink); }
.sbj-cr-why__copy { columns: 2 320px; column-gap: var(--sbj-gutter); }
.sbj-cr-why__copy p { font-family: var(--wp--preset--font-family--serif); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; margin: 0 0 18px; break-inside: avoid; }
.sbj-cr-why__copy p:first-child::first-letter { font-family: var(--sbj-goth); float: left; font-size: 4.4em; line-height: 0.8; padding: 6px 10px 0 0; color: var(--sbj-candle); }
.sbj-craufurd .sbj-cr-why__copy p.sbj-cr-why__meta { column-span: all; font-family: var(--sbj-type); font-size: 13px; letter-spacing: 0.04em; color: var(--sbj-muted); margin: 12px 0 0; padding-top: 16px; border-top: 1px solid var(--sbj-line); }
/* Sign-off: the pub's mark, once */
.sbj-cr-signoff { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: -24px 0 96px !important; text-align: center; }
.sbj-cr-signoff__logo { margin: 0 !important; }
.sbj-cr-signoff__logo img { display: block; width: 90px; height: auto; mix-blend-mode: lighten; }
.sbj-craufurd p.sbj-cr-signoff__text { font-family: var(--sbj-type); font-size: 14px; letter-spacing: 0.04em; color: var(--sbj-muted); margin: 0; }
.sbj-craufurd p.sbj-cr-signoff__link { margin: -4px 0 0; font-size: 15px; }
.sbj-cr-signoff__link a { color: var(--sbj-candle) !important; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.sbj-cr-signoff__link a:hover, .sbj-cr-signoff__link a:focus-visible { color: var(--sbj-ink) !important; }
/* Night pages: same type as the index (blackletter titles, typewriter dates and sub-heads) */
.sbj-cr-page .sbj-craufurd .sbj-service-intro__title h1:not(.sbj-cr-title) { font-family: var(--sbj-goth); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(44px, 6.4vw, 100px); line-height: 0.95; }
.sbj-cr-page .sbj-cr-promo__copy h3 { font-family: var(--sbj-type); font-weight: 700; font-size: 16px; letter-spacing: 0.04em; }
.sbj-cr-page .sbj-cs-next__title { font-family: var(--sbj-type); font-weight: 700; letter-spacing: 0.03em; }
/* Download dialog */
.sbj-cr-dialog { box-sizing: border-box; width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 32px 30px 28px; background: #1d1b18; color: #ece7dc; border: 0; outline: 1px solid #2e2b27; border-radius: 4px; }
.sbj-cr-dialog::backdrop { background: rgba(5, 5, 4, 0.78); }
.sbj-cr-dialog__close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; background: none; border: 0; color: #8e877b; font-size: 28px; line-height: 1; cursor: pointer; }
.sbj-cr-dialog__close:hover, .sbj-cr-dialog__close:focus-visible { color: #ece7dc; }
.sbj-cr-dialog__title { font-family: var(--sbj-goth); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; font-size: 34px; line-height: 1; margin: 0 40px 6px 0; color: #ece7dc; }
.sbj-cr-dialog__meta { font-family: var(--sbj-type); font-size: 13px; letter-spacing: 0.04em; color: #8e877b; margin: 0 0 18px; }
.sbj-cr-dialog__why { font-family: var(--wp--preset--font-family--serif); font-size: 18px; line-height: 1.5; color: #ece7dc; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid #2e2b27; }
.sbj-cr-dialog__list { list-style: none; counter-reset: sbjcr; margin: 0 0 24px; padding: 0; font-family: var(--wp--preset--font-family--sans); font-size: 15px; line-height: 1.55; color: #cfc8bb; }
.sbj-cr-dialog__list li { counter-increment: sbjcr; position: relative; padding-left: 24px; margin: 0 0 10px; }
.sbj-cr-dialog__list li::before { content: counter(sbjcr) "."; position: absolute; left: 0; color: var(--sbj-candle); font-family: var(--sbj-type); font-weight: 700; }
.sbj-cr-dialog__list a { color: #ece7dc; }
.sbj-cr-dialog__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.sbj-cr-dialog__go { display: inline-block; background: #ece7dc; color: #0a0a09 !important; text-decoration: none; font-family: var(--wp--preset--font-family--sans); font-size: 14px; padding: 14px 22px; }
.sbj-cr-dialog__go:hover, .sbj-cr-dialog__go:focus-visible { background: var(--sbj-candle); }
.sbj-cr-dialog__terms { font-family: var(--sbj-type); font-size: 13px; color: var(--sbj-candle) !important; text-decoration: none; border-bottom: 1px solid currentColor; }
@media (max-width: 600px) {
  .sbj-cr-dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 10px 10px 0 0; padding: 30px 22px calc(26px + env(safe-area-inset-bottom)); }
  .sbj-cr-dialog__title { font-size: 30px; }
}
/* Floating download button: phones only, while the gallery is on screen */
.sbj-cr-fab { display: none; }
@media (max-width: 600px) {
  .sbj-cr-fab { display: inline-block; position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 50; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; background: #ece7dc; color: #0a0a09 !important; text-decoration: none; font-family: var(--wp--preset--font-family--sans); font-size: 14px; padding: 13px 22px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55); white-space: nowrap; transition: opacity 0.25s ease, transform 0.25s ease; }
  .sbj-cr-fab.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
}
@media (max-width: 600px) and (prefers-reduced-motion: reduce) { .sbj-cr-fab { transition: none; } }
/* Hot Trash: a zine page taped to the wall */
.sbj-craufurd .sbj-cr-zine { --zine: #cfe9a8; --zine-ink: #16190f; position: relative; display: grid !important; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 36px; align-items: center; max-width: 880px; margin: 24px auto 96px !important; padding: 40px 40px 36px; background: var(--zine); color: var(--zine-ink); transform: rotate(-0.8deg); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); }
.sbj-craufurd .sbj-cr-zine { background-color: var(--zine); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .38  0 0 0 0 .22  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .3  0 0 0 0 .34  0 0 0 0 .18  0 0 0 .5 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23f%29'/%3E%3C/svg%3E"), radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(60, 72, 30, 0.22) 100%); background-size: 240px 240px, 600px 600px, 100% 100%; }
.sbj-cr-zine::before, .sbj-cr-zine::after { content: ""; position: absolute; top: -12px; width: 96px; height: 26px; background: rgba(236, 231, 220, 0.6); }
.sbj-cr-zine::before { left: 28px; transform: rotate(-7deg); }
.sbj-cr-zine::after { right: 28px; transform: rotate(6deg); }
.sbj-cr-zine > * { margin: 0 !important; }
.sbj-cr-zine__image { transform: rotate(3deg); background: #fff; padding: 8px; box-shadow: 0 6px 16px rgba(22, 25, 15, 0.25); }
.sbj-cr-zine__image img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.sbj-cr-zine__copy > * { margin: 0 0 12px !important; }
.sbj-craufurd .sbj-cr-zine p.sbj-cr-zine__eyebrow { font-family: var(--sbj-type); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--zine-ink); margin-bottom: 6px !important; }
.sbj-craufurd .sbj-cr-zine h2.sbj-cr-zine__title { font-family: var(--sbj-goth); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(40px, 4.4vw, 60px); line-height: 0.95; color: var(--zine-ink); margin-bottom: 16px !important; }
.sbj-craufurd .sbj-cr-zine p { font-family: var(--sbj-type); font-size: 16px; line-height: 1.6; color: var(--zine-ink); max-width: 520px; }
.sbj-cr-zine__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px !important; }
.sbj-craufurd .sbj-cr-zine .wp-block-button__link { background: var(--zine-ink); color: var(--zine) !important; border: 1.5px solid var(--zine-ink); border-radius: 0; font-family: var(--sbj-type); font-weight: 700; font-size: 14px; padding: 12px 18px; text-decoration: none; }
.sbj-craufurd .sbj-cr-zine .is-style-outline .wp-block-button__link { background: transparent; color: var(--zine-ink) !important; }
.sbj-craufurd .sbj-cr-zine .wp-block-button__link:hover, .sbj-craufurd .sbj-cr-zine .wp-block-button__link:focus-visible { background: #0a0a09; color: #eac003 !important; border-color: #0a0a09; }
.sbj-craufurd .sbj-cr-zine p.sbj-cr-zine__more { font-family: var(--sbj-type); font-size: 13px; margin-top: 14px !important; }
.sbj-cr-zine__more a { color: var(--zine-ink) !important; }
@media (max-width: 700px) {
  .sbj-craufurd .sbj-cr-zine { grid-template-columns: 1fr; gap: 24px; padding: 34px 22px 26px; margin: 24px 4px 72px !important; transform: rotate(-1deg); }
  .sbj-cr-zine__image { max-width: 190px; }
}
/* Nights: dark Instax Mini prints (54x86mm card, 46x62mm picture) */
.sbj-cr-page .sbj-cr-nights { gap: 36px 28px !important; }
.sbj-cr-page .sbj-cr-nights .sbj-card { position: relative; background: #1d1b18; outline: 1px solid #2e2b27; border-radius: 3px; padding: 7.4% 7.4% 0; text-align: center; transition: transform 0.35s ease, background 0.35s ease; }
.sbj-cr-page .sbj-cr-nights .sbj-card:hover { transform: rotate(-1.5deg) translateY(-4px); background: #23211d; }
.sbj-cr-page .sbj-cr-nights .sbj-card-image { margin: 0 !important; background: #2c2a26; }
.sbj-cr-page .sbj-cr-nights .sbj-card-image img { aspect-ratio: 46 / 62; filter: grayscale(0.35) brightness(0.88); transition: filter 0.4s ease; }
.sbj-cr-page .sbj-cr-nights .sbj-card:hover .sbj-card-image img { filter: none; transform: none; }
.sbj-cr-page .sbj-cr-nights .sbj-card h3 { font-family: var(--sbj-type); font-size: 19px; font-weight: 700; letter-spacing: 0.05em; color: #ece7dc; margin: 0 !important; padding: 16px 0 22px; line-height: 1.2; }
.sbj-cr-page .sbj-cr-nights .sbj-card h3 a { text-decoration: none; }
.sbj-cr-page .sbj-cr-nights .sbj-card h3 a::after { content: ""; position: absolute; inset: 0; }
.sbj-cr-page .sbj-cr-nights .sbj-card p { font-family: var(--sbj-type); font-size: 13px; letter-spacing: 0.04em; color: var(--sbj-muted); margin: 4px 0 0 !important; padding-bottom: 22px; }
@media (prefers-reduced-motion: reduce) { .sbj-cr-page .sbj-cr-nights .sbj-card:hover { transform: none; } }
.sbj-cr-page .sbj-cr-terms h2, .sbj-cr-page .sbj-cr-promo h2 { font-family: var(--sbj-goth); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(32px, 3vw, 46px); line-height: 1; }
@media (max-width: 782px) {
  .sbj-cr-why { padding: 32px 22px; }
  .sbj-cr-page .sbj-cr-nights { gap: 20px 14px !important; }
  .sbj-cr-page .sbj-cr-nights .sbj-card h3 { font-size: 16px; padding: 12px 0 16px; }
}

/* ---------- Legal pages (privacy policy) ---------- */
.sbj-legal { max-width: 720px; margin-bottom: 96px !important; }
.sbj-legal h2 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.02em; margin: 48px 0 14px; }
.sbj-legal h3 { font-family: var(--wp--preset--font-family--sans); font-size: 17px; font-weight: 700; letter-spacing: 0; margin: 28px 0 8px; }
.sbj-legal p, .sbj-legal li { font-size: 16px; line-height: 1.65; }
.sbj-legal p { margin: 0 0 14px; }
.sbj-legal ul { margin: 0 0 18px; padding-left: 1.2em; }
.sbj-legal li { margin: 0 0 8px; }
.sbj-legal p.sbj-legal-updated { font-family: var(--sbj-type); font-size: 13px; color: var(--wp--preset--color--muted); margin-bottom: 20px; }
.sbj-legal { max-width: 860px; }
.sbj-legal > p, .sbj-legal > ul { max-width: 720px; }
.sbj-legal .sbj-legal-table { margin: 8px 0 24px !important; overflow: visible; }
.sbj-legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.sbj-legal-table th { text-align: left; font-family: var(--sbj-type); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--muted); padding: 0 16px 10px 0; border-bottom: 1px solid var(--wp--preset--color--ink); }
.sbj-legal-table td { vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.sbj-legal-table td:last-child, .sbj-legal-table th:last-child { padding-right: 0; }
.sbj-legal-table--basis td:first-child { width: 42%; }
.sbj-legal-table--who td:first-child, .sbj-legal-table--keep td:first-child { width: 40%; }
.sbj-legal-table--cookies td:first-child { width: 44%; }
.sbj-legal-table code { font-family: var(--sbj-type); font-size: 12px; background: var(--wp--preset--color--wash); padding: 1px 4px; word-break: break-all; }
@media (max-width: 700px) {
  .sbj-legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sbj-legal-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--wp--preset--color--line); }
  .sbj-legal-table tr:first-child { border-top: 1px solid var(--wp--preset--color--ink); }
  .sbj-legal-table td { display: block; width: auto !important; padding: 0 0 6px; border: 0; }
  .sbj-legal-table--basis td:nth-child(2)::before { content: "Why: "; font-weight: 700; }
  .sbj-legal-table--basis td:nth-child(3)::before { content: "Legal reason: "; font-weight: 700; }
  .sbj-legal-table--cookies td:nth-child(3)::before { content: "How long: "; font-weight: 700; }
}
.sbj-legal .wp-block-table th, .sbj-legal .wp-block-table td { border-left: 0; border-right: 0; border-top: 0; }
.sbj-legal .wp-block-table thead { border-bottom: 0; }
.sbj-legal-table--basis td:first-child { width: 40%; }
.sbj-legal-table--basis td:nth-child(2) { width: 26%; }

/* Mobile menu: the header's clip-path (used to paint its background edge to edge) also clips the
   full-screen menu inside it, so lift it while the menu is open. */
html.has-modal-open header.wp-block-template-part,
header.wp-block-template-part:has(.wp-block-navigation__responsive-container.is-menu-open) { clip-path: none !important; box-shadow: none !important; }

/* ---------- Flö Wellbeing case study: cream, forest, copper, waterlines ---------- */
body.sbj-flo { --flo-forest: #041807; --flo-cream: #FFFAEF; --flo-copper: #CC722B; --flo-sun: #FBD965; --flo-olive: #545446; --flo-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14' viewBox='0 0 40 14'%3E%3Cpath d='M0 7 Q10 0 20 7 T40 7' fill='none' stroke='%23CC722B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); --wp--preset--color--paper: var(--flo-cream); --wp--preset--color--ink: var(--flo-forest); --wp--preset--color--muted: var(--flo-olive); --wp--preset--color--line: rgba(4, 24, 7, 0.16); --wp--preset--color--wash: #f3ead6; --sbj-ink: var(--flo-forest); --sbj-muted: var(--flo-olive); --sbj-line: rgba(4, 24, 7, 0.16); background: var(--flo-cream) !important; color: var(--flo-forest); }
.sbj-flo .sbj-case-study h1, .sbj-flo .sbj-cs-point h3, .sbj-flo .sbj-cs-next__title { font-family: "Unbounded", var(--wp--preset--font-family--sans); text-transform: uppercase; letter-spacing: 0.01em; }
.sbj-flo .sbj-case-study h1 { font-weight: 700; font-size: clamp(40px, 5.6vw, 84px); line-height: 0.98; }
.sbj-flo .sbj-case-study .sbj-eyebrow { color: var(--flo-copper); font-family: var(--sbj-type); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.sbj-flo .sbj-cs-point h3 { font-weight: 500; font-size: 17px; }
.sbj-flo .sbj-cs-next__title { font-weight: 500; }
.sbj-flo .sbj-case-study a:hover { color: var(--flo-copper); }
/* Pill tags, like Flö's own buttons */
.sbj-flo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px !important; }
.sbj-flo-tags span { font-size: 13px; line-height: 1; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--flo-forest); }
.sbj-flo-tags span:first-child { background: var(--flo-copper); border-color: var(--flo-copper); color: var(--flo-cream); }
/* Waterlines: drawn across when they scroll into view */
.sbj-flo .sbj-cs-story { position: relative; border-top: 0; padding-top: 40px; padding-bottom: 40px; margin-bottom: 40px !important; }
.sbj-flo .sbj-cs-story::before, .sbj-flo .sbj-cs-story::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: var(--flo-wave) repeat-x 0 50% / 40px 14px; clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.4, 0, .2, 1); }
.sbj-flo .sbj-cs-story::before { top: 0; }
.sbj-flo .sbj-cs-story::after { bottom: 0; transition-delay: 0.3s; }
.sbj-flo .sbj-cs-story.is-drawn::before, .sbj-flo .sbj-cs-story.is-drawn::after { clip-path: inset(0 0 0 0); }
/* Softly rounded photos */
.sbj-flo .sbj-photo-grid img { border-radius: 14px; }
.sbj-flo .sbj-cs-next__image img { border-radius: 14px; }
/* Enquiry panel in Flö forest */
.sbj-flo .sbj-enquiry { background: var(--flo-forest); color: var(--flo-cream); }
.sbj-flo .sbj-enquiry .sbj-eyebrow { color: var(--flo-sun); }
.sbj-flo .sbj-enquiry .wp-element-button { background: var(--flo-copper); border-color: var(--flo-copper); color: var(--flo-cream); border-radius: 999px; }
.sbj-flo .sbj-enquiry .wp-element-button:hover { background: var(--flo-sun); border-color: var(--flo-sun); color: var(--flo-forest); }
@media (max-width: 782px) {
  .sbj-flo .sbj-cs-point + .sbj-cs-point { position: relative; padding-top: 34px; }
  .sbj-flo .sbj-cs-point + .sbj-cs-point::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 14px; background: var(--flo-wave) repeat-x 0 50% / 40px 14px; opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) { .sbj-flo .sbj-cs-story::before, .sbj-flo .sbj-cs-story::after { clip-path: none; transition: none; } }
.sbj-flo .sbj-enquiry h2 { font-family: "Unbounded", var(--wp--preset--font-family--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.02; }

/* ---------- About page ---------- */
.sbj-about-body { display: grid !important; grid-template-columns: 5fr 7fr; gap: var(--sbj-gutter); align-items: start; border-top: 1px solid var(--sbj-ink); padding-top: 32px; margin: 0 0 96px !important; }
.sbj-about-body > * { margin: 0 !important; }
.sbj-about-portrait { position: sticky; top: 96px; }
.sbj-about-portrait img { display: block; width: 100%; height: auto; }
.sbj-about-copy { max-width: 600px; }
.sbj-about-copy h2 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.02em; margin: 44px 0 14px; }
.sbj-about-copy h2:first-child { margin-top: 0; }
.sbj-about-copy p { font-size: 17px; line-height: 1.65; margin: 0 0 14px; }
.sbj-about-copy p a { text-decoration: underline; text-underline-offset: 3px; }
.sbj-about-facts { list-style: none; padding: 20px 0 0 !important; margin: 40px 0 28px !important; border-top: 1px solid var(--sbj-line); font-family: var(--sbj-type); font-size: 14px; line-height: 1.9; }
.sbj-about-copy p.sbj-text-link { font-size: 15px; }
@media (max-width: 782px) {
  .sbj-about-body { grid-template-columns: 1fr; row-gap: 28px; margin-bottom: 64px !important; }
  .sbj-about-portrait { position: static; max-width: 420px; }
}

header .wc-block-customer-account, header [data-block-name="woocommerce/customer-account"], header .wc-block-mini-cart { display: none !important; }

/* ---------- Small touches ---------- */
/* Photos and cards fade up as they scroll into view (only ones below the first screen; JS adds the class). */
.sbj-reveal { opacity: 0; translate: 0 14px; transition: opacity .6s ease, translate .6s ease; }
.sbj-reveal.is-in { opacity: 1; translate: none; }
/* Cards: an arrow slides in beside the title on hover. */
.sbj-cards:not(.sbj-cr-nights) .sbj-card h3 a::after { content: "\2192"; display: inline-block; margin-left: 8px; opacity: 0; translate: -6px 0; transition: opacity .25s ease, translate .25s ease; }
.sbj-cards:not(.sbj-cr-nights) .sbj-card:hover h3 a::after, .sbj-cards:not(.sbj-cr-nights) .sbj-card h3 a:focus-visible::after { opacity: 1; translate: 0 0; }
/* Menu shows where you are. */
header .wp-block-navigation a.is-current { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
/* Smooth in-page jumps, clear of the sticky header. */
html { scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .sbj-reveal { opacity: 1; translate: none; transition: none; } }

/* ---------- Footer ---------- */
.sbj-footer > * { margin: 0 !important; }
.sbj-footer__main { display: grid !important; grid-template-columns: 7fr 3fr 2fr; gap: 16px var(--sbj-gutter); padding-bottom: 24px; }
.sbj-footer__main > * { margin: 0 !important; }
.sbj-footer__main p { font-size: 14px; line-height: 1.9; color: var(--sbj-ink); }
.sbj-footer__main a { min-height: 0; display: inline; text-decoration: none; }
.sbj-footer__main a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sbj-footer__legal { border-top: 1px solid var(--sbj-line); padding-top: 14px; }
.sbj-footer__legal a { min-height: 0; display: inline; }
@media (max-width: 782px) {
  .sbj-footer__main { grid-template-columns: 1fr 1fr; }
  .sbj-footer__brand { grid-column: 1 / -1; }
  .sbj-footer__main a { display: inline-block; padding: 6px 0; }
}
/* ---------- Page not found ---------- */
.sbj-lost { display: grid !important; grid-template-columns: var(--sbj-cols); gap: 32px var(--sbj-gutter); align-items: center; padding: 48px 0 32px; }
.sbj-lost > * { margin: 0 !important; }
.sbj-lost h1 { font-size: clamp(44px, 6vw, 92px); line-height: 1; letter-spacing: -0.04em; margin: 12px 0 20px; }
.sbj-lost__copy p { font-size: 17px; line-height: 1.6; max-width: 460px; }
.sbj-lost__copy p.sbj-lost__label { font-family: var(--sbj-type); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sbj-muted); margin: 36px 0 8px; }
.sbj-lost__links { list-style: none; padding: 0 !important; margin: 0 0 28px !important; border-top: 1px solid var(--sbj-ink); max-width: 460px; }
.sbj-lost__links li { border-bottom: 1px solid var(--sbj-line); }
.sbj-lost__links a { display: flex; justify-content: space-between; padding: 14px 0; font-family: var(--wp--preset--font-family--serif); font-size: 24px; letter-spacing: -0.02em; text-decoration: none; }
.sbj-lost__links a::after { content: "\2192"; transition: translate .2s ease; }
.sbj-lost__links a:hover::after { translate: 6px 0; }
.sbj-lost__image img { display: block; width: 100%; height: auto; rotate: 1.5deg; }
.sbj-lost__image figcaption { font-family: var(--sbj-type); font-size: 12px; color: var(--sbj-muted); margin-top: 14px; text-align: right; }
@media (max-width: 782px) { .sbj-lost { grid-template-columns: 1fr; padding-top: 24px; } .sbj-lost__image { order: -1; max-width: 300px; } }
.sbj-lost__image { max-width: 460px; justify-self: center; }

/* Accessibility: darker copper wherever it carries small text (the waterlines keep the brighter copper). */
body.sbj-flo { --flo-copper-text: #A4551A; }
.sbj-flo .sbj-case-study .sbj-eyebrow, .sbj-flo .sbj-case-study a:hover { color: var(--flo-copper-text); }
.sbj-flo-tags span:first-child { background: var(--flo-copper-text); border-color: var(--flo-copper-text); }
.sbj-flo .sbj-enquiry .wp-element-button { background: var(--flo-copper-text); border-color: var(--flo-copper-text); }
/* Case study section headings are now h2 (were h3) so screen readers get the right order. */
.sbj-cs-point h2 { margin-bottom: 10px; font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; }
.sbj-flo .sbj-cs-point h2 { font-family: "Unbounded", var(--wp--preset--font-family--sans); text-transform: uppercase; letter-spacing: 0.01em; font-weight: 500; font-size: 17px; }

/* Header brand: a small version of the home page masthead (same font, capitals, tight spacing). */
.sbj-topbar .sbj-brand a { text-transform: uppercase; font-weight: 900; font-size: 19px; letter-spacing: -0.07em; line-height: 1; text-decoration: none; }

/* Launch: empty case-study story blocks collapse; Flö keeps one waterline. */
.sbj-cs-story--empty { display: none !important; }
.sbj-flo .sbj-cs-story--empty { display: block !important; height: 14px; padding: 0; margin: 0 0 40px !important; }
.sbj-flo .sbj-cs-story--empty::after { display: none; }
/* Links and tip pages */
.sbj-links { max-width: 560px; padding: 40px 0 72px; }
.sbj-links > * { margin: 0 !important; }
.sbj-links h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -0.04em; margin: 12px 0 28px !important; }
.sbj-links .sbj-lost__links { max-width: none; margin-bottom: 0 !important; }
.sbj-tip p { font-size: 17px; line-height: 1.6; margin: 0 0 24px !important; }
.sbj-tip .wp-block-button__link { background: var(--sbj-ink); color: #fff; border: 1px solid var(--sbj-ink); padding: 14px 28px; }
.sbj-tip .wp-block-button__link:hover { background: transparent; color: var(--sbj-ink); }
.sbj-tip p.sbj-tip__note { font-family: var(--sbj-type); font-size: 12px; color: var(--sbj-muted); margin-top: 16px !important; }
