/* HermanWa Brand Design Tokens
   ─────────────────────────────
   Single source of truth for all HermanWa pages.
   Import in every HTML file: <link rel="stylesheet" href="/css/brand.css">
*/

:root {
  /* Backgrounds */
  --bg: #050d09;
  --card: #0a1a14;
  --card-hover: #0d2119;

  /* Text */
  --text: #e8f5ec;
  --muted: #8fa89b;
  --dim: #5a7566;

  /* Borders */
  --line: rgba(255,255,255,.08);
  --line-hover: rgba(255,255,255,.15);

  /* Primary accent: Green */
  --accent: #4ade80;
  --accent-dim: rgba(74,222,128,.15);
  --accent-glow: rgba(74,222,128,.08);

  /* Secondary accent: Cyan */
  --accent2: #22d3ee;
  --accent2-dim: rgba(34,211,238,.12);

  /* Warm (warnings, tags, deadlines) */
  --warm: #fbbf24;
  --warm-dim: rgba(251,191,36,.12);

  /* Status */
  --danger: #ef4444;
  --danger-dim: rgba(239,68,68,.12);

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sig: 'Dancing Script', cursive;

  /* Layout */
  --max: 1100px;
  --max-article: 800px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 25px 80px rgba(0,0,0,.5);
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 1000px 600px at 30% 0%, rgba(74,222,128,.12), transparent 50%),
    radial-gradient(ellipse 800px 500px at 70% 10%, rgba(34,211,238,.08), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Navigation ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(5,13,9,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--text); }
.logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--bg);
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center;
  padding: 14px 28px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg); font-weight: 600; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 30px rgba(74,222,128,.25);
  border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(74,222,128,.35); text-decoration: none; }

/* ── Footer ── */
footer { padding: 48px 0; border-top: 1px solid var(--line); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { color: var(--muted); font-size: 14px; }
.copyright { color: var(--muted); font-size: 13px; }

/* ── Herman Signature ── */
.sign-off { margin: 56px 0 0; padding: 32px 0 0; border-top: 1px solid var(--line); }
.sign-off .closing { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.sign-off .sig-row { display: flex; align-items: center; gap: 14px; }
.sign-off .sig-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--bg);
  flex-shrink: 0;
}
.sign-off .sig {
  font-family: var(--font-sig); font-size: 38px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.2; transform: rotate(-2deg); transform-origin: left center; display: inline-block;
}
.sign-off .role { font-size: 12px; color: var(--muted); letter-spacing: 0.5px; margin-top: 2px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .foot-inner { flex-direction: column; text-align: center; }
}
