/**
 * Homepage — the practice portrait from home-next-mockup.html.
 * Tokens come from urlar-tokens.css. One sun moment: the squiggle.
 */

.urlar-home { color: var(--u-ink); }
.urlar-home .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.urlar-home .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.urlar-home a { color: inherit; }
.urlar-home :focus-visible { outline: 2px solid var(--u-accent); outline-offset: 2px; }

.urlar-home .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	font: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 11px 22px;
	border-radius: var(--u-r-md);
	cursor: pointer;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 0.12s cubic-bezier(0.16, 1, 0.3, 1);
}
.urlar-home .btn:active { transform: translateY(1px); }
.urlar-home .btn-primary { background: var(--u-accent); color: var(--u-accent-ink); }
.urlar-home .btn-primary:hover { background: var(--u-accent-hover); color: var(--u-accent-ink); }
.urlar-home .btn-ghost { background: transparent; color: var(--u-heading); border-color: var(--u-line); font-weight: 500; }
.urlar-home .btn-ghost:hover { background: color-mix(in srgb, var(--u-sage) 35%, transparent); }
.urlar-home .quiet { color: var(--u-secondary); font-weight: 600; font-size: 0.95rem; text-decoration: none; text-underline-offset: 3px; }
.urlar-home .quiet:hover { text-decoration: underline; }

.urlar-home .kicker {
	font-family: var(--u-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--u-sun-deep);
	display: block;
	margin-bottom: 10px;
}
.urlar-home h1,
.urlar-home h2,
.urlar-home h3 {
	font-family: var(--u-font-display);
	font-weight: 550;
	font-style: normal;
	color: var(--u-heading);
	letter-spacing: -0.015em;
	text-wrap: balance;
	overflow-wrap: anywhere;
}
.urlar-home h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.05; margin: 0 0 16px; }
.urlar-home h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.12; margin: 0 0 10px; }
.urlar-home h3 { font-size: 1.2rem; line-height: 1.25; margin: 0; }

.urlar-home .squiggle { position: relative; display: inline-block; }
.urlar-home .squiggle svg {
	position: absolute;
	left: -2%;
	width: 104%;
	height: 0.28em;
	bottom: -0.08em;
	color: var(--u-sun);
	overflow: visible;
}

.urlar-home .hero { position: relative; z-index: 1; padding: 108px 0 96px; }
.urlar-home .hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: 48px;
	align-items: center;
}
.urlar-home .hero .sub { color: var(--u-muted); font-size: 1.05rem; max-width: 42ch; margin: 0 0 28px; }
.urlar-home .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.urlar-home .hero-links { display: flex; gap: 18px; flex-wrap: wrap; }

.urlar-home .herd { margin: 0; min-width: 0; }
.urlar-home .herd-board { position: relative; height: 600px; overflow: visible; }
.urlar-home .herd-print {
	position: absolute;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: var(--u-r-lg);
	background: var(--u-surface);
	box-shadow:
		0 0 0 7px var(--u-surface),
		0 22px 36px color-mix(in srgb, var(--u-heading) 16%, transparent);
}
.urlar-home .herd-print img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.07);
	transition:
		opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1),
		transform 1700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.urlar-home .herd-print img.is-on { opacity: 1; transform: scale(1); }
.urlar-home .herd-a { width: 72%; left: -4%; top: -16%; transform: rotate(-5deg); z-index: 1; }
.urlar-home .herd-b { width: 36%; right: 2%; top: 4%; transform: rotate(4deg); z-index: 3; }
.urlar-home .herd-c { width: 42%; right: 0; bottom: 0; transform: rotate(-6deg); z-index: 4; }
.urlar-home .herd-d { width: 34%; left: 22%; bottom: 2%; transform: rotate(3deg); z-index: 2; }
.urlar-home .herd figcaption { display: flex; justify-content: flex-end; margin-top: 12px; }
.urlar-home .herd-pause {
	margin: 0;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--u-muted);
	font: inherit;
	font-family: var(--u-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.urlar-home .herd-pause:hover { color: var(--u-heading); }

@media (max-width: 1100px) {
	.urlar-home .herd-board { height: auto; aspect-ratio: 1 / 1.05; }
	.urlar-home .herd-a { width: 70%; left: 0; top: -6%; }
	.urlar-home .herd-b { right: 6%; }
	.urlar-home .herd-c { right: 2%; width: 40%; }
	.urlar-home .herd-d { left: 14%; }
}
@media (max-width: 640px) {
	.urlar-home .hero { padding: 88px 0 64px; }
	.urlar-home .hero-grid { grid-template-columns: 1fr; gap: 32px; }
	.urlar-home .herd { order: -1; }
	.urlar-home .herd-board {
		height: auto;
		max-width: 460px;
		margin-inline: auto;
		padding-bottom: 16%;
	}
	.urlar-home .herd-a {
		position: relative;
		width: 92%;
		margin-left: 4%;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
		transform: rotate(-3deg);
		z-index: 1;
	}
	.urlar-home .herd-b { width: 34%; left: 0; right: auto; top: auto; bottom: 2%; transform: rotate(-6deg); z-index: 3; }
	.urlar-home .herd-c { width: 34%; left: 32%; right: auto; top: auto; bottom: 0; transform: rotate(2deg); z-index: 4; }
	.urlar-home .herd-d { width: 36%; left: auto; right: 0; top: auto; bottom: 5%; transform: rotate(5deg); z-index: 5; }
}
@media (prefers-reduced-motion: reduce) {
	.urlar-home .herd-print img { transition: none; transform: none; }
}

.urlar-home section { padding: 72px 0; }
.urlar-home .sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.urlar-home .sec-head h2 { margin: 0; }
@media (max-width: 600px) {
	.urlar-home .sec-head { flex-direction: column; align-items: flex-start; }
}

.urlar-home .shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
.urlar-home .card { text-decoration: none; color: inherit; display: flex; flex-direction: column; min-width: 0; }
.urlar-home .card .art {
	aspect-ratio: 1 / 1;
	border-radius: var(--u-r-lg);
	overflow: hidden;
	background: color-mix(in srgb, var(--u-sun-faint) 55%, var(--u-surface));
}
.urlar-home .card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1); }
.urlar-home .card:hover img { transform: scale(1.03); }
.urlar-home .card .meta { padding-top: 12px; display: grid; gap: 2px; }
.urlar-home .card .cat { font-family: var(--u-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--u-muted); }
.urlar-home .card h3 { font-size: 1.15rem; }
.urlar-home .card .price { font-family: var(--u-mono); font-size: 0.86rem; color: var(--u-heading); font-variant-numeric: tabular-nums; margin-top: 4px; }
@media (max-width: 800px) {
	.urlar-home #shelf .shelf {
		display: flex;
		gap: 14px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 24px;
		margin-inline: -24px;
		padding-inline: 24px;
		scrollbar-width: none;
	}
	.urlar-home #shelf .shelf::-webkit-scrollbar { display: none; }
	.urlar-home #shelf .card { flex: 0 0 74%; scroll-snap-align: start; }
}

.urlar-home .paths { background: var(--u-surface); border-top: 1px solid var(--u-line); border-bottom: 1px solid var(--u-line); }
.urlar-home .paths-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: start; }
.urlar-home .path-myo p { color: var(--u-muted); max-width: 42ch; margin: 0 0 22px; }
.urlar-home .path-stack { display: grid; gap: 28px; }
.urlar-home .path-stack article { padding-top: 22px; border-top: 1px solid var(--u-line); }
.urlar-home .path-stack h2 { font-size: 1.45rem; }
.urlar-home .path-stack p { color: var(--u-muted); margin: 0 0 12px; max-width: 46ch; }
.urlar-home .suggest { display: flex; gap: 8px; flex-wrap: wrap; }
.urlar-home .suggest input {
	flex: 1 1 180px;
	min-height: 44px;
	min-width: 0;
	background: var(--u-field);
	color: var(--u-ink);
	border: 1px solid var(--u-line);
	border-radius: var(--u-r-md);
	padding: 10px 12px;
	font: inherit;
	outline: 2px solid transparent;
	outline-offset: 1px;
}
.urlar-home .suggest input:focus-visible { outline-color: var(--u-accent); }
@media (max-width: 800px) {
	.urlar-home .paths-grid { grid-template-columns: 1fr; gap: 36px; }
}

.urlar-home .quotes { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 36px 48px; align-items: start; }
.urlar-home .quote { margin: 0; }
.urlar-home .quote p {
	font-family: var(--u-font-display);
	font-weight: 550;
	font-style: normal;
	color: var(--u-heading);
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	line-height: 1.25;
	letter-spacing: -0.015em;
	margin: 0 0 14px;
}
.urlar-home .quote footer { color: var(--u-muted); font-size: 0.88rem; }
.urlar-home .quote footer span { display: block; font-family: var(--u-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.urlar-home .quote-side { display: grid; gap: 28px; }
.urlar-home .quote-side .quote p { font-family: var(--u-font); font-weight: 400; font-size: 1rem; line-height: 1.55; letter-spacing: 0; }
@media (max-width: 800px) {
	.urlar-home .quotes { grid-template-columns: 1fr; }
}

.urlar-home .origin { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; max-width: 820px; }
.urlar-home .origin .stretch { width: 120px; height: auto; color: var(--u-heading); }
.urlar-home .origin p { margin: 0 0 12px; font-size: 1.05rem; max-width: 52ch; }
.urlar-home .origin .paused { color: var(--u-muted); font-size: 0.95rem; }
@media (max-width: 600px) {
	.urlar-home .origin { grid-template-columns: 1fr; }
	.urlar-home .origin .stretch { width: 88px; }
}

.urlar-home .guides { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 28px; align-items: start; }
.urlar-home .feature { text-decoration: none; color: inherit; display: flex; flex-direction: column; min-width: 0; }
.urlar-home .feature img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--u-r-feature); background: var(--u-surface); }
.urlar-home .feature h3 { margin-top: 14px; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.urlar-home .feature p { color: var(--u-muted); margin: 8px 0 0; max-width: 52ch; }
.urlar-home .guide-list { display: flex; flex-direction: column; gap: 22px; }
.urlar-home .guide-list a { text-decoration: none; display: grid; gap: 10px; }
.urlar-home .guide-list img { width: 100%; height: 168px; object-fit: cover; border-radius: var(--u-r-lg); background: var(--u-surface); }
.urlar-home .guide-list a:hover h3 { color: var(--u-secondary); }
.urlar-home .guide-list span { font-family: var(--u-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--u-sun-deep); }
@media (max-width: 800px) {
	.urlar-home .guides { grid-template-columns: 1fr; }
}

.urlar-home .dock { display: none; }
@media (max-width: 640px) {
	.urlar-home .dock {
		display: flex;
		position: sticky;
		bottom: 0;
		z-index: 20;
		background: var(--u-surface);
		border-top: 1px solid var(--u-line);
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	}
	.urlar-home .dock .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.urlar-home .card:hover img { transform: none; }
	.urlar-home .btn { transition: none; }
}

.home .entry-header { display: none; }
.home .site-content { padding-top: 0; }
.home .entry-content { margin-top: 0; }
.home .inside-article { padding-top: 0; padding-bottom: 0; }
