:root {
  --bg: #fbf7f2;
  --ink: #1f1d1b;
  --muted: #6b645c;
  --accent: #c6562b;     /* warm terracotta, Colorpini palette */
  --accent-2: #2f5d57;   /* deep teal, Dichterinnenland mood */
  --paper: #ffffff;
  --line: #e7ddd0;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 29, 27, 0.06);
  --font-serif: "Cormorant Garamond", "Garamond", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }

p { margin: 0 0 1em; }

a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.6rem;
  background: rgba(251, 247, 242, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 1.4rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s;
}

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

@media (max-width: 640px) {
  .nav { display: none; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.6rem 5rem;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero-inner {
  max-width: 640px;
}

.hero-portrait {
  margin: 0;
  position: relative;
}

.hero-portrait img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 880px) {
  .hero-portrait {
    max-width: 320px;
    margin: 0 auto;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.accent { color: var(--accent); font-style: italic; }

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 64ch;
  margin-top: 1.4rem;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.15s ease, background 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover { background: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

/* Decorative blobs */
.hero-decor { position: absolute; inset: 0; pointer-events: none; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.blob-a { width: 360px; height: 360px; background: #f1c6a6; top: -80px; right: -60px; }
.blob-b { width: 280px; height: 280px; background: #b8d3cd; bottom: -80px; left: -40px; }
.blob-c { width: 200px; height: 200px; background: #ead7b7; top: 40%; right: 30%; opacity: 0.25; }

/* Work section */
.work {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.6rem 4rem;
}

@media (max-width: 880px) {
  .work { grid-template-columns: 1fr; }
}

.work-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(31, 29, 27, 0.1);
}

.work-image {
  margin: 0 0 1.6rem;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.work-image img {
  max-width: 100%;
  max-height: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 0 0 1.6rem;
}

.work-gallery figure {
  margin: 0;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.work-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.work-list a {
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.work-list a:hover {
  color: var(--ink);
  border-bottom-color: currentColor;
}

.work-colorpini .work-list a:hover { color: var(--accent-2); }
.work-dichterinnenland .work-list a:hover { color: var(--accent); }

.work-card p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.work-tag {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.work-claim {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 1.4rem;
}

.work-colorpini h2 { color: var(--accent-2); }
.work-colorpini .work-claim { color: var(--accent-2); }

.work-dichterinnenland h2 { color: var(--accent); }
.work-dichterinnenland .work-claim { color: var(--accent); }

.work-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
}

.work-list li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

.work-list li:last-child { border-bottom: 1px solid var(--line); }

.work-card .btn { align-self: flex-start; margin-top: auto; }

/* Bridge */
.bridge {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.6rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--muted);
}

.bridge em { color: var(--ink); font-style: italic; }

/* Contact */
.contact {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 1.6rem 6rem;
  text-align: center;
}

.contact p { color: var(--muted); margin-bottom: 1.8rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.6rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p { margin: 0.3rem 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}
