:root {
  --bg: #f8f6f1;
  --surface: #fffdf9;
  --text: #1f1b16;
  --muted: #6d665d;
  --line: #d8d0c4;
  --accent: #3f4b46;
  --accent-soft: #e9e4db;

  --max: 760px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,0.04);
}

/* Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);

  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout */

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(248,246,241,0.92);
  backdrop-filter: blur(8px);

  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

/* Brand */

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

/* Navigation */

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

/* Main */

main {
  padding: 3rem 0 4rem;
}

/* Typography */

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
}

p {
  margin: 0 0 1.1rem;
}

/* Intro Blocks */

.page-intro,
.about-block,
.reflection-block,
.closing {
  background: var(--surface);
  border: 1px solid var(--line);

  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;

  box-shadow: var(--shadow);
}

/* Section Label */

.section-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

/* Trait Cards */

.traits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);

  padding: 1.2rem;

  box-shadow: var(--shadow);
}

.card h2 {
  margin-bottom: 0.4rem;
}

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

/* Reflection Stack */

.reflection-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

/* Question style */

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

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2rem;

  color: var(--muted);
  font-size: 0.9rem;
}

/* Links */

a {
  color: var(--accent);
}

a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width:760px) {

  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .traits {
    grid-template-columns: 1fr;
  }

  main {
    padding-top: 2rem;
  }

}
