/* Northcut: a concept barbershop. Dark soil, cream paper, brass only as a line. */

:root {
	--soil: #14110e;
	--soil-2: #1e1914;
	--cream: #f4efe6;
	--ink: #1c1612;
	--muted: #5e564c;
	--brass: #a8743d;
	--line: rgba(28, 22, 18, 0.16);
	--font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 68rem;
	--gutter: clamp(1.25rem, 5vw, 2.5rem);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: var(--soil);
	color: var(--cream);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
}

a {
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--brass);
	outline-offset: 3px;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 10;
	background: var(--cream);
	color: var(--ink);
	padding: 0.7rem 1rem;
	font-weight: 700;
	text-decoration: none;
}

.skip-link:focus {
	top: 1rem;
}

.wrap {
	width: min(var(--wrap), calc(100% - var(--gutter) * 2));
	margin-inline: auto;
}

.top {
	border-bottom: 1px solid rgba(244, 239, 230, 0.14);
}

.top__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	min-height: 4rem;
}

.mark {
	font-family: var(--font-display);
	font-size: 1.35rem;
	text-decoration: none;
	letter-spacing: 0.01em;
}

.studio {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: #e7d3b8;
}

.mast {
	padding: clamp(4.5rem, 14vw, 9rem) 0 clamp(4rem, 10vw, 7rem);
}

.kicker {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #e7d3b8;
}

.kicker--dark {
	color: var(--brass);
}

h1,
h2 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

h1 {
	max-width: 11ch;
	font-size: clamp(3.25rem, 10vw, 6.5rem);
}

h2 {
	font-size: clamp(2rem, 5vw, 3.25rem);
	max-width: 16ch;
}

.lead,
.note,
.panel p {
	max-width: 36rem;
}

.lead {
	margin: 1.5rem 0 0;
	font-size: clamp(1.15rem, 2.4vw, 1.4rem);
	color: #e6dfd4;
}

.mast__actions {
	margin: 2rem 0 0;
}

.button {
	display: inline-flex;
	align-items: center;
	min-height: 3rem;
	padding: 0.75rem 1.25rem;
	background: var(--cream);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}

.button:hover {
	background: #fff;
}

.panel {
	background: var(--cream);
	color: var(--ink);
	padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.panel--dark {
	background: var(--soil-2);
	color: var(--cream);
}

.panel--dark .kicker {
	color: #e7d3b8;
}

.note {
	margin: 1rem 0 0;
	color: var(--muted);
}

.menu,
.hours {
	margin: 2.25rem 0 0;
}

.menu div,
.hours div {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1rem 0;
	border-top: 1px solid var(--line);
	font-size: 1.2rem;
}

.panel--dark .hours div {
	border-top-color: rgba(244, 239, 230, 0.16);
}

.menu dt,
.hours dt {
	font-family: var(--font-display);
}

.menu dd,
.hours dd {
	margin: 0;
	font-variant-numeric: tabular-nums;
}

.split {
	display: grid;
	gap: 2rem;
}

@media (min-width: 48em) {
	.split {
		grid-template-columns: 1fr 1fr;
		align-items: end;
		gap: 4rem;
	}
}

.next h2 {
	max-width: 18ch;
}

.foot {
	padding: 1.5rem 0 2rem;
	color: #cfc4b6;
	font-size: 0.95rem;
}

.foot a {
	color: #fff;
}
