/*
Theme Name: SimpleBlack
Theme URI: https://example.com/simpleblack
Author: SimpleBlack
Author URI: https://example.com
Description: A dark, minimal, premium portfolio-style WordPress theme with responsive landing page sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simpleblack
Tags: custom-logo, featured-images, one-column, two-columns, translation-ready, portfolio
*/

:root {
	--sb-black: #030303;
	--sb-ink: #0a0a0b;
	--sb-panel: #101012;
	--sb-panel-soft: #151518;
	--sb-white: #ffffff;
	--sb-muted: #a4a4ad;
	--sb-muted-strong: #d8d8df;
	--sb-line: rgba(255, 255, 255, 0.11);
	--sb-line-strong: rgba(255, 255, 255, 0.18);
	--sb-accent: #f5f5f5;
	--sb-radius: 24px;
	--sb-radius-sm: 14px;
	--sb-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
	--sb-container: 1180px;
	--sb-header-height: 82px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.08), transparent 30rem),
		radial-gradient(circle at 0% 42%, rgba(255, 255, 255, 0.045), transparent 28rem),
		var(--sb-black);
	color: var(--sb-white);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

p {
	margin: 0 0 1.25rem;
	color: var(--sb-muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--sb-white);
	font-weight: 750;
	letter-spacing: 0;
	line-height: 1.05;
}

button,
input,
textarea,
select {
	font: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site {
	min-height: 100vh;
	overflow: hidden;
}

.site-container {
	width: min(100% - 40px, var(--sb-container));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--sb-header-height);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(3, 3, 3, 0.64);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--sb-header-height);
}

.site-branding {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	font-weight: 750;
	letter-spacing: 0;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	max-height: 40px;
	width: auto;
}

.site-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 1rem;
	white-space: nowrap;
}

.site-title::before {
	content: "";
	width: 32px;
	height: 32px;
	border: 1px solid var(--sb-line-strong);
	border-radius: 50%;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 52%),
		var(--sb-panel);
	box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.08);
}

.primary-navigation {
	display: flex;
	align-items: center;
	gap: 24px;
}

.primary-menu,
.primary-menu ul {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu a {
	color: var(--sb-muted);
	font-size: 0.94rem;
	font-weight: 500;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	color: var(--sb-white);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--sb-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--sb-white);
	cursor: pointer;
}

.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle__bar {
	position: relative;
}

.menu-toggle__bar::before,
.menu-toggle__bar::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle__bar::before {
	top: -6px;
}

.menu-toggle__bar::after {
	top: 6px;
}

.menu-open .menu-toggle__bar {
	background: transparent;
}

.menu-open .menu-toggle__bar::before {
	transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle__bar::after {
	transform: translateY(-6px) rotate(-45deg);
}

.button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.85rem 1.25rem;
	border: 1px solid var(--sb-line-strong);
	border-radius: 999px;
	background: var(--sb-white);
	color: var(--sb-black);
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 16px 42px rgba(255, 255, 255, 0.08);
	cursor: pointer;
}

.button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 54px rgba(255, 255, 255, 0.12);
}

.button--ghost {
	background: rgba(255, 255, 255, 0.045);
	color: var(--sb-white);
	box-shadow: none;
}

.button--ghost:hover {
	border-color: rgba(255, 255, 255, 0.32);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: none;
}

.button--small {
	min-height: 42px;
	padding: 0.72rem 1rem;
	font-size: 0.92rem;
}

.hero {
	position: relative;
	padding: clamp(78px, 9vw, 128px) 0 clamp(70px, 8vw, 112px);
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	align-items: center;
	gap: clamp(36px, 6vw, 86px);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	color: var(--sb-muted-strong);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sb-white);
	box-shadow: 0 0 24px rgba(255, 255, 255, 0.75);
}

.hero h1 {
	max-width: 780px;
	font-size: clamp(3rem, 8vw, 7.2rem);
}

.hero__lead {
	max-width: 620px;
	margin-top: 26px;
	font-size: clamp(1.03rem, 1.4vw, 1.18rem);
	color: var(--sb-muted-strong);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.hero-visual {
	position: relative;
	min-height: 560px;
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	background:
		linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.025) 42%, rgba(255, 255, 255, 0.06)),
		var(--sb-ink);
	box-shadow: var(--sb-shadow);
	overflow: hidden;
}

.hero-visual::before {
	content: "";
	position: absolute;
	inset: 11%;
	border-radius: 50%;
	background:
		radial-gradient(circle at 42% 35%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.26) 12%, rgba(255, 255, 255, 0.04) 40%, transparent 68%);
	filter: blur(2px);
	opacity: 0.8;
}

.hero-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 46px 46px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

.hero-visual__panel {
	position: absolute;
	right: 26px;
	bottom: 26px;
	left: 26px;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.hero-visual__tile {
	min-height: 96px;
	border: 1px solid var(--sb-line);
	border-radius: 18px;
	background: rgba(0, 0, 0, 0.42);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.section {
	padding: clamp(66px, 8vw, 108px) 0;
}

.section__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 36px;
}

.section__header h2 {
	max-width: 720px;
	font-size: clamp(2.1rem, 4.2vw, 4.3rem);
}

.section__header p {
	max-width: 420px;
	margin-bottom: 0;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.service-card,
.project-card {
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
		var(--sb-panel);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover,
.project-card:hover {
	transform: translateY(-6px);
	border-color: rgba(255, 255, 255, 0.24);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
		var(--sb-panel-soft);
}

.service-card {
	min-height: 310px;
	padding: 30px;
}

.service-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 70px;
	border: 1px solid var(--sb-line);
	border-radius: 50%;
	color: var(--sb-muted-strong);
	font-size: 0.85rem;
	font-weight: 800;
}

.service-card h3,
.project-card h3 {
	margin-bottom: 13px;
	font-size: 1.45rem;
	line-height: 1.2;
}

.service-card p,
.project-card p {
	margin-bottom: 0;
}

.work-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.project-card {
	overflow: hidden;
}

.project-card__image {
	position: relative;
	aspect-ratio: 16 / 10;
	border-bottom: 1px solid var(--sb-line);
	background:
		radial-gradient(circle at 68% 28%, rgba(255, 255, 255, 0.28), transparent 18rem),
		linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
		#070708;
	overflow: hidden;
}

.project-card__image::before,
.project-card__image::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 22px;
	background: rgba(0, 0, 0, 0.2);
}

.project-card__image::before {
	top: 18%;
	left: 9%;
	width: 58%;
	height: 52%;
}

.project-card__image::after {
	right: 10%;
	bottom: 14%;
	width: 38%;
	height: 34%;
}

.project-card__body {
	padding: 28px;
}

.contact-cta {
	padding: clamp(72px, 9vw, 120px) 0;
}

.contact-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	padding: clamp(34px, 5vw, 58px);
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	background:
		radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.16), transparent 24rem),
		linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
		var(--sb-panel);
	box-shadow: var(--sb-shadow);
}

.contact-cta h2 {
	max-width: 800px;
	font-size: clamp(2.25rem, 5vw, 5rem);
}

.contact-cta p {
	max-width: 560px;
	margin: 18px 0 0;
	color: var(--sb-muted-strong);
}

.site-main {
	padding-top: 36px;
}

.content-area {
	width: min(100% - 40px, 820px);
	margin: 0 auto;
	padding: clamp(64px, 8vw, 110px) 0;
}

.entry-header {
	margin-bottom: 32px;
}

.entry-title {
	font-size: clamp(2.4rem, 6vw, 5rem);
}

.entry-content > * {
	max-width: 820px;
}

.entry-content a {
	border-bottom: 1px solid var(--sb-line-strong);
	color: var(--sb-white);
}

.entry-content a:hover {
	border-color: var(--sb-white);
}

.entry-content img,
.entry-content figure {
	border-radius: var(--sb-radius-sm);
}

.post-card {
	margin-bottom: 24px;
	padding: 28px;
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	background: var(--sb-panel);
}

.post-card__meta {
	margin-bottom: 10px;
	color: var(--sb-muted);
	font-size: 0.9rem;
}

.post-card__title {
	margin-bottom: 12px;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.site-footer {
	border-top: 1px solid var(--sb-line);
	padding: 28px 0;
	color: var(--sb-muted);
}

.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.site-footer a:hover {
	color: var(--sb-white);
}

@media (max-width: 900px) {
	:root {
		--sb-header-height: 74px;
	}

	.site-container {
		width: min(100% - 28px, var(--sb-container));
	}

	.primary-navigation {
		position: fixed;
		top: var(--sb-header-height);
		right: 14px;
		left: 14px;
		display: block;
		padding: 18px;
		border: 1px solid var(--sb-line);
		border-radius: 20px;
		background: rgba(10, 10, 11, 0.96);
		box-shadow: var(--sb-shadow);
		transform: translateY(-12px);
		opacity: 0;
		pointer-events: none;
		transition: transform 180ms ease, opacity 180ms ease;
	}

	.menu-open .primary-navigation {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.primary-menu,
	.primary-menu ul {
		display: grid;
		gap: 8px;
	}

	.primary-menu a {
		display: block;
		padding: 12px 10px;
		color: var(--sb-white);
	}

	.menu-toggle {
		display: inline-flex;
	}

	.header-actions .button {
		display: none;
	}

	.hero__grid,
	.section__header,
	.contact-cta__inner {
		grid-template-columns: 1fr;
	}

	.section__header {
		display: grid;
		align-items: start;
	}

	.hero-visual {
		min-height: 420px;
	}

	.services-grid,
	.work-grid {
		grid-template-columns: 1fr;
	}

	.service-card {
		min-height: auto;
	}

	.service-card__number {
		margin-bottom: 46px;
	}

	.contact-cta__inner {
		text-align: left;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 15px;
	}

	.hero {
		padding-top: 54px;
	}

	.hero h1 {
		font-size: clamp(2.75rem, 17vw, 4.6rem);
	}

	.hero__actions {
		display: grid;
	}

	.button {
		width: 100%;
	}

	.hero-visual {
		min-height: 330px;
	}

	.hero-visual__panel {
		grid-template-columns: 1fr;
	}

	.hero-visual__tile {
		min-height: 56px;
	}

	.contact-cta__inner {
		padding: 28px;
	}

	.site-footer__inner {
		display: grid;
	}
}
