:root {
  --walnut-deep: oklch(0.13 0.012 55);
  --walnut: oklch(0.17 0.015 55);
  --walnut-card: oklch(0.21 0.018 60);
  --paper: oklch(0.92 0.018 80);
  --ink-paper: oklch(0.28 0.02 60);
  --cream: oklch(0.91 0.018 78);
  --cream-80: oklch(0.91 0.018 78 / 0.85);
  --cream-60: oklch(0.91 0.018 78 / 0.60);
  --gold: oklch(0.76 0.12 75);
  --gold-30: oklch(0.76 0.12 75 / 0.30);
  --gold-20: oklch(0.76 0.12 75 / 0.20);

  /* Legacy aliases for older static markup and admin CSS. */
  --navy-deep: var(--walnut-deep);
  --navy: var(--walnut);
}

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

html { scroll-behavior: smooth; }
body {
  background: var(--navy-deep);
  color: var(--cream);
  font-family: 'Geist', system-ui, sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--cream); }

.trust-nav {
  border-bottom: 1px solid oklch(0.76 0.12 75 / 0.14);
  padding: 18px clamp(20px, 4vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.trust-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 28px);
  align-items: center;
}
.trust-nav a {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-80);
}
.trust-nav a:hover { color: var(--gold); }
.trust-nav-home {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  color: var(--cream);
  letter-spacing: 0.04em;
}

/* ── Unified main nav (mirrors homepage) ─────────────────────────────────
   Used on journal, journal-post, and sold pages so the navbar is identical
   across the site (resolves client feedback: lock the navbar). */
#main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 22px clamp(20px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--gold-20);
  background: oklch(0.13 0.012 55 / 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
#main-nav .nav-logo {
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
#main-nav.scrolled { padding: 13px clamp(20px, 6vw, 80px); }
#main-nav.scrolled .nav-logo { transform: scale(0.92); }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--cream-80);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  justify-content: center;
}
.nav-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
#main-nav.scrolled .nav-logo img { transform: scale(0.68); }
.nav-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cream);
}

.nav-right {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
}
.nav-right .mono {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-60);
}

.nav-viber-chip {
  padding: 6px 14px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-viber-chip:hover { opacity: 0.85; color: var(--navy-deep); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right .mono, .nav-right .nav-viber-chip { display: none; }
  .hamburger { display: flex; }
}

main.trust-page {
  flex: 1;
  padding: clamp(48px, 8vw, 120px) clamp(20px, 4vw, 80px);
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
}

.trust-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.trust-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 24px;
}

.trust-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-60);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid oklch(0.76 0.12 75 / 0.14);
}

.trust-page section {
  margin-bottom: 48px;
}
.trust-page h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--cream);
  margin-bottom: 16px;
}
.trust-page h3 {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 24px 0 8px 0;
}
.trust-page p {
  color: var(--cream-80);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 14px;
}
.trust-page ul {
  margin: 0 0 18px 22px;
  color: var(--cream-80);
  line-height: 1.7;
  font-size: 15px;
}
.trust-page li { margin-bottom: 8px; }
.trust-page strong { color: var(--cream); }
/* Callout: full thin border + tinted paper-tone background. The previous
   left-stripe accent is an over-used dashboard pattern; a contained tile
   reads as a deliberate sidebar in editorial layout. */
.trust-page .callout {
  border: 1px solid var(--gold-30);
  padding: 18px 22px;
  background: oklch(0.76 0.12 75 / 0.04);
  margin: 24px 0;
  font-size: 14px;
  color: var(--cream-80);
  line-height: 1.65;
  border-radius: 2px;
}

.trust-footer {
  border-top: 1px solid oklch(0.76 0.12 75 / 0.14);
  padding: 24px clamp(20px, 4vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-60);
}
.trust-footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.trust-footer-links a { color: var(--cream-60); }
.trust-footer-links a:hover { color: var(--gold); }
