﻿/*
Theme Name: Sols Glassart
Theme URI: https://glassart.itwerk24.de
Author: Serrano / Codex
Description: Minimal artist portfolio theme for Sol's Glassart, inspired by clean glass-art portfolio websites.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: sols-glassart
*/

:root {
  --sg-bg: #f7f5f0;
  --sg-paper: #fffdf8;
  --sg-ink: #171412;
  --sg-muted: #706960;
  --sg-line: #d8d0c5;
  --sg-blue: #315f74;
  --sg-ruby: #8b2f46;
  --sg-gold: #b88a4a;
  --sg-green: #607261;
  --sg-max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--sg-bg);
  color: var(--sg-ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  background: rgba(247, 245, 240, 0.96);
  border-bottom: 1px solid var(--sg-line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__inner,
.site-footer__inner,
.wrap {
  max-width: var(--sg-max);
  margin: 0 auto;
  padding: 0 28px;
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  display: grid;
  gap: 0;
}

.brand__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.brand__sub {
  color: var(--sg-muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  color: var(--sg-muted);
}

.nav a:hover {
  color: var(--sg-ink);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--sg-line);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.eyebrow {
  color: var(--sg-ruby);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(52px, 7vw, 106px);
  margin: 0 0 24px;
}

h2 {
  font-size: clamp(34px, 4vw, 58px);
  margin: 0 0 22px;
}

h3 {
  font-size: 26px;
  margin: 0 0 12px;
}

.lead {
  color: #38322d;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  max-width: 660px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  border: 1px solid var(--sg-ink);
  color: var(--sg-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.button--dark {
  background: var(--sg-ink);
  color: var(--sg-paper);
}

.glass-placeholder {
  min-height: 620px;
  border: 1px solid var(--sg-line);
  background:
    radial-gradient(circle at 34% 20%, rgba(255,255,255,0.92), transparent 0 13%, transparent 31%),
    radial-gradient(circle at 72% 34%, rgba(184,138,74,0.78), transparent 0 12%, transparent 24%),
    radial-gradient(circle at 44% 60%, rgba(49,95,116,0.82), transparent 0 18%, transparent 34%),
    radial-gradient(circle at 70% 76%, rgba(139,47,70,0.68), transparent 0 11%, transparent 28%),
    linear-gradient(145deg, #f4eee3, #d9d0c3 44%, #faf7ef);
  position: relative;
  overflow: hidden;
}

.glass-placeholder::after {
  content: "Bildplatzhalter";
  position: absolute;
  left: 22px;
  bottom: 18px;
  color: rgba(23, 20, 18, 0.55);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--sg-line);
}

.section--paper {
  background: var(--sg-paper);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 58px;
  align-items: start;
}

.text-columns {
  columns: 2 280px;
  column-gap: 44px;
  color: #3d3732;
}

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

.work-card {
  border-top: 1px solid var(--sg-line);
  padding-top: 18px;
}

.work-card__image {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--sg-line);
  margin-bottom: 16px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.9), transparent 0 12%, transparent 28%),
    linear-gradient(135deg, var(--tone-a), var(--tone-b));
}

.work-card p {
  color: var(--sg-muted);
  margin: 0;
}

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

.series-item {
  min-height: 210px;
  border: 1px solid var(--sg-line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(145deg, rgba(255,255,255,0.72), rgba(216,208,197,0.55));
}

.page-main {
  padding: 70px 0 96px;
}

.page-main .entry-content {
  max-width: 880px;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.contact-band {
  background: var(--sg-ink);
  color: var(--sg-paper);
  padding: 80px 0;
}

.contact-band .lead {
  color: #e5ded3;
}

.site-footer {
  background: #171412;
  color: #e9e2d7;
}

.site-footer__inner {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #bfb5a8;
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero__grid,
  .split {
    grid-template-columns: 1fr;
  }

  .glass-placeholder {
    min-height: 420px;
  }

  .portfolio-grid,
  .series-list {
    grid-template-columns: 1fr;
  }
}

