:root {
	color-scheme: light;
	--bg: #f6f4ef;
	--surface: #ffffff;
	--fg: #16171a;
	--muted: #6a6a70;
	--accent: #b88a4c;
	--accent-ink: #16171a;
	--accent-soft: #f3ebdf;
	--navy: #16171a;
	--blue: #7a5a2b;
	--ok: #2f6b4a;
	--border: #e6e2da;
	--danger: #a3312b;
	--radius: 12px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(22, 23, 26, 0.04), 0 18px 40px -16px rgba(22, 23, 26, 0.16);
	--shadow-sm: 0 1px 2px rgba(22, 23, 26, 0.05), 0 4px 12px -4px rgba(22, 23, 26, 0.08);
	--space: 1rem;
	--font: "Inter", "Helvetica Neue", Arial, sans-serif;
	--display: "Fraunces", Georgia, "Times New Roman", serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--blue);
}

/* Demo notice: thin, quiet, always pinned to the top. */
.banner {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: 0.3rem 0.75rem;
	background: #e3e7ee;
	border-bottom: 1px solid var(--border);
	color: #3f4a5e;
	font-size: 0.75rem;
	line-height: 1.35;
	text-align: center;
}

/* Hero */
.hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: min(88vh, 46rem);
	background: var(--navy);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.hero-img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(16, 17, 20, 0.55) 0%, rgba(16, 17, 20, 0.35) 35%, rgba(16, 17, 20, 0.9) 100%);
}

.nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 72rem;
	margin: 0 auto;
	padding: 1.25rem;
}

.wordmark {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	color: inherit;
	font-family: var(--display);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-decoration: none;
}

.wordmark-mark {
	flex: none;
	width: 0.7rem;
	height: 1.5rem;
	border-radius: 999px;
	background: repeating-linear-gradient(-45deg, var(--accent) 0 4px, #fff 4px 8px);
}

.nav-phone {
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	opacity: 0.9;
	white-space: nowrap;
}

.nav-phone:hover {
	opacity: 1;
	text-decoration: underline;
}

.hero-inner {
	width: 100%;
	max-width: 72rem;
	margin: 0 auto;
	padding: 7rem 1.25rem 3rem;
}

.eyebrow {
	margin: 0 0 1rem;
	color: #e4c99f;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.eyebrow-dark {
	color: var(--blue);
}

.hero-title {
	max-width: 12ch;
	margin: 0;
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(2.9rem, 11vw, 5.5rem);
	line-height: 1;
	letter-spacing: -0.03em;
}

.hero-lede {
	max-width: 30rem;
	margin: 1.25rem 0 2rem;
	font-size: 1.1875rem;
	color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
}

.hero-link {
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
	text-decoration: none;
}

.hero-link:hover {
	color: #fff;
	text-decoration: underline;
}

.hero-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}

.hero-facts li {
	padding: 0.35rem 0.8rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(6px);
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.8125rem;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.section-head {
	text-align: center;
}

.section-head .eyebrow {
	margin-bottom: 0.6rem;
}

.display-title {
	margin: 0;
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(2rem, 6vw, 2.75rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

h1 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.6rem, 4vw, 2.25rem);
	letter-spacing: -0.01em;
}

.section-title {
	margin: 0 0 1rem;
	font-family: var(--display);
	font-weight: 500;
	font-size: 2rem;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.lede {
	margin: 0 0 0.75rem;
	font-size: 1.1rem;
}

.hint {
	margin: 0;
	color: var(--muted);
	font-size: 0.9375rem;
}

.small {
	font-size: 0.8125rem;
}

/* Layout */
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	max-width: 46rem;
	margin: 0 auto;
	padding: 4rem 1rem 5rem;
}

.layout > * {
	min-width: 0;
}

@media (min-width: 56rem) {
	.layout {
		padding: 6rem 1.5rem 7rem;
		gap: 2.5rem;
	}
	.hero-inner {
		padding: 8rem 1.5rem 4.5rem;
	}
	.nav {
		padding: 1.5rem;
	}
}

.booking {
	--pad: 1.25rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 0.5rem var(--pad) 0;
	scroll-margin-top: 3rem;
}

@media (min-width: 40rem) {
	.booking {
		--pad: 2.25rem;
		padding-top: 1rem;
	}
}

.step {
	padding: 1.5rem 0;
}

.step + .step {
	border-top: 1px solid var(--border);
}

.step-title {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 0 0 1rem;
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.step-num {
	display: inline-grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--blue);
	font-size: 0.8125rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.step-note {
	margin-left: auto;
	color: var(--muted);
	font-weight: 500;
	font-size: 0.9375rem;
}

/* Services */
.services {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 100%), 1fr));
	gap: 0.65rem;
}

.service,
.day,
.slot {
	font: inherit;
	color: var(--fg);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	cursor: pointer;
	transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s, transform 0.08s;
}

.service:active,
.day:active,
.slot:active {
	transform: scale(0.98);
}

.service {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.9rem;
	min-height: 6.5rem;
	padding: 1rem;
	text-align: left;
}

.service-name {
	font-weight: 500;
	font-size: 0.9375rem;
	line-height: 1.3;
}

.service-price {
	font-family: var(--display);
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1;
	color: var(--fg);
	font-variant-numeric: tabular-nums;
}

.service:hover,
.day:hover,
.slot:hover:not(:disabled) {
	border-color: #cfc6b6;
	box-shadow: 0 1px 2px rgba(22, 23, 26, 0.05), 0 8px 18px -8px rgba(22, 23, 26, 0.18);
}

.service.is-on,
.day.is-on,
.slot.is-on {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.service.is-on .service-price {
	color: #e4c99f;
}

/* Day strip scrolls on its own */
.days {
	display: flex;
	gap: 0.55rem;
	overflow-x: auto;
	margin: -0.5rem calc(var(--pad) * -1) 0;
	padding: 0.5rem var(--pad) 0.75rem;
	scroll-snap-type: x proximity;
	scroll-padding: 0 var(--pad);
	scrollbar-width: none;
}

.days::-webkit-scrollbar {
	display: none;
}

.day {
	flex: none;
	display: grid;
	gap: 0.15rem;
	min-width: 4.9rem;
	padding: 0.7rem 0.6rem;
	text-align: center;
	scroll-snap-align: start;
}

.day-dow {
	font-size: 0.8125rem;
	font-weight: 600;
	opacity: 0.8;
}

.day-num {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.date-field {
	max-width: 16rem;
	margin: 0.75rem 0 0;
}

.slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
	gap: 0.5rem;
}

.slot {
	min-height: 3rem;
	padding: 0.5rem;
	border-radius: 999px;
	font-weight: 500;
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
}

.slot:disabled {
	cursor: not-allowed;
	color: #a9a7a2;
	background: var(--bg);
	box-shadow: none;
	text-decoration: line-through;
}

.form-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 1rem;
}

@media (min-width: 36rem) {
	.form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.field-wide {
		grid-column: 1 / -1;
	}
}

/* Stays in reach at the bottom of the screen while the form scrolls. */
.submit-bar {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin: 0.5rem calc(var(--pad) * -1) 0;
	padding: 1rem var(--pad);
	border-top: 1px solid var(--border);
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
}

.submit-bar .btn {
	flex: 1 1 12rem;
}

.summary {
	margin: 0;
	flex: 1 1 14rem;
	color: var(--muted);
	font-size: 0.9375rem;
	font-weight: 500;
}

.booking form > .alert {
	margin-bottom: 0.5rem;
}

/* Confirmation */
.confirm {
	display: grid;
	justify-items: center;
	gap: 1rem;
	padding: 2rem 0 2.25rem;
	text-align: center;
}

.confirm-icon {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: #e6f1ea;
	color: var(--ok);
	font-size: 1.4rem;
	font-weight: 700;
}

.confirm .section-title {
	scroll-margin-top: 4rem;
	margin: 0;
}

.confirm .lede {
	max-width: 30rem;
	color: var(--muted);
}

.confirm .lede strong {
	color: var(--fg);
	font-weight: 600;
}

.confirm-code {
	display: grid;
	gap: 0.25rem;
	min-width: min(16rem, 100%);
	padding: 1rem 1.5rem;
	border-radius: var(--radius);
	background: var(--accent-soft);
}

.confirm-code span {
	color: var(--blue);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.confirm-code strong {
	font-family: var(--display);
	font-weight: 600;
	font-size: 2rem;
	letter-spacing: 0.12em;
}

.confirm .hint {
	max-width: 28rem;
}

/* Footer */
.site-foot {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.92);
}

.foot-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.25rem;
	max-width: 72rem;
	margin: 0 auto;
	padding: 3.5rem 1.25rem 2.5rem;
}

@media (min-width: 40rem) {
	.foot-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64rem) {
	.foot-grid {
		grid-template-columns: 1.2fr 1fr 1.2fr 1.3fr;
		gap: 3rem;
		padding: 4.5rem 1.5rem 3rem;
	}
}

.foot-col {
	min-width: 0;
}

.foot-col .wordmark {
	margin-bottom: 0.75rem;
}

.foot-title {
	margin: 0 0 0.9rem;
	color: #e4c99f;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.foot-text {
	margin: 0 0 0.6rem;
	color: rgba(255, 255, 255, 0.72);
}

.foot-phone {
	color: #fff;
	font-weight: 600;
	font-size: 1.0625rem;
	text-decoration: none;
}

.foot-phone:hover {
	text-decoration: underline;
}

.foot-note {
	margin: 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.875rem;
}

.hours {
	margin: 0;
}

.hours-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.45rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.9375rem;
}

.hours-row:last-child {
	border-bottom: 0;
}

.hours-row dt {
	color: rgba(255, 255, 255, 0.6);
}

.hours-row dd {
	margin: 0;
	font-weight: 500;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.foot-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	max-width: 72rem;
	margin: 0 auto;
	padding: 1.25rem 1.25rem 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.875rem;
}

.foot-bottom a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
}

.foot-bottom a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-foot :where(a):focus-visible {
	outline-color: #e4c99f;
}

/* Owner */
.owner {
	max-width: 48rem;
	margin: 0 auto;
	padding: 1.25rem 1rem 3rem;
}

.owner-top {
	margin-bottom: 1.25rem;
}

.back {
	font-weight: 600;
}

.login {
	display: grid;
	gap: 0.9rem;
	max-width: 26rem;
	margin: 1.5rem auto 0;
	padding: 1.75rem 1.25rem;
	box-shadow: var(--shadow);
}

.login .field {
	margin: 0;
}

.owner-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.owner-head .section-title {
	margin: 0;
}

.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	border-bottom: 1px solid var(--border);
}

.tab {
	font: inherit;
	font-weight: 600;
	min-height: 2.75rem;
	padding: 0.5rem 0.9rem;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	color: var(--muted);
	cursor: pointer;
}

.tab[aria-selected="true"] {
	color: var(--fg);
	border-bottom-color: var(--accent);
}

.day-group {
	display: grid;
	gap: 0.6rem;
}

.day-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.6rem;
	margin: 0.75rem 0 0;
	font-size: 1.125rem;
}

.day-count {
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 500;
}

.booking-row {
	display: grid;
	gap: 0.75rem;
	padding: 1rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 4px solid #e0a63a;
	border-radius: var(--radius);
}

.booking-row.status-confirmed {
	border-left-color: var(--ok);
}

.booking-row.status-cancelled {
	border-left-color: var(--border);
	opacity: 0.7;
}

.booking-main {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0.85rem;
	align-items: start;
}

.booking-time {
	font-family: var(--display);
	font-size: 1.35rem;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	min-width: 4.5rem;
}

.booking-meta {
	display: grid;
	gap: 0.15rem;
	overflow-wrap: anywhere;
}

.contact {
	gap: 0.25rem 0.9rem;
}

.badge {
	display: inline-block;
	padding: 0.1rem 0.55rem;
	border: 1px solid var(--border);
	border-radius: 4px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--muted);
	text-transform: capitalize;
}

.badge-pending {
	color: #8a5a00;
	border-color: #ecc77a;
	background: #fff6e2;
}

.badge-confirmed {
	color: var(--ok);
	border-color: #9fd0b6;
	background: #eaf6ef;
}

.actions {
	gap: 0.5rem;
}

.move {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr));
	gap: 0.75rem;
	align-items: end;
	padding: 0.85rem;
	background: var(--bg);
	border-radius: var(--radius);
}

.move .field {
	margin: 0;
}

@media (max-width: 30rem) {
	.booking-main {
		grid-template-columns: auto minmax(0, 1fr);
	}
	.booking-main .badge {
		grid-column: 2;
		justify-self: start;
	}
}

/* Seeded primitives, restyled */
.shell {
	max-width: 42rem;
	margin: 0 auto;
	padding: calc(var(--space) * 3) var(--space);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.55rem 1.1rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(22, 23, 26, 0.08), 0 6px 16px -6px rgba(184, 138, 76, 0.6);
	transition: filter 0.12s, transform 0.08s, box-shadow 0.15s;
}

.btn:hover {
	filter: brightness(1.06);
}

.btn:active {
	transform: scale(0.98);
}

.btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	filter: none;
}

.btn-big {
	min-height: 3.4rem;
	padding: 0.8rem 1.9rem;
	font-size: 1.0625rem;
}

.btn-secondary {
	background: var(--surface);
	color: var(--fg);
	border-color: var(--border);
	box-shadow: var(--shadow-sm);
}

.btn-danger {
	background: var(--surface);
	color: var(--danger);
	border-color: #ecc5c2;
	box-shadow: none;
}

.btn-light {
	background: #fff;
	color: var(--navy);
}

.btn-outline {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}

.card {
	padding: var(--space);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.input,
.select,
.textarea {
	width: 100%;
	min-height: 3.1rem;
	padding: 0.65rem 0.9rem;
	border: 1px solid #ddd8ce;
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--fg);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.input:focus,
.select:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 4px rgba(184, 138, 76, 0.18);
}

.field {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.35rem;
	margin-bottom: var(--space);
}

.field > label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--muted);
}

.stack {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space);
}

:where(.field, .stack, .list) > * {
	min-width: 0;
}

.row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.grid {
	display: grid;
	gap: var(--space);
	grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
}

.list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.table {
	width: 100%;
	border-collapse: collapse;
}

.table th,
.table td {
	padding: 0.6rem 0.5rem;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.empty {
	padding: calc(var(--space) * 2);
	text-align: center;
	color: var(--muted);
	background: var(--bg);
	border-radius: var(--radius);
}

.empty-title {
	margin: 0 0 0.25rem;
	color: var(--fg);
	font-weight: 600;
}

.loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: calc(var(--space) * 1.5);
	color: var(--muted);
}

.spinner {
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	border: 2px solid var(--border);
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: fab-spin 0.7s linear infinite;
}

@keyframes fab-spin {
	to {
		transform: rotate(360deg);
	}
}

.skeleton {
	display: block;
	height: 1rem;
	border-radius: calc(var(--radius) / 2);
	background: linear-gradient(90deg, var(--border), transparent, var(--border));
	background-size: 200% 100%;
	animation: fab-shimmer 1.2s linear infinite;
}

@keyframes fab-shimmer {
	to {
		background-position: -200% 0;
	}
}

.alert {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--border);
	border-left: 3px solid var(--muted);
	border-radius: var(--radius);
	background: var(--surface);
}

.alert-error {
	border-left-color: var(--danger);
	color: var(--danger);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	.spinner,
	.skeleton {
		animation: none;
	}
}

:where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}
