:root {
	--ink: #102a3a;
	--ink-soft: #3a5566;
	--foam: #eef5f8;
	--paper: #f7fafb;
	--sea: #0a3d5c;
	--harbor: #0a84c1;
	--mist: #9ec4d8;
	--line: rgba(16, 42, 58, 0.12);
	--shell: min(1120px, calc(100% - 2.5rem));
	--font-display: "Fraunces", Georgia, serif;
	--font-body: "Sora", "Helvetica Neue", sans-serif;
	--header-h: 4.25rem;
	
	--anchor-offset: calc(var(--header-h) + 1rem);
}

#reserve,
#why,
#how,
#faq,
#directions {
	scroll-margin-top: var(--anchor-offset);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.iqhq-site {
	margin: 0;
	color: var(--ink);
	background:
		radial-gradient(1200px 600px at 10% -10%, rgba(10, 132, 193, 0.12), transparent 55%),
		radial-gradient(900px 500px at 100% 0%, rgba(10, 61, 92, 0.08), transparent 50%),
		linear-gradient(180deg, #f4f8fa 0%, var(--paper) 40%, #eef3f6 100%);
	font-family: var(--font-body);
	font-size: 1.05rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--harbor);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--sea);
}

.shell {
	width: var(--shell);
	margin-inline: auto;
}

.eyebrow {
	margin: 0 0 0.75rem;
	color: var(--harbor);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.eyebrow--light {
	color: #d7ebf5;
}

h1,
h2,
h3 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 0.85rem;
}

h1 {
	font-size: clamp(2.4rem, 5vw, 4.1rem);
	max-width: 14ch;
}

h2 {
	font-size: clamp(1.9rem, 3.4vw, 2.85rem);
	max-width: 22ch;
}

h3 {
	font-size: 1.25rem;
}

p {
	margin: 0 0 1rem;
}

.lede {
	max-width: 36ch;
	color: rgba(247, 250, 251, 0.9);
	font-size: 1.08rem;
}

a.btn,
a.btn--primary,
a.header-cta,
.btn,
.btn--primary,
.header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.85rem;
	padding: 0.7rem 1.25rem;
	border: 0;
	border-radius: 0.35rem;
	background-color: #0a84c1;
	background-image: none;
	color: #ffffff;
	-webkit-text-fill-color: #ffffff;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(10, 132, 193, 0.28);
	transition: transform 220ms ease, background-color 220ms ease;
}

a.btn:link,
a.btn:visited,
a.btn:hover,
a.btn:active,
a.btn:focus,
a.btn--primary:link,
a.btn--primary:visited,
a.btn--primary:hover,
a.btn--primary:active,
a.btn--primary:focus,
a.header-cta:link,
a.header-cta:visited,
a.header-cta:hover,
a.header-cta:active,
a.header-cta:focus {
	background-color: #0a84c1;
	background-image: none;
	color: #ffffff;
	-webkit-text-fill-color: #ffffff;
	text-decoration: none;
}

a.btn:hover,
a.btn--primary:hover,
a.header-cta:hover,
.btn:hover,
.btn--primary:hover,
.header-cta:hover {
	background-color: #066a9a;
	color: #ffffff;
	-webkit-text-fill-color: #ffffff;
	transform: translateY(-1px);
}

.closing a.btn,
.closing a.btn--primary,
.how__cta a.btn,
.how__cta a.btn--primary {
	background-color: #0a84c1;
	color: #ffffff;
	-webkit-text-fill-color: #ffffff;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	backdrop-filter: blur(14px);
	background: rgba(247, 250, 251, 0.82);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.brand {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

.brand__mark {
	font-family: var(--font-display);
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	color: var(--sea);
}

.brand__mark--footer {
	margin-bottom: 0.65rem;
}

.brand__sub {
	font-size: 0.72rem;
	color: var(--ink-soft);
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.site-nav {
	display: none;
	gap: 1.15rem;
	margin-left: auto;
}

.site-nav a {
	color: var(--ink);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
}

.site-nav a:hover {
	color: var(--harbor);
}

.header-cta {
	margin-left: auto;
}

@media (min-width: 880px) {
	.site-nav {
		display: flex;
	}

	.header-cta {
		margin-left: 0;
	}
}

.hero {
	position: relative;
	display: grid;
	align-items: center;
	overflow: hidden;
	color: #f7fafb;
}

.hero__media {
	position: absolute;
	inset: 0;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(8, 28, 42, 0.82) 0%, rgba(8, 28, 42, 0.55) 42%, rgba(8, 28, 42, 0.28) 100%),
		linear-gradient(180deg, rgba(8, 28, 42, 0.15), rgba(8, 28, 42, 0.55));
}

.hero__content {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 1.75rem;
	padding: 2.25rem 0 2.5rem;
}

.hero__copy .eyebrow {
	color: var(--mist);
}

@media (min-width: 960px) {
	.hero__content {
		grid-template-columns: minmax(0, 1.15fr) minmax(320px, 360px);
		align-items: center;
		gap: 2.5rem;
		padding: 2.75rem 0 3rem;
	}
}

.hero__widget {
	justify-self: start;
	width: 320px;
	max-width: 100%;
	animation: widget-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: var(--delay, 0ms);
	
	scroll-margin-top: var(--anchor-offset);
}

.reservation-frame {
	display: block;
	width: 320px;
	max-width: 100%;
	height: 350px;
	border: 0;
	background: transparent;
}


.section {
	padding: 5.5rem 0;
}

.section__head {
	margin-bottom: 2.5rem;
}

.section__head p:last-child {
	max-width: 48ch;
	color: var(--ink-soft);
}

.feature-grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 760px) {
	.feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.feature {
	padding: 0.25rem 0 1.25rem;
	border-top: 1px solid var(--line);
}

.feature h3 {
	margin-top: 1.1rem;
}

.feature p {
	color: var(--ink-soft);
	margin-bottom: 0;
}

.split {
	display: grid;
	gap: 0.5rem;
	padding: 0 0.75rem 0;
}

@media (min-width: 800px) {
	.split {
		grid-template-columns: 1.1fr 0.9fr;
		padding-inline: max(0.75rem, calc((100% - 1120px) / 2));
	}
}

.split__figure {
	margin: 0;
	overflow: hidden;
	min-height: 280px;
}

.split__figure img {
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
	transition: transform 700ms ease;
}

.split__figure:hover img {
	transform: scale(1.03);
}

.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 860px) {
	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem 2.5rem;
	}
}

.step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
}

.step__num {
	font-family: var(--font-display);
	font-size: 1.6rem;
	color: var(--harbor);
	line-height: 1;
	padding-top: 0.15rem;
}

.step p {
	color: var(--ink-soft);
	margin: 0;
}

.how__cta {
	margin-top: 2.5rem;
}

.band {
	position: relative;
	min-height: 420px;
	display: grid;
	align-items: end;
	overflow: hidden;
	color: #f7fafb;
}

.band__media {
	position: absolute;
	inset: 0;
}

.band__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.band__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 28, 42, 0.15), rgba(8, 28, 42, 0.78));
}

.band__content {
	position: relative;
	z-index: 1;
	padding: 4rem 0;
}

.band__content p:last-child {
	max-width: 42ch;
	color: rgba(247, 250, 251, 0.88);
}

.faq-list {
	display: grid;
	gap: 0.75rem;
	max-width: 760px;
}

.faq-item {
	border-top: 1px solid var(--line);
	padding: 1rem 0 0.35rem;
}

.faq-item summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	padding-right: 1.5rem;
	position: relative;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 0;
	color: var(--harbor);
	font-weight: 500;
}

.faq-item[open] summary::after {
	content: "–";
}

.faq-item p {
	color: var(--ink-soft);
	margin: 0.75rem 0 0.85rem;
	max-width: 60ch;
}

.directions__grid {
	display: grid;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
	.directions__grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.directions__grid .section__head {
		grid-column: 1 / -1;
	}
}

.route {
	padding-top: 1rem;
	border-top: 1px solid var(--line);
}

.route__note {
	margin-top: -0.35rem;
	color: var(--ink-soft);
	font-size: 0.92rem;
}

.route ol {
	margin: 0;
	padding-left: 1.2rem;
	color: var(--ink-soft);
}

.route li + li {
	margin-top: 0.55rem;
}

.directions__photo {
	margin: 0;
	overflow: hidden;
}

.directions__photo img {
	width: 100%;
	max-height: 460px;
	object-fit: cover;
}

.page-main {
	padding: 3rem 0 1rem;
}

.page-shell {
	display: block;
}

.page-article {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.page-title,
.page-article .entry-title {
	display: block;
	width: 100%;
	margin: 0 0 1.25rem;
	padding: 0;
	font-size: clamp(2rem, 4vw, 2.75rem);
	text-align: left;
}

.page-content,
.page-article .bge-entry-content,
.page-article .entry-content {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	color: var(--ink-soft);
	text-align: left;
}

.page-content > *:first-child {
	margin-top: 0;
}

.page-content > *:last-child {
	margin-bottom: 0;
}

.page-content p {
	max-width: none;
}

.page-content .boldgrid-section,
.page-content .container,
.page-content .row,
.page-content [class*="col-"],
.bg-page-article .boldgrid-section,
.bg-page-article .container,
.bg-page-article .row,
.bg-page-article [class*="col-"] {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	display: block !important;
	position: static !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
}

.page-content .row::before,
.page-content .row::after {
	display: none !important;
	content: none !important;
}

.boldgrid-editor-template .bg-page-article,
.page-template-fullwidth .bg-page-article,
.bg-custom-template .bg-page-article {
	display: block !important;
	width: var(--shell) !important;
	max-width: none !important;
	margin-inline: auto !important;
	padding: 3rem 0 1rem !important;
}

.boldgrid-editor-template .entry-header,
.page-template-fullwidth .entry-header,
.bg-custom-template .entry-header {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 1.25rem !important;
	padding: 0 !important;
	float: none !important;
}

.boldgrid-editor-template .bge-entry-content,
.page-template-fullwidth .bge-entry-content,
.bg-custom-template .bge-entry-content {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

.closing {
	padding: 4.5rem 0 1.25rem;
}

.closing__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}

.site-footer {
	padding: 0 0 2.5rem;
	background: transparent;
}

.site-footer .closing {
	padding-bottom: 1.5rem;
}

.site-footer__bar {
	display: flex;
	font-size: 0.82rem;
	color: var(--ink-soft);
}

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--delay, 0ms);
}

.reveal.is-in {
	opacity: 1;
	transform: none;
}

@keyframes hero-drift {
	from {
		transform: scale(1.04) translate3d(0, 0, 0);
	}
	to {
		transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
	}
}

@keyframes widget-rise {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.hero__media img,
	.hero__widget,
	.reveal,
	.split__figure img {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

.iqhq-site .wp-block-group,
.iqhq-site .entry-header,
.iqhq-site .site-content {
	margin: 0;
}
