/* Consultation page and modal. Palette matches the storefront:
   ink #2B161B, surface #F7F3F5, muted #6b5f61; buttons use the ink brown. */

.omc-consult-page .entry-header,
.omc-consult-page .ast-single-entry-banner {
	display: none;
}

.omc-consult-page .site-content,
.omc-consult-page .ast-container {
	padding-top: 0;
}

.omc-consult-page .entry-content {
	font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 17px;
	line-height: 1.62;
	color: #2B161B;
}

.omc-consult-page .entry-content > * {
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
}

.omc-consult-page h1,
.omc-consult-page h2,
.omc-consult-page h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 400;
	color: #2B161B;
}

.oc-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
	gap: 64px;
	align-items: center;
	padding: 72px 0 0;
}

.oc-hero h1 {
	margin: 0 0 38px;
	font-size: clamp(2.6rem, 4.6vw, 3.9rem);
	line-height: 1.03;
	letter-spacing: -.02em;
}

.oc-hero h1 .oc-hl {
	background: #2B161B;
	color: #fff;
	padding: 0 .14em .03em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.oc-hero .oc-lede {
	margin: 0 0 32px;
	max-width: 44ch;
	font-size: 1.12rem;
	line-height: 1.6;
	color: #4A4444;
}

.oc-hero .wp-block-buttons {
	margin: 0;
}

.oc-hero__media {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #F7F3F5;
}

.oc-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Buttons ---------------------------------------------------------- */

/* Style the block link only: the wrapper is also .oc-btn, and giving both a
   background leaves one box hanging behind the other on hover. */
.omc-consult-page .wp-block-button.oc-btn {
	margin: 0;
}

.omc-consult-page .wp-block-button.oc-btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid #2B161B;
	border-radius: 2px;
	background: #2B161B;
	box-shadow: none;
	color: #fff;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.omc-consult-page .wp-block-button.oc-btn .wp-block-button__link:hover,
.omc-consult-page .wp-block-button.oc-btn .wp-block-button__link:focus {
	background: #3A2429;
	border-color: #3A2429;
	box-shadow: none;
	color: #fff;
}

.omc-consult-page .wp-block-button.oc-btn--light .wp-block-button__link {
	background: #fff;
	border-color: #fff;
	box-shadow: none;
	color: #2B161B;
}

.omc-consult-page .wp-block-button.oc-btn--light .wp-block-button__link:hover,
.omc-consult-page .wp-block-button.oc-btn--light .wp-block-button__link:focus {
	background: #F7F3F5;
	border-color: #F7F3F5;
	box-shadow: none;
	color: #3A2429;
}

/* Sections --------------------------------------------------------- */

.oc-section {
	padding: 88px 0 0;
}

.oc-section--ink {
	background: #2B161B;
	color: #F7F3F5;
}

.oc-section--ink h2 {
	color: #F7F3F5;
}

.oc-section-head {
	max-width: 680px;
	margin: 0 0 44px;
}

.oc-section-head h2 {
	margin: 0 0 12px;
	font-size: clamp(1.9rem, 3vw, 2.55rem);
	line-height: 1.1;
	letter-spacing: -.012em;
}

.oc-section-head p {
	margin: 0;
	max-width: 58ch;
	font-size: 1.02rem;
	color: #5A5252;
}

/* WP/Astra's flow gap pushes grid children down; spacing is ours. */
.oc-hero > *,
.oc-section > *,
.oc-grid > *,
.oc-steps > *,
.oc-card > *,
.oc-card__body > *,
.oc-section-head > *,
.oc-faq > *,
.oc-cta > *,
.oc-hero__text > * {
	margin-block-start: 0 !important;
}

/* Commission cards ------------------------------------------------- */

.oc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 32px;
	align-items: start;
}

.oc-card {
	background: none;
	border: 0;
	overflow: visible;
}

.oc-card figure {
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #F7F3F5;
}

.oc-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.oc-card__body {
	border-top: 1px solid rgba(43, 22, 27, .16);
	padding: 16px 0 0;
}

.oc-card h3 {
	margin: 0 0 6px;
	font-size: 1.3rem;
	line-height: 1.2;
}

.oc-card p {
	margin: 0;
	font-size: .95rem;
	line-height: 1.55;
	color: #5A5252;
}

/* Steps ------------------------------------------------------------ */

.oc-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	align-items: start;
}

.oc-step {
	border-top: 1px solid rgba(43, 22, 27, .22);
	padding-top: 18px;
}

.oc-step__n {
	display: block;
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	color: #6b5f61;
}

.oc-step h3 {
	margin: 0 0 8px;
	font-size: 1.22rem;
}

.oc-step p {
	margin: 0;
	font-size: .95rem;
	line-height: 1.55;
	color: #5A5252;
}

/* FAQ -------------------------------------------------------------- */

.oc-faq {
	display: grid;
	grid-template-columns: minmax(0, .48fr) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}

.oc-faq__head {
	position: sticky;
	top: 96px;
}

.oc-faq__head h2 {
	margin: 0;
	font-size: clamp(1.9rem, 3vw, 2.55rem);
	line-height: 1.1;
	letter-spacing: -.012em;
}

.oc-faq .wp-block-details {
	border-top: 1px solid rgba(43, 22, 27, .14);
	padding: 20px 0;
}

.oc-faq .wp-block-details:last-of-type {
	border-bottom: 1px solid rgba(43, 22, 27, .14);
}

.oc-faq .wp-block-details summary {
	cursor: pointer;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.12rem;
	line-height: 1.35;
	color: #2B161B;
}

.oc-faq .wp-block-details p {
	margin: 10px 0 0;
	max-width: 62ch;
	font-size: .97rem;
	line-height: 1.6;
	color: #5A5252;
}

/* Closing band ----------------------------------------------------- */

.oc-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 48px;
	margin: 96px 0 88px;
	padding: 56px;
	background: #2B161B;
	color: #F7F3F5;
}

.oc-cta h2 {
	margin: 0 0 10px;
	font-size: clamp(1.9rem, 3.2vw, 2.6rem);
	line-height: 1.1;
	color: #F7F3F5;
}

.oc-cta p {
	margin: 0;
	color: rgba(247, 243, 245, .78);
}

.oc-cta .wp-block-buttons {
	margin: 0;
}

@media (max-width: 1000px) {
	.oc-hero {
		gap: 40px;
	}

	.oc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.oc-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}

	.oc-cta {
		padding: 44px 36px;
	}
}

@media (max-width: 760px) {
	.oc-hero {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 36px 0 0;
	}

	.oc-hero__media {
		aspect-ratio: 4 / 3;
	}

	.oc-section {
		padding: 56px 0 0;
	}

	.oc-section-head {
		margin-bottom: 28px;
	}

	.oc-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.oc-steps {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.oc-faq {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.oc-faq__head {
		position: static;
	}

	.oc-cta {
		grid-template-columns: 1fr;
		gap: 24px;
		margin: 64px 0 56px;
		padding: 36px 28px;
	}

	.oc-cta .wp-block-button {
		width: 100%;
	}
}

/* Modal ------------------------------------------------------------ */

body.oc-lock {
	overflow: hidden;
}

.oc-modal[hidden] {
	display: none;
}

.oc-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.oc-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(43, 22, 27, .56);
}

.oc-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 720px;
	max-height: min(92vh, 940px);
	overflow: auto;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 24px 60px rgba(20, 8, 12, .28);
	padding: 40px 44px 36px;
	font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #2B161B;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.oc-modal__dialog::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.oc-modal__dialog:focus {
	outline: none;
}

.oc-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: #6b5f61;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
}

.oc-modal__close:hover,
.oc-modal__close:focus {
	background: #F7F3F5;
	color: #2B161B;
}

.oc-modal h2 {
	margin: 0 0 14px;
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 400;
	font-size: clamp(1.7rem, 3.6vw, 2.25rem);
	line-height: 1.12;
	letter-spacing: -.01em;
}

.oc-pitch-copy {
	margin: 0 0 20px;
	color: #4A4242;
}

.oc-pane[data-oc-pane="pitch"] .oc-btn {
	display: flex;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

.oc-pitch-list {
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}

.oc-pitch-list li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 26px;
	font-size: 15px;
	line-height: 1.5;
}

.oc-pitch-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .55em;
	width: 12px;
	height: 6px;
	border-left: 1.5px solid #2B161B;
	border-bottom: 1.5px solid #2B161B;
	transform: rotate(-45deg);
}

.oc-modal .oc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid #2B161B;
	border-radius: 2px;
	background: #2B161B;
	color: #fff;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.oc-modal .oc-btn:hover,
.oc-modal .oc-btn:focus {
	background: #3A2429;
	border-color: #3A2429;
	color: #fff;
}

.oc-modal .oc-btn[disabled] {
	opacity: .6;
	cursor: default;
}

.oc-sub {
	margin: 0 0 22px;
	color: #4A4242;
}

.oc-back {
	margin: 0 0 18px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: #6b5f61;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.oc-back:hover,
.oc-back:focus {
	color: #2B161B;
}

.oc-link {
	display: inline-block;
	margin-top: 18px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: #6b5f61;
	font: inherit;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

/* Form ------------------------------------------------------------- */

#oc-form .oc-field {
	margin: 0 0 16px;
	border: 0;
	padding: 0;
}

#oc-form label,
#oc-form legend {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #6b5f61;
}

#oc-form input[type="text"],
#oc-form input[type="tel"],
#oc-form input[type="email"],
#oc-form select,
#oc-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid rgba(43, 22, 27, .28);
	border-radius: 2px;
	background: #fff;
	font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: #2B161B;
	box-shadow: none;
}

#oc-form textarea {
	min-height: 110px;
	resize: vertical;
}

/* Native selects, quieted: same field shape, our own chevron. */
#oc-form select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b5f61' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 10px 6px;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

#oc-form select:disabled {
	background-color: #F7F3F5;
	color: #8a7d7f;
	cursor: default;
}

#oc-form input:focus,
#oc-form select:focus,
#oc-form textarea:focus {
	outline: 2px solid #2B161B;
	outline-offset: 1px;
	border-color: #2B161B;
}

.oc-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.oc-trap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* Date + time ------------------------------------------------------ */

.oc-when {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 16px;
	margin: 0 0 16px;
}

.oc-when__field {
	margin: 0;
}

.oc-when__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid rgba(43, 22, 27, .28);
	border-radius: 2px;
	background: #fff;
	font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: #2B161B;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.oc-when__btn::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.5px solid #6b5f61;
	border-bottom: 1.5px solid #6b5f61;
	transform: translateY(-2px) rotate(45deg);
	flex: none;
}

.oc-when__btn[aria-expanded="true"] {
	border-color: #2B161B;
}

.oc-when__btn:focus-visible,
.oc-cal-nav:focus-visible,
.oc-day:focus-visible,
.oc-modal .oc-btn:focus-visible,
.oc-modal__close:focus-visible {
	outline: 2px solid #2B161B;
	outline-offset: 2px;
}

/* In flow under the date row, so it can never clip or scroll sideways. */
.oc-cal {
	width: 100%;
	max-width: 380px;
	margin: 0 0 18px;
	padding: 16px 16px 14px;
	background: #fff;
	border: 1px solid rgba(43, 22, 27, .16);
	border-radius: 4px;
}

.oc-cal[hidden] {
	display: none;
}

.oc-cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 14px;
}

.oc-month {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .01em;
}

.oc-cal-nav {
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(43, 22, 27, .16);
	border-radius: 50%;
	background: #fff;
	color: #2B161B;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}

.oc-cal-nav:hover:not([disabled]) {
	background: #F7F3F5;
	border-color: rgba(43, 22, 27, .32);
}

.oc-cal-nav[disabled] {
	opacity: .28;
	cursor: default;
}

.oc-cal-weekdays,
.oc-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
}

.oc-cal-weekdays {
	margin-bottom: 6px;
}

.oc-cal-weekdays span {
	text-align: center;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: #8a7d7f;
}

.oc-day {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 2px;
	background: #F7F3F5;
	color: #2B161B;
	font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.oc-day:hover:not([aria-disabled="true"]) {
	background: #e9e1e5;
}

.oc-day[aria-disabled="true"] {
	background: transparent;
	color: #b6abae;
	cursor: default;
}

.oc-day.is-blank {
	background: transparent;
	pointer-events: none;
}

.oc-day.is-today {
	border-color: rgba(43, 22, 27, .4);
}

.oc-day.is-selected,
.oc-day.is-selected:hover {
	background: #2B161B;
	border-color: #2B161B;
	color: #fff;
	font-weight: 600;
}

.oc-error {
	margin: 6px 0 0;
	font-size: 14px;
	color: #a12b2b;
}

.oc-error:empty {
	display: none;
}

.oc-fallback {
	margin: 8px 0 0;
	font-size: 14px;
	color: #4A4242;
}

.oc-fallback a {
	color: #2B161B;
	font-weight: 600;
}

#oc-submit {
	width: 100%;
	margin-top: 18px;
}

.oc-done-when {
	margin: 0 0 12px;
	font-size: 17px;
	line-height: 1.5;
}

#oc-done-wa {
	width: 100%;
	margin-top: 18px;
}

@media (max-width: 640px) {
	.oc-modal {
		align-items: flex-end;
		padding: 0;
	}

	.oc-modal__dialog {
		max-height: 94vh;
		border-radius: 14px 14px 0 0;
		padding: 28px 20px 30px;
	}

	.oc-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.oc-when {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.oc-cal {
		max-width: none;
	}
}
