/*
Theme Name: NAAB
Theme URI: https://example.com
Author: NAAB Studio
Description: Custom-Theme für den NAAB Kreativ-Hub — Landingpage, Creatives-Übersicht und Blog. Texte und Bilder werden komplett über die WordPress-Konsole gepflegt (Seiten „Blog“ und „Creatives“, Beitragstyp „Creatives“, normale Beiträge für den Blog).
Version: 1.0
Text Domain: naab
*/

/* ============================================
   TOKENS
   ============================================ */
:root {
  --paper: #ffffff;
  --ink: #0e0e10;
  --stone: #b8b4aa;
  --stone-light: #e7e4dc;
  --blue: #1b3bff;

  --sans: "Inter", -apple-system, sans-serif;
  --script: "Monsieur La Doulaise", cursive;

  --edge: clamp(1.25rem, 4vw, 3rem);
}

html {
  background: #ffffff;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ============================================
   TOPBAR (Creatives / Blog / Beiträge)
   ============================================ */
.topbar {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--edge);
  background: var(--paper);
  border-bottom: 1px solid var(--stone-light);
}

.topbar__mark {
  font-family: var(--script);
  color: var(--blue);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.07em;
}

.topbar__nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar__nav a { color: var(--blue); opacity: 0.85; transition: opacity 0.2s ease; }
.topbar__nav a:hover, .topbar__nav a[aria-current="page"] { opacity: 1; }

.topbar__nav button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.85;
  padding: 0;
}
.topbar__nav button:hover { opacity: 1; }

/* ============================================
   LANDINGPAGE
   ============================================ */
.landing {
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--paper);
}

.landing__brand {
  font-family: var(--script);
  color: var(--blue);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.82;
  max-height: 88vh;
  max-height: 88dvh;
}

.landing__brand .letter { display: block; }
.landing__brand .space { height: 0.35em; }

.menu-toggle {
  position: fixed;
  top: var(--edge);
  right: var(--edge);
  z-index: 200;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0.6rem 0;
}
.menu-toggle:hover { opacity: 0.7; }

/* ============================================
   MENU OVERLAY
   ============================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: var(--edge);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.menu-close {
  position: absolute;
  top: var(--edge);
  right: var(--edge);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--paper);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 300;
}

.menu-links { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.menu-links a {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 9vw, 5.5rem);
  color: var(--paper);
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}
.menu-links a:hover { color: var(--ink); transform: translateX(-6px); }
.menu-links__index {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  margin-right: 0.75rem;
  vertical-align: middle;
}

/* ============================================
   PAGE SHELL
   ============================================ */
.page { padding: 1.75rem var(--edge) 6rem; max-width: 1100px; margin: 0 auto; }
.page__title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  margin: 0 0 3rem;
  line-height: 0.95;
  color: var(--blue);
}

/* ============================================
   BLOG
   ============================================ */
.post {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 3rem 0;
  border-top: 1px solid var(--stone-light);
}
.post:first-of-type { border-top: none; }

@media (min-width: 760px) {
  .post { grid-template-columns: minmax(280px, 420px) 1fr; align-items: center; gap: 3rem; }
}

.post__image {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: var(--stone-light);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.post__body { display: flex; flex-direction: column; gap: 0.9rem; }

.post__meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1.1rem; }
.post__meta__divider { color: var(--blue); font-weight: 400; }
.post__category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.post__date { font-family: var(--script); font-size: 1.35rem; color: var(--blue); line-height: 1; }

.post__title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.05;
  margin: 0;
  color: var(--blue);
}

.post__intro { font-size: 1rem; line-height: 1.55; color: var(--ink); max-width: 48ch; margin: 0; }
.post__link { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); }
.post__link:hover { color: var(--blue); }

/* ============================================
   CREATIVES
   ============================================ */
.profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: 3.5rem 0;
  border-top: 1px solid var(--stone-light);
}
.profile:first-of-type { border-top: none; }

@media (min-width: 760px) {
  .profile { grid-template-columns: minmax(260px, 380px) 1fr; gap: 3rem; }
}

.profile__image {
  aspect-ratio: 4 / 5;
  width: 100%;
  background: var(--stone-light);
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile__body { display: flex; flex-direction: column; gap: 0.9rem; justify-content: center; }
.profile__role { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }
.profile__name {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1;
  color: var(--blue);
  margin: 0;
}
.profile__bio { font-size: 1rem; line-height: 1.6; color: var(--ink); max-width: 55ch; margin: 0; text-align: justify; }
.profile__bio p { margin: 0 0 1em; }
.profile__bio p:last-child { margin-bottom: 0; }
.profile__tags { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--stone); }
