/* AlgoRank — main design system (loaded after style.css) */

/* ===========================================================================
   Header
=========================================================================== */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--header-h);
	display: flex;
	align-items: center;
	transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	width: min(var(--shell), 100% - 3rem);
	margin-inline: auto;
}
.site-branding { display: flex; align-items: center; flex: none; }
.custom-logo { max-height: 40px; width: auto; }
.wordmark {
	font-family: var(--font-display);
	font-size: 1.55rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--paper);
	display: inline-flex;
	align-items: baseline;
	gap: 0.28rem;
}
.wordmark .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); display: inline-block; }
.main-nav ul {
	display: flex;
	gap: 2.2rem;
	list-style: none;
	margin: 0; padding: 0;
}
.main-nav a {
	font-size: 0.95rem;
	font-weight: 500;
	color: rgba(250, 248, 244, 0.82);
	padding: 6px 0;
	background-image: linear-gradient(var(--accent-bright), var(--accent-bright));
	background-size: 0% 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size 0.3s var(--ease), color 0.25s var(--ease);
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: #fff; background-size: 100% 1px; }
.header-cta { flex: none; }
.header-cta .btn { padding: 0.72rem 1.25rem; font-size: 0.9rem; }

/* Solid state: after scroll, and always on non-front pages / light heroes */
.site-header.is-scrolled,
body:not(.home) .site-header,
.site-header.is-open {
	background: rgba(10, 20, 40, 0.96);
	backdrop-filter: blur(10px);
	box-shadow: 0 1px 0 var(--hair-light);
	height: calc(var(--header-h) - 10px);
}

/* Mobile menu toggle */
.menu-toggle {
	display: none;
	background: none;
	border: 1px solid var(--hair-light);
	border-radius: var(--radius);
	width: 44px; height: 44px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--paper); transition: transform 0.3s var(--ease), opacity 0.2s; }
.site-header.is-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
	.menu-toggle { display: inline-flex; }
	.header-cta { display: none; }
	.main-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--ink);
		border-top: 1px solid var(--hair-light);
		padding: 0 1.25rem;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
	}
	.site-header.is-open .main-nav { max-height: 420px; padding: 1rem 1.25rem 1.4rem; }
	.main-nav ul { flex-direction: column; gap: 0.4rem; }
	.main-nav a { display: block; padding: 0.65rem 0; font-size: 1.05rem; }
}

/* Page top offset (header is fixed; hero sections carry their own padding) */
.page-hero {
	background: var(--ink);
	color: #E9E6DE;
	padding: calc(var(--header-h) + clamp(3.5rem, 7vw, 6rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.page-hero h1 { color: var(--paper); max-width: 16ch; }
.page-hero .lede { color: var(--muted-on-dark); }

/* ===========================================================================
   Front page — Hero
=========================================================================== */
.hero {
	position: relative;
	background: var(--ink);
	color: #E9E6DE;
	padding: calc(var(--header-h) + clamp(4rem, 8vw, 7.5rem)) 0 clamp(4.5rem, 8vw, 7rem);
	overflow: hidden;
}
.hero::after {
	content: '';
	position: absolute;
	inset: auto -10% -55% 35%;
	height: 130%;
	background: radial-gradient(closest-side, rgba(0, 182, 122, 0.16), transparent 70%);
	pointer-events: none;
}
.hero h1 {
	color: var(--paper);
	font-size: clamp(3rem, 7vw, 6.5rem);
	max-width: 13ch;
	margin-bottom: 0.35em;
}
.hero h1 em { font-style: italic; color: var(--accent-bright); }
.hero .lede { color: var(--muted-on-dark); max-width: 56ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; position: relative; z-index: 1; }
.hero-meta {
	margin-top: clamp(3rem, 6vw, 5rem);
	padding-top: 1.6rem;
	border-top: 1px solid var(--hair-light);
	display: flex; flex-wrap: wrap; gap: 0.6rem 2.4rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted-on-dark);
	position: relative; z-index: 1;
}

/* ===========================================================================
   Proof strip
=========================================================================== */
.proof { background: var(--ink); padding: 0 0 clamp(4rem, 7vw, 6rem); }
.proof-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	border-top: 1px solid var(--hair-light);
	border-left: 1px solid var(--hair-light);
}
.proof-item {
	padding: 1.9rem 1.6rem 2.1rem;
	border-right: 1px solid var(--hair-light);
	border-bottom: 1px solid var(--hair-light);
}
.proof-item .num {
	font-family: var(--font-display);
	font-size: clamp(2rem, 3.4vw, 3rem);
	font-weight: 500;
	color: var(--paper);
	line-height: 1;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}
.proof-item .num .stars { color: var(--gold); font-size: 0.55em; letter-spacing: 0.1em; }
.proof-item .lbl {
	margin-top: 0.7rem;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted-on-dark);
	line-height: 1.6;
}
@media (max-width: 1100px) { .proof-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===========================================================================
   Services (numbered rows)
=========================================================================== */
.service-rows { border-top: 1px solid var(--hair); }
.service-row {
	display: grid;
	grid-template-columns: 110px 1fr 1.2fr 60px;
	gap: 2rem;
	align-items: baseline;
	padding: 2.6rem 0.5rem;
	border-bottom: 1px solid var(--hair);
	transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
	color: var(--text);
}
.service-row:hover { background: rgba(10, 20, 40, 0.025); padding-left: 1rem; color: var(--text); }
.service-row .idx {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	color: var(--accent-ink);
}
.service-row h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.service-row p { margin: 0; color: var(--muted); max-width: 52ch; }
.service-row .row-arrow {
	font-size: 1.5rem;
	color: var(--accent-ink);
	transition: transform 0.3s var(--ease);
	justify-self: end;
}
.service-row:hover .row-arrow { transform: translate(4px, -4px); }
@media (max-width: 860px) {
	.service-row { grid-template-columns: 52px 1fr 40px; }
	.service-row p { grid-column: 2 / 3; }
	.service-row .row-arrow { grid-row: 1; grid-column: 3; }
}

/* ===========================================================================
   The System (dark) + ranking curve SVG
=========================================================================== */
.system-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: center;
}
.system-curve {
	border: 1px solid var(--hair-light);
	border-radius: var(--radius);
	padding: clamp(1.4rem, 3vw, 2.4rem);
	background: var(--ink-2);
}
.system-curve svg { width: 100%; height: auto; }
.curve-line {
	fill: none;
	stroke: var(--accent-bright);
	stroke-width: 2.5;
	stroke-linecap: round;
}
.curve-area { fill: rgba(0, 182, 122, 0.10); stroke: none; }
.curve-grid { stroke: var(--hair-light); stroke-width: 1; }
.curve-dot { fill: var(--ink); stroke: var(--accent-bright); stroke-width: 2.5; }
.curve-tag {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	fill: var(--muted-on-dark);
	text-transform: uppercase;
}
.js .curve-line { transition: stroke-dashoffset 2.2s var(--ease) 0.2s; }
.system-list { list-style: none; margin: 2.2rem 0 0; padding: 0; }
.system-list li {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 1.1rem;
	padding: 1.25rem 0;
	border-top: 1px solid var(--hair-light);
}
.system-list .n {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--accent-bright);
	padding-top: 0.35rem;
}
.system-list h3 { color: var(--paper); font-size: 1.3rem; margin-bottom: 0.25rem; }
.system-list p { margin: 0; color: var(--muted-on-dark); font-size: 0.98rem; }
@media (max-width: 900px) { .system-grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   Marquee
=========================================================================== */
.marquee-band {
	background: var(--accent);
	color: #04241A;
	overflow: hidden;
	padding: 1.05rem 0;
}
.marquee {
	display: flex;
	width: max-content;
	animation: marquee 46s linear infinite;
}
.marquee-band:hover .marquee { animation-play-state: paused; }
.marquee-group {
	display: flex;
	align-items: center;
	gap: 2.6rem;
	padding-right: 2.6rem;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 500;
	white-space: nowrap;
}
.marquee-group .sep { font-size: 0.7rem; color: rgba(4, 36, 26, 0.55); }
@keyframes marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.marquee { animation: none; flex-wrap: wrap; width: auto; }
}

/* ===========================================================================
   Selected Work
=========================================================================== */
.work-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid var(--hair);
	border-left: 1px solid var(--hair);
}
.work-card {
	padding: clamp(1.8rem, 3.4vw, 3rem);
	border-right: 1px solid var(--hair);
	border-bottom: 1px solid var(--hair);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	color: var(--text);
	transition: background 0.3s var(--ease);
}
.work-card:hover { background: #fff; color: var(--text); }
.work-card .tag {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent-ink);
}
.work-card h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
.work-card p { margin: 0; color: var(--muted); flex: 1; }
.work-card .outcome {
	border-top: 1px solid var(--hair);
	padding-top: 1rem;
	font-size: 0.95rem;
	color: var(--ink);
}
.work-card .outcome strong { color: var(--accent-ink); font-weight: 600; }
@media (max-width: 820px) { .work-grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   Process
=========================================================================== */
.process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border-top: 1px solid var(--hair);
	border-left: 1px solid var(--hair);
}
.process-step {
	padding: 2.2rem 1.8rem 2.6rem;
	border-right: 1px solid var(--hair);
	border-bottom: 1px solid var(--hair);
}
.process-step .step-n {
	font-family: var(--font-display);
	font-size: 3rem;
	font-weight: 400;
	color: transparent;
	-webkit-text-stroke: 1px var(--hair-strong);
	line-height: 1;
}
.process-step h3 { margin-top: 1.2rem; font-size: 1.35rem; }
.process-step p { margin: 0; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 1020px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   Testimonials
=========================================================================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testimonial {
	border: 1px solid var(--hair);
	border-radius: var(--radius);
	padding: 2rem;
	background: var(--paper);
	display: flex; flex-direction: column; gap: 1.2rem;
}
.testimonial blockquote {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.22rem;
	line-height: 1.45;
	color: var(--ink);
	flex: 1;
}
.testimonial .stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.85rem; }
.testimonial figcaption {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}
@media (max-width: 920px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   Pricing approach band
=========================================================================== */
.pricing-band .shell {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
.pricing-points { list-style: none; margin: 0; padding: 0; }
.pricing-points li {
	padding: 1.05rem 0 1.05rem 2rem;
	border-top: 1px solid var(--hair);
	position: relative;
	font-weight: 500;
	color: var(--ink);
}
.pricing-points li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: var(--accent-ink);
}
@media (max-width: 860px) { .pricing-band .shell { grid-template-columns: 1fr; } }

/* ===========================================================================
   FAQ accordion
=========================================================================== */
.faq-list { border-top: 1px solid var(--hair); max-width: 920px; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-q {
	width: 100%;
	background: none;
	border: 0;
	padding: 1.6rem 2.6rem 1.6rem 0;
	text-align: left;
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 1.8vw, 1.4rem);
	font-weight: 500;
	color: var(--ink);
	cursor: pointer;
	position: relative;
	line-height: 1.3;
}
.faq-q::after {
	content: '+';
	position: absolute;
	right: 0.2rem; top: 50%;
	transform: translateY(-50%);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 1.5rem;
	color: var(--accent-ink);
	transition: transform 0.3s var(--ease);
}
.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a__inner { padding: 0 2.6rem 1.7rem 0; color: var(--muted); max-width: 68ch; }
.faq-a__inner p:last-child { margin-bottom: 0; }
.no-js .faq-a, .faq-item.no-anim .faq-a { max-height: none; }

/* ===========================================================================
   Founder note
=========================================================================== */
.founder-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}
.founder-card {
	border: 1px solid var(--hair-light);
	border-radius: var(--radius);
	padding: 2.2rem;
	background: var(--ink-2);
}
.founder-card .mono-lbl {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted-on-dark);
}
.founder-card .fname {
	font-family: var(--font-display);
	font-size: 2rem;
	color: var(--paper);
	margin: 0.6rem 0 0.2rem;
}
.founder-note-text {
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 2.3vw, 1.8rem);
	line-height: 1.5;
	font-weight: 400;
	color: var(--paper);
}
.founder-note-text p { margin-bottom: 1em; }
.founder-facts { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.founder-facts li {
	display: flex; justify-content: space-between; gap: 1rem;
	padding: 0.85rem 0;
	border-top: 1px solid var(--hair-light);
	font-size: 0.94rem;
	color: var(--muted-on-dark);
}
.founder-facts li strong { color: var(--paper); font-weight: 600; }
@media (max-width: 900px) { .founder-grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   Final CTA
=========================================================================== */
.final-cta { text-align: left; }
.final-cta h2 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); max-width: 15ch; }
.final-cta .lede { margin-bottom: 2.4rem; }

/* ===========================================================================
   Footer
=========================================================================== */
.site-footer {
	background: var(--ink);
	color: var(--muted-on-dark);
	padding: clamp(4rem, 7vw, 6rem) 0 0;
	border-top: 1px solid var(--hair-light);
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: clamp(2rem, 4vw, 4rem);
	padding-bottom: 3.5rem;
}
.site-footer h4 {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--paper);
	margin-bottom: 1.2rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--muted-on-dark); }
.site-footer a:hover { color: var(--accent-bright); }
.footer-brand .wordmark { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; max-width: 34ch; }
.footer-contact li { display: flex; gap: 0.6rem; }
.footer-bottom {
	border-top: 1px solid var(--hair-light);
	padding: 1.5rem 0 1.8rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 2rem;
	justify-content: space-between;
	font-size: 0.82rem;
}
.footer-bottom nav ul { display: flex; gap: 1.6rem; }
.footer-bottom li { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   Inner pages / prose
=========================================================================== */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.prose h3 { margin-top: 1.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); }
.prose blockquote {
	margin: 1.6em 0;
	padding: 0.4em 0 0.4em 1.4em;
	border-left: 2px solid var(--accent);
	font-family: var(--font-display);
	font-size: 1.3rem;
	color: var(--ink);
}
.entry-meta {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--muted);
	display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem;
	margin-bottom: 1.6rem;
}
.section--dark .entry-meta { color: var(--muted-on-dark); }

/* Blog cards */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.4rem;
}
.post-card {
	border: 1px solid var(--hair);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--paper);
	display: flex; flex-direction: column;
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.post-card:hover { border-color: var(--hair-strong); transform: translateY(-3px); }
.post-card__media { aspect-ratio: 16 / 10; background: var(--cream); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.post-card__body h3 { margin: 0; font-size: 1.3rem; }
.post-card__body h3 a { color: var(--ink); }
.post-card__body h3 a:hover { color: var(--accent-ink); }
.post-card__body p { margin: 0; color: var(--muted); font-size: 0.95rem; flex: 1; }
.post-card .entry-meta { margin: 0; }
@media (max-width: 1020px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pagination .page-numbers {
	padding: 0.55rem 1rem;
	border: 1px solid var(--hair);
	border-radius: var(--radius);
	color: var(--ink);
	font-size: 0.92rem;
}
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.post-nav {
	display: flex; justify-content: space-between; gap: 2rem;
	border-top: 1px solid var(--hair);
	margin-top: 3.5rem; padding-top: 2rem;
}
.post-nav a { font-weight: 600; color: var(--ink); max-width: 45%; }
.post-nav a:hover { color: var(--accent-ink); }

/* ===========================================================================
   Contact form
=========================================================================== */
.contact-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}
.contact-form {
	border: 1px solid var(--hair);
	border-radius: var(--radius);
	padding: clamp(1.6rem, 3vw, 2.6rem);
	background: #fff;
}
.field { margin-bottom: 1.3rem; }
.field label {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.5rem;
}
.field input, .field select, .field textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--hair-strong);
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--text);
	background: var(--paper);
	transition: border-color 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(14, 159, 110, 0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }
.form-status {
	border-radius: var(--radius);
	padding: 1.1rem 1.3rem;
	margin-bottom: 1.6rem;
	font-size: 0.97rem;
}
.form-status--success { background: rgba(14, 159, 110, 0.1); border: 1px solid var(--accent); color: var(--accent-ink); }
.form-status--error { background: rgba(190, 40, 40, 0.08); border: 1px solid #BE2828; color: #8F1D1D; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-aside-item { padding: 1.4rem 0; border-top: 1px solid var(--hair); }
.contact-aside-item:first-child { border-top: 0; padding-top: 0; }
.contact-aside-item .mono-lbl {
	font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em;
	text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.45rem;
}
.contact-aside-item a, .contact-aside-item span.val { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* About facts / generic band lists */
.fact-rows { border-top: 1px solid var(--hair); }
.fact-row {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 1.5rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--hair);
}
.fact-row .k {
	font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em;
	text-transform: uppercase; color: var(--accent-ink); padding-top: 0.3rem;
}
.fact-row .v { font-size: 1.05rem; }
@media (max-width: 700px) { .fact-row { grid-template-columns: 1fr; gap: 0.4rem; } }

/* 404 */
.error-404 h1 { font-size: clamp(4rem, 12vw, 9rem); }

/* Widget / sidebar basics */
.widget { margin-bottom: 2.4rem; }
.widget-title {
	font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
	text-transform: uppercase; color: var(--ink); margin-bottom: 1rem;
}
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 1020px) { .blog-layout { grid-template-columns: 1fr; } }
