
/* tab */

/* Font License: bullerdesignscapes.com/s/fonts/SofiaSans/OFL.txt */

* {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}
menu { list-style: none }
a, button { cursor: pointer }
ul, ol { list-style-position: inside }
button {
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
}

:root {
	--color: #12b47a;
	--color-page: #f7f7f7;
	--color-matte: #eaeaea;
	--color-text: #222;
	--color-border: rgba(115,115,115,.25);
	--unit-2x: 28px;
	--unit-1x: 14px;
	--unit-05x: 7px;
	--unit-025x: 3.5px;
}
@media (prefers-color-scheme: dark) {
	:root {
		--color-page: #000;
		--color-matte: #111;
		--color-text: #fff;
		--color-border: #111;
	}
}

@font-face {
  font-family: "SofiaSans";
  src: url("/s/fonts/SofiaSans/SofiaSans-Regular.woff2");
	font-style: normal;
	font-weight: 400;
}
@font-face {
  font-family: "SofiaSans";
  src: url("/s/fonts/SofiaSans/SofiaSans-Bold.woff2");
	font-style: normal;
	font-weight: 700;
}
@font-face {
  font-family: "SofiaSans";
  src: url("/s/fonts/SofiaSans/SofiaSans-ExtraBold.woff2");
	font-style: normal;
	font-weight: 800;
}

body,
input,
button,
textarea {
	font-family: "SofiaSans", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: calc(1em + 5px);
}

body {
	background-color: var(--color-matte);
	color: var(--color-text);
	min-height: 100vh;
	cursor: default;
	padding-top: 48px;
}
p {
	width: 100%;
	max-width: 640px;
	min-width: 320px;
}
a {
	color: var(--color-text);
	text-decoration-color: var(--color);
}
.button {
	line-height: 0;
	color: #fff;
	text-decoration: none;
	background-color: #e3ded3;
	color: #111;
	padding: calc(var(--unit-1x) * 1.25) calc(var(--unit-05x) * 1.3);
	border-radius: 2px;
	font-weight: 800;
	touch-action: manipulation;
}
img {
	line-height: 0;
	background-color: var(--color-matte);
}
img:not(.framed) {
	width: auto;
	max-width: 100%;
	height: auto;
}
hr {
	width: 100%;
	border-top: 1px solid var(--color-border);
	margin: var(--unit-1x) 0;
}

header, main, footer {
	width: 1080px;
	max-width: 100%;
	margin: 0 auto;
}
main, footer { padding: var(--unit-1x) calc(var(--unit-1x) * 1.5) }
.page { background-color: var(--color-page) }
main {
	padding-top: var(--unit-2x);
	padding-bottom: 48px;
}
[data-page=home] main { padding-top: var(--unit-2x) }

/* LAYOUT */

.row, .col {
	display: flex;
	flex-wrap: nowrap;
}
.row { flex-direction: row }
.col { flex-direction: column }
.wrap { flex-wrap: wrap }
.align-center { align-items: center }
.align-end { align-items: flex-end }
.space-between { justify-content: space-between }
.justify-end { justify-content: end }
.justify-center { justify-content: center }
.grow-1 { flex-grow: 1 }
.gap-0 { gap: 0 }
.gap-2x { gap: var(--unit-2x) }
.gap-1_5x { gap: calc(var(--unit-1x) * 1.5) }
.gap-1x { gap: var(--unit-1x) }
.gap-05x { gap: var(--unit-05x) }
.gap-025x { gap: var(--unit-025x) }

.bold { font-weight: 700 }
.extra-bold { font-weight: 800 }
.italic { font-style: italic }
.normal { font-style: normal }
.light {
	font-size: .875em;
	line-height: 1.25em;
	opacity: .75;
}
*.lighter { opacity: .65 }
.color { color: var(--color) }
.little-big { font-size: 1.125em }

header {
	user-select: none;
	-webkit-user-select: none;
	position: relative;
	z-index: 4;
}
#header {
	position: fixed;
	z-index: 4;
	top: 0;
	width: 1080px;
	max-width: 100%;
	margin-top: -48px;
}
#site-title, #toggle {
	outline: 1px solid rgba(0,0,0,.0625);
	outline-offset: -1px;
}
#site-title {
	margin: 0 0 0 3px;
	padding: calc(var(--unit-1x) * .75);
	padding-bottom: 0;
	border-radius: 4px;
	height: 42px;
	touch-action: manipulation;
	z-index: 4;
	@media only screen and (max-width: 400px) { font-size: 1.38em; }
	@media only screen and (max-width: 320px) { font-size: 1.16em; }
}
#toggle, #site-title, nav {
	position: relative;
	top: 48px;
}
#site-title, #toggle {
	background-color: var(--color-page);
	background: linear-gradient(#fff, #eaeaea);
	@media (prefers-color-scheme: dark) {
		background: linear-gradient(#222, #000);
	}
}
.menu #site-title {
	background: none;
	color: #fff;
	opacity: .875;
}
#site-title span {
	font-size: .375em;
	margin-left: -3px;
	font-weight: 800;
}
#site-title, .site-title, h1, h2 {
	font-size: calc(1em + 10px);
	text-transform: uppercase;
	font-weight: 800;
}
header a {
	color: var(--color-text);
	text-decoration: none !important;
}
#toggle {
	padding: var(--unit-05x);
	width: 42px;
	height: 42px;
	gap: 4px;
	transition: gap .05s ease-out;
	margin: 3px;
	position: relative;
	z-index: 4;
	border-radius: 3px;
}
.menu #toggle {
	gap: 2px;
	transition: gap .05s ease-in;
	background: linear-gradient(rgba(0,0,0,.125), rgba(0,0,0,.125)) !important;
}
.bar {
	width: 100%;
	height: 4px;
	border-radius: 2px;
	background-color: var(--color);
}
nav {
	display: none !important;
	overflow: scroll;
	max-height: calc(100vh - 51px);
	margin: 2px;
	z-index: 3;
	
}
menu {
	padding: var(--unit-2x);
	max-height: 100%;
	overflow: scroll;
	position: relative;
	z-index: 4;
}
menu a {
	text-transform: uppercase;
	font-weight: 700;
	color: #fff;
}
[data-page=home] #to-home,
[data-page=gallery] #to-gallery,
[data-page=products] #to-products
{
	cursor: default;
	pointer-events: none;
	background-color: #111;
	border-radius: 2px;
	padding: 1px 2px 0 3px ;
	margin: -1px -2px 0 -3px
	display: block;
	float: left;
}
menu { overflow: scroll }
.no-js header:hover nav, .no-js:has(#close:hover) nav, .menu nav { display: flex !important }
#close {
	background-color: #211e1b;
	width: 100vw;
	height: 100vh;
	position: fixed;
	z-index: 2;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	touch-action: manipulation;
	cursor: default;
	display: none;
}
.menu { background-color: #211e1b }
.menu main, .menu footer, .menu #banner {
	opacity: 0;
	pointer-events: none;
}
.menu { overflow: hidden }
.menu #close { display: flex }

#banner {
	margin: -48px auto 0 auto;
	width: 100vw;
	max-width: 100%;
	background-color: var(--color-matte);
	justify-content: flex-end;
	height: 80vh;
	object-fit: cover;
	pointer-events: none;
	user-select: none;
	@media only screen and (max-width: 640px) { height: 500px; }
	@media only screen and (max-width: 480px) { height: 80vh }
}

footer {
	padding-top: var(--unit-2x);
	border-top: 1px solid var(--color-matte);
	border-top-left-radius: var(--unit-05x);
	border-top-right-radius: var(--unit-05x);
}
#logo {
	border-radius: 50%;
	user-select: none;
	pointer-events: none;
	width: 52px;
	height: 52px;
	box-shadow: 0 0 1px var(--color-border);
}
#copyright {
	opacity: .5;
	font-size: .75em;
	line-height: 1.25em;
	margin: 0 calc(var(--unit-05x) * -1);
}

.block-container.wrap {
	@media only screen and (min-width: 640px) { flex-wrap: nowrap }
}

.color-block {
	padding: var(--unit-2x);
	padding-bottom: calc(var(--unit-1x) * 3);
	width: 480px;
	max-width: 100%;
	background-color: #6e9cb6;
	background: linear-gradient(#6e9cb6, #6eb69c);
	font-size: 1.05em;
	text-shadow: 0 0 1px rgba(0,0,0,.25);
	font-weight: 700;
}
.color-block h2 {opacity: 1 }
.color-block ul {
	text-shadow: 0 0 1px rgba(0,0,0,.25);
	list-style-type: square;
	list-style-position: outside;
	padding-left: calc(var(--unit-1x) * 1.25);
}
.color-block, .color-block a { color: #fff }
.color-block a, a.color-block { text-decoration-color: rgba(255,255,255,.5) }
#gallery .color-block {
	line-height: 1.5em;
	padding: var(--unit-1x);
}

figcaption {
	font-style: italic;
	font-size: .75em;
	line-height: 1.5em;
	text-indent: 1px;
	margin-bottom: calc(var(--unit-025x) * -1);
}
.framed {
	box-shadow: 0 0 1px var(--color-border);
	background-color: var(--color-matte);
}

/* GALLERY */

#gallery figure, #gallery .color-block {
	width: calc(33.333% - 4.67px);
	@media only screen and (min-width: 640px) { width: calc(25% - 5.25px) }
	@media only screen and (min-width: 960px) { width: calc(20% - 5.6px) }
}
#gallery figure img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
a img:hover { box-shadow: 0 0 0 var(--color-border) }
a img, #gallery img { border-radius: 2px }
a img, figure { line-height: 0 }
.image-list article {
	padding: var(--unit-05x);
	border-radius: calc(4px + var(--unit-05x));
	background-color:	var(--color-matte)
}
.image-list img {
	width: 85px;
	height: 85px;
	border-radius: 4px;
	outline: 1px solid rgba(128,128,128,.25);
	outline-offset: -1px;
	box-shadow: 0 0 1px var(--color-border);
}
.image-list a { text-decoration: none }
.image-list .title {
	padding: var(--unit-1x) var(--unit-025x);
	margin: calc(var(--unit-1x) * -1) calc(var(--unit-025x) * -1);
	border-radius: calc(var(--unit-025x));
	font-weight: 700;
	font-size: 1.125em;
	line-height: 1.25em;
}
.image-list img {
	min-width: 75px;
	max-width: 75px;
	height: 75px;
	display: block;
	padding: 0;
	margin: 0;
	box-shadow: 0 0 1px var(--color-matte);
}

.hidden, [data-page=home] .title-1 { display: none }