
:root {
	
	--color--black: #000000; 
	
	--color--white: #ffffff; 
	
	--color--gray: #777777; 
	
	--color--lightgray: #f7f7f7; 
	
	--color--highlight: #a89f91; 
	
	--margin: 30px;
	--line-height: 1.5;
        --content-width: 1024px;
}



* {
        margin: 0;
        padding: 0;
        font-weight: normal;
        color: inherit;
        background: transparent;
        box-sizing: inherit;
        /* Add more properties here */
}

/* [2] tl;dr; Provide inheritable defaults (base case) */
html {
        box-sizing: border-box;
        font-size: 16px;
        font-family: "adobe-garamond-pro", sans-serif !important;
        color: var(--color--black);
        line-height: var(--line-height);
        background: var(--color--white);
        /* provide defaults for properties in [1] (except margin & padding */
}



:root {
	--header--step: 1.333;
	--header--base: clamp(0.25rem, 2vw, 0.75rem);

	--navbar--icon--height: 60px;
}

h6 { font-size: var(--header--base); }

h5 {
	font-size: calc(
		var(--header--base) * 
		var(--header--step)
	);
}

h4 { 
	font-size: calc(
		var(--header--base) * 
		var(--header--step) * 
		var(--header--step)
	); 
}

h3 { 
	font-size: calc(
		var(--header--base) * 
		var(--header--step) * 
		var(--header--step) * 
		var(--header--step)
	);
}

h2 {
	font-size: calc(
		var(--header--base) * 
		var(--header--step) * 
		var(--header--step) * 
		var(--header--step) * 
		var(--header--step)
	);
}

h1 { 
	font-size: calc(
		var(--header--base) * 
		var(--header--step) * 
		var(--header--step) * 
		var(--header--step) * 
		var(--header--step) * 
		var(--header--step)
	);
}

h1, h2, h3, h4, h5, h6 {
	text-transform: capitalize;
	width: 75%;
}

a {
	border: none;
	text-decoration: none;
}

a:hover {
	color: var(--color--highlight) !important;
	border-color: var(--color--highlight) !important;
}

strong {
	font-weight: bold;
}

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

/*
 * Navigation
 */

h1, h2, h3, h4, h5, h6 [id] {
	scroll-margin-top: calc(var(--navbar--icon--height) + calc(var(--margin) * 2) + var(--margin));
}

body > header > a {
	height: var(--navbar--icon--height);
}

body > header > a .logo {
	height: 100%;
}

body > header nav ul {
	list-style: none;
	display: flex;
	flex-flow: row wrap;
	position: relative;
	gap: calc(var(--margin) / 2) calc(var(--margin) / 4);
	justify-content: center;
}

body > header nav {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	color: white;
}

body > header .closer,
body > header .hamburger {
	display: none;
	width: var(--navbar--icon--height);
	height: var(--navbar--icon--height);
	color: var(--color--black);
	cursor: pointer;
	padding: calc(var(--margin) / 2);
}

body > header .closer:hover,
body > header .hamburger:hover {
	color: var(--color--highlight);
}

body > header nav ul li {
	display: flex;
}

body > header nav ul a {
	text-align: center;
	text-transform: capitalize;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	box-sizing: border-box;
	padding: calc(var(--margin) * 0.25) calc(var(--margin) * 0.5);
	text-decoration: none;
	cursor: pointer;
	color: var(--color--black);
}

body > header nav ul a[active] {
	color: var(--color--highlight);
}

body > header nav ul svg {
	height: 1em;
}

@media (max-width: 1023px) {
	body.mobile-menu-open > header .closer,
	body:not(.mobile-menu-open) > header .hamburger {
		display: flex;
	}

	body.mobile-menu-open > header {
		height: 100vh;
	}

	body.mobile-menu-open > header nav {
		width: 100%;
	}

	body:not(.mobile-menu-open) > header nav {
		display: none;
	}

	body.mobile-menu-open > header nav ul {
		display: flex;
		flex-flow: column nowrap;
		width: 100%;
		height: 100%;
		align-items: center;
		padding: calc(var(--navbar--icon--height) + calc(var(--margin) * 3)) var(--margin); /* avoid clashing with closer */ 
	}

	body > header nav ul li a {
		font-size: clamp(1rem, 5vw, 2rem);
	}

	body.mobile-menu-open {
		overflow: hidden;
		min-height: 100vw;
	}
}

/*
 * Body Structure
 */

body {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	min-height: 100vh;
}

body > main {
	flex: 1;
	width: 100%;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
}

body > header {
	width: 100%;
	padding: 1rem;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	flex-flow: row wrap;
	column-gap: calc(var(--margin) / 2);
	color: var(--color--black);
	background: var(--color--white);
	position: sticky;
	top: 0;
	z-index: 1000;
	align-content: flex-start;
}

body > footer {
	color: var(--color--white);
	background: var(--color--black);
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
	padding: 0 0 var(--margin) 0;
	gap: calc(var(--margin) / 2) var(--margin);
	margin-top: calc(var(--margin) * 2);
}

footer section {
	padding: var(--margin);
}

footer ul {
	list-style-type: none;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	gap: calc(var(--margin) / 2);
	font-size: 1.25em;
}

footer ul svg {
	height: 1em;
}

section {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	width: 100%;
}

main > section,
body > footer {
	position: relative;
}

body > header,
.contentwidth,
main > section:not(.fullwidth) {
	padding: var(--margin) calc(var(--margin) + calc(max(0px, calc(100% - var(--content-width))) / 2));
}

/*
 * Content Styling
 */

main section {
	text-align: center;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
}

main section ol,
main section ul {
	display: flex;
	flex-flow: column nowrap;
	list-style-position: inside;
	text-align: left;
}

main section ol ul,
main section ul ol,
main section ol ol,
main section ul ul {
	padding-left: var(--margin);
}

main section ul li > *:not(ul):not(ol):not(table),
main section ol li > *:not(ul):not(ol):not(table) {
	display: inline;
} 

main section > ol:not(:last-child),
main section > ul:not(:last-child),
main section p:not(:last-child) {
	margin-bottom: calc(var(--margin) / 4);
}

main section > ol:not(:first-child),
main section > ul:not(:first-child),
main section p:not(:first-child) {
	margin-top: calc(var(--margin) / 4);
}

main section p img {
	max-width: 100%;
	height: auto;
}

main section h1,
main section h2,
main section h3,
main section h4,
main section h5,
main section h6 {
	width: 100%;
	line-height: 1.2;
	font-weight: 600;
}

main section h1:not(:last-child),
main section h2:not(:last-child),
main section h3:not(:last-child),
main section h4:not(:last-child),
main section h5:not(:last-child),
main section h6:not(:last-child) {
	margin-bottom: calc(var(--margin) / 2);
}

main section h1:not(:first-child),
main section h2:not(:first-child),
main section h3:not(:first-child),
main section h4:not(:first-child),
main section h5:not(:first-child),
main section h6:not(:first-child) {
	margin-top: calc(var(--margin) / 2);
}

main section a:not(:has(*)) {
	border-bottom: 1px dotted currentColor;
}

/*
 * Column Layout
 */

.layout-container {
	display: flex;
	flex-flow: row wrap;
	gap: var(--margin);
	--adj-100: calc(var(--content-width) - calc(2 * var(--margin)));
    	--with-gaps: calc(var(--adj-100) - var(--margin));
}

/* full-width column */
.column-1-1 {
	flex: 1 1 100%;
}

/* quarter width column */
.column-1-4 {
	flex: 1 1 calc(var(--with-gaps) / 4);
}

/* half-width column */
.column-1-2 {
	flex: 1 1 calc(var(--with-gaps) / 2);
}

.column-1-3 {
	flex: 1 1 calc(var(--with-gaps) / 3);
}

.column-2-3 {
	flex: 1 1 calc(2 * calc(var(--with-gaps) / 3));
}

.fixed-size {
	flex-grow: 0;
	flex-shrink: 0;
}

/* collections */

.collection {
	list-style: none;
	width: 100%;
	gap: var(--margin);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Buttons */

a.button {
	padding: calc(var(--margin) / 3);
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
	border: none !important;
	background: var(--color--highlight) !important;
	color: var(--color--white) !important;
	text-align: center;
	text-transform: capitalize;
	box-sizing: border-box;
	cursor: pointer;
	border: 1px solid var(--color--highlight) !important;
}

a.button:hover {
	background: var(--color--white) !important;
	color: var(--color--highlight) !important;
}

/* Heroes */

.hero {
	padding: 0;
	position: relative;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: min(100vw, 600px);
}

.hero.hero-image img {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -10;
}

.hero.hero-image > *:not(img) {
	max-width: var(--content-width);
	width: 75%;
	z-index: 2;
}

/*
 * Slider
 */

.slider {
	position: relative;
	scrollbar-width: none;
}

.slider ul {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-flow: row nowrap;
	overflow-x: scroll;
	overflow-y: hidden;
	list-style-type: none;

	overflow-x: auto;
	display: flex;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}

.slider ul::-webkit-scrollbar { display: none; }

.slider ul li {
	height: 100%;
	width: 100%;
	flex-shrink: 0;
	flex-grow: 1;
	scroll-snap-align: start;
	scroll-snap-stop: normal;
}

.slider ul li a {
	width: 100%;
	height: 100%;
	display: block;
}

.slider ul li a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	-webkit-user-drag: none;
	user-drag: none;
	user-select: none;
	-webkit-user-select: none;
}

.slider--dots {
	width: 100%;
	height: 44px;
	position: absolute;
	bottom: 0;
	z-index: 10;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
}

.slider--dots--dot {
	width: 11px;
	height: 11px;
	background: var(--color--gray);
	opacity: 0.6;
	border-radius: 100%;
	cursor: pointer;
	margin: 5px;
}

.slider--dots--dot.selected {
	background: var(--color--white);
	opacity: 1.0;
}



.hero-slider {
	height: 100vh;
}

/*
 * Bottom Gallery
 */

.bottom-gallery {
	margin-top: calc(-1 * var(--margin));
	list-style: none;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 100%;
	padding: 0 var(--margin);
	line-height: 0;
}

.bottom-gallery img {
	object-fit: cover;
	object-position: center;
	height: 300px;
	width: 300px;
}

