/*
Theme Name: Gercken Studio
Author: Sebastian Gercken
Description: Das App-Studio von Sebastian Gercken.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gercken-studio
*/

:root {
	color-scheme: light;
	--ink: #17201f;
	--soft-ink: #515b58;
	--paper: #f8f8f3;
	--card: #fffffb;
	--line: #cdd2c9;
	--blue: #244bd3;
	--blue-dark: #16349a;
	--serif: Georgia, "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
	--edge: clamp(1rem, 4vw, 4.5rem);
	--space: clamp(3.5rem, 8vw, 7rem);
}
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 1rem/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-underline-offset: .2em; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid #224eee; outline-offset: 4px; }
::selection { background: #c9d6ff; color: #101e49; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 {
	font-size: clamp(3rem, 5.75vw, 5.8rem);
	letter-spacing: -.067em;
	line-height: 1.02;
	overflow-wrap: break-word;
	hyphens: auto;
}
h2 { font-size: clamp(2.25rem, 4vw, 3.7rem); letter-spacing: -.055em; line-height: 1.09; }
h3 { font-size: 1.35rem; letter-spacing: -.035em; line-height: 1.2; }
.sg-shell { width: min(100% - var(--edge) * 2, 82rem); margin-inline: auto; }
.sg-skip { position: fixed; z-index: 20; top: .65rem; left: .65rem; transform: translateY(-200%); padding: .6rem 1rem; background: white; }
.sg-skip:focus { transform: translateY(0); }
.sg-header { border-bottom: 1px solid var(--line); }
.sg-bar, .sg-brand, .sg-footer-inner, .sg-footer nav { display: flex; align-items: center; }
.sg-bar { min-height: 5.25rem; justify-content: space-between; gap: 1rem; }
.sg-brand, .sg-nav-link, .sg-footer a { color: var(--ink); text-decoration: none; }
.sg-brand { gap: .7rem; line-height: 1.2; }
.sg-monogram {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: .65rem;
	background: var(--blue);
	color: #fff;
	font: italic 700 1.65rem/1.22 var(--serif);
	letter-spacing: -.12em;
	padding-right: .13em;
}
.sg-monogram span { color: #c1d1ff; }
.sg-brand-name { font-size: 1rem; font-weight: 670; letter-spacing: -.035em; }
.sg-brand-type { border-left: 1px solid var(--line); padding-left: .7rem; font-size: .84rem; color: var(--soft-ink); }
.sg-nav-link { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .15rem; font-weight: 620; font-size: .88rem; }
.sg-nav-link span { font-size: 1.1em; color: var(--blue); }
.sg-nav-link:hover, .sg-footer a:hover { color: var(--blue); text-decoration: underline; }
.sg-main { min-height: 60vh; }
.sg-main:focus:not(:focus-visible) { outline: none; }
.sg-kicker {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	color: var(--blue-dark);
	font: 600 .73rem/1.45 var(--mono);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.sg-kicker::before { content: ""; width: 1.5rem; height: 2px; background: var(--blue); flex: none; }
.sg-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
	align-items: center;
	gap: clamp(2.25rem, 5vw, 5rem);
	padding-block: clamp(2.5rem, 5vw, 5.4rem);
}
.sg-hero-copy, .sg-app-intro { min-width: 0; }
.sg-hero-copy h1, .sg-app-intro h1 { margin-block: .9rem 1.25rem; }
.sg-hero-copy h1 em, .sg-app-intro h1 em { color: var(--blue); font-weight: 400; }
.sg-hero-copy > p:not(.sg-kicker), .sg-app-intro > p:not(.sg-kicker) {
	max-width: 46ch;
	color: var(--soft-ink);
	font-size: clamp(1.05rem, 1.3vw, 1.28rem);
	line-height: 1.55;
}
.sg-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .7rem;
	border-radius: 99px;
	padding: .8rem 1.4rem;
	background: var(--blue);
	color: #fff;
	font-size: .94rem;
	font-weight: 650;
	text-decoration: none;
	line-height: 1.45;
}
.sg-action:hover { background: var(--blue-dark); color: #fff; }
.sg-hero-copy .sg-action, .sg-app-intro .sg-action { margin-top: 1.5rem; }
.sg-hero-art {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
	gap: .95rem;
	min-width: 0;
	padding: clamp(1.5rem, 3.2vw, 3.25rem) clamp(1rem, 2.8vw, 2.8rem) 1.2rem;
	min-height: clamp(19rem, 32vw, 29rem);
	overflow: hidden;
	background-color: #20325c;
	background-image: linear-gradient(130deg, transparent 40%, #111e3ba6),
		radial-gradient(ellipse at 30% 8%, #4965a1, transparent 70%),
		linear-gradient(35deg, #1f334e, #294470);
	border-radius: 1.35rem;
}
.sg-hero-art::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	pointer-events: none;
	opacity: .29;
	background-image: linear-gradient(#d0dfff33 1px, transparent 1px), linear-gradient(90deg, #d0dfff33 1px, transparent 1px);
	background-size: 2.25rem 2.25rem;
}
.sg-feature-shot {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: clamp(19rem, 31vw, 32rem);
	margin: auto;
	object-fit: contain;
	border-radius: .55rem;
	box-shadow: 0 .75rem 1.7rem #09162b70, 0 0 0 1px #dbe6ff47;
}
.sg-art-caption, .sg-art-caption a, a.sg-art-caption { color: #f6f8ff; }
.sg-art-caption {
	align-self: stretch;
	margin-top: auto;
	padding-top: .8rem;
	border-top: 1px solid #ffffff44;
	font: 500 .79rem/1.45 var(--sans);
	letter-spacing: .01em;
}
.sg-hero-art :focus-visible { outline-color: #f2f5ff; }
#apps { border-top: 1px solid var(--line); padding-block: clamp(2rem, 4.7vw, 4.7rem) var(--space); scroll-margin-top: 1.5rem; }
.sg-section-head { margin-bottom: clamp(1.4rem, 2.5vw, 2.3rem); }
.sg-section-head .sg-kicker { margin-bottom: .7rem; }
.sg-section-head > p:not(.sg-kicker) { margin-top: .75rem; max-width: 52ch; color: var(--soft-ink); }
.sg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.5vw, 1.3rem); }
.sg-card { display: flex; min-width: 0; }
.sg-card-link {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(1.2rem, 2.1vw, 2rem);
	border: 1px solid var(--line);
	border-radius: 1.05rem;
	background: var(--card);
	color: var(--ink);
	text-decoration: none;
	transition: border-color 140ms ease, box-shadow 140ms ease;
}
.sg-card-link:hover, .sg-card-link:focus-visible { color: var(--ink); border-color: var(--blue); box-shadow: 0 .45rem 1.4rem #35416b10; }
.sg-card-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: .65rem; width: 100%; margin-bottom: 1.45rem; }
.sg-icon { width: 3.5rem; height: 3.5rem; border-radius: 22%; object-fit: contain; }
.sg-platform {
	display: inline-block;
	border: 1px solid #d8dfd6;
	border-radius: 2rem;
	color: #49564c;
	background: #f4f6ef;
	padding: .22rem .65rem;
	font: 500 .72rem/1.4 var(--sans);
}
.sg-card h3 { font-size: clamp(1.35rem, 2.1vw, 1.85rem); }
.sg-card p { color: var(--soft-ink); margin: .6rem 0 1.4rem; line-height: 1.55; }
.sg-more { margin-top: auto; color: var(--blue-dark); font-size: .88rem; font-weight: 650; }
.sg-card-link:hover .sg-more { text-decoration: underline; }

.sg-app { padding-block: clamp(2rem, 5vw, 5rem) var(--space); }
.sg-app-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(1.75rem, 4vw, 4rem);
	padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
	border-bottom: 1px solid var(--line);
}
.sg-app-intro { flex: 1 1 24rem; }
.sg-app-hero > :is(figure, .sg-hero-art, .sg-shots) { flex: 1 1 22rem; min-width: 0; }
.sg-app-hero > figure img { max-height: 32rem; width: auto; margin-inline: auto; border-radius: .7rem; }
.sg-app-intro .sg-icon { width: clamp(4rem, 7vw, 5.8rem); height: auto; margin-bottom: 1.25rem; }
.sg-app-intro h1 { font-size: clamp(3.1rem, 6vw, 5.5rem); }
.sg-app :where(section:not(.sg-app-hero), .sg-support, .sg-features) { margin-block-start: clamp(2.3rem, 5vw, 4rem); }
.sg-app h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.sg-app h2 + *, .sg-features ul { margin-top: 1.15rem; }
.sg-shots {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
	align-items: start;
	gap: clamp(.8rem, 1.6vw, 1.5rem);
}
.sg-shots > :is(h2, p) { grid-column: 1 / -1; }
.sg-shots figure { margin: 0; min-width: 0; }
.sg-shots figure > a { display: block; }
.sg-shots img {
	width: auto;
	max-width: 100%;
	max-height: 34rem;
	margin-inline: auto;
	border-radius: .65rem;
	box-shadow: 0 0 0 1px #1b291b1c;
}
.sg-shots figcaption, .sg-app-hero figcaption { margin: .7rem auto 0; max-width: 60ch; font-size: .88rem; line-height: 1.5; color: var(--soft-ink); }
.sg-shots figcaption { text-align: center; }
.sg-features ul { max-width: 62rem; padding-left: 1.25rem; }
.sg-features li { margin-bottom: .65rem; padding-left: .2rem; }
.sg-features li::marker { color: var(--blue); }
.sg-support {
	padding: clamp(1.4rem, 3.3vw, 3rem);
	border: 1px solid #cbd6c7;
	border-radius: 1.05rem;
	background: #edf1e9;
}
.sg-support > :is(p, ul) { max-width: 68ch; }
.sg-support > * + *, .sg-features > p { margin-top: 1rem; }
.sg-legal {
	max-width: 55rem;
	margin-inline: auto;
	padding-block: clamp(2.5rem, 6vw, 6rem) var(--space);
	overflow-wrap: anywhere;
}
.sg-legal h1 { margin-bottom: 1.4rem; font-size: clamp(2.75rem, 6vw, 5.4rem); }
.sg-legal h2 { margin: 1.8rem 0 .75rem; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.sg-legal h3 { margin-top: 1.5rem; }
.sg-legal p, .sg-legal li { max-width: 73ch; }
.sg-legal > * + * { margin-top: .9rem; }
.sg-legal .sg-kicker { margin-bottom: .3rem; }
.sg-footer { border-top: 1px solid var(--line); }
.sg-footer-inner { justify-content: space-between; gap: 1rem 2rem; padding-block: 1.7rem; font-size: .87rem; }
.sg-footer-credit { font-weight: 640; letter-spacing: -.02em; }
.sg-footer-credit span { color: var(--soft-ink); margin-left: .5rem; font-weight: 400; }
.sg-footer nav { gap: 1.3rem; }
.sg-footer nav a { padding-block: .55rem; }
@media (max-width: 64rem) {
	.sg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sg-hero { gap: clamp(1.3rem, 3vw, 2.5rem); }
}
@media (max-width: 47rem) {
	.sg-bar { min-height: 4.5rem; }
	.sg-hero { grid-template-columns: 1fr; padding-block: 2.4rem; gap: 1.8rem; }
	.sg-hero-copy { max-width: 40rem; }
	.sg-hero-art { padding: 1.55rem 1.25rem 1rem; min-height: 0; }
	.sg-feature-shot { max-height: 23rem; }
	.sg-footer-inner { flex-wrap: wrap; }
}
@media (max-width: 36rem) {
	.sg-grid { grid-template-columns: 1fr; }
	.sg-card-head { margin-bottom: 1rem; }
	.sg-brand { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; row-gap: .13rem; }
	.sg-monogram { grid-row: span 2; }
	.sg-brand-type { border: none; padding: 0; font-size: .76rem; }
	.sg-footer-inner { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	body { background: #fff; color: #000; }
	.sg-header nav, .sg-skip, .sg-footer nav { display: none; }
	.sg-shell { width: 100%; }
	.sg-hero, .sg-app-hero { display: block; }
	.sg-hero-art, .sg-card, .sg-shots figure { break-inside: avoid; }
	.sg-hero-art { max-width: 30rem; margin-top: 1rem; }
}
