/* ============================================================
   RITU — About pages (privacy / terms)
   Mobile-first, parchment palette, Fraunces serif.
   Mirrors the landing page brand.
   ============================================================ */
:root {
  --bg:         #EFE8D5;
  --bg-soft:    #E8DFC8;
  --ink:        #2B2D23;
  --ink-2:      #5E5E4E;
  --ink-3:      #8A8772;
  --line:       rgba(43, 45, 35, 0.10);
  --line-2:     rgba(43, 45, 35, 0.18);
  --olive:      #4F6338;
  --olive-deep: #3A4A28;
  --glow:       #D4A862;

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-dark {
  --bg:    #1A140E;
  --bg-soft: #241C13;
  --ink:   #ECE0C4;
  --ink-2: #A39A83;
  --ink-3: #7A7160;
  --line:  rgba(236, 224, 196, 0.08);
  --line-2: rgba(236, 224, 196, 0.16);
  --olive: #B4C595;
  --olive-deep: #8FA373;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  min-height: 100vh;
  min-height: 100dvh;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
           env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* ---------- Top bar ---------- */
.about-top {
  position: sticky; top: 0;
  z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.about-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 8px 4px;
  min-height: 44px;
  border-radius: 999px;
  transition: color .15s var(--ease-out);
}
.about-back::before {
  content: '←';
  font-size: 16px;
  line-height: 1;
}
.about-back:hover { color: var(--ink); }
.about-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.about-brand::before {
  content: '◐';
  font-size: 17px;
  line-height: 1;
  color: var(--ink);
}
.lang-toggle {
  display: flex; gap: 0;
  background: rgba(43, 45, 35, 0.06);
  border: 1px solid rgba(43, 45, 35, 0.08);
  border-radius: 999px;
  padding: 2px;
}
body.is-dark .lang-toggle {
  background: rgba(236, 224, 196, 0.06);
  border-color: rgba(236, 224, 196, 0.08);
}
.lang-btn {
  background: none; border: none;
  font: inherit; font-size: 11px; font-weight: 600;
  color: var(--ink-3);
  padding: 6px 10px;
  min-height: 32px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all .15s;
}
.lang-btn.active {
  background: var(--olive);
  color: #F4EFDF;
}
body.is-dark .lang-btn.active {
  color: #16130E;
}

/* ---------- Article ---------- */
.about-article {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 22px 96px;
}
.about-eye {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.about-eye::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--olive);
  vertical-align: middle;
  margin-right: 10px;
}
.about-h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 8vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 14px;
}
.about-h1 em {
  font-style: italic;
  color: var(--olive);
}
.about-meta {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 28px;
}
.about-lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 32px;
}
.about-h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 36px 0 12px;
}
.about-h2:first-of-type { margin-top: 8px; }
.about-h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
  margin: 22px 0 10px;
}
.about-p {
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 14px;
}
.about-ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.about-ul li {
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  padding: 4px 0 4px 22px;
  position: relative;
}
.about-ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 12px;
  height: 1px;
  background: var(--olive);
}
.about-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}
.about-p strong {
  font-weight: 600;
  color: var(--ink);
}
.about-p a,
.about-lede a,
.about-ul a {
  color: var(--olive-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.about-p a:hover,
.about-lede a:hover,
.about-ul a:hover { color: var(--ink); }
body.is-dark .about-p a,
body.is-dark .about-lede a,
body.is-dark .about-ul a { color: var(--olive); }

/* ---------- Footer ---------- */
.about-foot {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.about-foot-links {
  display: flex; flex-wrap: wrap;
  gap: 18px;
}
.about-foot-links a {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  text-decoration: none;
  padding: 6px 0;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: color .15s var(--ease-out);
}
.about-foot-links a:hover { color: var(--ink); }
.about-foot-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.55;
}

/* ---------- Tablet / desktop ---------- */
@media (min-width: 720px) {
  .about-top { padding: 14px 28px; }
  .about-article { padding: 56px 28px 120px; }
  .about-h2 { font-size: 24px; margin: 40px 0 14px; }
  .about-p { font-size: 17px; }
  .about-lede { font-size: 19px; }
}

/* ---------- Smooth color transitions on dark flip ---------- */
body, .about-top, .lang-toggle, .lang-btn {
  transition:
    background-color .3s var(--ease-out),
    border-color .3s var(--ease-out),
    color .3s var(--ease-out);
}

