/*
Theme Name: yourwp Minimal
Theme URI: https://yourwp.dev
Author: yourwp.dev
Description: A clean, minimal theme. The homepage shows a single statement, contact email, and slogan — nothing else. The blog exists but is intentionally unlinked, discoverable only via search engines and shared links.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: yourwp-minimal
*/

:root {
  --ink: #111111;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --accent: #111111;
  --maxw: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

/* ---------- Homepage ---------- */
.home-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6vw 24px;
  gap: 28px;
}

.home-hero h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-size: clamp(2.6rem, 11vw, 8rem);
  text-transform: uppercase;
}

.home-hero .email {
  font-size: clamp(1rem, 3.5vw, 1.6rem);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}
.home-hero .email:hover { opacity: 0.6; }

.home-hero .slogan {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  font-size: clamp(0.95rem, 2.8vw, 1.25rem);
  letter-spacing: 0.01em;
}

/* ---------- Article reading view ---------- */
.article {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.article .back {
  display: inline-block;
  margin-bottom: 48px;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.article .back:hover { color: var(--ink); }

.article h1.entry-title {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 800;
}

.article .meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 48px;
}

.article .entry-content {
  font-size: 1.125rem;
  line-height: 1.7;
}
.article .entry-content p { margin: 0 0 1.4em; }
.article .entry-content h2 { font-size: 1.6rem; margin: 2em 0 0.6em; letter-spacing: -0.01em; }
.article .entry-content h3 { font-size: 1.25rem; margin: 1.6em 0 0.5em; }
.article .entry-content a { text-underline-offset: 3px; }
.article .entry-content img { max-width: 100%; height: auto; border-radius: 8px; }
.article .entry-content pre {
  background: #f5f5f5; padding: 18px; border-radius: 8px;
  overflow-x: auto; font-size: 0.95rem;
}
.article .entry-content blockquote {
  margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--ink);
  color: var(--muted);
}

/* ---------- Minimal fallback (archives etc.) ---------- */
.plain {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 24px 120px;
}
.plain a { text-underline-offset: 3px; }
.plain .post-list { list-style: none; padding: 0; }
.plain .post-list li { margin-bottom: 1.2em; font-size: 1.1rem; }
