#home {
	position: relative;
	display: flex;
	width: 100vw;
	min-height: 100vh;
	flex-direction: column;
	overflow: hidden;
	background: var(--bg);
}

#home::after {
	position: absolute;
	z-index: 0;
	top: -22vw;
	right: -12vw;
	width: 54vw;
	height: 54vw;
	border: 1px solid rgba(224, 224, 224, 0.08);
	border-radius: 50%;
	box-shadow:
		0 0 0 8vw rgba(224, 224, 224, 0.01),
		0 0 0 16vw rgba(224, 224, 224, 0.01);
	content: "";
	pointer-events: none;
}

#home-header,
#home-hero,
#home-grid {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1720px;
	margin: 0 auto;
}

#home-hero {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
	gap: 24px;
	padding: 12px 48px 28px;
}

#home-header {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: space-between;
	padding: 34px 48px 18px;
}

#home-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.04em;
}

#home-brand > .material-icons-round {
	font-size: 28px;
}

#home-brand small {
	margin-left: 4px;
	padding: 4px 7px;
	border: var(--border);
	color: var(--text-dim);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

#home-date {
	color: var(--text-dim);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

#home-intro {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
}

#home-intro p,
.home-tile-kicker,
.home-tile-number {
	color: var(--text-dim);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

#home-intro h1 {
	max-width: 850px;
	margin-top: 8px;
	font-size: clamp(42px, 5.2vw, 82px);
	font-weight: 500;
	letter-spacing: -0.075em;
	line-height: 0.95;
}

#home-resume {
	position: relative;
	display: block;
	min-height: 230px;
	overflow: hidden;
	padding: 0;
	border: var(--border);
	border-radius: 6px;
	background: #181818;
	color: #e0e0e0;
	cursor: pointer;
	font-family: inherit;
	text-align: left;
	transition:
		border-color 180ms ease,
		transform 180ms ease;
}

#home-resume[hidden] {
	display: none;
}

#home-resume-art {
	position: absolute;
	top: 0;
	right: 0;
	width: 68%;
	height: 100%;
	object-fit: cover;
}

.home-resume-scrim {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(
		90deg,
		#181818 0%,
		rgba(24, 24, 24, 0.91) 46%,
		rgba(24, 24, 24, 0.16) 100%
	);
}

.home-resume-copy {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 28px;
	display: flex;
	max-width: 56%;
	flex-direction: column;
	align-items: flex-start;
	transform: translateY(-50%);
}

.home-resume-kicker {
	color: #888888;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

#home-resume-title {
	max-width: 100%;
	margin-top: 10px;
	overflow: hidden;
	font-size: clamp(25px, 2.7vw, 42px);
	letter-spacing: -0.055em;
	line-height: 1.05;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#home-resume-meta {
	margin-top: 8px;
	color: #b0b0b0;
	font-size: 12px;
}

.home-resume-action {
	display: flex;
	height: 40px;
	margin-top: 20px;
	align-items: center;
	gap: 6px;
	padding: 0 15px;
	border-radius: 4px;
	background: #e0e0e0;
	color: #121212;
	font-size: 13px;
	font-weight: 700;
}

.home-resume-progress {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: rgba(255, 255, 255, 0.14);
}

.home-resume-progress > span {
	display: block;
	height: 100%;
	background: #e0e0e0;
}

#home-resume:hover,
#home-resume.tv-focus-visible {
	border-color: #e0e0e0;
	outline: none;
	transform: translateY(-4px);
}

#home-grid {
	display: grid;
	min-height: 0;
	flex: 1;
	grid-template-columns: minmax(250px, 1.08fr) minmax(250px, 1.08fr) minmax(
			230px,
			0.78fr
		);
	gap: 16px;
	padding: 0 48px 48px;
}

.home-tile-main,
.home-tile-small {
	position: relative;
	overflow: hidden;
	border: var(--border);
	border-radius: 4px;
	outline: none;
	background: rgba(224, 224, 224, 0.035);
	cursor: pointer;
	transition:
		background 180ms ease,
		color 180ms ease,
		transform 180ms ease;
}

.home-tile-main::before,
.home-tile-small::before {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 54%;
	height: 62%;
	border-top: 1px solid rgba(224, 224, 224, 0.08);
	border-left: 1px solid rgba(224, 224, 224, 0.08);
	content: "";
	transform: skew(-18deg) translate(24%, 18%);
	transition:
		border-color 180ms ease,
		transform 180ms ease;
}

.home-tile-main {
	display: flex;
	min-height: 280px;
	flex-direction: column;
	justify-content: space-between;
	padding: 24px;
}

.home-tile-col {
	display: grid;
	min-width: 0;
	grid-template-rows: 1fr 1fr;
	gap: 16px;
}

.home-tile-small {
	display: grid;
	min-height: 0;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 24px;
}

.home-tile-icon {
	align-self: flex-start;
	font-size: clamp(48px, 4.6vw, 76px);
}

.home-tile-main .home-tile-icon {
	position: absolute;
	top: 24px;
	right: 24px;
	opacity: 0.9;
}

.home-tile-small .home-tile-icon {
	align-self: center;
	font-size: 38px;
}

.home-tile-number {
	align-self: flex-start;
}

.home-tile-small .home-tile-number {
	position: absolute;
	top: 14px;
	right: 16px;
}

.home-tile-copy {
	position: relative;
	z-index: 1;
	margin-top: auto;
}

.home-tile-label {
	margin-top: 8px;
	font-size: clamp(27px, 2.6vw, 42px);
	font-weight: 600;
	letter-spacing: -0.055em;
	line-height: 1;
}

.home-tile-sub {
	margin-top: 8px;
	color: var(--text-dim);
	font-size: 13px;
	line-height: 1.4;
}

.home-tile-small .home-tile-label {
	font-size: 21px;
	letter-spacing: -0.035em;
}

.home-tile-small .home-tile-sub {
	max-width: 210px;
	margin-top: 4px;
	font-size: 11px;
}

.home-tile-arrow {
	position: absolute;
	z-index: 2;
	right: 22px;
	bottom: 22px;
	display: flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border: var(--border);
	border-radius: 50%;
	font-size: 18px;
	transition:
		background 180ms ease,
		transform 180ms ease;
}

.home-tile-small .home-tile-arrow {
	position: relative;
	right: auto;
	bottom: auto;
}

.home-tile-main:hover,
.home-tile-main.tv-focus-visible,
.home-tile-small:hover,
.home-tile-small.tv-focus-visible {
	border-color: var(--text);
	background: var(--text);
	color: var(--bg);
	transform: translateY(-4px);
}

.home-tile-main:hover::before,
.home-tile-main.tv-focus-visible::before,
.home-tile-small:hover::before,
.home-tile-small.tv-focus-visible::before {
	border-color: rgba(18, 18, 18, 0.16);
	transform: skew(-18deg) translate(18%, 12%);
}

.home-tile-main:hover .home-tile-kicker,
.home-tile-main:hover .home-tile-number,
.home-tile-main:hover .home-tile-sub,
.home-tile-main.tv-focus-visible .home-tile-kicker,
.home-tile-main.tv-focus-visible .home-tile-number,
.home-tile-main.tv-focus-visible .home-tile-sub,
.home-tile-small:hover .home-tile-kicker,
.home-tile-small:hover .home-tile-number,
.home-tile-small:hover .home-tile-sub,
.home-tile-small.tv-focus-visible .home-tile-kicker,
.home-tile-small.tv-focus-visible .home-tile-number,
.home-tile-small.tv-focus-visible .home-tile-sub {
	color: rgba(18, 18, 18, 0.58);
}

.home-tile-main:hover .home-tile-arrow,
.home-tile-main.tv-focus-visible .home-tile-arrow,
.home-tile-small:hover .home-tile-arrow,
.home-tile-small.tv-focus-visible .home-tile-arrow {
	border-color: rgba(18, 18, 18, 0.25);
	transform: translateX(4px);
}

.home-tile-main.tv-focus-visible,
.home-tile-small.tv-focus-visible {
	box-shadow: var(--focus-ring);
}

@media (max-width: 1100px) {
	#home {
		overflow-y: auto;
	}

	#home-grid {
		flex: none;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#home-hero {
		grid-template-columns: minmax(0, 0.7fr) minmax(400px, 1.3fr);
	}

	.home-tile-col {
		grid-column: 1 / -1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: none;
	}

	.home-tile-small {
		min-height: 150px;
	}
}

@media (max-width: 720px) {
	#home-header {
		padding: 24px 20px 12px;
	}

	#home-date {
		display: none;
	}

	#home-hero {
		grid-template-columns: 1fr;
		padding: 18px 20px 28px;
	}

	#home-intro h1 {
		font-size: 44px;
	}

	#home-resume {
		min-height: 240px;
	}

	#home-grid {
		grid-template-columns: 1fr;
		padding: 0 20px 28px;
	}

	.home-tile-main {
		min-height: 230px;
	}

	.home-tile-col {
		grid-column: auto;
		grid-template-columns: 1fr;
	}

	.home-tile-small {
		min-height: 138px;
	}
}
