/*
Theme Name: Interactive Buffoonery
Theme URI: https://interactivebuffoonery.com
Author: sarah & eD
Description: We make apps. Sometimes they even work.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: interactive-buffoonery
*/

/* --- NOISE TEXTURE OVERLAY --- */
body::after {
	content: '';
	position: fixed;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 256px 256px;
	pointer-events: none;
	z-index: 999;
}

/* --- HEADER / NAV --- */
.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 1.25rem 2.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;
	background: rgba(14, 10, 20, 0.88);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(71, 28, 140, 0.35);
}

.site-header .wp-block-site-title {
	margin: 0;
}

.site-header .wp-block-site-title a {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-weight: 400;
	font-size: 0.95rem;
	color: #f4ebd9;
	text-decoration: none;
	letter-spacing: -0.01em;
}

/* --- HERO --- */
.hero-section {
	min-height: 85vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 8rem 2rem 3rem;
	position: relative;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 25%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 500px;
	height: 500px;
	background: #471c8c;
	opacity: 0.04;
	border-radius: 50%;
	filter: blur(120px);
	pointer-events: none;
}

.hero-title {
	color: #f4ebd9;
}

.hero-title .sky-text {
	color: #01baef;
}

.hero-tagline {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: clamp(0.85rem, 1.8vw, 1.05rem);
	color: #b5ad9f;
	font-weight: 300;
	font-style: italic;
	letter-spacing: 0.01em;
	margin-top: 1.5rem;
}

/* --- SCROLL CUE --- */
.scroll-cue {
	position: absolute;
	bottom: 3rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	color: #b5ad9f;
	opacity: 0.4;
	animation: drift 2.5s ease-in-out infinite;
}

.scroll-cue span {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.6rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 400;
}

.scroll-cue .scroll-line {
	width: 1px;
	height: 36px;
	background: #471c8c;
	opacity: 0.5;
}

@keyframes drift {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(8px); }
}

/* --- DIVIDER --- */
.ib-divider {
	max-width: 1000px;
	margin: 0 auto;
	height: 1px;
	background: rgba(71, 28, 140, 0.35);
	border: none;
}

/* --- SECTION --- */
.ib-section {
	max-width: 1000px;
	margin: 0 auto;
	padding: 4rem 2rem;
}

.section-desc {
	color: #b5ad9f;
	max-width: 480px;
	font-size: 0.8rem;
	line-height: 1.6;
	font-style: italic;
	margin-top: 0.4rem;
	margin-bottom: 2.5rem;
}

/* --- APP CARDS --- */
.apps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
}

.app-card {
	background: #471c8c;
	border: 1px dashed rgba(71, 28, 140, 0.6);
	border-radius: 12px;
	padding: 2rem;
	transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

a.app-card {
	text-decoration: none;
	color: inherit;
}

.app-card:hover {
	background: #552ba0;
	border-color: #471c8c;
	transform: translateY(-3px);
}

.app-card .app-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 1.25rem;
	background: #C8B8DB;
	color: #0e0a14;
	overflow: hidden;
}

.app-card .app-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 12px;
}

.app-card .app-icon:has(img) {
	background: transparent;
	overflow: visible;
}

.app-card .app-icon img {
	filter: brightness(1.8) contrast(0.9);
}

.app-card h3 {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 1.05rem;
	font-weight: 500;
	margin-bottom: 0.4rem;
	letter-spacing: -0.01em;
	color: #f4ebd9;
}

.app-card p {
	color: #b5ad9f;
	font-size: 0.85rem;
	line-height: 1.55;
}

/* --- BADGES --- */
.badge {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	display: inline-block;
	margin: 0.4rem 0 0.8rem;
	padding: 0.2rem 0.7rem;
	border-radius: 6px;
	font-size: 0.6rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #0e0a14;
	border: none;
}

.badge-launched { background: #04E762; }
.badge-soon { background: #EC4E20; }
.badge-brewing { background: #BCAF9C; }

/* --- TYPE BADGES --- */
.card-badges {
	display: flex;
	gap: 0.4rem;
	align-items: center;
	flex-wrap: wrap;
	margin: 0.4rem 0 0.8rem;
}

.card-badges .badge {
	margin: 0;
}

.type-badge {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	display: inline-block;
	padding: 0.2rem 0.7rem;
	border-radius: 6px;
	font-size: 0.6rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid rgba(244, 235, 217, 0.25);
	color: #f4ebd9;
	background: transparent;
}

.type-plugin { border-color: #01baef; color: #01baef; }
.type-app { border-color: #f4ebd9; color: #f4ebd9; }
.type-selfhosted { border-color: #04E762; color: #04E762; }

/* --- VIEW ALL LINK --- */
.view-all {
	text-align: right;
	margin-top: 1.5rem;
}

.view-all a {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	color: #f4ebd9;
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	transition: opacity 0.2s;
}

.view-all a:hover { opacity: 0.7; }

/* --- PEOPLE CARDS --- */
.people-grid.wp-block-group {
	gap: 1.5rem;
}

.people-grid > .person-card.wp-block-group {
	background: transparent;
	border: 1px solid rgba(71, 28, 140, 0.4);
	border-radius: 12px;
	padding: 2rem;
	position: relative;
	min-height: 100%;
	margin-block-start: 0 !important;
	transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.people-grid > .person-card.wp-block-group:hover {
	border-color: rgba(71, 28, 140, 0.7);
	background: rgba(71, 28, 140, 0.15);
	transform: translateY(-3px);
}

p.person-avatar,
.person-avatar,
figure.person-avatar {
	position: absolute;
	top: 2rem;
	right: 2rem;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 1rem;
	font-weight: 600;
	background: #EC4E20;
	color: #0e0a14;
	margin: 0;
	padding: 0;
	line-height: 72px;
	text-align: center;
	overflow: hidden;
}

.person-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.person-card .person-name {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 1.3rem;
	font-weight: 500;
	margin-bottom: 0.15rem;
	letter-spacing: -0.01em;
	color: #f4ebd9;
}

.person-card .person-handle a {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	color: #01baef;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}

.person-card .person-handle a:hover {
	border-bottom-color: #01baef;
}

.person-card .person-bio {
	color: #b5ad9f;
	font-size: 0.88rem;
	line-height: 1.6;
	margin-top: 1rem;
}

/* --- FOOTER --- */
.site-footer {
	text-align: center;
	padding: 3rem 2rem;
	color: #b5ad9f;
	font-size: 0.8rem;
}

.footer-tagline {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-style: italic;
	font-size: 0.85rem;
	color: #f4ebd9;
	margin-bottom: 1.25rem;
	letter-spacing: 0;
}

/* --- FOOTER SUBSCRIBE (Jetpack Subscriptions block) --- */
.footer-subscribe {
	margin: 0 auto 2.5rem;
}

/* Jetpack only renders the form when connected to WordPress.com; hide the
   whole section (kicker + note) when the form is absent, e.g. local dev. */
.footer-subscribe:not(:has(form)) {
	display: none;
}

.footer-subscribe .fs-kicker {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #b5ad9f;
	margin-bottom: 0.9rem;
}

.footer-subscribe .fs-note {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.62rem;
	color: #b5ad9f;
	opacity: 0.6;
	margin-top: 0.7rem;
	font-style: italic;
}

.footer-subscribe .wp-block-jetpack-subscriptions form {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
}

.footer-subscribe .wp-block-jetpack-subscriptions input[type="email"] {
	flex: 1;
	max-width: 300px;
	background: rgba(244, 235, 217, 0.05);
	border: 1px solid rgba(71, 28, 140, 0.6);
	border-radius: 8px;
	padding: 0.65rem 0.9rem;
	color: #f4ebd9;
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.78rem;
}

.footer-subscribe .wp-block-jetpack-subscriptions input[type="email"]::placeholder {
	color: rgba(181, 173, 159, 0.6);
}

.footer-subscribe .wp-block-jetpack-subscriptions button,
.footer-subscribe .wp-block-jetpack-subscriptions .wp-block-button__link {
	background: #EC4E20;
	color: #0e0a14;
	border: none;
	border-radius: 8px;
	padding: 0.65rem 1.2rem;
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

/* --- NAV PILL OVERRIDES --- */
.awesome-nav-pill .awesome-nav-topbar {
	padding-bottom: 0.35rem;
	padding-top: 0.15rem;
}

.awesome-nav-pill .awesome-nav-site-title {
	line-height: 1.3;
	overflow: visible;
}

.awesome-nav-topbar .wp-block-site-title a {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 1.55rem;
	font-weight: 400;
}

.awesome-nav-site-title .buffoonery-blue {
	color: #01baef;
}

/* --- NAV APPS GRID --- */
.nav-apps-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.nav-app-item {
	display: grid;
	grid-template-columns: 5.5rem 1fr;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 0.75rem;
	border-radius: 8px;
	text-decoration: none;
	color: #f4ebd9;
	transition: background 0.2s;
}

.nav-app-item:hover {
	background: rgba(255, 255, 255, 0.08);
}

.nav-app-name {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.85rem;
	font-weight: 500;
}

.nav-apps-grid .badge {
	margin: 0;
	flex-shrink: 0;
	width: fit-content;
	text-align: center;
}

@media (max-width: 600px) {
	.nav-apps-grid {
		grid-template-columns: 1fr;
	}
}

/* --- STICKY NAV PILL --- */
.awesome-nav-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(14, 10, 20, 0.92);
	backdrop-filter: blur(16px);
}

.admin-bar .awesome-nav-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .awesome-nav-header {
		top: 46px;
	}
}

.site-footer a {
	color: #01baef;
}

/* --- APP PAGE HERO (two-column: icon | text) --- */
.app-hero-section.wp-block-columns {
	max-width: 800px;
	margin: 0 auto;
	padding: 7rem 2rem 2rem;
	gap: 2rem;
	align-items: start;
}

.app-hero-section .app-page-icon {
	flex-basis: 120px !important;
	flex-grow: 0;
}

.app-hero-section .app-icon-img img,
.app-icon-img.wp-block-image img {
	border-radius: 24px;
	border: none;
	box-shadow: none;
}

.app-hero-section .app-icon-img.wp-block-image {
	margin: 0;
}

.app-hero-section .app-hero-title {
	margin: 0;
	padding: 0;
	line-height: 1.15;
	padding-bottom: 1.25rem;
}

.app-hero-section .app-hero-tagline {
	margin: 0 0 0.75rem;
}

.app-hero-section .app-hero-badge {
	margin: 0;
}

/* --- APP DETAILS (native columns) --- */
.app-details-grid.wp-block-columns {
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem;
	background: #471c8c;
	border: 1px solid rgba(71, 28, 140, 0.6);
	border-radius: 12px;
}

.app-details-grid .app-detail-label {
	font-size: 0.6rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #b5ad9f;
	margin-bottom: 0.2rem;
}

.app-details-grid .app-detail-value {
	font-size: 0.95rem;
	color: #f4ebd9;
}

.app-details-grid .app-detail-value a {
	color: #01baef;
}

.app-back-nav {
	padding: 2rem;
}

.app-back-nav a {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.75rem;
	color: #b5ad9f;
	text-decoration: none;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transition: color 0.2s;
}

.app-back-nav a:hover {
	color: #f4ebd9;
}

@media (max-width: 600px) {
	.app-hero-section.wp-block-columns {
		padding: 5rem 1.25rem 2rem;
		gap: 1.25rem;
	}
	.app-hero-section .app-page-icon {
		flex-basis: 80px !important;
	}
	.app-hero-section .app-icon-img img,
	.app-icon-img.wp-block-image img {
		border-radius: 18px;
	}
	.app-details-grid.wp-block-columns {
		flex-direction: column;
	}
}

/* --- APP SINGLE PAGE --- */
.app-hero {
	max-width: 800px;
	margin: 0 auto;
	padding: 7rem 2rem 0;
	box-sizing: border-box;
}

.app-back-link {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.75rem;
	color: #b5ad9f;
	text-decoration: none;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transition: color 0.2s;
}

.app-back-link:hover {
	color: #f4ebd9;
}

h1.app-hero-title,
.wp-block-post-title.app-hero-title {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.03em;
	color: #f4ebd9;
	max-width: 800px;
	margin: 0.75rem auto 0;
	padding: 0 2rem;
}

.app-hero-meta {
	max-width: 800px;
	margin: 1.25rem auto 2.5rem;
	padding: 0 2rem;
	box-sizing: border-box;
}

.app-hero-meta .badge {
	margin-top: 1rem;
}

.app-hero-tagline {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: clamp(0.85rem, 1.8vw, 1.05rem);
	color: #b5ad9f;
	font-weight: 300;
	font-style: italic;
	letter-spacing: 0.01em;
	margin-top: 0.75rem;
	margin-bottom: 2rem;
}

.wp-block-post-featured-image.app-screenshot {
	max-width: 800px;
	margin: 2.5rem auto;
	padding: 0 2rem;
}

.wp-block-post-featured-image.app-screenshot:empty {
	display: none;
}

.wp-block-post-featured-image.app-screenshot img {
	border-radius: 12px;
	border: 1px solid rgba(71, 28, 140, 0.35);
}

.app-content {
	padding-top: 0;
}

.app-content:empty,
.app-content:has(> :empty:only-child) {
	display: none;
}

.app-content p {
	color: #b5ad9f;
	font-size: 0.95rem;
	line-height: 1.7;
}

/* --- APP DETAILS CARD --- */
.app-details {
	background: #471c8c;
	border: 1px solid rgba(71, 28, 140, 0.6);
	border-radius: 12px;
	padding: 2rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1.5rem;
}

.app-detail-label {
	display: block;
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.6rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #b5ad9f;
	margin-bottom: 0.35rem;
}

.app-detail-value {
	display: block;
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.95rem;
	font-weight: 400;
	color: #f4ebd9;
}


/* --- APP ARCHIVE --- */
.app-archive-hero {
	max-width: 1000px;
	margin: 0 auto;
	padding: 7rem 2rem 2rem;
}

.app-archive-title {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 500;
	color: #f4ebd9;
	margin-bottom: 0.5rem;
}

.app-archive-desc {
	color: #b5ad9f;
	font-size: 0.95rem;
	line-height: 1.6;
}

.wp-block-post-template.apps-grid > li {
	background: #471c8c;
	border: 1px dashed rgba(71, 28, 140, 0.6);
	border-radius: 12px;
	padding: 2rem;
	transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.wp-block-post-template.apps-grid > li:hover {
	background: #552ba0;
	border-color: #471c8c;
	transform: translateY(-3px);
}

.wp-block-post-template.apps-grid h3 {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 1.05rem;
	font-weight: 500;
	margin-bottom: 0.4rem;
	letter-spacing: -0.01em;
}

.wp-block-post-template.apps-grid h3 a {
	color: #f4ebd9;
	text-decoration: none;
}

.wp-block-post-template.apps-grid .wp-block-post-excerpt {
	color: #b5ad9f;
	font-size: 0.85rem;
	line-height: 1.55;
}

/* --- AWESOMUX PAGE (Catppuccin Mocha accents on site background) --- */
.awesomux-page {
	color: #cdd6f4;
	font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
	line-height: 1.55;
	padding: 4rem 2rem 4.5rem;
}

.awesomux-page .amx-hero {
	text-align: center;
	padding: 4rem 0 2rem;
}

.awesomux-page .amx-logo {
	margin: 0 auto 2rem;
}

.awesomux-page .amx-kicker {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: #fab387;
	margin-bottom: 1rem;
}

.awesomux-page h1.amx-wordmark {
	font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	font-size: clamp(2.6rem, 6vw, 3.6rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: #cdd6f4;
	margin: 0 0 1rem;
}

.awesomux-page .amx-accent { color: #fab387; }

.awesomux-page .amx-tagline {
	font-size: 1.15rem;
	color: #a6adc8;
	max-width: 560px;
	margin: 0 auto 2.2rem;
}

.awesomux-page .amx-cta-row {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
}

.awesomux-page .amx-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	border-radius: 8px;
	padding: 0.7rem 1.35rem;
	text-decoration: none;
	transition: transform 0.12s ease-out, background 0.12s ease-out;
}

.awesomux-page .amx-btn-primary { background: #fab387; color: #12121c; }
.awesomux-page .amx-btn-primary:hover { transform: translateY(-1px); color: #12121c; }
.awesomux-page .amx-btn-ghost { color: #cdd6f4; border: 1px solid rgba(205, 214, 244, 0.14); }
.awesomux-page .amx-btn-ghost:hover { background: rgba(205, 214, 244, 0.06); color: #cdd6f4; }

.awesomux-page .amx-meta {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 11px;
	color: #7f849c;
	margin-top: 1.6rem;
	letter-spacing: 0.04em;
}

.awesomux-page .amx-shot { padding: 1rem 0 2.5rem; }

.awesomux-page .amx-shot img {
	border-radius: 10px;
	border: 1px solid rgba(205, 214, 244, 0.14);
	box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}

.awesomux-page .amx-about {
	text-align: center;
	padding: 2rem 0 1rem;
	border-top: 1px solid rgba(205, 214, 244, 0.08);
}

.awesomux-page .amx-about-desc {
	color: #a6adc8;
	margin-bottom: 1.2rem;
}

.awesomux-page .amx-about-desc code {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.85em;
	background: #313244;
	border: 1px solid rgba(205, 214, 244, 0.08);
	border-radius: 4px;
	padding: 0.08rem 0.35rem;
	color: #cdd6f4;
}

.awesomux-page .amx-footnote {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 11px;
	color: #7f849c;
	letter-spacing: 0.04em;
}

.awesomux-page .amx-footnote a {
	color: #b4befe;
	text-decoration: none;
}

/* --- CONTACT PAGE --- */
.contact-hero {
	min-height: auto;
	padding: 8rem 2rem 0;
}

.contact-intro {
	color: #b5ad9f;
	font-size: 0.95rem;
	line-height: 1.65;
	font-style: italic;
	margin-bottom: 2.5rem;
}

.contact-intro a {
	color: #01baef;
	text-decoration: none;
	border-bottom: 1px solid rgba(1, 186, 239, 0.35);
}

.wp-block-jetpack-contact-form .jetpack-field label,
.wp-block-jetpack-contact-form label {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.62rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #b5ad9f;
	margin-bottom: 0.5rem;
}

.wp-block-jetpack-contact-form input[type="text"],
.wp-block-jetpack-contact-form input[type="email"],
.wp-block-jetpack-contact-form textarea {
	width: 100%;
	background: rgba(244, 235, 217, 0.04);
	border: 1px solid rgba(71, 28, 140, 0.6);
	border-radius: 8px;
	padding: 0.8rem 1rem;
	color: #f4ebd9;
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.85rem;
	transition: border-color 0.2s;
}

.wp-block-jetpack-contact-form input[type="text"]:focus,
.wp-block-jetpack-contact-form input[type="email"]:focus,
.wp-block-jetpack-contact-form textarea:focus {
	outline: none;
	border-color: #01baef;
}

.wp-block-jetpack-contact-form textarea {
	min-height: 160px;
	resize: vertical;
}

.wp-block-jetpack-contact-form .wp-block-jetpack-button button,
.wp-block-jetpack-contact-form .wp-block-jetpack-button .wp-block-button__link,
.wp-block-jetpack-contact-form a[role="button"],
.wp-block-jetpack-contact-form button[type="submit"] {
	background: #EC4E20;
	color: #0e0a14;
	border: none;
	border-radius: 8px;
	padding: 0.8rem 1.8rem;
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.15s;
}

.wp-block-jetpack-contact-form .wp-block-jetpack-button button:hover,
.wp-block-jetpack-contact-form .wp-block-jetpack-button .wp-block-button__link:hover,
.wp-block-jetpack-contact-form a[role="button"]:hover,
.wp-block-jetpack-contact-form button[type="submit"]:hover {
	transform: translateY(-2px);
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
	.site-header { padding: 0.75rem 1.25rem; }
	.hero-section { padding: 5rem 1.5rem 3rem; }
	.ib-section { padding: 3rem 1.25rem; }

	.app-hero { padding: 5rem 1.25rem 0; }
	h1.app-hero-title,
	.wp-block-post-title.app-hero-title { padding: 0 1.25rem; }
	.app-hero-meta { padding: 0 1.25rem; }
	.app-details { grid-template-columns: 1fr; }
	.app-archive-hero { padding: 5rem 1.25rem 1.5rem; }
	.wp-block-post-template.apps-grid { grid-template-columns: 1fr; }
}
