/* ───────────────── The Profile · custom styles ─────────────────
   Tailwind (via CDN) handles most utilities. This file carries the
   editorial/premium details that are awkward to express inline:
   the dossier folder motif, the wax seal, reveal-on-scroll, textures. */

:root {
  --gold: #c6a35b;
  --goldhi: #e2c987;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background:
    radial-gradient(120% 80% at 50% -10%, #16171c 0%, #0b0c0e 55%) fixed;
}

/* ── Ambient film grain + vignette ─────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  box-shadow: inset 0 0 220px 40px rgba(0,0,0,0.65);
}
/* keep real content above the textures */
header, main, footer { position: relative; z-index: 3; }

/* ── Nav scrolled state ────────────────────────────────────── */
#nav.scrolled {
  background: rgba(11,12,14,0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tw-line, #2a2c33);
}

/* ── Hero glow ─────────────────────────────────────────────── */
.hero-glow {
  position: absolute;
  top: -10%; left: 50%;
  width: 780px; height: 780px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(198,163,91,0.16) 0%, rgba(198,163,91,0.04) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(10px);
}
.hero-glow--low { top: auto; bottom: -30%; opacity: 0.7; }

/* ── Wax seal monogram ─────────────────────────────────────── */
.wax {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1rem;
  color: #2a0f14;
  background:
    radial-gradient(circle at 35% 30%, #a5424f 0%, #7a2331 55%, #5c1926 100%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.25), inset 0 -2px 4px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.5);
  border: 1px solid rgba(0,0,0,0.3);
}
.wax--sm { width: 28px; height: 28px; font-size: 0.85rem; }

/* ── Section typography helpers ────────────────────────────── */
.kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--goldhi);
  margin-bottom: 1rem;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-sub {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: #9a9689;
  font-size: 1.075rem;
  line-height: 1.6;
}

/* ── Gold button ───────────────────────────────────────────── */
.btn-gold {
  background: linear-gradient(180deg, #e2c987 0%, #c6a35b 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 8px 24px -8px rgba(198,163,91,0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(198,163,91,0.75); }
.btn-gold:active { transform: translateY(0); }

/* ── How-it-works step cards ───────────────────────────────── */
.step-card {
  position: relative;
  padding: 2.25rem 1.75rem 2rem;
  border: 1px solid #2a2c33;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(24,26,31,0.7) 0%, rgba(18,19,23,0.7) 100%);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.step-card:hover { border-color: rgba(198,163,91,0.4); transform: translateY(-3px); }
.step-index {
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-family: "Playfair Display", serif;
  font-size: 2.75rem;
  color: rgba(198,163,91,0.14);
  line-height: 1;
}
.step-title { font-family: "Playfair Display", serif; font-size: 1.35rem; margin-bottom: 0.6rem; }
.step-body { color: #9a9689; line-height: 1.6; font-size: 0.975rem; }

/* ═══════════════ THE DOSSIER (centerpiece) ═══════════════ */
.dossier {
  position: relative;
  margin-top: 1.5rem;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
}
/* manila folder tab */
.dossier-tab {
  display: inline-block;
  margin-left: 2rem;
  padding: 0.5rem 1.5rem 0.65rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #d9c7a3;
  background: linear-gradient(180deg, #24262c 0%, #1c1e23 100%);
  border: 1px solid #2f3138;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  transform: translateY(1px);
}
.dossier-body {
  padding: 2rem 2rem 2.25rem;
  border: 1px solid #2f3138;
  border-radius: 0 14px 14px 14px;
  background:
    linear-gradient(180deg, rgba(26,28,33,0.96) 0%, rgba(20,21,26,0.96) 100%);
  position: relative;
}
/* faint horizontal rule texture, like a document */
.dossier-body::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 0 14px 14px 14px;
  background-image: repeating-linear-gradient(180deg, transparent, transparent 31px, rgba(198,163,91,0.03) 32px);
  pointer-events: none;
}

.avatar {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--goldhi);
  background: rgba(198,163,91,0.1);
  border: 1px solid rgba(198,163,91,0.28);
}
.stamp {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9556a;
  padding: 0.35rem 0.7rem;
  border: 1.5px solid rgba(201,85,106,0.55);
  border-radius: 4px;
  transform: rotate(-4deg);
  opacity: 0.85;
}

.ds-section { padding-top: 1.5rem; }
.ds-label {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--goldhi);
  margin-bottom: 0.75rem;
}
.ds-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(198,163,91,0.7); }
.ds-label--private { color: #9fb2c9; }
.ds-dot--private { background: #6f8bb0; box-shadow: 0 0 8px rgba(111,139,176,0.6); }
.lock { font-size: 11px; opacity: 0.7; }
.ds-text { color: #c7c2b5; line-height: 1.65; font-size: 0.975rem; }

/* career timeline */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  display: flex; gap: 1rem; align-items: baseline;
  padding: 0.4rem 0;
  border-left: 1px solid #34363d;
  padding-left: 1rem;
  margin-left: 0.35rem;
  position: relative;
}
.timeline li::before {
  content: ""; position: absolute; left: -4px; top: 0.8rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: #34363d;
}
.timeline li:first-child::before { background: var(--goldhi); box-shadow: 0 0 8px rgba(226,201,135,0.7); }
.tl-year { font-family: "JetBrains Mono", monospace; font-size: 0.8rem; color: #8a8578; width: 2.4rem; flex: none; }
.tl-role { color: #c7c2b5; font-size: 0.95rem; }
.tl-role b { color: #efe9dc; }

/* prediction block */
.prediction {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: rgba(198,163,91,0.06);
  border: 1px solid rgba(198,163,91,0.22);
}
.pred-bar {
  height: 6px; border-radius: 99px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}
.pred-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, #c6a35b, #e2c987);
  border-radius: 99px;
  box-shadow: 0 0 10px rgba(226,201,135,0.5);
  width: 0;
  transition: width 1.1s cubic-bezier(.2,.7,.2,1);
}

/* rapport cards */
.rapport {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid #26282e;
}
.rapport-h {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #8a8578; margin-bottom: 0.4rem;
}
.rapport-b { color: #c7c2b5; font-size: 0.875rem; line-height: 1.55; }

/* private note */
.private-note {
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: repeating-linear-gradient(135deg, rgba(111,139,176,0.05) 0 10px, rgba(111,139,176,0.02) 10px 20px);
  border: 1px dashed rgba(111,139,176,0.35);
}

/* signal chips */
.signal {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #2f3138;
  color: #b7b2a5;
  background: rgba(255,255,255,0.02);
}
.signal--good {
  color: #8fce9e;
  border-color: rgba(143,206,158,0.3);
  background: rgba(143,206,158,0.07);
}
.signal--neutral {
  color: #9fb2c9;
  border-color: rgba(159,178,201,0.25);
  background: rgba(159,178,201,0.06);
}

/* live monitoring badge */
.live-badge {
  margin-left: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #d98a97;
  text-transform: uppercase;
}
.live-badge::first-letter { color: #e0525f; }

/* on-the-radar watch list */
.watch { list-style: none; padding: 0; margin: 0; }
.watch li {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid #212329;
}
.watch li:last-child { border-bottom: none; }
.watch-time {
  flex: none;
  width: 4.2rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: #8a8578;
  padding-top: 0.15rem;
}
.watch-item { color: #c7c2b5; font-size: 0.92rem; line-height: 1.5; }

/* ── The daily brief ───────────────────────────────────────── */
.brief-point {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: #c7c2b5;
  line-height: 1.55;
}
.brief-point em { color: #d9c7a3; font-style: italic; }
.brief-ic {
  flex: none;
  font-size: 1.1rem;
  line-height: 1.4;
  filter: grayscale(0.1);
}

/* WhatsApp-style chat mock */
.chat {
  max-width: 26rem;
  margin: 0 auto;
  border: 1px solid #2f3138;
  border-radius: 20px;
  overflow: hidden;
  background: #101216;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.7);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #1c1e23, #16181c);
  border-bottom: 1px solid #26282e;
}
.chat-name { font-weight: 600; font-size: 0.95rem; color: #efe9dc; line-height: 1.1; }
.chat-status { font-size: 0.72rem; color: #7fae8c; }
.chat-wa {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: #4c8f63;
}
.chat-body {
  padding: 1.25rem 1rem 1.4rem;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(198,163,91,0.04), transparent 60%),
    #0c0e11;
}
.bubble {
  position: relative;
  background: linear-gradient(180deg, #1e2127, #191b20);
  border: 1px solid #2b2e35;
  border-left: 2px solid var(--gold);
  border-radius: 4px 14px 14px 14px;
  padding: 0.95rem 1rem 1.6rem;
  color: #d3cec1;
  font-size: 0.9rem;
  line-height: 1.5;
}
.bubble b { color: #efe9dc; }
.bmeta {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--goldhi);
  margin-bottom: 0.15rem;
}
.bhr { border: none; border-top: 1px solid #26282e; margin: 0.85rem 0; }
.bfoot { margin-top: 0.85rem; font-style: italic; color: #9a9689; font-size: 0.84rem; }
.btime {
  position: absolute;
  bottom: 0.55rem; right: 0.85rem;
  font-size: 0.65rem;
  color: #6f8bb0;
  font-family: "JetBrains Mono", monospace;
}

/* ── Why-different cards ───────────────────────────────────── */
.diff-card {
  padding: 2rem 1.9rem;
  border: 1px solid #2a2c33;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(22,24,29,0.6), rgba(16,17,21,0.6));
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.diff-card:hover { border-color: rgba(198,163,91,0.35); transform: translateY(-2px); }
.diff-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.diff-title { font-family: "Playfair Display", serif; font-size: 1.4rem; margin-bottom: 0.6rem; }
.diff-body { color: #b7b2a5; line-height: 1.6; }
.diff-vs {
  margin-top: 1rem; padding-top: 0.9rem;
  border-top: 1px solid #24262c;
  font-size: 0.85rem; color: #7d7869; font-style: italic;
}

/* ── Privacy panel ─────────────────────────────────────────── */
.privacy-panel {
  padding: 3rem 2rem 3.25rem;
  border: 1px solid rgba(198,163,91,0.2);
  border-radius: 18px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(198,163,91,0.06), transparent 60%),
    linear-gradient(180deg, rgba(22,24,29,0.7), rgba(15,16,20,0.7));
}
.privacy-seal {
  width: 58px; height: 58px; margin: 0 auto 1.5rem;
  display: grid; place-items: center;
  color: var(--goldhi);
  border-radius: 50%;
  border: 1px solid rgba(198,163,91,0.35);
  background: rgba(198,163,91,0.07);
}
.privacy-seal svg { width: 28px; height: 28px; }
.chip {
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  border: 1px solid #2f3138;
  color: #b7b2a5;
  background: rgba(255,255,255,0.02);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.05em;
}

/* ── Pricing card ──────────────────────────────────────────── */
.price-card {
  position: relative;
  padding: 2.75rem 2rem 2.25rem;
  border: 1px solid rgba(198,163,91,0.3);
  border-radius: 18px;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(198,163,91,0.09), transparent 55%),
    linear-gradient(180deg, rgba(24,26,31,0.9), rgba(16,17,21,0.9));
  box-shadow: 0 25px 50px -20px rgba(0,0,0,0.7);
  overflow: hidden;
}
.price-ribbon {
  position: absolute; top: 1rem; right: -2.4rem;
  transform: rotate(45deg);
  background: linear-gradient(180deg, #e2c987, #c6a35b);
  color: #2a1f08;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.35rem 3rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}
.price-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.price-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.8rem;
  border-bottom: 1px solid #212329;
  color: #c7c2b5;
  font-size: 0.95rem;
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.85rem;
  width: 12px; height: 7px;
  border-left: 1.5px solid var(--goldhi);
  border-bottom: 1.5px solid var(--goldhi);
  transform: rotate(-45deg);
}

/* ── Reveal on scroll ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
