/* Direction 3: Salt. A modern photo-led magazine: big pictures, a Swiss grotesk, lots of white, one
   saturated ocean blue. */
:root {
	--white: #ffffff;
	--off: #f4f4f1;
	--black: #0d0d0d;
	--grey: #6b6b6b;
	--line: #dcdcd7;
	--blue: #1238d6;
	--sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
	--serif: 'Instrument Serif', Georgia, serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--black);
	font: 400 1.0625rem/1.6 var(--sans);
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.35) contrast(1.08);
}

.wrap {
	width: min(100% - 4rem, 90rem);
	margin-inline: auto;
}

.kicker {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--blue);
}

/* Header */
.site-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 2;
	color: var(--white);
}

.site-header.solid {
	position: static;
	color: var(--black);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 1.4rem;
}

.logo {
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: -0.01em;
}

.logo span {
	font: italic 400 1.2rem/1 var(--serif);
}

.site-header ul {
	display: flex;
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
	font-weight: 500;
}

.site-header a:hover {
	opacity: 0.6;
}

/* Hero */
.hero {
	position: relative;
	height: min(100vh, 58rem);
	min-height: 36rem;
	background: var(--black);
	color: var(--white);
}

.hero img {
	position: absolute;
	inset: 0;
	opacity: 0.85;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(0 0 0 / 0.65), transparent 55%);
}

.hero-text {
	position: absolute;
	inset: auto 0 3.5rem;
	z-index: 1;
}

.hero-title {
	margin: 0;
	font-size: clamp(3.5rem, 11vw, 11rem);
	font-weight: 700;
	line-height: 0.86;
	letter-spacing: -0.055em;
}

.hero-title em {
	font: italic 400 1em/1 var(--serif);
	letter-spacing: -0.02em;
}

.hero-foot {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 2rem;
	margin-top: 2rem;
	padding-top: 1.2rem;
	border-top: 1px solid rgb(255 255 255 / 0.4);
}

.hero-foot p {
	max-width: 32rem;
	margin: 0;
	font-size: 1.15rem;
}

.hero-foot .kicker {
	color: var(--white);
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85rem 1.4rem;
	border-radius: 999px;
	background: var(--white);
	color: var(--black);
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
}

.pill.blue {
	background: var(--blue);
	color: var(--white);
}

/* Intro statement */
.statement {
	padding-block: 7rem;
}

.statement p {
	max-width: 62rem;
	margin: 0;
	font-size: clamp(1.8rem, 3.2vw, 3rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.statement em {
	font: italic 400 1.08em/1 var(--serif);
	color: var(--blue);
}

/* Article grid */
.section-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding-bottom: 1rem;
	margin-bottom: 2.5rem;
	border-bottom: 1px solid var(--black);
}

.section-head h2 {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.section-head a {
	font-size: 0.9rem;
	font-weight: 500;
}

.grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 4rem 2rem;
	padding-bottom: 7rem;
}

.card .frame {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	margin-bottom: 1.2rem;
	background: var(--off);
}

.card .frame img {
	transition: transform 0.6s ease;
}

.card:hover .frame img {
	transform: scale(1.04);
}

.card h3 {
	margin: 0.5rem 0;
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.card p {
	margin: 0;
	color: var(--grey);
}

.card.big {
	grid-column: 1 / span 7;
}

.card.big .frame {
	aspect-ratio: 4 / 3;
}

.card.big h3 {
	font-size: clamp(2rem, 3vw, 2.8rem);
}

.card.tall {
	grid-column: 9 / span 4;
	margin-top: 8rem;
}

.card.third {
	grid-column: span 4;
}

/* Gallery band */
.band {
	padding-block: 6rem;
	background: var(--black);
	color: var(--white);
}

.band .section-head {
	border-color: var(--white);
}

.strip {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(20rem, 34vw);
	gap: 1rem;
	overflow-x: auto;
	padding-inline: max(2rem, (100vw - 90rem) / 2);
	padding-bottom: 1rem;
	scrollbar-width: none;
}

.strip figure {
	margin: 0;
}

.strip .frame {
	aspect-ratio: 3 / 4;
	overflow: hidden;
}

.strip figure:nth-child(even) .frame {
	aspect-ratio: 4 / 3;
}

.strip figcaption {
	display: flex;
	justify-content: space-between;
	margin-top: 0.6rem;
	font-size: 0.8rem;
	color: #a0a0a0;
}

/* Book */
.book {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 34rem;
	background: var(--blue);
	color: var(--white);
}

.book-text {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 4rem max(2rem, (100vw - 90rem) / 2);
	padding-right: 4rem;
}

.book h2 {
	margin: 1rem 0;
	font-size: clamp(2.6rem, 5vw, 5rem);
	font-weight: 700;
	line-height: 0.92;
	letter-spacing: -0.05em;
}

.book .kicker {
	color: var(--white);
	opacity: 0.8;
}

.book-cover {
	display: grid;
	place-items: center;
	background: #0b25a0;
}

.cover {
	width: min(60%, 18rem);
	aspect-ratio: 2 / 3;
	padding: 1.6rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: var(--off);
	color: var(--black);
	box-shadow: 0 2rem 4rem rgb(0 0 0 / 0.4);
}

.cover strong {
	font-size: 2rem;
	line-height: 0.95;
	letter-spacing: -0.04em;
}

/* Footer */
.site-footer {
	padding-block: 5rem 2rem;
}

.footer-mark {
	margin: 0;
	font-size: clamp(3rem, 9.5vw, 9.5rem);
	font-weight: 700;
	line-height: 0.85;
	letter-spacing: -0.06em;
}

.footer-mark em {
	font: italic 400 1em/1 var(--serif);
	color: var(--blue);
}

.footer-row {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 3rem;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
	font-size: 0.875rem;
	color: var(--grey);
}

.footer-row ul {
	display: flex;
	gap: 1.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Article */
.article-top {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 2rem;
	padding-block: 5rem 3rem;
}

.article-top h1 {
	grid-column: 1 / span 10;
	margin: 1rem 0 0;
	font-size: clamp(2.8rem, 6.5vw, 6.5rem);
	font-weight: 700;
	line-height: 0.92;
	letter-spacing: -0.05em;
}

.article-top .dek {
	grid-column: 1 / span 6;
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.4;
	color: var(--grey);
}

.meta {
	grid-column: 9 / span 4;
	align-self: end;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.3rem 1.4rem;
	font-size: 0.875rem;
}

.meta dt {
	color: var(--grey);
}

.meta dd {
	margin: 0;
	font-weight: 500;
}

.article-hero {
	height: min(80vh, 50rem);
	margin: 0;
}

.article-hero + p {
	margin-top: 0.6rem;
	font-size: 0.8rem;
	color: var(--grey);
}

.article-body {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 0 2rem;
	padding-block: 5rem;
}

.article-body > * {
	grid-column: 4 / span 6;
}

.article-body > p:first-child {
	font-size: 1.45rem;
	line-height: 1.45;
	letter-spacing: -0.01em;
}

.article-body h2 {
	margin: 2.4rem 0 0.4rem;
	font-size: 1.6rem;
	letter-spacing: -0.03em;
}

.article-body blockquote {
	grid-column: 2 / span 10;
	margin: 3rem 0;
	font: italic 400 clamp(2rem, 4vw, 3.6rem) / 1.05 var(--serif);
	color: var(--blue);
}

.article-body figure {
	grid-column: 1 / -1;
	margin: 3rem 0;
}

.article-body figure .frame {
	aspect-ratio: 21 / 9;
}

.article-body figcaption {
	margin-top: 0.6rem;
	font-size: 0.8rem;
	color: var(--grey);
}

.article-body ol {
	padding-left: 1.2rem;
}

.article-body ol li::marker {
	font-weight: 700;
	color: var(--blue);
}

@media (max-width: 860px) {
	.wrap {
		width: min(100% - 2.5rem, 90rem);
	}
	.site-header ul {
		gap: 1rem;
		font-size: 0.8rem;
	}
	.site-header li:nth-child(n + 4) {
		display: none;
	}
	.hero-foot {
		flex-direction: column;
		align-items: start;
	}
	.grid,
	.article-top,
	.article-body {
		grid-template-columns: 1fr;
	}
	.grid > *,
	.article-top > *,
	.article-body > *,
	.article-body blockquote {
		grid-column: 1 / -1;
		margin-top: 0;
	}
	.book {
		grid-template-columns: 1fr;
	}
	.book-cover {
		padding-block: 3rem;
	}
}
