/**
 * Document Defaults
 =====================*/
*,
*::before,
*::after {
	box-sizing: border-box;
	/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

* {
	margin: 0;
}

html {
	line-height: 1.15; /* Correct the line height in all browsers. */
	-webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS. */
}
html:focus-within {
	scroll-behavior: smooth;
	/* Remove smooth scroll for people that prefer not to see them */
}
@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}
}

body {
	line-height: 1.15;
	min-height: 100vh;
	text-rendering: optimizeSpeed;
}

/**
 * Form Element Defaults
 =========================*/
/* Inherit fonts for inputs and buttons */
input,
button,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/* Remove the inner padding in Chrome, Edge, and Safari on macOS. */
::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button; /* Correct the inability to style upload buttons in iOS and Safari. */
	font: inherit; /* Change font properties to `inherit` in Safari. */
}

/* Remove the inner border and padding in Firefox. */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

progress {
	vertical-align: baseline;
}

/* Correct the cursor style of increment and decrement buttons in Chrome. */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
	height: auto;
}

[type=search] {
	-webkit-appearance: textfield; /* Correct the odd appearance in Chrome and Safari. */
	outline-offset: -2px; /* Correct the outline style in Safari. */
}

/* Remove the inner padding in Chrome and Safari on macOS. */
[type=search]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button; /* Correct the inability to style clickable types in iOS and Safari. */
	font: inherit; /* Change font properties to `inherit` in Safari. */
}

/**
 * Grouping Content Defaults
 =============================*/
hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

pre {
	font-family: monospace, monospace; /* Correct the inheritance and scaling of font size in all browsers. */
	font-size: 1em; /* Correct the odd `em` font sizing in all browsers. */
}

/**
 * Link Defaults
 =================*/
/* A elements that don't have a class get default styles */
a:not([class]) {
	-webkit-text-decoration-skip: ink;
	        text-decoration-skip-ink: auto;
}

/**
 * Imagery & Media Defaults
 ============================*/
canvas,
img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
}

/**
 * Typography
 ==============*/
/* Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

/* Correct the font size and margin on `h1` elements within `section` and `article` contexts in Chrome, Firefox, and Safari. */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Add the correct font size in all browsers. */
small {
	font-size: 80%;
}

code,
kbd,
samp {
	font-family: monospace, monospace; /* Correct the inheritance and scaling of font size in all browsers. */
	font-size: 1em; /* Correct the odd `em` font sizing in all browsers.
*/
}

abbr[title] {
	border-bottom: none; /* Remove the bottom border in Chrome */
	text-decoration: underline; /* Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
	-webkit-text-decoration: underline dotted;
	        text-decoration: underline dotted; /* Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
}

/* Prevent `sub` and `sup` elements from affecting the line height in all browsers. */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/**
 * Sizing & Spacing Defaults
 =============================*/
/* Remove default margin and padding */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
	padding: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
	list-style: none;
}

:root {
	--global-primary-colour: #000000;
	--global-primary-text-colour: #ffffff;
	--global-primary-accent-colour: #ee7102;
	--global-secondary-accent-colour: #f1eace;
	--global-tertiary-accent-colour: #eeeeee;
	--global-quaternary-accent-colour: #1f1f1f;
	--global-body-font-family: neulis-sans, Arial, Helvetica, sans-serif;
	--global-heading-font-family: bank-gothic-bt, sans-serif;
}

html {
	font-size: 62.5%;
	margin: 0;
	padding: 0;
}

body {
	background: var(--global-primary-colour);
	background-blend-mode: hard-light;
	color: var(--global-secondary-accent-colour);
	font-family: var(--global-body-font-family);
	font-size: clamp(1.6rem, 2vw, 2rem);
	opacity: 0;
	overflow-x: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	visibility: hidden;
}
body.loaded {
	opacity: 1;
	visibility: visible;
}

.site {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	min-height: 100vh;
	min-width: 280px;
	overflow: clip;
	padding-bottom: 20px;
	padding-top: 20px;
	position: relative;
	width: 100vw;
	z-index: 1;
}
.site__background {
	mix-blend-mode: overlay;
}
.site__background-texture {
	background-blend-mode: hard-light;
	background-color: rgba(0, 0, 0, 0.7);
	background-image: url("/dist/assets/media/hg-textured-background.webp");
	background-position: center center;
	background-repeat: repeat;
	background-size: cover;
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: -1;
}
@media screen and (min-width: 980px) {
	.thgos .site__background-texture {
		background-size: 100vw 90vh;
	}
}
.no-webp .site__background-texture {
	background-image: url("/dist/assets/media/hg-textured-background.png");
}
.site__background::after, .site__background::before {
	background-color: var(--global-primary-colour);
	background-image: url("/dist/assets/media/hg-fire.webp");
	background-position: bottom left;
	background-repeat: no-repeat;
	background-size: 20vw auto;
	bottom: 0;
	content: "";
	display: block;
	left: 0;
	mix-blend-mode: saturation;
	position: absolute;
	right: 0;
	top: 0;
	width: 50vw;
}
.no-webp .site__background::after, .no-webp .site__background::before {
	background-image: url("/dist/assets/media/hg-fire.jpg");
}
@media screen and (min-width: 980px) {
	.site__background::after, .site__background::before {
		mix-blend-mode: screen;
	}
}
.site__background::before {
	background-size: 30vw auto;
}
@media screen and (max-width: 980px) {
	.site__background::before {
		display: none;
	}
}
.site__background::after {
	left: auto;
	right: 0;
	transform: rotateY(180deg);
}
@media screen and (max-width: 980px) {
	.site__background::after {
		background-size: 90vw auto;
		mix-blend-mode: screen;
		width: 100%;
	}
}
.no-webp .site__background {
	background-image: url("/dist/assets/media/hg-textured-background.jpg");
}
.site-copyright {
	font-size: 1.4rem;
	padding: 20px;
	text-align: center;
}
.site-copyright span {
	font-family: var(--global-heading-font-family);
}

.site-masthead {
	bottom: 0;
	filter: blur(3px);
	left: 0;
	mix-blend-mode: lighten;
	opacity: 0.5;
	position: absolute;
	right: 0;
	top: calc(-1 * var(--header-height, 0px));
	z-index: -1;
}
.site-masthead__video {
	height: calc(var(--vh, 1vh) * 100);
	min-height: 480px;
	overflow: hidden;
	position: relative;
	width: 100%;
}
.site-masthead__video-media {
	filter: blur(4px);
	height: 100vw;
	object-fit: cover;
	object-position: left center;
	opacity: 0.5;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	transform: rotate(190deg) translateY(0vw) scale(0.8);
	transform-origin: 30vw 30vw;
	width: 100vw;
}
.site-masthead__secondary-video {
	height: calc(var(--vh, 1) * 100);
	margin: 0;
	mix-blend-mode: hard-light;
	opacity: 0.1;
	padding: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 50vw;
}
.site-masthead__secondary-video-media {
	bottom: 0;
	height: 100%;
	left: 0;
	object-fit: cover;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}
.site-masthead__pin {
	height: 100%;
	margin: 0;
	position: absolute;
	right: -12vw;
	top: -6vw;
	width: 100%;
	z-index: 1;
}
.site-masthead__pin--main {
	mix-blend-mode: lighten;
	z-index: 0;
}
.site-masthead__pin-media {
	display: block;
	height: auto;
	margin: 0;
	max-width: 100%;
	padding: 0;
	width: 100%;
}

.site-generator-card {
	background-color: var(--global-primary-colour);
	border: 2px solid var(--global-primary-accent-colour);
	border-radius: 0.2rem;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	margin: auto;
	max-width: 90%;
	padding: 1.5rem;
	position: relative;
	width: 100%;
	z-index: 2;
}
.site-generator-card__header {
	margin-bottom: 30px;
	text-align: center;
}
.site-generator-card__header h1 {
	color: var(--global-primary-accent-colour);
	font-size: clamp(2.6rem, 3vw, 3.2rem);
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}
.site-generator-card__header p {
	color: var(--global-primary-text-colour);
	margin-top: 0.5rem;
}
@media (min-width: 768px) {
	.site-generator-card {
		max-width: 60rem;
		padding: 2rem;
	}
}
.site-generator-card:before {
	background: rgba(0, 0, 0, 0.9);
	bottom: 0;
	content: "";
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	top: 0;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	visibility: hidden;
	z-index: 10000;
}
.site-generator-card:after {
	animation: flash 1s linear alternate infinite;
	color: var(--global-primary-accent-colour);
	content: "Loading...";
	font-family: var(--global-heading-font-family);
	height: 30px;
	left: 0;
	line-height: 30px;
	opacity: 0;
	position: absolute;
	text-align: center;
	top: 50%;
	transform: translateY(-15px);
	transition: opacity 0.3s ease, visibility 0.3s ease;
	visibility: hidden;
	width: 100%;
	z-index: 10010;
}
.site-generator-card.loading:before {
	opacity: 1;
	visibility: visible;
}
.site-generator-card.loading:after {
	opacity: 0.3;
	visibility: visible;
}

#generator-form {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.form-terms span {
	display: block;
	font-size: 12px;
	line-height: 1.3;
}
.form-terms span a {
	color: var(--global-primary-accent-colour);
}

.form-group {
	flex: 1 0 100%;
	margin-bottom: 2rem;
}
.form-group--half {
	flex: 1 0 calc(50% - 10px);
}
.form-group--flex {
	align-items: start;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.form-group--flex label {
	flex: 1 0 100%;
}
.form-group--flex > * {
	flex: 1 0 calc(50% - 10px);
}
.form-group #open-camera {
	color: white;
	margin-top: 10px;
	padding-left: 12px;
	padding-right: 12px;
}

.camera-controls,
.camera-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}
.camera-controls button,
.camera-actions button {
	flex: 1;
	white-space: nowrap;
}

#cam-preview {
	margin-top: 20px;
}

.form-label {
	color: var(--global-secondary-accent-colour);
	display: block;
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 2.7px;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

.form-input,
.form-select {
	background: none;
	border: none;
	border-bottom: 2px solid var(--global-primary-accent-colour);
	border-radius: 2px;
	box-shadow: none;
	color: var(--global-secondary-accent-colour);
	font-size: 1.6rem;
	font-weight: 400;
	height: auto;
	letter-spacing: 2.7px;
	padding: 15px 0;
	resize: none;
	text-transform: uppercase;
	width: 100%;
}

.form-checkbox {
	background: transparent;
	border: 0;
	height: 1px;
	overflow: clip;
	position: absolute;
	transform: translate(7.5px, 18px);
	width: 1px;
}
.form-checkbox + label {
	display: block;
	padding-left: 30px;
	position: relative;
}
.form-checkbox + label:before, .form-checkbox + label:after {
	border: 2px solid var(--global-primary-accent-colour);
	content: "";
	height: 16px;
	left: 0;
	position: absolute;
	top: 2px;
	width: 16px;
}
.form-checkbox + label:after {
	background: var(--global-primary-accent-colour);
	transform: scale(0);
	transition: transform 0.3s ease;
}
.form-checkbox:checked + label:after {
	transform: scale(0.5);
}

.form-input-file {
	color: #9ca3af;
	display: block;
	font-size: 1rem;
	width: 100%;
}
.form-input-file::file-selector-button {
	backdrop-filter: blur(10px);
	background-color: transparent;
	border: 2px solid var(--global-primary-accent-colour);
	border-radius: 0;
	box-shadow: none;
	color: var(--global-secondary-accent-colour);
	cursor: pointer;
	display: block;
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1;
	margin: 10px 0;
	padding: 14px 15px;
	text-decoration: none;
	text-transform: uppercase;
	transition: 0.3s ease;
}
.form-input-file::file-selector-button:hover {
	background-color: transparent;
}

.size-selector {
	display: flex;
	flex-direction: column;
	margin-top: 10px;
}
.size-selector > input[type=radio] {
	left: -9999rem;
	position: absolute;
}
.size-selector > input[type=radio]:checked + label::after {
	transform: scale(0.6);
}
.size-selector > label {
	font-size: 1.6rem;
	margin-bottom: 10px;
	padding-left: 25px;
	position: relative;
	text-transform: uppercase;
}
.size-selector > label::after, .size-selector > label::before {
	background-color: transparent;
	border: 2px solid var(--global-primary-accent-colour);
	border-radius: 100%;
	content: "";
	height: 16px;
	left: 0;
	position: absolute;
	top: 3px;
	width: 16px;
}
.size-selector > label::after {
	background-color: var(--global-primary-accent-colour);
	transform: scale(0);
	transition: 0.3s ease;
}

.btn {
	backdrop-filter: blur(10px);
	background-color: var(--global-primary-accent-colour);
	border: 2px solid var(--global-primary-accent-colour);
	border-radius: 0;
	box-shadow: none;
	color: var(--global-secondary-accent-colour);
	display: block;
	font-size: 3rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1;
	padding: 14px 25px;
	text-decoration: none;
	text-transform: uppercase;
	transition: 0.3s ease;
}

.btn-submit,
.btn-secondary {
	backdrop-filter: blur(10px);
	background-color: var(--global-primary-accent-colour);
	border: 2px solid var(--global-primary-accent-colour);
	border-radius: 0;
	box-shadow: none;
	color: var(--global-secondary-accent-colour);
	display: block;
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1;
	padding: 14px 25px;
	text-decoration: none;
	text-transform: uppercase;
	transition: 0.3s ease;
}
.btn-submit:hover,
.btn-secondary:hover {
	background-color: transparent;
	color: var(--global-primary-accent-colour);
	text-decoration: none;
	transform: scale(1.02);
}
.btn-submit:disabled,
.btn-secondary:disabled {
	background-color: #9ca3af;
	cursor: not-allowed;
	transform: none;
}

.btn-submit {
	flex: 1 0 100%;
	width: 100%;
}

.btn-secondary {
	background-color: transparent;
	border: 2px solid var(--global-primary-accent-colour);
	color: var(--global-primary-accent-colour);
}
.btn-secondary:hover {
	border-color: var(--global-secondary-accent-colour);
	color: var(--global-secondary-accent-colour);
}

.hidden {
	display: none !important;
}

.status-container,
.result-container {
	margin-top: 1.5rem;
	text-align: center;
}
.status-container h2,
.result-container h2 {
	font-size: 1.8rem;
	font-weight: 500;
	text-transform: uppercase;
}

.result-image {
	border-radius: 0.5rem;
	margin: 1rem 0;
	max-width: 100%;
}

.download-grid {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: 1fr;
	margin-top: 1.5rem;
}
@media (min-width: 768px) {
	.download-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
.download-grid .btn-submit {
	margin-top: 0;
}

#download-btn,
#try-again-btn {
	display: inline-block;
	margin-top: 1rem;
	width: 100%;
}

#small-preview {
	border: 2px solid var(--global-primary-accent-colour);
	max-width: 100px;
}

/********** Range Input Styles **********/
/*Range Reset*/
input[type=range] {
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	cursor: pointer;
	width: 15rem;
}

/* Removes default focus */
input[type=range]:focus {
	outline: none;
}

/***** Chrome, Safari, Opera and Edge Chromium styles *****/
/* slider track */
input[type=range]::-webkit-slider-runnable-track {
	background-color: var(--global-secondary-accent-colour);
	border-radius: 0.5rem;
	height: 0.5rem;
}

/* slider thumb */
input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none; /* Override default look */
	appearance: none;
	/*custom styles*/
	background-color: var(--global-primary-accent-colour);
	height: 2rem;
	margin-top: -12px; /* Centers thumb on the track */
	width: 1rem;
}

input[type=range]:focus::-webkit-slider-thumb {
	border: 1px solid var(--global-secondary-accent-colour);
	outline: 3px solid var(--global-secondary-accent-colour);
	outline-offset: 0.125rem;
}

/******** Firefox styles ********/
/* slider track */
input[type=range]::-moz-range-track {
	background-color: var(--global-secondary-accent-colour);
	border-radius: 0.5rem;
	height: 0.5rem;
}

/* slider thumb */
input[type=range]::-moz-range-thumb {
	/*custom styles*/
	background-color: var(--global-primary-accent-colour);
	border: none; /*Removes extra border that FF applies*/
	border-radius: 0; /*Removes default border-radius that FF applies*/
	height: 2rem;
	width: 1rem;
}

input[type=range]:focus::-moz-range-thumb {
	border: 1px solid var(--global-secondary-accent-colour);
	outline: 3px solid var(--global-secondary-accent-colour);
	outline-offset: 0.125rem;
}

/* ---- Editor Panel ---- */
.editor-panel {
	--panel-bg: rgba(0,0,0,0.75);
	--panel-border: var(--global-primary-accent-colour);
	--panel-shadow: 0 20px 30px rgba(0,0,0,0.35);
	backdrop-filter: blur(10px);
	background: var(--panel-bg);
	border: 2px solid var(--panel-border);
	border-radius: 0.4rem 0.4rem 0 0;
	bottom: 0;
	box-shadow: var(--panel-shadow);
	color: var(--global-secondary-accent-colour);
	left: 50%;
	max-height: calc(70svh - env(safe-area-inset-bottom, 0px));
	padding: 0.6rem 1.2rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
	position: fixed;
	transform: translate(-50%, calc(100% - 5.2rem));
	transition: transform 0.28s ease;
	width: min(34rem, 96vw);
	z-index: 30;
	/* grab handle */
	/* Scrollable interior */
}
.editor-panel.is-open {
	max-height: calc(92svh - env(safe-area-inset-bottom, 0px)); /* open */
	transform: translate(-50%, 0);
}
@media (max-width: 1023px) {
	.editor-panel {
		margin-top: 1rem;
		position: static;
		transform: none !important;
		width: 100%;
	}
}
.editor-panel::before {
	background: var(--global-tertiary-accent-colour);
	border-radius: 0.38rem;
	content: "";
	display: block;
	height: 0.38rem;
	margin: 0.2rem auto 1rem;
	opacity: 0.6;
	width: 4.8rem;
}
.editor-panel h3 {
	color: var(--global-primary-accent-colour);
	font-family: var(--global-heading-font-family);
	font-size: 1.6rem;
	letter-spacing: 0.2rem;
	margin: 0 0 0.8rem;
	text-align: center;
	text-transform: uppercase;
}
.editor-panel .editor-panel__content {
	max-height: calc(100% - 3.2rem); /* leaves room for title + handle */
	overflow: auto;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}
.editor-panel .editor-row {
	align-items: center;
	display: grid;
	gap: 0.6rem 1rem;
	grid-template-columns: 1fr auto;
	padding: 0.6rem 0;
}
.editor-panel .editor-row label {
	display: contents;
}
.editor-panel .editor-row label > span {
	font-size: 1.3rem;
	grid-column: 1/span 1;
	letter-spacing: 0.12rem;
	opacity: 0.9;
	text-transform: uppercase;
}
.editor-panel .editor-row input[type=range] {
	grid-column: 1/span 1;
	width: 100%;
}
.editor-panel .editor-row output {
	font-size: 1.3rem;
	font-variant-numeric: tabular-nums;
	grid-column: 2/span 1;
	justify-self: end;
	min-width: 4.2rem;
	opacity: 0.85;
	text-align: right;
}
.editor-panel .editor-actions {
	display: grid;
	gap: 0.8rem;
	grid-template-columns: 1fr 1fr;
	margin-top: 1rem;
}
.editor-panel .editor-actions .btn-submit, .editor-panel .editor-actions .btn-secondary {
	margin: 0;
	text-align: center;
}
@media (min-width: 1024px) {
	.editor-panel {
		bottom: auto;
		left: auto;
		max-height: min(80vh, 720px);
		padding: 1.2rem 1.4rem 1.6rem;
		right: clamp(8px, 2vw, 20px);
		top: 50%;
		transform: translateY(-50%);
		width: min(30rem, 24vw);
	}
	.editor-panel::before {
		display: none;
	}
	.editor-panel.is-open {
		transform: translateY(-50%);
	}
}

/* When the panel is open on mobile, give the result area breathing room so nothing hides underneath */
@media (max-width: 1023px) {
	body.has-editor-open .result-container {
		padding-bottom: 0;
	}
}
/* Optional: subtle separators between rows */
.editor-panel .editor-row + .editor-row {
	border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

/* Give the result area some breathing room on desktop so the panel doesn't overlap */
@media (min-width: 1024px) {
	.result-container {
		margin: 0 auto;
		max-width: 80%;
	}
}
@keyframes flash {
	0% {
		opacity: 0.3;
	}
	100% {
		opacity: 0.8;
	}
}
/*# sourceMappingURL=theme.css.map */