@font-face {
	font-family: "Aeonik Pro";
	font-weight: 900;
	src: url("../fonts/Aeonik-Pro.woff") format("woff");
}
@font-face {
	font-family: "Aeonik TRIAL";
	font-weight: 700;
	src: url("../fonts/Aeonik-Bold.woff") format("woff");
}
@font-face {
	font-family: "Aeonik TRIAL";
	font-weight: 400;
	src: url("../fonts/Aeonik-Regular.woff") format("woff");
}
@font-face {
	font-family: "Aeonik TRIAL";
	font-weight: 200;
	src: url("../fonts/Aeonik-Light.woff") format("woff");
}

* { box-sizing: border-box; }

html {
	font-size: var(--base-size, 13px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #fff;
	color: rgba(0, 0, 0, 0.85);
}

a:active,
.zoomable:active {
	opacity: 0.7;
}

sub { position: relative; vertical-align: baseline; top: 0.3em; }
sup { position: relative; vertical-align: baseline; top: -0.4em; }

ol, ul { margin: 0; padding: 0 0 0 3em; }

hr {
	background: rgba(0, 0, 0, 0.6);
	border: 0;
	height: 1px;
	display: block;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

/* Framed container (Cargo ".content") */
.content {
	/* Open at the bottom: the side lines run down to the end of the page. */
	border: 0.1rem solid rgba(0, 0, 0, 0.6);
	border-bottom: 0;
	margin: 2rem;
	margin-bottom: 0;
	min-height: calc(100vh - 2rem);
	box-sizing: border-box;
}

.page-content {
	padding: 2rem;
	text-align: left;
}

bodycopy {
	display: block;
	font-family: "Aeonik TRIAL", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.1rem;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	white-space: normal;
}

bodycopy a { color: inherit; text-decoration: underline; }

.head {
	display: block;
	font-family: "Aeonik TRIAL", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.1rem;
	font-weight: 400;
	line-height: 1.1;
}

.aeonik {
	display: block;
	font-family: "Aeonik Pro", "Helvetica Neue", Arial, sans-serif;
	font-size: 3.45rem;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: 0;
}

/* Columns */
column-set {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gutter, 2rem);
}
column-unit { display: block; min-width: 0; }

/* Galleries */
gallery-justify,
gallery-columnized {
	display: block;
	white-space: normal;
}
.justify-row {
	display: flex;
	gap: var(--gutter, 1rem);
	margin-bottom: var(--gutter, 1rem);
}
gallery-columnized {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gutter, 1rem);
	align-items: start;
}
gallery-columnized media-item[columnized-span="2"] { grid-column: span 2; }

media-item {
	display: block;
	position: relative;
	line-height: 0;
}
media-item img,
media-item video {
	display: block;
	width: 100%;
	height: auto;
	background: rgba(0, 0, 0, 0.04);
}
.justify-row media-item img,
.justify-row media-item video {
	height: 100%;
	object-fit: cover;
}
media-item.zoomable { cursor: zoom-in; }

/* Carousel (media-item with slides) */
media-item.carousel { overflow: hidden; }
.carousel-track {
	display: flex;
	height: 100%;
	transition: transform 0.35s ease;
}
media-item.carousel .carousel-track img {
	flex: 0 0 100%;
	min-width: 0;
}
/* Typed in the site's text style: "<  >" arrows and "1 [2] 3" slide numbers,
   the current one in brackets like the tags and filters. */
.carousel-ui button {
	border: 0;
	padding: 0;
	background: none;
	cursor: pointer;
	font-family: "Aeonik TRIAL", "Helvetica Neue", Arial, sans-serif;
	line-height: 1;
	color: rgba(255, 255, 255, 0.95);
	/* A soft shadow keeps white type readable on light images. */
	text-shadow: 0 0 2px rgba(0, 0, 0, 0.45);
}
.carousel-prev,
.carousel-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 0.5rem;
	font-size: 1.1rem;
	opacity: 0.8;
	transition: opacity 0.15s ease;
}
.carousel-prev { left: 0.2rem; }
.carousel-next { right: 0.2rem; }
.carousel-prev::before { content: "<"; }
.carousel-next::before { content: ">"; }
.carousel-prev:hover,
.carousel-next:hover { opacity: 1; }
.carousel-dots {
	position: absolute;
	left: 50%;
	bottom: 0.6rem;
	transform: translateX(-50%);
	display: flex;
	align-items: baseline;
	gap: 0.45em;
	font-size: 0.75rem;
	white-space: nowrap;
}
.carousel-dots button {
	font-size: inherit;
	color: rgba(255, 255, 255, 0.6);
	font-variant-numeric: tabular-nums;
}
.carousel-dots button:hover { color: #fff; }
.carousel-dots button[aria-current="true"] { color: #fff; }
.carousel-dots button[aria-current="true"]::before { content: "[ "; }
.carousel-dots button[aria-current="true"]::after { content: " ]"; }

/* Quick view (lightbox) */
.quick-view {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem;
	cursor: zoom-out;
}
.quick-view[hidden] { display: none; }
.quick-view img,
.quick-view video {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}
.quick-view button {
	position: absolute;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border: 0;
	border-radius: 50%;
	background: rgba(87, 87, 87, 0.35);
	color: rgba(255, 255, 255, 0.9);
	font: 16px/30px sans-serif;
	cursor: pointer;
	padding: 0;
}
.quick-view .qv-prev { left: 20px; }
.quick-view .qv-next { right: 20px; }
.quick-view .qv-close { top: 35px; right: 20px; }

html.mobile { font-size: calc(var(--base-size, 13px) * 1.4); }

@media (max-width: 768px) {
	.content { border: 0; margin: 0; }
	.page-content { padding: calc(2rem * 0.5); }
	.aeonik { font-size: 1.1rem; }
	column-set { grid-template-columns: 1fr; column-gap: 0; }
	column-set > column-unit { grid-column: 1 / -1 !important; }
	column-set > column-unit:empty { display: none; }
	.quick-view { padding: 10px; }
}
