@charset "utf-8";


/* GLOBAL: INSTANTIATE
-------------------------------------------------------------------------------*/
@font-face {
	font-family: 'Sanchez';
	src: url('../fonts/sanchez-regular.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}
@font-face {
	font-family: 'Charcuterie';
	src: url('../fonts/charcuterie-block.otf') format('opentype');
	font-weight: 500;
	font-style: normal;
}

:root {
	--color-black:    oklch(17% 0% 68deg);
	--color-slate:    oklch(37% 2% 232deg);
	--color-stone:    oklch(27% 0% 68deg);
	--color-midnight: oklch(20% 17% 258deg);
	--color-navy:     oklch(26% 18% 242deg);
	--color-ocean:    oklch(35% 28% 246deg);
	--color-blue:     oklch(56% 40% 240deg);
	--color-sky:      oklch(74% 41% 231deg);
	--color-ash:      oklch(80% 0% 68deg);
	--color-white:    oklch(100% 0% 68deg);
	--font-serif:      'Sanchez', Helvetica, Arial, sans-serif;
	--font-accent:    'Charcuterie', Helvetica, Arial, sans-serif;
	--weight-base:     500;
	--weight-bold:     700;
	--width-slim:      800px;
	--width-wide:      1500px;
	--radius-sm:       2px;
	--radius-md:       8px;
	--radius-lg:       20px;
	--radius-full:     999px;
	--spacing-sm:      12px; 
	--spacing-md:      clamp(12px, 2.5vw, 25px);
	--spacing-lg:      clamp(12px, 5vw, 50px);
	--spacing-xl:      clamp(12px, 7.5vw, 75px);
	--motion:          0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
	}
}


/* GLOBAL: TYPOGRAPHY
-------------------------------------------------------------------------------*/
html {
	scroll-behavior: smooth;
	color: var(--color-white);
	background-color: var(--color-black);
	background-image: linear-gradient(180deg, var(--color-stone) 0%, var(--color-black) 100%);
	line-height: 1.4;
}
body {
	font-family: var(--font-serif);
	font-size: clamp(0.9375rem, 0.8661rem + 0.2857vw, 1.0625rem);
	font-weight: var(--weight-base);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body, select, input, textarea {
	font-weight: var(--weight-base);
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-accent);
	font-weight: var(--weight-base);
	color: inherit;
	line-height: 1.05;
	letter-spacing: 0.01em;
	text-wrap: balance;
}
p {
	text-wrap: pretty;
	line-height: 1.4;
	orphans: 3;
	widows: 3;
}
strong {
	font-weight: 700;
}
small {
	font-size: 12px;
	line-height: 1.3;
}
ul {
	padding-inline-start: 1.5em;
	list-style: none;
	text-wrap: balance;
	color: inherit;
}
ul.list-deco li {
	margin-block: 0.25em;
	text-indent: -2ch;
}
ul.list-deco li::before {
	content: '';
	display: inline-block;
	height: 1.3ch;
	width: 1ch;
	margin-right: 1ch;
	vertical-align: middle;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="10.5"><path d="M9.7 4.3a6.4 6.4 0 0 1-2.9-.5c-1-.5-3.3-2.7-4-3.1a3.4 3.4 0 0 0-2-.7 1 1 0 0 0-.2 1.3l1.1 1.5a15 15 0 0 1 1.3 2L1.6 7.3a21.2 21.2 0 0 0-1.5 2c-.1.4-.2 1 0 1.2s2-.9 2.3-1C4.6 8 5.7 7 7.7 6.6a17 17 0 0 0 3.6-.9c.5-.3.8-.8.7-1.1s-2.3-.4-2.3-.4" fill="%2346b8f8"/></svg>');
}
.list-reset {
	display: inline-flex;
	margin: 0;
	padding: 0;
	list-style: none;
}


/* GLOBAL: LINKS
-------------------------------------------------------------------------------*/
::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}
::selection {
	background: #b3d4fc;
	text-shadow: none;
}
a:link,
a:visited,
a:active {
	color: var(--color-sky);
}
a:hover {
	text-decoration: underline;
}
::-moz-selection {
	background: rgba(242, 228, 212, 0.5);
	text-shadow: none;
}
::selection {
	background: rgba(242, 228, 212, 0.5);
	text-shadow: none;
}
.btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	cursor: pointer;
	min-height: 48px;
	padding: 0.25em 0.75em 0.25em 0.75em;
	transition: all var(--motion);
	font-family: var(--font-accent);
	font-weight: var(--weight-base);
	color: var(--color-white);
	background-color: var(--color-blue);
	border-radius: var(--radius-sm);
  font-size: clamp(1.0625rem, 0.8839rem + 0.7143vw, 1.375rem);
}
.btn,
.btn:link,
.btn:visited {
	color: var(--color-white);
	text-decoration: none !important;
}
.btn:hover {
	color: var(--color-navy);
	background-color: var(--color-white);
}
.btn:hover:focus {
	border: 0;
}


/* GLOBAL: CONTAINERS
-------------------------------------------------------------------------------*/
body {
	background-color: var(--color-navy);
	overflow-x: hidden;
}
.container {
	display: flex;
	flex-flow: column;
	align-items: center;
	margin-inline: auto;
	width: 100%;
	max-width: var(--width-wide);
	padding: var(--spacing-lg) var(--spacing-lg);
	gap: 1em;
	z-index: 10;
	position: relative;
	overflow: visible;
}
[class*="fade-"] {
	position: relative;
}
[class*="fade-"]::before,
[class*="fade-"]::after {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 120px;
	left: 0;
}
[class*="fade-"]::before {
	transform: scaleY(-1);
	top: 0;
}
[class*="fade-"]::after {
	bottom: 0;
}


/* GLOBAL: HEADING
-------------------------------------------------------------------------------*/
[class*="heading-"] {
	font-size: clamp(1.875rem, 0.6607rem + 4.8571vw, 4rem);
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
	background-image: url('../images/texture-banner.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	padding: 60px 80px;
	margin-block: unset;
}

/* SECTION: UTILITY
-------------------------------------------------------------------------------*/
.utility {
	--_ubg: var(--color-midnight);
	--_utx: var(--color-white);
	--_sbg: var(--color-blue);
	--_stx: var(--color-white);
	--_utilHgt: 48px;
	width: 100%;
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-end;
	align-items: flex-start;
	position: absolute;
	z-index: 100;
}
.utility > div {
	display: flex;
	padding: var(--spacing-sm);
	gap: var(--spacing-sm);
}
.utility .btn {
	font-size: 110%;
	min-height: var(--_utilHgt);
	color: var(--color-orange);
}
.utility .btn:hover {
	color: var(--color-midnight);
	background-color: var(--color-white);
}
.region-wrap {
	position: relative;
	width: 140px;
}
.region-select {
	overflow: hidden;
	position: absolute;
	z-index: 10;
	min-width: 100%;
	border-radius: var(--radius-sm);
	background-color: var(--_ubg);
}
.region-select summary::-webkit-details-marker {
	display: none;
}
.region-select summary,
.region-select a {
	cursor: pointer;
	display: flex;
	align-items: center;
	text-decoration: none;
	font-weight: 700;
	gap: 6px;
	color: var(--_utx);
}
.region-select summary {
	min-height: var(--_utilHgt);
	justify-content: center;
	font-family: inherit;
	font-size: 14px;
	transition:
		background-color var(--motion),
		border-color var(--motion),
		color var(--motion) !important;
}
.region-select ul {
	display: flex;
	flex-flow: column;
}
.region-select a {
	font-size: 12.5px;
	padding: 3px 12px;
}
.region-select li:last-of-type a {
	padding-block-end: 6px;
}
.region-select img {
	max-width: 18px;
}
.region-select nav:focus {
	outline: none;
}
.region-select summary:hover,
.region-select a:hover,
.region-select a:focus,
.region-select a:focus-within {
	transition: var(--transition);
	background-color: var(--_sbg);
	color: var(--_stx);
}
.region-select [aria-hidden='true'] {
	display: none;
	visibility: none;
	pointer-events: none;
}


/* SECTION: HEADER
-------------------------------------------------------------------------------*/
.header {
	position: relative;
}
.header .container {
	display: grid;
	grid-template-rows: 1fr auto 1fr;
	grid-template-columns: 1% 1.5fr 2fr;
	padding-block: unset;
	padding-inline: var(--spacing-md);
	position: relative;
	height: clamp( 400px, 70vw, 700px );
	gap: unset;
}
@media (max-width: 860px) {
	.header {
		height: unset;
		aspect-ratio: 1 / 1;
	}
  .header .container {
    grid-template-columns: 0% 1fr 1fr;
	}
}
.hero-logo {
	margin: unset;
	grid-area: 2 / 2 / 3 / 2;
}


/* TEXTURE: HEADER
-------------------------------------------------------------------------------*/
.header::after {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 75% center;
	background-image: url('../images/texture-hero.jpg');
}
main {
	position: relative;
}
main::after {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 30%;
	top: var(--spacing-md);
	left: var(--spacing-md);
	z-index: 1;
	background-image: url('../images/texture-grid.png');
	background-size: 164px;
	mask-image:
		linear-gradient(180deg,
			#0004 90%,
			#0000 100%);
	
}
.about {
	background-image: 
		linear-gradient(180deg,
			var(--color-ocean) 30%,
			var(--color-navy) 100%);
}
.products {
	background-image: 
		linear-gradient(180deg,
			var(--color-navy) 0%,
			oklch(21% 9% 240deg) 90%,
			var(--color-black) 100%);
}


/* SECTION: ABOUT
-------------------------------------------------------------------------------*/
.about-wrap {
	display: grid;
	place-items: center;
	gap: var(--spacing-md) var(--spacing-lg);
}
@media (min-width: 1100px) {
	.about-wrap {
		grid-template-columns: 42% auto;
		grid-template-rows: auto auto;
	}
}
.about-content * {
	margin-block-start: unset;
	margin-block-end: var(--spacing-sm);
}
.about-heading {
  font-size: clamp(1.5rem, 0.5rem + 4vw, 3.25rem);
}
.about-description {
	text-shadow: 0 3px 6px #00000033;
}
.about-description p {
	color: inherit;
  font-size: clamp(1.125rem, 0.8393rem + 1.1429vw, 1.625rem);
}
.about-trailer {
	position: relative;
	display: grid;
	grid-template-columns: 40px 1fr 40px;
	grid-template-rows: 40px 1fr 40px;
	gap: var(--spacing-sm);
	width: 100%;
}
.about-trailer iframe,
.about-trailer .fpo-iframe {
	grid-area: 2 / 2 / -2 / -2;
	border: 5px solid var(--color-white);
	box-shadow: 0 3px 10px var(--color-black);
	border-radius: var(--radius-md);
}
.about-trailer img:not(.fpo-iframe) {
	position: absolute;
}
.about-trailer img:first-of-type {
	grid-area: 1 / -1;
	height: 100px;
	right: 0;
	max-width: unset;
}
.about-trailer img:last-of-type {
	grid-area: -1 / 2;
	height: 37px;
	bottom: 0;
	max-width: 100%;
}
@media (max-width: 699px) {
	.about-trailer img:last-of-type {
		grid-area: -1 / 1;
	}
}



/* SECTION: PURCHASE
-------------------------------------------------------------------------------*/
.products {
	padding-block-end: var(--spacing-lg);
}
.products-grid {
	display: grid;
	grid-auto-rows: auto;
	gap: var(--spacing-md);
}
@media (min-width: 800px) {
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
.products-card {
	display: grid;
	grid-template-rows: 140px auto 1fr;
	overflow: hidden;
}
.products-card::before,
.products-card::after {
	grid-area: 2 / 1 / 4 / 2;
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
}
.products-card::before {
	border: 1px solid var(--color-blue);
	background: var(--color-ocean);
	border-radius: var(--radius-md);
}
.products-card:nth-child(1)::before,
.products-card:nth-child(2)::before {
	border: 1px solid var(--color-sky);
	background: var(--color-midnight);
}
.products-image {
	grid-area: 1 / 1 / 3 / 2;
	padding-inline: 30px;
}
.products-image img {
	margin-inline: auto;
	padding: 0 var(--spacing-md);
	object-fit: contain;
}
.products-content {
	--_gap: 12px;
	grid-area: 3 / 1 / 4 / 2;
	padding: clamp(35px, 18.33px + 3.33vw, 55px);
	padding-block-start: unset;
}
.products-content h3 {
	font-size: 200%;
	line-height: 1.1;
	margin-block: 0 4px;
	margin-block-start: 0.5em;
	max-width: 90%;
}
.products-content h3 + p,
.products-content strong {
	font-size: 1rem;
	font-weight: var(--weight-base);
}
.products-content > strong {
	display: block;
	color: var(--color-sky);
}
.products-content ul {
	font-weight: 450;
	margin-block: 1.5em 2em;
}
.products-content ul.list-reset {
	gap: var(--_gap);
	flex-flow: row wrap;
}
.products-content .tab-panel {
	margin-block: 0;
	gap: var(--_gap);
}
.products-content .active-tab {
	transition: all var(--motion);
}

/* WIDE */
.products-card-wide::before {
	display: none;
}
.products-card-wide h3 {
	margin-top: 0.25em;
}
@media (min-width: 800px) {
	.products-card-wide {
		display: grid;
		grid-area: auto / span 2;
		grid-template-rows: 1fr;
		grid-template-columns: 1fr 1fr;
		gap: 0;
	}
	.products-card-wide .products-content {
		grid-area: 2 / 3 / 4 / 2;
		padding-top: var(--spacing-lg);
		display: flex;
		flex-flow: column nowrap;
		justify-content: center;
		align-items: flex-start;
	}
	.products-card-wide .products-image {
		grid-area: 2 / 1 / 4 / 2;
		aspect-ratio: unset;
		display: grid;
		justify-content: center;
		align-content: center;
		padding-block: var(--spacing-lg);
	}
}

/* TOGGLE */
.tabs .tab-panel {
	display: none;
}
.tabs .active-panel {
	display: flex;
}


/* PROMO */
.products-promo::before {
	display: none;
}
.products-promo {
	display: grid;
	grid-template-columns: 20px auto 20px;
	grid-template-rows: 40px auto auto 60px;
}
.products-promo .products-image {
	display: flex;
	padding: unset;
	grid-area: 2 / 2 / -3 / -2;
}
.products-promo .products-content {
	grid-area: 3 / 2 / -2 / -2;
}
@media (min-width: 800px) {
	.products-promo {
		display: grid;
		grid-area: auto / span 2;
		grid-template-columns: 20px repeat(5, 1fr) 20px;
	}
	.products-promo .products-content {
		grid-area: 1 / 1 / -1 / 4;
		grid-area: 2 / 2 / 3 / 5;
	}
	.products-promo .products-image {
		grid-area: 2 / 5 / 3 / 7;
	}
}
.products-promo .products-image img {
  border-radius: var(--radius-sm);
	width: min(100%, 450px);
}
.products-promo .products-content {
	display: flex;
	place-items: center;
	text-align: center;
	padding-block: unset;
}
.products-promo .products-content p {
	text-wrap: balance;
	font-size: clamp(1.5rem, 0.5rem + 4vw, 3.25rem);
	font-family: var(--font-accent);
	font-weight: var(--weight-base);
	line-height: 1.05;
	max-width: 40ch;
}
.products-promo-corner {
	grid-area: 1 / 1;
	max-width: unset;
	height: 95px;
}
.products-promo-line {
	grid-area: 1 / -1;
	max-width: unset;
	height: 52px;
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 1;
}


/* SECTION: FEATURES
-------------------------------------------------------------------------------*/
.features {
	background-image: url('../images/texture-features.jpg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top center;
	background-position: top center;
}
.features .wrap-heading {
	background-image: 
		linear-gradient(180deg,
			oklch(17% 0% 68deg) 49%,
			#FFF 49%,
			#FFF 51%,
			transparent 51%);
}
.features > .container {
	padding-block-start: unset;
}
.features-grid {
	display: grid;
	gap: var(--spacing-lg);
}
.features figure {
	margin: unset;
	display: grid;
	align-items: center;
	gap: var(--spacing-md);
	padding: var(--spacing-lg);
	background: var(--color-ocean);
	border-radius: var(--radius-sm);
}
.features figure img {
	border-radius: var(--radius-sm);
}
.features figcaption > * {
	margin: unset;
}
.features figcaption {
	display: flex;
	flex-flow: column;
	gap: 6px;
}
.features figcaption h3 {
	position: relative;
	font-size: clamp(1.375rem, -0.125rem + 3vw, 2.5rem);
	line-height: 1.1;
}
@media (min-width: 1000px) {
	.features figure {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		padding: var(--spacing-md);
	}
	.features figure img {
		grid-column: span 2;
		height: 100%;
		object-fit: cover;
	}
	.features figure:nth-child(even) img { 
		order: 2;
	}
	.features figcaption {
		text-wrap: balance;
    padding-inline: var(--spacing-sm);
	}
}


/* TEXTURE: FOOTER
-------------------------------------------------------------------------------*/
.footer {
	display: grid;
	grid-template-rows: repeat(4, auto);
	gap: var(--spacing-sm);
	background-color: var(--color-navy);
}
.footer > * {
	grid-column: 1 / 2;
	z-index: 2;
}
.developer { grid-row: 1 / 3; }
.updates { grid-row: 3 / 4; }
.legal { grid-row: 4 / 5; }
.footerbg {
	grid-row: 2 / 5;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center bottom;
	z-index: 1;
}
.fade-footerbg::before {
	background: 
		linear-gradient(0deg,
			var(--color-ocean) 0%,
			color-mix( var(--color-ocean), transparent 70%) 100%);
}
.fade-footerbg::after {
	background: 
		linear-gradient(0deg,
			var(--color-midnight) 0%,
			color-mix( var(--color-midnight), transparent 70%) 100%);
}


/* SECTION: DEVELOPER
-------------------------------------------------------------------------------*/
.developer-link {
	display: flex;
	flex-flow: column;
	justify-content: center;
	gap: var(--spacing-sm);
	text-decoration: none !important;
	max-width: clamp(200px, 100%, 700px);
	margin-inline: auto;
	text-align: center;
}
.developer-link span {
	font-size: clamp(1rem, 0.9286rem + 0.2857vw, 1.125rem);
	text-transform: uppercase;
	text-align: center;
	text-wrap: none;
	line-height: 1.3;
	font-weight: var(--weight-base);
	letter-spacing: 0.07em;
	color: var(--color-white);
	text-shadow: 0 0 8px #000000;
	transition: 
		filter var(--motion),
		color var(--motion);
}
.developer-link img {
	padding-inline: var(--spacing-lg);
	filter: drop-shadow( 0 0 3px black );
}
.developer-link:hover img {
	transform: scale(1.05) !important;
}
.developer-link img {
	transition: transform var(--motion);
}


/* SECTION: UPDATES
-------------------------------------------------------------------------------*/
.updates {
	--_abg: var(--color-black);
	--_atx: var(--color-white);
	--_hbg: var(--color-sky);
	--_htx: var(--color-black);
}
.updates-box {
	--_gap: 6px;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--width-slim);
	padding: var(--spacing-lg) var(--spacing-md);
	margin-inline: auto;
	margin-bottom: 30px;
	background-color: var(--color-blue);
	box-shadow: 0 0 80px var(--color-black);
	border-radius: var(--radius-sm);
}
.updates-box h2 {
	letter-spacing: unset;
	margin-block-start: unset;
	text-align: center;
	font-family: var(--font-serif);
	letter-spacing: unset;
}
.updates-row {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-flow: row wrap;
}
.updates-box ul {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: var(--_gap);
}

/* LINKS */
.updates-box a {
	position: relative;
	background: var(--_abg);
	color: var(--_atx);
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	width: 60px;
	border-radius: var(--radius-sm);
	transition: 
		background-color var(--motion),
		color var(--motion);
}
.updates-box svg {
	display: block;
	width: 24px;
	height: 24px;
	position: relative;
	z-index: 2;
	fill: var(--_atx);
}
.updates-box a:hover {
	background-color: var(--_hbg);
}
.updates-box a:hover svg {
	fill: var(--_htx);
}

/* KLAYVIO */
.updates form.klaviyo-form {
	max-width: 360px !important;
}
.updates form.klaviyo-form > div {
	display: grid !important;
	grid-template-columns: 1fr 140px;
	min-height: auto !important;
	border-radius: 8px !important;
	background: white !important;
	padding: 6px !important;
}
.updates .klaviyo-form div {
	padding: 0 !important;
}
.updates form.klaviyo-form input[type="email"],
.updates form.klaviyo-form button {
	height: 48px !important;
	box-sizing: border-box;
	border: 0px !important;
}
.updates form.klaviyo-form input[type="email"] {
	position: relative;
	font-family: var(--font-serif) !important;
	margin-right: 6px !important;
}
.updates form.klaviyo-form input[type="email"]:hover {
	border: 0 !important;
}
.updates form.klaviyo-form button {
	font-family: inherit !important;
	font-size: 15px !important;
	letter-spacing: 0.03em !important;
	border-radius: var(--radius-sm) !important;
	background-color: var(--_abg) !important;
	color: var(--_atx) !important;
	transition: 
		background-color var(--motion),
		color var(--motion);
}
.updates form.klaviyo-form button:hover {
	box-shadow: unset !important;
	background: var(--_hbg) !important;
	color: var(--_htx) !important;
}
.updates form.klaviyo-form p {
	opacity: 0.7;
}
.updates form.klaviyo-form > div > div:last-child {
	display: none !important;
}


/* SECTION: LEGAL
-------------------------------------------------------------------------------*/
.legal .container {
	max-width: 100%;
	align-items: center;
	gap: var(--spacing-lg);
	padding: var(--spacing-md);
}
@media (min-width: 1100px) {
	.legal .container {
		display: flex;
		flex-flow: row nowrap;
		justify-content: space-between;
	}
	.legal small {
		text-align: right;
		text-wrap: balance;
	}
}
.legal small {
	display: block;
	max-width: 550px;
}
.legal a {
	color: inherit;
}
.legal .logos {
	display: grid;
	grid-template-columns: repeat(3, auto);
	align-items: center;
	justify-content: center;
	gap: var(--spacing-sm);
}
.legal .logos img {
	max-height: 80px;
	max-width: 100px;
	object-fit: contain;
}
.legal-right {
	display: flex;
	gap: var(--spacing-md);
	align-items: center;
}
.legal-right img {
	max-height: 70px;
}

