@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(/assets/fonts/montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(/assets/fonts/montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--wall: #e9ecee;
	--paper: #ffffff;
	--ink: #000000;
	--steel: #4b5259;
	--line: #d8dde1;
	--signal: #ff5c20;
	--gutter: clamp(1.25rem, 5vw, 2.5rem);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--wall);
	color: var(--ink);
	font: 400 1rem/1.6 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--signal);
	outline-offset: 3px;
}

.card {
	max-width: 46rem;
	margin: 0 auto;
	background: var(--paper);
	overflow: hidden;
}

/* Workshop photo with an orange stroke taken from the Craftnote logo mark. */
.card-banner {
	position: relative;
	height: clamp(7.5rem, 24vw, 11rem);
	background: #2e2925;
}

.card-banner img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-banner::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--signal);
	clip-path: polygon(74% 100%, 81% 100%, 97% 0, 90% 0);
}

.card-head {
	padding: 0 var(--gutter);
}

.logo-tile {
	position: relative;
	display: grid;
	place-items: center;
	width: 6rem;
	height: 6rem;
	margin-top: -3rem;
	padding: 0.5rem;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 0.75rem;
}

.logo-tile img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.logo-tile-initials {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.company-name {
	margin: 1.25rem 0 0.5rem;
	font-size: clamp(2rem, 7vw, 3.25rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.company-trade {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
}

.company-owner {
	margin: 0.125rem 0 0;
	color: var(--steel);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding: 1.75rem var(--gutter) 2rem;
}

.button {
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0 1.25rem;
	border: 2px solid var(--ink);
	border-radius: 0.5rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.button:hover {
	background: var(--ink);
	color: var(--paper);
}

.button-primary {
	background: var(--signal);
	border-color: var(--signal);
}

.button-primary:hover {
	border-color: var(--ink);
}

.icon {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.card-section {
	padding: 1.75rem var(--gutter);
	border-top: 1px solid var(--line);
}

.card-section h2 {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--steel);
}

.card-section p,
.card-section address {
	margin: 0;
	font-style: normal;
}

.about {
	max-width: 65ch;
	white-space: pre-line;
}

.details {
	display: grid;
	gap: 1.5rem;
}

.details a {
	overflow-wrap: anywhere;
	text-decoration-color: var(--signal);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.site-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	max-width: 46rem;
	margin: 0 auto;
	padding: 1.5rem var(--gutter) 3rem;
	color: var(--steel);
	font-size: 0.875rem;
}

.made-with {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	text-decoration: none;
}

.made-with img {
	width: auto;
	height: 1.75rem;
}

.footer-links {
	display: flex;
	gap: 1.25rem;
}

@media (min-width: 40rem) {
	.details {
		grid-template-columns: 1fr 1fr;
	}

	.button {
		flex: 0 0 auto;
	}
}

@media (min-width: 48rem) {
	body {
		padding-top: 3rem;
	}

	.card {
		border: 1px solid var(--line);
		border-radius: 1rem;
	}
}
