/*
Theme Name: Deepsky Native
Theme URI: https://deepsky-bocholt.de/
Description: Native WordPress theme for Deepsky Bocholt without Elementor runtime.
Author: Deepsky Bocholt
Version: 2026.07.10
Text Domain: deepsky-native
*/

:root {
	--bg: #050608;
	--panel: #0b0f15;
	--panel-2: #131923;
	--line: rgba(244, 246, 248, 0.11);
	--text: #f4f6f8;
	--muted: #a8b0ba;
	--soft: #6f7a86;
	--accent: #9cc7d8;
	--max: 1180px;
	--mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	--sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dd, li { overflow-wrap: anywhere; }

.skip-link { position: absolute; left: -999px; top: 1rem; z-index: 20; padding: .75rem 1rem; background: var(--text); color: var(--bg); }
.skip-link:focus { left: 1rem; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1rem clamp(1rem, 4vw, 3.5rem);
	background: rgba(5, 6, 8, 0.86);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(14px);
}
.brand { display: grid; gap: .1rem; min-width: 12rem; }
.brand span { font-size: .92rem; font-weight: 650; letter-spacing: 0; }
.brand small { color: var(--muted); font-size: .72rem; }
.primary-nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.6rem); color: var(--muted); font-size: .88rem; max-width: 100%; min-width: 0; }
.primary-nav a { white-space: nowrap; overflow-wrap: normal; line-height: 1.2; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--text); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button { font: inherit; color: inherit; }

.site-main { min-height: 70vh; }
.hero { position: relative; min-height: calc(100vh - 76px); display: grid; align-items: end; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,8,.08), rgba(5,6,8,.36) 48%, rgba(5,6,8,.92)); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-copy { position: relative; z-index: 1; width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: 0 0 clamp(3rem, 12vh, 7rem); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 920px; font-size: clamp(2.5rem, 7vw, 6.8rem); line-height: .98; font-weight: 620; letter-spacing: 0; }
h2 { font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.08; font-weight: 560; letter-spacing: 0; }
h3 { font-size: clamp(1.15rem, 2vw, 1.7rem); line-height: 1.15; font-weight: 560; }
.eyebrow { color: var(--accent); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-data { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.hero-data span, .filter-strip button, .filter-strip span { font-family: var(--mono); color: var(--muted); border: 1px solid var(--line); padding: .45rem .7rem; background: rgba(255,255,255,.025); }
.hero-brand-title { font-size: clamp(2.7rem, 9vw, 6.2rem); text-transform: lowercase; }
.hero-subline { max-width: 620px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); margin-bottom: 0; }
.filter-strip button { cursor: pointer; }
.filter-strip button[aria-pressed="true"], .filter-strip button:hover { color: var(--text); border-color: rgba(156,199,216,.45); background: rgba(156,199,216,.08); }

.narrow { width: min(820px, calc(100% - 2rem)); margin: 0 auto; }
.intro, .page-hero { padding: clamp(4rem, 9vw, 8rem) 0; }
.intro h2, .page-hero h1 { font-size: clamp(2rem, 5vw, 4.4rem); }
.intro p:not(.eyebrow), .page-hero p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 7vw, 6rem) 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; border-top: 1px solid var(--line); padding-top: 1.3rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading a, .text-link, .button-link { color: var(--accent); border-bottom: 1px solid rgba(156,199,216,.45); }

.featured-stack { display: grid; gap: 1rem; }
.gallery-grid { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.image-card { background: rgba(255,255,255,.03); border: 1px solid var(--line); overflow: hidden; }
.image-card[hidden] { display: none; }
.image-card-wide { grid-column: 1 / -1; }
.image-card a { display: block; overflow: hidden; background: #020304; }
.image-card img { width: 100%; aspect-ratio: 1.45; object-fit: cover; transition: transform .7s ease, filter .7s ease; }
.image-card-wide img { aspect-ratio: 2.3; }
.image-card:hover img { transform: scale(1.018); filter: brightness(1.04); }
.image-card-meta { padding: 1.1rem; }
.image-card-meta h3 { margin-bottom: .9rem; }
dl { margin: 0; display: grid; gap: .45rem; }
dl div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: .45rem; }
dt { color: var(--soft); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; }
dd { margin: 0; color: var(--muted); text-align: right; }
.split-section, .equipment-grid, .profile-grid { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: clamp(3rem, 8vw, 7rem) 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.split-section > div, .tech-card, .profile-grid article, .process-list article { min-width: 0; background: rgba(255,255,255,.03); border: 1px solid var(--line); padding: clamp(1.2rem, 3vw, 2rem); }
.split-section p, .tech-card p, .profile-grid p, .process-list p { color: var(--muted); }
.about-photo { padding-top: 0; padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.about-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; border: 1px solid var(--line); background: #020304; }
.about-photo figcaption { margin-top: .75rem; color: var(--soft); font-size: .9rem; }
.about-story { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.about-story p { color: var(--muted); font-size: clamp(1.04rem, 2vw, 1.2rem); line-height: 1.75; }
.about-story p + p { margin-top: 1.2rem; }
.about-signature { color: var(--text) !important; font-family: var(--mono); font-size: .95rem !important; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.equipment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tech-card ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.tech-card li + li { margin-top: .6rem; }
.filter-strip { width: min(var(--max), calc(100% - 2rem)); margin: -2rem auto 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.process-list { width: min(900px, calc(100% - 2rem)); margin: 0 auto clamp(4rem, 8vw, 7rem); display: grid; gap: .8rem; }
.process-list article { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; align-items: start; }
.process-list span { color: var(--accent); font-family: var(--mono); }
.compact { align-items: flex-start; flex-direction: column; }

.image-detail { padding-bottom: clamp(4rem, 8vw, 7rem); }
.detail-hero { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0 2rem; }
.detail-hero h1 { font-size: clamp(2.4rem, 7vw, 6rem); }
.detail-hero p { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.detail-kicker { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1rem; color: var(--accent); font-family: var(--mono); font-size: .74rem; text-transform: uppercase; }
.detail-kicker a { color: var(--text); border-bottom: 1px solid var(--line); }
.detail-image { width: min(1440px, calc(100% - 2rem)); margin: 0 auto clamp(3rem, 7vw, 6rem); }
.detail-image img { width: 100%; max-height: 86vh; object-fit: contain; background: #020304; border: 1px solid var(--line); }
.detail-image figcaption { margin-top: .65rem; color: var(--soft); font-size: .85rem; }
.detail-layout, .technical-section { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto clamp(3rem, 7vw, 6rem); }
.detail-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 1.5rem; }
.detail-copy, .detail-data, .technical-section { background: rgba(255,255,255,.025); border: 1px solid var(--line); padding: clamp(1.2rem, 3vw, 2rem); }
.detail-copy p { color: var(--muted); }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.data-grid div { display: grid; gap: .2rem; align-content: start; border-top: 1px solid var(--line); padding-top: .65rem; }
.data-grid dt { color: var(--soft); }
.data-grid dd { text-align: left; color: var(--text); }
.technical-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related-grid { margin-bottom: 0; }
.setup-chain { padding-bottom: 0; }
.chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.chain span { position: relative; padding: 1rem; background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--text); font-family: var(--mono); font-size: .78rem; text-align: center; }
.chain span:not(:last-child)::after { content: "→"; position: absolute; right: -.55rem; top: 50%; transform: translateY(-50%); color: var(--accent); z-index: 1; }
.contact-actions { display: grid; gap: 1rem; align-items: start; }

.site-footer { border-top: 1px solid var(--line); padding: 2rem clamp(1rem, 4vw, 3.5rem); color: var(--muted); display: grid; gap: 1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer strong { display: block; color: var(--text); }
.site-footer p { margin: 0; font-size: .88rem; }

@media (max-width: 900px) {
	.site-header { position: static; align-items: flex-start; flex-direction: column; gap: 1rem; }
	.primary-nav { width: 100%; overflow-x: auto; padding-bottom: .25rem; }
	.gallery-grid, .equipment-grid, .split-section, .profile-grid { grid-template-columns: 1fr; }
	.image-card-wide { grid-column: auto; }
	.image-card-wide img, .image-card img { aspect-ratio: 1.25; }
	.section-heading { align-items: flex-start; flex-direction: column; }
	.detail-layout, .technical-grid, .data-grid, .chain { grid-template-columns: 1fr; }
	.chain span:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -.95rem; transform: translateX(-50%); }
}

@media (max-width: 520px) {
	.hero { min-height: 82vh; }
	.hero-copy { width: min(100% - 1.2rem, var(--max)); }
	h1 { font-size: clamp(2.2rem, 15vw, 4rem); }
	.hero-brand-title { font-size: clamp(2.45rem, 13vw, 3.6rem); }
	.process-list article { grid-template-columns: 1fr; }
	.hero-data span, .filter-strip button, .filter-strip span { width: 100%; }
	.site-header, .site-footer { padding-left: .8rem; padding-right: .8rem; }
	.brand { min-width: 0; max-width: 100%; }
	.primary-nav { gap: .55rem; font-size: .82rem; padding: .15rem 0 .55rem; scrollbar-width: thin; }
	.primary-nav a { display: inline-flex; min-height: 2.35rem; align-items: center; padding: 0 .65rem; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
	.narrow, .section, .gallery-grid, .split-section, .equipment-grid, .profile-grid, .process-list, .detail-hero, .detail-image, .detail-layout, .technical-section, .filter-strip { width: min(100% - 1.2rem, var(--max)); }
	.image-card-meta, .split-section > div, .tech-card, .profile-grid article, .process-list article, .detail-copy, .detail-data, .technical-section { padding: 1rem; }
	dl div { flex-direction: column; gap: .15rem; }
	dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
