/* Blossome theme */

@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; }

:root {
	--bg: #f7f7f5;
	--paper: #ffffff;
	--ink: #50524d;
	--ink-soft: #6a6c66;
	--line: rgba(80, 82, 77, .16);
	--shade: rgba(30, 31, 28, .5);
	--serif: "Marcellus", Georgia, serif;
	--sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(20px, 5vw, 72px);
	--content: 1240px;
	--narrow: 820px;
	--section: clamp(80px, 12vw, 170px);
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-slow: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.75 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(40px, 6vw, 84px); }
h2 { font-size: clamp(32px, 4.2vw, 58px); }
h3, h2.is-h3 { font-size: clamp(24px, 2.4vw, 32px); }
p { margin: 0 0 1.1em; }
button { font: inherit; }
strong, b { font-weight: 500; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .4em; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 32px; padding: 16px var(--gutter); background: rgba(247, 247, 245, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .5s var(--ease), color .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease); }
.admin-bar .site-header { top: 32px; }
.has-hero .site-header:not(.is-solid) { background: transparent; color: var(--bg); box-shadow: none; padding-block: 24px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header:not(.is-solid) .brand__sign { filter: brightness(0) invert(.97); }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__sign { width: 46px; height: auto; transition: filter .5s; }
.brand__word { font-family: var(--serif); font-size: 21px; letter-spacing: .32em; text-transform: uppercase; }
.header-nav { display: flex; gap: 34px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; }
.header-nav a, .footer-col a, .menu__meta a, .text-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.header-nav a:hover, .header-nav a[aria-current], .footer-col a:hover, .menu__meta a:hover, .text-link:hover { background-size: 100% 1px; }
.header-ig { display: inline-flex; padding: 12px; margin: -12px; }
.menu-toggle { display: none; background: none; border: 0; width: 34px; height: 24px; position: relative; color: inherit; cursor: pointer; padding: 0; }
.menu-toggle span:not(.screen-reader-text) { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease), left .45s var(--ease); }
.menu-toggle span:nth-child(1) { top: 8px; }
.menu-toggle span:nth-child(2) { top: 16px; left: 10px; }
.menu-open .menu-toggle span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 12px; left: 0; transform: rotate(-45deg); }

/* Overlay menu */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--bg); color: var(--ink); display: grid; align-content: center; padding: 110px var(--gutter) 40px; overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-slow); }
.menu[hidden] { display: none; }
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu-open .site-header { color: var(--ink) !important; background: transparent !important; box-shadow: none !important; }
.menu-open .site-header .brand__sign { filter: none !important; }
.menu__mark { position: absolute; right: -8vw; bottom: -6vh; width: min(80vw, 560px); opacity: .06; pointer-events: none; }
.menu__nav { display: grid; gap: 2px; }
.menu__nav a { font-family: var(--serif); font-size: clamp(34px, 9vw, 64px); line-height: 1.25; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu-open .menu__nav a { opacity: 1; transform: none; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu-open .menu__nav a:nth-child(6) { transition-delay: .25s; }
.menu__meta { display: grid; gap: 4px; margin-top: 48px; font-size: 15px; color: var(--ink-soft); justify-items: start; }

/* ---------- Front page hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #2f312d; color: var(--bg); }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.8s var(--ease-slow); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear; }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,31,28,.42) 0%, rgba(30,31,28,0) 30%, rgba(30,31,28,0) 48%, rgba(30,31,28,.68) 100%); pointer-events: none; }
.hero__content { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(48px, 10vh, 110px); }
.hero__title { margin: 0; color: var(--bg); font-size: inherit; }
.hero__logo { width: clamp(240px, 36vw, 520px); margin-bottom: 18px; animation: rise 1.6s var(--ease) .3s both; }
.hero__line { display: block; font-family: var(--sans); font-size: 13px; line-height: 1.6; letter-spacing: .28em; text-transform: uppercase; animation: rise 1.6s var(--ease) .6s both; }
.hero__progress { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(52px, 10vh, 114px); width: 120px; height: 1px; background: rgba(247,247,245,.3); }
.hero__progress span { position: absolute; inset: 0; background: var(--bg); transform-origin: left; transform: scaleX(0); }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 1px; height: 46px; background: rgba(247,247,245,.35); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--bg); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: calc(var(--section) + 60px) var(--gutter) clamp(50px, 7vw, 90px); text-align: center; }
.page-hero__title { margin: 0; }
.page-hero__lead { max-width: 640px; margin: 20px auto 0; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
.page-hero--image { height: 88vh; height: 88svh; min-height: 520px; display: grid; align-items: end; justify-items: start; text-align: left; padding: 0 var(--gutter) clamp(48px, 9vh, 100px); overflow: hidden; color: var(--bg); background: #2f312d; }
.page-hero__media { position: absolute; inset: -12% 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s var(--ease) both; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,31,28,.35), rgba(30,31,28,0) 35%, rgba(30,31,28,0) 50%, rgba(30,31,28,.68)); pointer-events: none; }
.page-hero--image .page-hero__inner { position: relative; z-index: 2; }
.page-hero--image .page-hero__title { color: var(--bg); animation: rise 1.4s var(--ease) .2s both; }
.page-hero--image .page-hero__lead { color: var(--bg); margin: 14px 0 0; animation: rise 1.4s var(--ease) .4s both; }
.page-hero__title .page-hero__lead { display: block; font-family: var(--sans); font-weight: 300; line-height: 1.6; }
.page-hero__back { display: inline-block; margin-bottom: 14px; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; }
.page-hero__back::before { content: "\2190\00a0\00a0"; }
@keyframes settle { from { transform: scale(1.1); } to { transform: scale(1); } }

/* ---------- Content flow ---------- */
/* Classic themes wrap group content in an inner container; let our layouts see the real children. */
:is(.intro, .steps, .section-head, .reviews, .cta, .cta-form) > .wp-block-group__inner-container { display: contents; }
.entry { padding: 0 var(--gutter) var(--section); }
/* One shared left edge: narrow text blocks sit on the left of the content column. */
.entry > * { max-width: var(--narrow); margin-left: max(0px, calc((100% - var(--content)) / 2)); margin-right: auto; }
.entry > .cta, .entry > .reviews .wp-block-heading { margin-left: auto; }
.entry > .alignwide, .entry > .wp-block-columns, .entry > .wp-block-media-text, .entry > .projects-grid, .entry > .intro, .entry > .steps, .entry > .contact-split, .entry > .cta { max-width: var(--content); margin-left: auto; margin-right: auto; }
.entry > .alignfull, .entry > .panels, .entry > .projects-rail, .entry > .wp-block-cover { max-width: none; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
.entry > :first-child { margin-top: var(--section); }
.entry--home > :first-child, .entry--project > :first-child { margin-top: var(--section); }
.entry > h2, .entry > .wp-block-heading { margin-top: var(--section); }
.entry > * + .wp-block-group, .entry > * + .wp-block-media-text, .entry > * + .wp-block-columns, .entry > * + .wp-block-cover, .entry > * + .panels, .entry > * + .projects-rail { margin-top: var(--section); }
.entry > * + .projects-grid { margin-top: clamp(60px, 8vw, 110px); }
.entry > h2 + :is(.wp-block-group, .wp-block-columns), .entry > h2 + p + :is(.wp-block-group, .wp-block-columns) { margin-top: clamp(36px, 4vw, 60px); }
.entry > .has-text-align-center { margin-left: auto; margin-right: auto; }
.error404 .entry > :first-child { margin-top: 0; }
.entry > .section-head + .projects-rail, .entry > .section-head + .projects-grid { margin-top: 0; }
.entry > h2 + .wp-block-details { margin-top: 1em; }
.entry ul li::marker { color: var(--ink-soft); }
.entry a:not(.button):not(.wp-block-button__link):not(.project):not(.panel) { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.entry a:not(.button):not(.wp-block-button__link):not(.project):not(.panel):hover { border-color: var(--ink); }
.has-text-align-center { text-align: center; }
.entry a.link-line, .link-line a { display: inline-block; margin-top: 12px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid var(--ink) !important; transition: letter-spacing .5s var(--ease); }
.entry a.link-line:hover, .link-line a:hover { letter-spacing: .3em; }
.is-style-lead, .lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.45; }
.eyebrow { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }

/* Intro statement with watermark */
.intro { position: relative; overflow: visible; display: grid; grid-template-columns: 5fr 6fr; column-gap: clamp(40px, 7vw, 120px); }
.intro p { position: relative; z-index: 1; }
.intro p:first-child { grid-column: 1 / -1; max-width: 85%; font-family: var(--serif); font-size: clamp(30px, 4.2vw, 58px); line-height: 1.22; margin-bottom: .9em; }
.intro p:not(:first-child) { grid-column: 2; color: var(--ink-soft); }
.intro::after { content: ""; position: absolute; right: -4vw; bottom: -6vw; width: min(40vw, 540px); aspect-ratio: 820 / 647; background: url("../img/sign-grey.png") center / contain no-repeat; opacity: .05; pointer-events: none; z-index: 0; }

/* About split (media & text block) */
.wp-block-media-text.about-split { display: grid; grid-template-columns: 5fr 6fr !important; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-split .wp-block-media-text__media { justify-self: center; width: min(100%, 460px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0; }
.about-split .wp-block-media-text__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.about-split .wp-block-media-text__media:hover img { transform: scale(1.04); }
.about-split .wp-block-media-text__content { padding: 0; }
.about-split .wp-block-media-text__content h2 { margin-bottom: .3em; }

/* Expanding panels */
.panels { position: relative; display: flex; height: clamp(460px, 78vh, 820px); gap: 2px; }
/* Magnolia sprig from the logo, tucked behind the quote image that follows. */
.panels::after { --w: clamp(120px, 14vw, 220px); content: ""; position: absolute; right: clamp(40px, 12vw, 220px); top: calc(100% + var(--section) / 2 + var(--w) * .25 - var(--w) * .67); width: var(--w); height: calc(var(--w) * 1.335); background: url("../img/magnolia-grey.png") center / contain no-repeat; opacity: .12; transform: rotate(-68deg); pointer-events: none; }
.panel { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 24px 34px 32px; overflow: hidden; color: var(--bg); transition: flex 1s var(--ease-slow); border: 0 !important; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,31,28,.62), rgba(30,31,28,.05) 55%); }
.panel:hover, .panel:focus-visible { flex: 1.7; }
.panel:hover img { transform: scale(1); }
.panel__title { position: relative; z-index: 2; margin-bottom: 8px; font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); }
.panel__sub { position: relative; z-index: 2; line-height: 1.6; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.panel:hover .panel__sub, .panel:focus-visible .panel__sub { opacity: 1; transform: none; }

/* Quote over image (cover block) */
.wp-block-cover.quote { min-height: 90vh !important; padding: 120px var(--gutter); overflow: hidden; }
.wp-block-cover.quote .wp-block-cover__image-background { top: -15%; height: 130%; }
.wp-block-cover.quote .wp-block-cover__inner-container { max-width: 980px; color: var(--bg); text-align: center; }
.wp-block-cover.quote p { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 46px); line-height: 1.3; color: var(--bg); }
.wp-block-cover.quote p.cite { font-family: var(--sans); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; margin-top: 1.4em; }

/* Projects */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.projects-rail { display: flex; gap: 24px; overflow-x: auto; padding: 40px var(--gutter) 24px; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; scroll-padding-left: var(--gutter); }
.projects-rail::-webkit-scrollbar { display: none; }
.projects-rail .project { flex: 0 0 clamp(270px, 32vw, 480px); scroll-snap-align: start; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.project { display: block; border: 0 !important; }
.project img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.project > img, .project picture { overflow: hidden; }
.project { overflow: hidden; }
.project:hover img { transform: scale(1.04); }
.project__name { display: block; margin-top: 18px; font-family: var(--serif); font-size: 22px; line-height: 1.3; background: var(--bg); position: relative; }
.project__name small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }

/* Reviews */
.reviews { background: var(--paper); text-align: center; padding: var(--section) var(--gutter); max-width: none !important; margin-left: calc(var(--gutter) * -1) !important; margin-right: calc(var(--gutter) * -1) !important; }
.reviews__list { display: grid; max-width: 900px; margin: 30px auto 0; }
.reviews .wp-block-quote, .review { grid-area: 1 / 1; margin: 0; padding: 0; border: 0; opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); visibility: hidden; }
.reviews .is-active { opacity: 1; transform: none; visibility: visible; }
.reviews .wp-block-quote p { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 29px); line-height: 1.5; margin-bottom: 28px; }
.reviews .wp-block-quote cite { font-style: normal; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.reviews__nav { display: flex; justify-content: center; gap: 12px; margin-top: 44px; }
.reviews__nav button, .lightbox button { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; background: none; color: inherit; font-size: 18px; cursor: pointer; transition: background .4s, color .4s, transform .15s var(--ease); }
.reviews__nav button:hover { background: var(--ink); color: var(--bg); }
.reviews__nav button:active { transform: scale(.94); }
.no-js .reviews .wp-block-quote { opacity: 1; visibility: visible; transform: none; grid-area: auto; margin-bottom: 48px; }

/* FAQ / accordions (details block) */
.wp-block-details { border-top: 1px solid var(--line); margin-top: 0; margin-bottom: 0; }
.wp-block-details:last-of-type { border-bottom: 1px solid var(--line); }
.wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--serif); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.35; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; flex: none; font-family: var(--sans); font-weight: 300; font-size: 26px; line-height: 1; transition: transform .4s var(--ease); }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { color: var(--ink-soft); max-width: 760px; }
.wp-block-details > :last-child { padding-bottom: 22px; }

/* Process steps (Design page) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.steps .step { padding: 34px 28px 40px 0; align-self: stretch; border-top: 1px solid var(--line); margin: 0 !important; }
.steps h3 { font-size: clamp(22px, 2vw, 27px); margin-bottom: .5em; }
.steps p { color: var(--ink-soft); margin: 0; }

/* Packages */
.packages { gap: 2px !important; background: transparent; }
.packages > .wp-block-column { background: var(--paper); padding: clamp(32px, 4vw, 56px); margin: 0 !important; transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.packages > .wp-block-column:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(30,31,28,.35); }
.packages h3 { margin-bottom: .15em; }
.packages .eyebrow { margin-bottom: 1.6em; }
.packages ul { list-style: none; padding: 0; margin: 0; font-size: 16px; }
.packages li { padding: 12px 0; border-top: 1px solid var(--line); margin: 0; }

/* Split page (About) */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.split__body { padding: calc(var(--section) + 40px) var(--gutter) var(--section); }
.split__body > * { max-width: 600px; margin-left: auto; margin-right: clamp(0px, 3vw, 60px); }
.split__title { margin-bottom: .8em; }
.split__media { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding-top: 70px; background: #ede9e6; } /* starts below the fixed header so the head is never hidden */
.split__media img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center top; animation: settle 2.4s var(--ease) both; }
.entry--split { padding: 0; }
.entry--split > * { max-width: none; margin-left: 0; margin-right: 0; }
.entry--split > :first-child { margin-top: 0; }
.entry--split > h2, .entry--split > .wp-block-heading { margin-top: 1.6em; font-size: clamp(28px, 3vw, 40px); }
.entry--split ul { padding-left: 1.1em; }

/* Contact */
.contact-split { display: grid !important; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-split .wp-block-column { margin: 0 !important; }
.contact-details p { margin-bottom: 1.6em; }

/* Project page */
.entry--project > :first-child { margin-top: clamp(60px, 9vw, 120px); }
.entry--project { padding-bottom: clamp(60px, 9vw, 120px); }
.entry--project > p:first-child { font-family: var(--serif); font-size: clamp(21px, 2.1vw, 28px); line-height: 1.5; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0 var(--gutter) var(--section); max-width: calc(var(--content) + var(--gutter) * 2); margin: 0 auto; }
.gallery__item { display: block; overflow: hidden; background: #e9e9e6; cursor: zoom-in; }
.gallery__item:nth-child(3n + 1) { grid-column: 1 / -1; }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:nth-child(3n + 1) img { aspect-ratio: 16 / 9; }
.gallery__item:hover img { transform: scale(1.03); }
.next-project { position: relative; display: grid; place-items: center; min-height: 70vh; overflow: hidden; color: var(--bg); text-align: center; background: #2f312d; }
.next-project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform 1.6s var(--ease), opacity 1s; }
.next-project:hover img { transform: scale(1.04); opacity: .72; }
.next-project__label, .next-project__title { position: relative; z-index: 1; }
.next-project__label { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; align-self: end; }
.next-project__title { font-family: var(--serif); font-size: clamp(32px, 5vw, 64px); line-height: 1.15; align-self: start; padding: 10px var(--gutter) 0; }
.next-project__title small { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .26em; text-transform: uppercase; margin-top: 12px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(22, 23, 21, .94); color: var(--bg); opacity: 0; transition: opacity .4s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; border-color: rgba(247,247,245,.3); }
.lightbox button:hover { background: var(--bg); color: var(--ink); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Buttons & forms */
.button, .wp-block-button__link { display: inline-block; padding: 18px 38px; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: 400 13px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; position: relative; overflow: hidden; isolation: isolate; cursor: pointer; transition: color .5s var(--ease), transform .15s var(--ease); }
.button::before, .wp-block-button__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.button:hover, .wp-block-button__link:hover { color: var(--bg); }
.button:hover::before, .wp-block-button__link:hover::before { transform: scaleY(1); }
.button:active, .wp-block-button__link:active { transform: scale(.98); }
.wp-block-buttons { gap: 12px; }
.cta { text-align: center; }
.cta h2 { margin-bottom: .8em; }
.enquiry__form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field--hp { position: absolute; left: -9999px; }
.field label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font: 300 17px/1.6 var(--sans); padding: 10px 0; border-radius: 0; transition: border-color .3s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 140px; }
.enquiry__notice { padding: 22px 26px; margin-bottom: 32px; background: var(--paper); border-left: 2px solid var(--ink); }
.enquiry__notice p { margin: 0; }
.enquiry__notice--error { border-color: #a5483c; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); }
.insta { display: grid; justify-items: center; gap: 0; padding: clamp(70px, 9vw, 120px) var(--gutter); text-align: center; border-bottom: 1px solid var(--line); }
.insta__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border: 1px solid var(--line); border-radius: 50%; margin-bottom: 26px; }
.insta__icon svg { width: 22px; height: 22px; }
.insta__title { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: .45em; }
.insta__text { max-width: 520px; color: var(--ink-soft); margin-bottom: 34px; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 80px var(--gutter) 60px; font-size: 15px; }
.footer-sign img { width: 84px; }
.footer-label { display: block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 22px var(--gutter); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-circle .wp-block-media-text__media { clip-path: circle(0% at 50% 50%); transition: clip-path 1.6s var(--ease-slow); }
.js .reveal-circle.is-in .wp-block-media-text__media { clip-path: circle(50% at 50% 50%); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.projects-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	.admin-bar .site-header { top: 46px; }
	.header-nav, .header-ig { display: none; }
	.menu-toggle { display: block; }
	.brand__word { font-size: 17px; }
	.brand__sign { width: 38px; }
	.intro p:first-child, .intro p:not(:first-child) { grid-column: 1 / -1; max-width: none; }
	.wp-block-media-text.about-split { grid-template-columns: 1fr !important; text-align: center; }
	.about-split .wp-block-media-text__media { grid-row: 1 !important; grid-column: 1 !important; }
	.about-split .wp-block-media-text__content { grid-row: 2 !important; grid-column: 1 !important; }
	.panels { flex-direction: column; height: auto; }
	.panel { flex: none; height: 62vw; min-height: 260px; }
	.panel:hover { flex: none; }
	.panel__sub { opacity: 1; transform: none; }
	.panel::after { background: linear-gradient(0deg, rgba(30,31,28,.72), rgba(30,31,28,.05) 65%); }
	.hero__progress { display: none; }
	.split { grid-template-columns: 1fr; }
	.split__media { position: relative; height: auto; order: -1; padding-top: 56px; }
	.split__media img { height: auto; }
	.split__body { padding-top: 60px; }
	.split__body > * { margin: 0 auto; }
	.contact-split { grid-template-columns: 1fr; }
	.footer-main { grid-template-columns: 1fr 1fr; }
	.footer-sign { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.projects-grid, .steps { grid-template-columns: 1fr; }
	.enquiry__form { grid-template-columns: 1fr; }
	.button, .wp-block-button__link { padding-inline: 28px; }
	.gallery { grid-template-columns: 1fr; gap: 10px; }
	.gallery__item img, .gallery__item:nth-child(3n + 1) img { aspect-ratio: 4 / 3; }
	.footer-main { grid-template-columns: 1fr; }
	.packages > .wp-block-column:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.js .reveal-circle .wp-block-media-text__media { clip-path: none; }
}
