/* Beyond Front Door: calm gallery-grade site where the photographs carry the page. */

:root {
	--paper: #f7f7f5;
	--stone: #ecebe7;
	--ink: #161513;
	--ink-2: #55514a;      /* secondary text on paper: 7.4:1 */
	--rule: #dedbd4;
	--white: #fff;
	--serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
	--sans: "Hanken Grotesk", system-ui, sans-serif;
	--frame: clamp(10px, 1.7vw, 28px);  /* the white inset around framed photos */
	--gutter: clamp(20px, 5vw, 72px);
	--wide: 1320px;
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--s1: clamp(56px, 8vw, 120px);      /* section spacing */
	--s2: clamp(32px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font: 400 17px/1.6 var(--sans); font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wp-site-blocks, .site-main, .header-part, .footer-part { margin: 0 !important; padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
html { scrollbar-color: #b9b5ac var(--paper); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 5.2vw, 5rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1.04; }
h3 { font-size: 1.6rem; line-height: 1.12; }
p { margin: 0; text-wrap: pretty; }
.label { font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px;
	font: 600 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
	transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.btn .icon { transition: transform .35s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #33302b; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--white); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.more { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.more .icon { transition: transform .35s var(--ease-out); }
.more:hover .icon { transform: translateX(3px); }
.link-light { color: var(--white); font-weight: 600; }

/* Header: sits inside the photo frame on hero pages, on paper elsewhere */
.skip { position: fixed; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { top: 12px; }
.site-header {
	position: relative; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	gap: 24px; padding: 22px var(--gutter);
}
.has-hero .site-header { position: absolute; inset: var(--frame) var(--frame) auto; padding: 22px clamp(18px, 3.4vw, 48px); color: var(--white); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; justify-self: start; }
.wordmark svg { display: block; height: 34px; width: auto; }
.wordmark--full svg { height: 64px; }
.has-hero .site-header .wordmark svg { filter: drop-shadow(0 1px 10px rgba(0,0,0,.28)); }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav a { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.header-cta { justify-self: end; min-height: 42px; font-size: 14px; }
.has-hero .header-cta:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.menu-btn { display: none; justify-self: end; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-btn .icon { width: 24px; height: 24px; }
.has-hero .site-header .nav a { text-shadow: 0 1px 12px rgba(0,0,0,.25); }

.menu-sheet { position: fixed; inset: 0; z-index: 60; background: var(--paper); padding: 18px var(--gutter) 32px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; }
.menu-sheet[hidden] { display: none; }
.menu-sheet__top { display: flex; justify-content: space-between; align-items: center; }
.menu-sheet ul { list-style: none; margin: 8px 0 0; padding: 0; }
.menu-sheet li a { display: block; font: 400 2.2rem/1.25 var(--serif); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.menu-sheet .btn { align-self: stretch; }
.menu-sheet__contact { color: var(--ink-2); line-height: 1.9; }

/* Hero: one framed photograph, copy set low on the left */
.hero, .page-hero { position: relative; padding: var(--frame); }
.hero__frame, .page-hero__frame { margin: 0; position: relative; overflow: hidden; height: min(88svh, 980px); min-height: 560px; background: var(--stone); }
.page-hero__frame { height: min(70svh, 760px); min-height: 460px; }
.hero__frame img, .page-hero__frame img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.6s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.035); } to { transform: none; } }
.hero__frame::after, .page-hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,.5) 0, rgba(10,9,8,.12) 16%, rgba(10,9,8,0) 30%, rgba(10,9,8,0) 48%, rgba(10,9,8,.62) 100%); pointer-events: none; }
/* Home hero is a busy aerial: shade the left side behind the headline */
.hero__frame::after { background: linear-gradient(90deg, rgba(10,9,8,.5) 0, rgba(10,9,8,.28) 32%, rgba(10,9,8,0) 58%), linear-gradient(180deg, rgba(10,9,8,.5) 0, rgba(10,9,8,.12) 16%, rgba(10,9,8,0) 30%, rgba(10,9,8,0) 44%, rgba(10,9,8,.66) 100%); }
@media (max-width: 720px) { .hero__frame::after { background: linear-gradient(180deg, rgba(10,9,8,.45) 0, rgba(10,9,8,.1) 18%, rgba(10,9,8,.15) 38%, rgba(10,9,8,.72) 100%); } }
.hero__copy, .page-hero__copy { position: absolute; left: calc(var(--frame) + clamp(18px, 3.4vw, 48px)); right: calc(var(--frame) + 24px); bottom: calc(var(--frame) + clamp(28px, 5vw, 64px)); color: var(--white); max-width: 900px; }
.hero__copy h1 { max-width: 15.5ch; }
.hero__copy h1 em { font-style: italic; }
.hero__copy p, .page-hero__copy p { font-size: clamp(17px, 1.4vw, 19px); margin-top: 16px; max-width: 46ch; opacity: .95; }
.page-hero__copy .hero__actions { margin-top: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }

/* Intro statement + facts */
.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s2) clamp(32px, 6vw, 110px); max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s1) var(--gutter); align-items: start; }
.intro__statement { font: 400 clamp(1.9rem, 3vw, 2.9rem)/1.14 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font: 600 12px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-top: 2px; }
.facts dd { margin: 0; }

/* Services: large alternating photo rows */
.services { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: var(--s1); }
.service { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.service--flip .service__media { order: 2; }
.service__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service__media:hover img { transform: scale(1.025); }
.service__body h2 a { text-decoration: none; }
.service__body > p { color: var(--ink-2); margin-top: 18px; max-width: 42ch; }
.ticks { list-style: none; margin: 24px 0 28px; padding: 0; border-top: 1px solid var(--rule); }
.ticks li { padding: 11px 0 11px 28px; border-bottom: 1px solid var(--rule); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 7px; border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(-45deg); }

/* Steps */
.steps { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s1) var(--gutter) 0; }
.steps h2 { margin-bottom: var(--s2); }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.steps li { border-top: 1px solid var(--ink); padding-top: 22px; counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 400 2.6rem/1 var(--serif); margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-2); max-width: 34ch; }

/* Work grid */
.work { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s1) var(--gutter); }
.work h2 { margin-bottom: var(--s2); }
.work__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); gap: clamp(8px, 1vw, 14px); }
.work__grid figure, .gallery__grid figure { margin: 0; overflow: hidden; background: var(--stone); }
.work__grid img, .gallery__grid img { width: 100%; height: 100%; object-fit: cover; }
.w1 { grid-column: span 2; grid-row: span 2; } .w6 { grid-column: 1 / -1; grid-row: span 2; }

/* Estimate */
.estimate-section { background: var(--stone); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s2) clamp(32px, 6vw, 110px); padding: var(--s1) max(var(--gutter), calc((100vw - var(--wide)) / 2)); margin-top: var(--s1); }
.estimate-section__intro p { color: var(--ink-2); margin-top: 18px; max-width: 40ch; }
.contact-lines { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.contact-lines li { display: flex; align-items: center; gap: 12px; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.contact-lines a:hover { border-bottom-color: var(--ink); }
.estimate { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { font: 600 13px/1.3 var(--sans); letter-spacing: .02em; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea {
	width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink); background: var(--paper);
	border: 1px solid #c9c5bc; border-radius: 2px; padding: 12px 14px; min-height: 48px;
	transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #75706a; }
.field input:hover, .field textarea:hover { border-color: #a7a299; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field input[type="date"] { appearance: none; }
.svc-picker legend { margin-bottom: 10px; }
.svc-picker { display: flex; flex-wrap: wrap; gap: 10px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.check span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid #c9c5bc; border-radius: 999px; background: var(--paper); font-size: 15px; transition: background-color .2s, color .2s, border-color .2s; }
.check input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.check input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.fineprint { color: var(--ink-2); font-size: 15px; }
.form-error { grid-column: 1 / -1; background: #f6e2dd; color: #6b1d0f; padding: 12px 14px; border-radius: 2px; }
.form-done { align-self: center; border-top: 1px solid var(--ink); padding-top: 22px; }
.form-done__title { font: 400 2rem/1.1 var(--serif); margin-bottom: 10px; }

/* Inner pages */
.lede { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s1) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s2) clamp(32px, 6vw, 110px); align-items: start; }
.lede p { font: 400 clamp(1.7rem, 2.6vw, 2.5rem)/1.2 var(--serif); max-width: 30ch; letter-spacing: -.005em; }
.styles, .gallery, .addons, .delivery, .tour, .features, .split { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s1) var(--gutter) 0; }
.styles__note { color: var(--ink-2); margin-top: 14px; max-width: 56ch; }
.styles__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: var(--s2); }
.styles__grid > div { border-top: 1px solid var(--ink); padding-top: 20px; }
.styles__grid p { color: var(--ink-2); margin-top: 10px; }
.gallery h2, .addons h2, .delivery h2, .tour h2, .features h2 { margin-bottom: var(--s2); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 20vw, 300px); gap: clamp(8px, 1vw, 14px); }
.g-wide { grid-column: span 2; } .g-tall { grid-row: span 2; }
.addons__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.addon img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--white); margin-bottom: 20px; }
.addon p { color: var(--ink-2); margin-top: 8px; }
.ticks--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); margin: 0; }
.tour__frame { position: relative; aspect-ratio: 16 / 9; background: var(--stone); overflow: hidden; }
.tour__frame img, .tour__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.tour__frame::after { content: ""; position: absolute; inset: 0; background: rgba(10,9,8,.28); pointer-events: none; transition: opacity .4s; }
.tour__frame.is-live::after { opacity: 0; }
.tour__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; min-height: 56px; padding: 0 28px; font-size: 16px; }
.tour__note { color: var(--ink-2); font-size: 15px; margin-top: 14px; }
.feature-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--ink); }
.feature-list div { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.feature-list dt { font: 400 1.6rem/1.15 var(--serif); }
.feature-list dd { margin: 8px 0 0; color: var(--ink-2); max-width: 44ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split p { color: var(--ink-2); margin: 18px 0 26px; max-width: 44ch; }

.prose { max-width: 760px; margin: 0 auto; padding: var(--s1) var(--gutter); }
.prose h1 { margin-bottom: 24px; }

/* Footer */
.site-footer { padding: var(--s1) var(--gutter) 40px; border-top: 1px solid var(--rule); }
.estimate-section + .site-footer, .footer-part { border-top: 0; }
.site-footer__inner { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__brand p { color: var(--ink-2); max-width: 36ch; margin-top: 16px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { text-decoration: none; width: fit-content; }
.site-footer__col a:hover { text-decoration: underline; }
.site-footer__legal { max-width: var(--wide); margin: 56px auto 0; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 14px; }

/* Mobile action bar */
.action-bar { display: none; }

@media (max-width: 1100px) {
	.nav { display: none; }
	.site-header, .has-hero .site-header { grid-template-columns: 1fr auto auto; }
	.menu-btn { display: inline-flex; }
}
@media (max-width: 900px) {
	body { font-size: 16px; }
	.intro, .lede, .service, .estimate-section, .split { grid-template-columns: 1fr; }
	.service--flip .service__media { order: 0; }
	.steps ol, .styles__grid, .addons__list { grid-template-columns: 1fr; }
	.feature-list, .ticks--cols { grid-template-columns: 1fr; }
	.work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; }
	.w1 { grid-column: span 2; grid-row: span 1; } .w6 { grid-column: span 2; }
	.gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
	.g-wide { grid-column: span 2; } .g-tall { grid-row: span 1; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.header-cta { display: none; }
	.site-header, .has-hero .site-header { grid-template-columns: 1fr auto; padding: 14px 16px; }
	.hero__frame { height: 78svh; min-height: 520px; }
	.page-hero__frame { height: 58svh; min-height: 400px; }
	.hero__copy, .page-hero__copy { left: calc(var(--frame) + 18px); bottom: calc(var(--frame) + 24px); }
	.hero__actions .link-light { display: none; }
	.estimate { grid-template-columns: 1fr; }
	.facts div { grid-template-columns: 1fr; gap: 4px; }
	.site-footer { padding-bottom: 104px; }
	.action-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto; gap: 10px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(247,247,245,.94);
		backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
		border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .45s var(--ease-out);
	}
	.action-bar.is-shown { transform: none; }
	.action-bar .btn { min-height: 50px; }
	.action-bar__call { color: var(--ink); padding: 0 18px; }
}

/* Full-bleed heroes (AJ): photo runs edge to edge, no paper border; home hero fills the screen */
.hero, .page-hero { padding: 0; }
.has-hero .site-header { inset: 0 0 auto; }
.hero__frame { height: 100svh; min-height: 560px; max-height: none; }
.hero__copy, .page-hero__copy { left: clamp(18px, 3.4vw, 48px); right: 24px; bottom: clamp(36px, 6vw, 80px); }
@media (max-width: 720px) {
	.hero__frame { height: 100svh; min-height: 520px; }
	.hero__copy, .page-hero__copy { left: 18px; bottom: 32px; }
}

@media (max-width: 640px) {
	.wordmark svg { height: 28px; }
	.wordmark--full svg { height: 52px; }
}
