
.site-header { position: absolute; z-index: 20; inset: 0 0 auto; color: var(--white); view-transition-name: site-header; }
.site-header.is-condensed { position: fixed; background: var(--ink); box-shadow: 0 4px 22px rgba(25,23,20,.18); } .site-header.is-condensed .header-inner { min-height: 4.35rem; }
.header-inner { width: min(100% - (2 * var(--gutter)), var(--shell)); min-height: 5.8rem; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); }
.brand img { width: auto; height: 2.1rem; max-width: min(266px, 55vw); view-transition-name: site-logo; }
.site-header.is-condensed .brand img { height: 1.85rem; }
.primary-nav { display: flex; align-items: center; gap: clamp(.5rem, 1.5vw, 1.5rem); }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .35rem; color: var(--white); font-size: .95rem; font-weight: 600; text-decoration: none; }
.primary-nav a:hover { color: var(--oat); }
.primary-nav a:active { color: var(--ochre); transform: translateY(1px); }
.primary-nav a:focus-visible { background: var(--rust-dark); outline: 3px solid var(--ochre); outline-offset: 2px; }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.header-contact { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .65rem .9rem; border: 1px solid rgba(255,249,240,.72); color: var(--white); font-weight: 600; text-decoration: none; }
.header-contact:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.header-contact:active { background: var(--oat); color: var(--ink); transform: translateY(1px); }
.header-contact:focus-visible { background: var(--rust-dark); border-color: var(--ochre); outline: 3px solid var(--ochre); }
.nav-toggle { display: none; min-width: 44px; min-height: 44px; padding: .65rem; border: 1px solid var(--white); background: transparent; color: var(--white); }
.nav-toggle:hover { background: var(--white); color: var(--ink); }
.nav-toggle:active { background: var(--oat); color: var(--ink); transform: translateY(1px); }
.nav-toggle:focus-visible { background: var(--rust-dark); outline: 3px solid var(--ochre); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; max-width: 100%; padding: .75rem 1.25rem; border: 2px solid transparent; border-radius: var(--radius-control); font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
.btn-primary { background: var(--clay); color: var(--white); }
.btn-primary:hover { background: var(--rust-dark); color: var(--white); box-shadow: 0 7px 0 rgba(115,48,35,.2); transform: translateY(-1px); }
.btn-primary:active { background: #5d271e; color: var(--white); box-shadow: none; transform: translateY(1px); }
.btn-primary:focus-visible { background: var(--rust-dark); color: var(--white); border-color: var(--ochre); outline: 3px solid var(--ochre); }
.btn-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: 0 5px 0 rgba(36,34,31,.15); transform: translateY(-1px); }
.btn-secondary:active { background: var(--deep); color: var(--white); box-shadow: none; transform: translateY(1px); }
.btn-secondary:focus-visible { background: var(--ink); color: var(--white); border-color: var(--ochre); outline: 3px solid var(--ochre); }
.btn-light { background: var(--white); color: var(--ink) !important; }
.btn-light:hover { background: var(--oat); color: var(--ink); box-shadow: 0 5px 0 rgba(255,249,240,.2); transform: translateY(-1px); }
.btn-light:active { background: var(--paper); color: var(--ink); transform: translateY(1px); box-shadow: none; }
.btn-light:focus-visible { background: var(--white); color: var(--ink); outline: 3px solid var(--ochre); }
.text-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 700; }
.text-link:hover { color: var(--clay); }
.text-link:active { color: var(--rust-dark); transform: translateY(1px); }
.text-link:focus-visible { background: var(--oat); outline: 3px solid var(--ochre); outline-offset: 3px; }

.stamp { width: clamp(6rem, 12vw, 9.5rem); aspect-ratio: 1; display: grid; place-items: center; padding: 1.1rem; border: 1px solid var(--ochre); border-radius: 50%; color: var(--ochre); position: relative; text-align: center; transform: rotate(-7deg); }
.stamp::before { content: ''; position: absolute; inset: .45rem; border: 1px solid currentColor; border-radius: 50%; }
.stamp strong { position: relative; z-index: 1; font-family: "Fraunces", Georgia, serif; font-size: clamp(.85rem, 1.7vw, 1.3rem); font-weight: 500; line-height: 1.05; }
.stamp small { position: absolute; z-index: 1; bottom: .65rem; font-family: 'IBM Plex Mono', monospace; font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; }

.feature-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-width: 0; background: var(--oat); }
.feature-row > * { min-width: 0; }

.feature-row figure { margin: 0; min-height: 32rem; }

.feature-row figure img { width: 100%; height: 100%; min-height: 32rem; object-fit: cover; }
.feature-copy { padding: clamp(2.25rem, 6vw, 6rem) var(--gutter); }
.feature-copy p { max-width: 48ch; }
.media-frame { overflow: hidden; border-radius: var(--radius-image); background: var(--oat); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.rail-wrap { position: relative; }
.rail-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.rail-buttons { display: flex; gap: .5rem; }
.rail-button { display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; padding: .65rem; border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.rail-button:hover { background: var(--ink); color: var(--white); box-shadow: 0 4px 0 rgba(36,34,31,.14); transform: translateY(-1px); }
.rail-button:active { background: var(--deep); color: var(--white); box-shadow: none; transform: translateY(1px); }
.rail-button:focus-visible { background: var(--ink); color: var(--white); outline: 3px solid var(--ochre); }
.rail-track { height: 3px; margin-top: 1.25rem; background: var(--line); }
.rail-progress { display: block; width: 25%; height: 100%; background: var(--ochre); transition: width 220ms var(--ease-standard); }
.horizontal-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(18rem, 32rem); gap: 1rem; overflow-x: auto; padding: .5rem .1rem 1.25rem; scroll-snap-type: x mandatory; scrollbar-color: var(--ochre) var(--line); cursor: grab; }
.horizontal-rail.is-dragging { cursor: grabbing; user-select: none; }
.rail-item { min-height: 18rem; scroll-snap-align: start; padding: clamp(1.5rem, 3vw, 2.5rem); border-top: 2px solid var(--ink); background: var(--wash); }
.rail-item .step-number { display: block; margin-bottom: 2.2rem; color: var(--clay); font-family: 'IBM Plex Mono', monospace; font-size: 1rem; }
.rail-item h3 { max-width: 15ch; }

.subject-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding-block: 2rem; border-top: 1px solid var(--line); }
.subject-row:last-child { border-bottom: 1px solid var(--line); }
.subject-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-image); }
.subject-row .subject-copy { min-width: 0; padding: 1rem 0; }
.subject-label { color: var(--rust-dark); font-family: 'IBM Plex Mono', monospace; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.subject-price { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: .78rem; }
.offer-band { position: relative; overflow: hidden; background: var(--clay); color: var(--white); }
.offer-band h2, .offer-band h3, .offer-band p { color: var(--white); }
.offer-band .stamp { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%) rotate(8deg); }

.form-shell { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .4rem; color: var(--ink); font-weight: 600; }
.field label span { color: var(--muted); font-size: .85rem; font-weight: 400; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--white); }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--clay); background: #fffdf8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rust-dark); outline: 3px solid rgba(200,148,61,.4); background: var(--white); }
.field input:active, .field select:active, .field textarea:active { border-color: var(--clay); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border: 2px solid var(--clay); background: #fff4ed; }
.field-error { display: block; margin-top: .35rem; color: var(--rust-dark); font-size: .87rem; font-weight: 600; }
.check-field { display: flex; gap: .7rem; align-items: flex-start; }
.check-field input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--clay); }
.form-note { color: var(--muted); font-size: .9rem; }
.form-status { min-height: 1.5rem; margin-top: 1rem; font-weight: 600; }

.site-footer { background: var(--ink); color: var(--white); padding-block: clamp(4rem, 8vw, 7rem) 1.25rem; }
.site-footer h2, .site-footer h3, .site-footer p { color: var(--white); }

.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(245,235,221,.3); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contact a { color: var(--white); }
.footer-contact a:hover { color: var(--oat); }
.footer-contact a:active { color: var(--ochre); transform: translateY(1px); }
.footer-contact a:focus-visible { background: var(--rust-dark); color: var(--white); outline: 3px solid var(--ochre); }
.footer-brand { height: 2.7rem; width: auto; margin-bottom: 1.5rem; }
.footer-nav { display: flex; flex-wrap: wrap; align-content: start; gap: .35rem 1rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); }
.footer-nav a:hover { color: var(--oat); }
.footer-nav a:active { color: var(--ochre); transform: translateY(1px); }
.footer-nav a:focus-visible { background: var(--rust-dark); color: var(--white); outline: 3px solid var(--ochre); }
.footer-nav button { min-height: 44px; padding: .5rem 0; border: 0; background: var(--ink); color: var(--white); font: inherit; cursor: pointer; }
.footer-nav button:hover { color: var(--oat); }
.footer-nav button:active { color: var(--ochre); transform: translateY(1px); }
.footer-nav button:focus-visible { background: var(--rust-dark); color: var(--white); outline: 3px solid var(--ochre); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; color: rgba(255,249,240,.72); font-size: .85rem; }

.cookie-banner { position: fixed; z-index: 80; inset: auto 0 0; display: none; padding: .7rem var(--gutter); background: var(--deep); color: var(--white); box-shadow: 0 -8px 26px rgba(25,23,20,.2); }
.cookie-banner.is-visible { display: block; }
.cookie-inner { width: min(100%, var(--shell)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-banner p { margin: 0; max-width: 65ch; font-size: .88rem; }
.cookie-banner a { color: var(--oat); }
.cookie-banner a:hover { color: var(--white); }
.cookie-banner a:active { color: var(--ochre); }
.cookie-banner a:focus-visible { background: var(--rust-dark); color: var(--white); outline: 3px solid var(--ochre); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; flex: 0 0 auto; }
.cookie-actions button { min-height: 44px; padding: .55rem .9rem; border: 1px solid var(--white); background: transparent; color: var(--white); }
.cookie-actions button:hover { background: var(--white); color: var(--ink); }
.cookie-actions button:active { background: var(--oat); color: var(--ink); transform: translateY(1px); }
.cookie-actions button:focus-visible { background: var(--rust-dark); color: var(--white); outline: 3px solid var(--ochre); }
.cookie-actions .accept { background: var(--clay); border-color: var(--clay); }
.cookie-actions .accept:hover { background: var(--white); border-color: var(--white); }

.chat-launcher { position: fixed; z-index: 70; right: clamp(1rem, 3vw, 2rem); bottom: 1.25rem; display: inline-flex; align-items: center; gap: .55rem; min-height: 50px; padding: .75rem 1rem; border: 2px solid var(--white); border-radius: 2px; background: var(--clay); color: var(--white); box-shadow: 0 8px 24px rgba(25,23,20,.25); font-weight: 700; }
.chat-launcher:hover { background: var(--rust-dark); box-shadow: 0 10px 28px rgba(25,23,20,.32); transform: translateY(-1px); }
.chat-launcher:active { background: #5d271e; box-shadow: 0 4px 15px rgba(25,23,20,.22); transform: translateY(1px); }
.chat-launcher:focus-visible { background: var(--rust-dark); outline: 3px solid var(--ochre); }
.chat-launcher:hover { background: var(--rust-dark); color: var(--white); border-color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(25,23,20,.32); }
.chat-launcher:active { background: #5d271e; color: var(--white); border-color: var(--ochre); transform: translateY(1px); box-shadow: 0 4px 15px rgba(25,23,20,.22); }
.chat-launcher:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.chat-launcher .unread { display: none; min-width: 1.35rem; min-height: 1.35rem; padding: .15rem; border-radius: 50%; background: var(--ochre); color: var(--ink); font-size: .72rem; text-align: center; }
.chat-launcher.has-unread .unread { display: inline-grid; place-items: center; }
.chat-panel { position: fixed; z-index: 71; right: clamp(1rem, 3vw, 2rem); bottom: 5.8rem; display: none; width: min(25rem, calc(100vw - 2rem)); max-height: min(39rem, calc(100vh - 7rem)); overflow: hidden; flex-direction: column; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-deep); }
.chat-panel.is-open { display: flex; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; background: var(--ink); color: var(--white); }
.chat-head h2 { margin: 0; color: var(--white); font-size: 1.3rem; }
.chat-close { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: .6rem; border: 1px solid var(--white); background: transparent; color: var(--white); }
.chat-close:hover { background: var(--white); color: var(--ink); }
.chat-close:active { background: var(--oat); color: var(--ink); transform: translateY(1px); }
.chat-close:focus-visible { background: var(--rust-dark); outline: 3px solid var(--ochre); }
.chat-body { min-height: 10rem; overflow-y: auto; padding: 1rem; }
.chat-message { max-width: 88%; margin-bottom: .75rem; padding: .7rem .8rem; background: var(--wash); }
.chat-message.is-user { margin-left: auto; background: var(--oat); }
.chat-compose { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--line); }
.chat-compose textarea { flex: 1; min-width: 0; min-height: 46px; max-height: 7rem; padding: .6rem; border: 1px solid var(--line); resize: vertical; }
.chat-compose textarea:hover { border-color: var(--clay); }
.chat-compose textarea:focus { border-color: var(--rust-dark); outline: 3px solid rgba(200,148,61,.4); }
.chat-compose textarea:active { border-color: var(--clay); }
.chat-compose button { min-width: 46px; min-height: 46px; padding: .6rem; border: 0; background: var(--clay); color: var(--white); }
.chat-compose button:hover { background: var(--rust-dark); transform: translateY(-1px); }
.chat-compose button:active { background: #5d271e; transform: translateY(1px); }
.chat-compose button:focus-visible { background: var(--rust-dark); outline: 3px solid var(--ochre); }
.chat-intro { padding: 1rem; border-bottom: 1px solid var(--line); }
.chat-intro input { width: 100%; min-height: 44px; margin-top: .4rem; padding: .5rem; border: 1px solid var(--line); }
.chat-intro input:hover { border-color: var(--clay); }
.chat-intro input:focus { border-color: var(--rust-dark); outline: 3px solid rgba(200,148,61,.4); }

@media (max-width: 900px) {
	.primary-nav { position: absolute; inset: 5.8rem var(--gutter) auto; display: none; padding: .8rem; background: var(--ink); box-shadow: var(--shadow-deep); }
	.primary-nav.is-open { display: grid; }
	.primary-nav a { padding: .7rem; }
	.nav-toggle { display: inline-grid; place-items: center; }
	.header-contact { display: none; }
	.feature-row, .form-shell, .footer-main { grid-template-columns: 1fr; }
	.footer-main { gap: 2rem; }
}
@media (max-width: 640px) {
	.subject-row, .form-grid { grid-template-columns: 1fr; }
	.subject-row img { aspect-ratio: 16 / 10; }
	.offer-band .stamp { opacity: .4; right: -1.5rem; }
	.cookie-inner { align-items: stretch; flex-direction: column; gap: .5rem; }
	.cookie-banner { padding-block: .65rem; }
	.cookie-actions { width: 100%; }
	.cookie-actions button { flex: 1; }
	.chat-launcher { bottom: 5.6rem; }
	.chat-panel { bottom: 10rem; }
	.footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	.horizontal-rail { display: grid; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; cursor: default; }
	.rail-progress { width: 100%; }
}
