/* =========================================================
   RAKIA LIFES — Portal CSS
   Warm / Editorial Design Language (life-improvement tools)
   Sister brand to Rakia Games. Part of Rakia Studio.
   ========================================================= */

:root {
  /* Warm, light "everyday life" surfaces */
  --bg-base: #f4ecda;
  --bg-soft: #ece0c7;
  --bg-card: #fffefb;
  --bg-overlay: rgba(244, 236, 218, 0.88);

  /* Studio lineage: deep purple + gold (from the Rakia Studio orbit mark) */
  --ink: #281550;
  --ink-deep: #1f1142;
  --ink-soft: rgba(34, 18, 66, 0.94);
  --ink-muted: rgba(34, 18, 66, 0.74);

  --purple: #5a3da8;
  --purple-deep: #341c62;
  --gold: #c9a04e;        /* bright gold — fills, dots, borders, lines (not text) */
  --gold-deep: #846016;   /* deep antique gold — readable as text on cream */

  /* "Life / growth" tertiary accent — used sparingly */
  --leaf: #6f9a5e;
  --leaf-soft: #8fb37e;

  --line: rgba(52, 28, 98, 0.12);
  --line-strong: rgba(52, 28, 98, 0.24);
  --gold-line: rgba(201, 160, 78, 0.4);

  --font-display: 'EB Garamond', Georgia, 'Times New Roman', 'Yu Mincho',
                  'Hiragino Mincho ProN', serif;
  --font-body: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont,
               'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN',
               'Yu Gothic', 'Meiryo', sans-serif;
  --font-label: 'EB Garamond', 'Zen Kaku Gothic New', system-ui, sans-serif;

  --maxw: 1160px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 18px 40px rgba(52, 28, 98, 0.08);
  --shadow-card: 0 10px 30px rgba(52, 28, 98, 0.07);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-base);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 21px;
  line-height: 1.95;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Soft warm radial glow behind the page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% -5%, rgba(201, 160, 78, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 45% at 0% 8%, rgba(107, 79, 184, 0.1), transparent 60%);
}

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

img {
  max-width: 100%;
}

/* =========================================================
   INTRO VEIL — gentle first-visit fade (no cyberpunk boot)
   ========================================================= */
.intro-lock { overflow: hidden; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at center, #fffdf8 0%, var(--bg-base) 60%, var(--bg-soft) 100%);
  cursor: default;
}

.intro--play {
  display: flex;
  animation: intro-fade-in 0.5s ease-out;
}

.intro--end {
  animation: intro-fade-out 0.8s ease forwards;
}

@keyframes intro-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-fade-out {
  to { opacity: 0; visibility: hidden; }
}

.intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.intro__mark {
  width: 96px;
  height: 96px;
  animation: intro-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intro__word {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--purple-deep);
  opacity: 0;
  animation: intro-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.intro__word em {
  font-style: italic;
  color: var(--gold-deep);
}

.intro__tag {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
  text-transform: uppercase;
  opacity: 0;
  animation: intro-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes intro-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   NAV BAR
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-overlay);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.nav__left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.nav__left:hover { opacity: 0.8; }

.nav__mark { width: 46px; height: 46px; display: block; flex-shrink: 0; }

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--purple-deep);
  line-height: 1;
}

.nav__brand em { font-style: italic; color: var(--gold-deep); }

.nav__sub {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-left: 2px;
}

.nav__right {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.nav__right a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav__right a:hover { color: var(--purple); }

.nav__cta {
  padding: 10px 22px;
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  color: var(--gold-deep) !important;
  background: rgba(201, 160, 78, 0.1);
  font-weight: 600;
  transition: all 0.2s ease !important;
}

.nav__cta:hover {
  background: var(--gold);
  color: #fff !important;
  border-color: var(--gold);
}

/* =========================================================
   CONTAINER / LAYOUT
   ========================================================= */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section { padding: 96px 0; position: relative; }

.section--soft {
  background: linear-gradient(180deg, var(--bg-soft), rgba(243, 236, 223, 0.4));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__label {
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section__label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--purple-deep);
  margin-top: 14px;
  line-height: 1.2;
}

.section__title em { font-style: italic; color: var(--gold-deep); }

.section__lead {
  max-width: 660px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.section__header {
  margin-bottom: 52px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.section__meta {
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  font-weight: 600;
  text-transform: uppercase;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 110px 0 96px;
  overflow: hidden;
}

.hero__mark-bg {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(560px, 58vw);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.hero__inner { position: relative; z-index: 1; max-width: 760px; }

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: var(--purple-deep);
  margin-bottom: 8px;
}

.hero__title em { font-style: italic; color: var(--gold-deep); }

.hero__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--purple);
  margin-bottom: 30px;
}

.hero__desc {
  font-size: 1.36rem;
  color: var(--ink-soft);
  line-height: 2;
  max-width: 700px;
  margin-bottom: 40px;
}

.hero__desc strong { color: var(--purple-deep); font-weight: 700; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
}

.btn--primary {
  background: var(--purple-deep);
  color: #fff;
  box-shadow: 0 10px 24px rgba(52, 28, 98, 0.22);
}

.btn--primary:hover {
  background: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(52, 28, 98, 0.28);
}

.btn--gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 24px rgba(201, 160, 78, 0.28);
}

.btn--gold:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--purple-deep);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(107, 79, 184, 0.05);
}

.btn__arrow { transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* =========================================================
   TOOLS GRID
   ========================================================= */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

a.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-line);
}

.tool-card__visual {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(107, 79, 184, 0.2), transparent 62%),
    linear-gradient(150deg, #e9e2f3 0%, #e4ebf5 100%);
  position: relative;
}

.tool-card__visual-mark { width: 88px; height: 88px; opacity: 0.55; }

.tool-card__visual-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.tool-card__icon {
  width: clamp(150px, 42%, 200px);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 22%;
  border: 1.5px solid rgba(52, 28, 98, 0.2);
  box-shadow: 0 16px 34px rgba(52, 28, 98, 0.24);
  transition: transform 0.3s ease;
}

a.tool-card:hover .tool-card__icon { transform: translateY(-3px) scale(1.03); }

.tool-card__body {
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.tool-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tool-card__tag {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--purple-deep);
  padding: 4px 13px;
  background: rgba(107, 79, 184, 0.1);
  border: 1px solid rgba(52, 28, 98, 0.22);
  border-radius: 999px;
}

.tool-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--purple-deep);
}

.tool-card__desc { font-size: 1.18rem; color: var(--ink-soft); flex: 1; }

.tool-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.tool-card__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.tool-card__status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.tool-card__status--live { color: var(--leaf); }
.tool-card__status--live::before { background: var(--leaf); }

.tool-card__arrow { color: var(--purple); transition: transform 0.2s ease; }
a.tool-card:hover .tool-card__arrow { transform: translateX(4px); }

.tool-card--placeholder { border-style: dashed; box-shadow: none; }
.tool-card--placeholder .tool-card__visual {
  background: repeating-linear-gradient(135deg, #f1e8d4, #f1e8d4 12px, #e9dcc3 12px, #e9dcc3 24px);
}

/* =========================================================
   VALUE / PHILOSOPHY CARDS
   ========================================================= */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.value {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.value__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.value__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--purple);
}

.value__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--purple-deep);
  margin-bottom: 10px;
}

.value__desc { font-size: 1.16rem; color: var(--ink-soft); }

/* =========================================================
   ABOUT / STUDIO STRIP
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--purple-deep);
  margin-bottom: 12px;
}

.about__role {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 24px;
}

.about__body p { color: var(--ink-soft); margin-bottom: 18px; }

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.about__stat-label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.about__stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--purple-deep);
}

/* Brand family cards (Games / Lifes / Studio) */
.family {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.family-card {
  display: block;
  padding: 26px;
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s ease;
  min-height: 168px;
}

.family-card:hover { transform: translateY(-4px); }

.family-card--games { background: linear-gradient(135deg, #2d1b5c, #3d2674 55%, #1e1240); }
.family-card--lifes {
  background: linear-gradient(135deg, #341c62, #6b4fb8 60%, var(--gold));
  position: relative;
}
.family-card--studio { background: linear-gradient(135deg, #1f1142, #341c62); }

.family-card__label {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.family-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 8px;
}

.family-card__desc {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
}

.family-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f0d99a;
}

.family-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gold-deep);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}

/* =========================================================
   SIGNUP / CTA BANNER
   ========================================================= */
.cta-banner {
  background: linear-gradient(135deg, #341c62, #4a2f86 55%, #6b4fb8);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(201, 160, 78, 0.3), transparent 55%);
  pointer-events: none;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
}

.cta-banner__desc {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto 28px;
  position: relative;
}

.cta-banner .btn { position: relative; }

/* =========================================================
   VISITOR COUNTER (consistent with sister sites)
   ========================================================= */
.visitor-counter {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.visitor-counter__header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.visitor-counter__header::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  animation: vc-blink 1.8s ease-in-out infinite;
}

@keyframes vc-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.visitor-counter__display {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.counter__digit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(30px, 7vw, 44px);
  height: clamp(44px, 10vw, 60px);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--purple-deep);
  font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-card);
}

.counter__digit.is-spinning { color: var(--gold-deep); }

.visitor-counter__sub {
  margin-top: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
  position: relative;
  z-index: 2;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
}

.footer__brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer__mark { width: 30px; height: 30px; }

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--purple-deep);
}

.footer__brand em { font-style: italic; color: var(--gold-deep); }

.footer__tagline { font-size: 0.9rem; color: var(--ink-muted); max-width: 280px; }

.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer__col { display: flex; flex-direction: column; gap: 10px; }

.footer__col-title {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 4px;
}

.footer__links a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover { color: var(--purple); }

.footer__copy {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

/* =========================================================
   SUBPAGE / PROSE (about, contact, legal)
   ========================================================= */
.page-head {
  padding: 72px 0 36px;
  position: relative;
}

.page-head__label {
  font-size: 0.92rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

.page-head__icon {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 23px;
  border: 1.5px solid rgba(52, 28, 98, 0.18);
  box-shadow: 0 12px 28px rgba(52, 28, 98, 0.2);
  margin-bottom: 22px;
}

.page-head__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 600;
  color: var(--purple-deep);
  margin-top: 12px;
  line-height: 1.1;
}

.page-head__title em { font-style: italic; color: var(--gold-deep); }

.page-head__lead { margin-top: 16px; color: var(--ink-soft); max-width: 640px; }

.prose {
  max-width: 760px;
  padding-bottom: 40px;
  color: var(--ink-soft);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--purple-deep);
  margin: 2.2em 0 0.6em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.prose h2::before {
  content: '//';
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gold-deep);
}

.prose h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--purple-deep);
  margin: 1.6em 0 0.4em;
}

.prose p { margin-bottom: 1.1em; }
.prose strong { color: var(--purple-deep); font-weight: 700; }

.prose a {
  color: var(--purple);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
}
.prose a:hover { border-bottom-color: var(--purple); }

.prose ul, .prose ol { margin: 1.1em 0; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 0.6em; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.prose ol { counter-reset: item; }
.prose ol li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.6em;
  counter-increment: item;
}
.prose ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 600;
}

.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.4em 0 0.4em 1.2em;
  margin: 1.4em 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--purple);
}

.doc-meta {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid var(--line);
}

/* Member / contact cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 1.6em 0;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.info-card__label {
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

.info-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--purple-deep);
  margin: 6px 0 2px;
}

.info-card__role { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 12px; }
.info-card__text { font-size: 1.08rem; color: var(--ink-soft); }

.info-card a { color: var(--purple); border-bottom: 1px solid var(--gold-line); text-decoration: none; }
.info-card a:hover { border-bottom-color: var(--purple); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 1.6em 0; }
.timeline li {
  position: relative;
  padding: 0 0 26px 28px;
  border-left: 1px solid var(--line-strong);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg-base);
}
.timeline__date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--gold-deep);
  font-weight: 600;
}
.timeline__text { margin-top: 4px; font-size: 1.1rem; color: var(--ink-soft); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.86rem;
  color: var(--purple);
  text-decoration: none;
}
.back-link:hover { color: var(--gold-deep); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal { animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.reveal-1 { animation-delay: 0.08s; }
.reveal-2 { animation-delay: 0.16s; }
.reveal-3 { animation-delay: 0.24s; }
.reveal-4 { animation-delay: 0.32s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 56px; }
}

@media (max-width: 640px) {
  .nav__right { gap: 16px; }
  .nav__right .nav__hideable { display: none; }
  .container { padding: 0 18px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .about__stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cta-banner { padding: 40px 24px; }
  .footer__inner { flex-direction: column; gap: 28px; }
  .footer__copy { flex-direction: column; gap: 6px; }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
