

@media (min-width: 1680px) and (max-width: 1760px) {
	body.pg-home .cover-main { column-gap: clamp(40px, 3vw, 64px); }
}
@media (min-width: 1680px) {
	body.pg-home .cards { column-gap: clamp(32px, 2.6vw, 72px); }
	body.pg-home .display { letter-spacing: -.032em; line-height: 1.24; }
	body.pg-home .mono,
	body.pg-home .pt-k,
	body.pg-home .rl-no { letter-spacing: .22em; }
	body.pg-home .card .t { font-size: clamp(15px, 1.15vw, 17px); }
}

body.pg-home .tag {
	border: 0;
	background: transparent;
	padding: 0;
	border-radius: 0;
	color: var(--ink-3);
	letter-spacing: .16em;
	font-size: clamp(10px, .52vw, 11px);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: color .25s var(--ease);
}
body.pg-home .tag::before {
	content: "";
	width: 18px;
	height: 1px;
	background: rgba(16, 20, 24, .28);
	transition: background .3s var(--ease), width .45s var(--ease);
}
body.pg-home .chapter:hover .tag { color: var(--ink-2); }
body.pg-home .chapter:hover .tag::before {
	background: rgba(16, 20, 24, .5);
	width: 26px;
}

body.pg-home .chapter p,
body.pg-home .card p,
body.pg-home .part p { line-height: 1.95; letter-spacing: .012em; }
body.pg-home .card .t { line-height: 1.5; }
body.pg-home .row-item h3 { line-height: 1.45; }
body.pg-home .sect-h,
body.pg-home .pt { line-height: 1.3; }

body.pg-home .nav a {
	position: relative;
	display: inline-block;
	color: var(--ink);
	text-decoration: none;
	transition: color .28s var(--ease);
}
body.pg-home .nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 100%;
	height: 1px;
	background: rgba(16, 20, 24, .5);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
body.pg-home .nav a:hover { color: var(--ink-2); }
body.pg-home .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
body.pg-home .nav a.on { color: var(--ink); }
body.pg-home .nav a.on::after {
	transform: scaleX(1);
	background: rgba(16, 20, 24, .28);
}

body.pg-home .card {
	position: relative;
	overflow: hidden;
	transition: border-color .4s var(--ease), box-shadow .55s var(--ease);
}
body.pg-home .card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	opacity: 0;
	transition: opacity .45s var(--ease);
	background: radial-gradient(340px circle at 50% 0%, rgba(16, 20, 24, .05), transparent 62%);
}
body.pg-home .card:hover::after { opacity: 1; }
body.pg-home .card:hover {
	border-color: rgba(16, 20, 24, .2);
	box-shadow: 0 22px 48px -22px rgba(16, 20, 24, .22);
}
body.pg-home .part-ico,
body.pg-home .ch-ico { transition: color .35s var(--ease), transform .55s cubic-bezier(.16, 1, .3, 1); }
body.pg-home .part:hover .part-ico { transform: scale(1.05); }

body.pg-home .tech {
	background: transparent;
	border-color: rgba(16, 20, 24, .13);
	border-radius: 6px;
	transition: border-color .3s var(--ease), transform .45s cubic-bezier(.16, 1, .3, 1), background .3s var(--ease);
}
body.pg-home .tech .tm { color: var(--ink-3); transition: color .3s var(--ease); }
body.pg-home .tech:hover {
	border-color: rgba(16, 20, 24, .3);
	transform: translateY(-2px);
	background: rgba(16, 20, 24, .02);
}
body.pg-home .tech:hover .tm { color: var(--ink); }

body.pg-home .rail-list li.rail-quick-top {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(16, 20, 24, .1);
}
body.pg-home .rail-list li.rail-quick-bottom {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid rgba(16, 20, 24, .1);
}
body.pg-home .rail-list li.rail-quick a {
	cursor: pointer;
	color: var(--ink-2);
	transition: color .25s var(--ease), transform .4s cubic-bezier(.16, 1, .3, 1);
}
body.pg-home .rail-list li.rail-quick .rl-no svg { width: 11px; height: 11px; display: inline-block; vertical-align: -1px; }
body.pg-home .rail-list li.rail-quick a:hover {
	color: var(--ink);
	transform: translateX(3px);
}

body.pg-home .ar {
	display: inline-flex;
	align-items: center;
	margin-left: 5px;
	vertical-align: -2px;
}
body.pg-home .ar svg.ast-ar {
	width: 12.5px;
	height: 12.5px;
	display: inline-block;
	color: var(--ink-3);
	transition: transform .35s cubic-bezier(.16, 1, .3, 1), color .3s var(--ease);
}
body.pg-home .link-go:hover .ar svg.ast-ar,
body.pg-home .link-quiet:hover .ar svg.ast-ar {
	transform: translate(1.5px, -1.5px);
	color: var(--ink-2);
}

body.pg-home #ch-site,
body.pg-home #ch-build,
body.pg-home #ch-seo,
body.pg-home #ch-run,
body.pg-home #ch-close,
body.pg-home .ftr { scroll-margin-top: 72px; }

body.pg-home ::selection { background: rgba(16, 20, 24, .13); }
body.pg-home a:focus-visible,
body.pg-home button:focus-visible {
	outline: 2px solid var(--ink-2);
	outline-offset: 3px;
	border-radius: 2px;
}

@media (max-width: 860px) {
	body.pg-home { --gutter: 20px; }
}
@media (max-width: 640px) {
	body.pg-home { --gutter: 16px; }
	body.pg-home .stack { gap: 12px; }
	body.pg-home .stack-l { gap: 5px; }
	body.pg-home .tech { height: 40px; border-radius: 6px; }
	body.pg-home .tech .tm { font-size: 10.5px; letter-spacing: .02em; }
}
@media (max-width: 1199px) {
	body.pg-home .rail { right: 7px; }
	body.pg-home .rail a { padding: 9px 13px; font-size: 13px; }
	body.pg-home .rail-list { gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
	body.pg-home .tag,
	body.pg-home .tag::before,
	body.pg-home .nav a,
	body.pg-home .nav a::after,
	body.pg-home .card,
	body.pg-home .card::after,
	body.pg-home .part-ico,
	body.pg-home .ch-ico,
	body.pg-home .tech,
	body.pg-home .tech .tm,
	body.pg-home .rail-list li.rail-quick a,
	body.pg-home .ar svg.ast-ar { transition: none; }
	body.pg-home .card::after { display: none; }
}
