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

:root {
  --bg:            #07071a;
  --bg2:           #0e0e24;
  --surface:       rgba(255,255,255,0.035);
  --surface-hover: rgba(255,255,255,0.065);
  --border:        rgba(255,255,255,0.08);
  --border-hi:     rgba(139,92,246,0.4);
  --indigo:        #6366f1;
  --violet:        #8b5cf6;
  --indigo-light:  #a5b4fc;
  --indigo-glow:   rgba(99,102,241,0.2);
  --silver:        #c0c0c0;
  --silver-light:  #e8e8e8;
  --silver-dim:    #888;
  --amber:         #f59e0b;
  --emerald:       #10b981;
  --sky:           #38bdf8;
  --rose:          #f43f5e;
  --text:          rgba(255,255,255,0.88);
  --text-muted:    rgba(255,255,255,0.42);
  --radius:        16px;
  --font:          'Inter', system-ui, sans-serif;
  --ease:          cubic-bezier(0.25,0.46,0.45,0.94);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Decorative glows bleed wider than the viewport (130vw / 100vw); keep them
   from creating horizontal scroll on mobile. */
.hero { overflow: hidden; }

/* ── Header ─────────────────────────────────────────── */
/* Floating Apple-style frosted-glass nav pill, pinned to the top */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: clamp(0.6rem,2vw,1rem) clamp(0.8rem,4vw,2rem);
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  width: 100%; max-width: 920px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0.6rem 0.5rem 1.35rem;
  background: rgba(18,18,40,0.55);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35),
              inset 0 1px 0 rgba(255,255,255,0.10),
              inset 0 -1px 0 rgba(0,0,0,0.20);
}
.header-nav { display: flex; align-items: center; gap: 1.4rem; }
.nav-link {
  font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
  text-decoration: none; transition: color .2s;
}
.nav-link:hover { color: #fff; }
.logo-wrap { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-fullname {
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900; font-size: 1.1rem; letter-spacing: 0.2em;
  background: linear-gradient(135deg, var(--silver-light), var(--silver));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  cursor: default;
}
.header-right { display: flex; align-items: center; gap: 0.75rem; }
.welcome-pill {
  display: none; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; color: var(--indigo-light);
  background: var(--indigo-glow); border: 1px solid var(--border-hi);
  padding: 0.3rem 0.85rem; border-radius: 100px;
}
.welcome-pill.show { display: flex; }
.btn-login {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.07em;
  color: #080810; background: linear-gradient(135deg, var(--indigo-light), var(--violet));
  border: none; padding: 0.5rem 1.25rem; border-radius: 100px;
  cursor: pointer; transition: opacity .2s, transform .2s;
}
.btn-login:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-logout {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--text-muted); background: none; border: 1px solid var(--border);
  padding: 0.4rem 1rem; border-radius: 100px;
  cursor: pointer; transition: border-color .2s, color .2s;
}
.btn-logout:hover { border-color: var(--rose); color: var(--rose); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  min-height: 88svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 8rem clamp(1.2rem,6vw,5rem) 5rem;
}
.hero-glow {
  position: absolute; top: 40%; left: 50%; translate: -50% -50%;
  width: min(800px,130vw); height: min(600px,100vw);
  background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none; animation: pulseGlow 8s ease-in-out infinite;
}
@keyframes pulseGlow { 0%,100%{opacity:1;scale:1} 50%{opacity:0.5;scale:1.08} }
.hero-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--indigo-light); border: 1px solid rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.08); padding: 0.4rem 1.2rem; border-radius: 100px;
  margin-bottom: 2rem; animation: fadeUp 0.7s ease both;
}
.hero-name {
  font-family: 'Arial Black', Arial, sans-serif; font-weight: 900;
  font-size: clamp(3.5rem,11vw,8rem); line-height: 0.92;
  display: grid; width: fit-content; margin: 0 auto 0.4rem;
  animation: fadeUp 0.7s 0.05s ease both;
}
.hn-jalib {
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, var(--silver-light), var(--silver));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hn-kenz {
  display: flex; justify-content: space-between;
}
.hn-kenz span {
  background: linear-gradient(135deg, var(--silver-light), var(--silver));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@keyframes shimmer { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
.hero-content { width: 100%; max-width: 720px; }
.hero-tagline {
  font-size: clamp(1.5rem,4.8vw,2.9rem); line-height: 1.18;
  letter-spacing: -0.02em; font-weight: 800;
  max-width: 700px; margin: 0 auto;
  background: linear-gradient(135deg, #ffffff, #b8b8d6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: fadeUp 0.7s 0.05s ease both;
}
.hero-sub {
  font-size: clamp(0.95rem,2.2vw,1.2rem); color: var(--text-muted);
  line-height: 1.7; margin: 1.1rem auto 0; font-weight: 300; letter-spacing: 0.02em;
  animation: fadeUp 0.7s 0.16s ease both;
}
.hero-cta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem;
  animation: fadeUp 0.7s 0.26s ease both;
}
.hero-whatsapp {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.02em;
  color: #eafff3; text-decoration: none;
  background: linear-gradient(135deg, rgba(37,211,102,0.20), rgba(18,140,126,0.16));
  border: 1px solid rgba(37,211,102,0.45);
  padding: 0.8rem 1.7rem; border-radius: 100px;
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 6px 22px rgba(37,211,102,0.14), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.hero-whatsapp:hover {
  transform: translateY(-2px); border-color: rgba(37,211,102,0.75);
  box-shadow: 0 12px 30px rgba(37,211,102,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}
.hero-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }

.hero-secondary {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--indigo-light); text-decoration: none;
  background: var(--surface); border: 1px solid var(--border);
  padding: 0.8rem 1.6rem; border-radius: 100px;
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  transition: transform .2s, border-color .2s, background .2s;
}
.hero-secondary:hover {
  transform: translateY(-2px); border-color: rgba(139,92,246,0.5);
  background: rgba(139,92,246,0.1);
}
.hero-secondary svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-scroll {
  /* Center with auto margins, not translate: the fadeUp animation animates the
     `translate` property to 0 0, which would otherwise wipe out a -50% centre. */
  position: absolute; bottom: 2rem; left: 0; right: 0;
  width: fit-content; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  animation: fadeUp 1s 0.6s ease both;
}
.hero-scroll-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(139,92,246,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  49%  { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Section common ──────────────────────────────────── */
.section {
  position: relative; z-index: 1;
  padding: 6rem clamp(1.2rem,5vw,4rem);
  max-width: 1100px; margin: 0 auto;
}
.section-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--indigo-light);
  margin-bottom: 0.75rem; text-align: center;
}
.section-title {
  font-family: 'Arial Black', Arial, sans-serif; font-weight: 900;
  font-size: clamp(1.8rem,4vw,2.8rem); letter-spacing: -0.01em;
  text-align: center; color: #fff; margin-bottom: 1rem;
}
.section-sub {
  text-align: center; color: var(--text-muted);
  font-size: 0.95rem; font-weight: 300; line-height: 1.7;
  max-width: 480px; margin: 0 auto 3.5rem;
}

/* ── Timeline ────────────────────────────────────────── */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, transparent, var(--indigo) 8%, var(--violet) 50%, var(--indigo) 92%, transparent);
  transform: translateX(-50%);
}

.tl-item {
  display: flex; align-items: flex-start;
  gap: 2.5rem; margin-bottom: 3.5rem; position: relative;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item.left  { flex-direction: row-reverse; }
.tl-item.right { flex-direction: row; }

.tl-card {
  flex: 1; max-width: calc(50% - 2.5rem);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.75rem;
  position: relative; transition: border-color 0.3s, transform 0.3s;
}
.tl-card::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.3), transparent);
}
.tl-card:hover { border-color: rgba(139,92,246,0.3); transform: translateY(-3px); }
.tl-item.left  .tl-card { text-align: right; }
.tl-item.right .tl-card { text-align: left; }

.tl-year {
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--violet); margin-bottom: 0.5rem; display: block;
}
.tl-title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.tl-desc  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; font-weight: 300; }
.tl-footer {
  display: flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; flex-wrap: wrap;
}
.tl-item.left .tl-footer { justify-content: flex-end; }

.tl-cat {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.22rem 0.7rem; border-radius: 100px;
}
.cat-life        { background: rgba(244,63,94,0.14);   color: #fda4af; border: 1px solid rgba(244,63,94,0.3); }
.cat-work        { background: rgba(139,92,246,0.18);  color: #c4b5fd; border: 1px solid rgba(139,92,246,0.35); }
.cat-education   { background: rgba(16,185,129,0.14);  color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.cat-achievement { background: rgba(245,158,11,0.15);  color: #fcd34d; border: 1px solid rgba(245,158,11,0.3); }
.cat-travel      { background: rgba(56,189,248,0.14);  color: #7dd3fc; border: 1px solid rgba(56,189,248,0.3); }

.tl-dot {
  flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  border: 2px solid var(--bg); box-shadow: 0 0 0 3px rgba(139,92,246,0.3);
  position: relative; z-index: 1; align-self: center; flex-basis: 14px;
}

.tl-edit-btns { display: none; gap: 0.4rem; }
.tl-edit-btns.show { display: flex; }
.btn-tl-edit, .btn-tl-del {
  font-size: 0.7rem; font-weight: 600; padding: 0.22rem 0.6rem;
  border-radius: 8px; border: none; cursor: pointer; transition: opacity .2s;
}
.btn-tl-edit { background: rgba(99,102,241,0.2); color: var(--indigo-light); }
.btn-tl-del  { background: rgba(244,63,94,0.15); color: #fda4af; }
.btn-tl-edit:hover, .btn-tl-del:hover { opacity: 0.75; }

.tl-add-wrap { text-align: center; margin-top: 3rem; }
.btn-add-milestone {
  display: none; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--violet); background: rgba(139,92,246,0.1);
  border: 1px dashed rgba(139,92,246,0.35); padding: 0.7rem 1.6rem;
  border-radius: 100px; cursor: pointer; transition: background .2s, border-color .2s;
}
.btn-add-milestone:hover { background: rgba(139,92,246,0.18); border-color: rgba(139,92,246,0.5); }
.btn-add-milestone.show { display: inline-flex; }

/* ── Apps Built ───────────────────────────────────────── */
.apps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: 1.25rem;
}
.app-card {
  display: flex; flex-direction: column; gap: 0.7rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 1.9rem;
  text-decoration: none; position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.app-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--violet)); opacity: 0.5;
}
.app-card:hover { border-color: rgba(139,92,246,0.4); transform: translateY(-3px); }
.app-name { font-size: 1.25rem; font-weight: 800; color: #fff; }
.app-problem { font-size: 0.88rem; color: var(--text-muted); font-weight: 300; line-height: 1.7; }
.app-url {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--violet);
}

/* ── Websites Launched ────────────────────────────────── */
.websites-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 1rem;
}
.website-card {
  display: flex; flex-direction: column; gap: 0.35rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
  text-decoration: none; position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.website-card { min-width: 0; }
.website-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--violet)); opacity: 0.5;
}
.website-card:hover { border-color: rgba(139,92,246,0.4); transform: translateY(-3px); }
.website-name {
  font-size: 0.9rem; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}
.website-desc { font-size: 0.82rem; color: var(--text-muted); font-weight: 300; line-height: 1.5; }
.websites-note {
  text-align: center; color: var(--text-muted); font-size: 0.78rem;
  font-weight: 300; margin-top: 2rem;
}

/* ── Expenses Section ────────────────────────────────── */
#expenses {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.8s var(--ease), opacity 0.6s ease;
}
#expenses.show { max-height: 9999px; opacity: 1; }

.section-divider {
  border: none; border-top: 1px solid var(--border);
  max-width: 1100px; margin: 0 auto;
}
.expenses-inner {
  padding: 6rem clamp(1.2rem,5vw,4rem);
  max-width: 1100px; margin: 0 auto;
}

.expense-summary {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 1rem; margin-bottom: 2.5rem;
}
.summary-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; position: relative; overflow: hidden;
}
.summary-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--violet)); opacity: 0.5;
}
.summary-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem;
}
.summary-value { font-size: 1.5rem; font-weight: 800; color: #fff; }
.summary-sub   { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem; }

.expense-form-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 2rem; margin-bottom: 2.5rem;
}
.expense-form-title {
  font-size: 0.78rem; font-weight: 700; color: var(--indigo-light);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.expense-form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: 0.9rem; align-items: end;
}
.fg { display: flex; flex-direction: column; gap: 0.4rem; }
.fg label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
}
.fg input, .fg select {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.65rem 0.9rem;
  color: var(--text); font-family: var(--font); font-size: 0.88rem;
  outline: none; transition: border-color .2s, background .2s; -webkit-appearance: none; width: 100%;
}
.fg input::placeholder { color: rgba(255,255,255,0.2); }
.fg input:focus, .fg select:focus {
  border-color: rgba(139,92,246,0.5); background: rgba(255,255,255,0.07);
}
.fg select option { background: #1a1a2e; color: var(--text); }
.btn-add-expense {
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.05em;
  color: #080810; background: linear-gradient(135deg, var(--indigo-light), var(--violet));
  border: none; padding: 0.65rem 1.5rem; border-radius: 10px;
  cursor: pointer; transition: opacity .2s, transform .2s; white-space: nowrap; align-self: flex-end;
}
.btn-add-expense:hover { opacity: 0.88; transform: translateY(-1px); }

.expense-filters {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.filter-label { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); }
.filter-select {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.4rem 0.8rem;
  color: var(--text); font-family: var(--font); font-size: 0.82rem;
  outline: none; cursor: pointer; -webkit-appearance: none;
  transition: border-color .2s;
}
.filter-select:focus { border-color: rgba(139,92,246,0.4); }
.filter-select option { background: #1a1a2e; }

.expense-list { display: flex; flex-direction: column; gap: 0.6rem; }
.expense-row {
  display: grid; grid-template-columns: 10px 1fr auto auto;
  align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 0.9rem 1.25rem;
  transition: border-color 0.2s;
}
.expense-row:hover { border-color: rgba(139,92,246,0.2); }
.exp-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.exp-desc { font-size: 0.88rem; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.15rem; }
.exp-amount { font-size: 0.95rem; font-weight: 700; color: #fff; white-space: nowrap; }
.btn-del-exp {
  background: none; border: none; cursor: pointer; padding: 0.3rem;
  color: var(--text-muted); transition: color .2s; border-radius: 6px; font-size: 1rem; line-height: 1;
}
.btn-del-exp:hover { color: var(--rose); background: rgba(244,63,94,0.1); }

.expenses-empty {
  text-align: center; color: var(--text-muted); padding: 3rem; font-size: 0.9rem; font-style: italic;
}

/* ── Modal ───────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.show { display: flex; }
.modal {
  background: #11112a; border: 1px solid rgba(139,92,246,0.25);
  border-radius: 20px; padding: 2.5rem; width: 100%; max-width: 440px;
  animation: modalIn 0.3s var(--ease) both;
}
.modal-lg { max-width: 540px; }
@keyframes modalIn { from{opacity:0;scale:0.95;translate:0 20px} to{opacity:1;scale:1;translate:0 0} }
.modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 1.75rem; gap: 1rem;
}
.modal-title { font-size: 1.15rem; font-weight: 800; color: #fff; }
.modal-sub   { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.25rem; }
.btn-modal-close {
  background: rgba(255,255,255,0.07); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 1rem; width: 32px; height: 32px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: background .2s, color .2s;
}
.btn-modal-close:hover { background: rgba(244,63,94,0.15); color: var(--rose); }
.mf { display: flex; flex-direction: column; gap: 1rem; }
.mf label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 0.35rem;
}
.mf input, .mf select, .mf textarea {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 0.7rem 1rem;
  color: var(--text); font-family: var(--font); font-size: 0.9rem;
  outline: none; transition: border-color .2s, background .2s; resize: vertical;
}
.mf input::placeholder, .mf textarea::placeholder { color: rgba(255,255,255,0.2); }
.mf input:focus, .mf select:focus, .mf textarea:focus {
  border-color: rgba(139,92,246,0.5); background: rgba(255,255,255,0.07);
}
.mf select option { background: #1a1a2e; }
.mf .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-msubmit {
  width: 100%; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.06em;
  color: #080810; background: linear-gradient(135deg, var(--indigo-light), var(--violet));
  border: none; padding: 0.85rem; border-radius: 12px;
  cursor: pointer; margin-top: 0.5rem; transition: opacity .2s, transform .2s;
}
.btn-msubmit:hover { opacity: 0.88; transform: translateY(-1px); }
.modal-err  { font-size: 0.82rem; color: var(--rose); text-align: center; min-height: 1.2rem; }
.modal-info { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 0.25rem; }
.modal-info strong { color: var(--indigo-light); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem clamp(1.2rem,5vw,4rem); text-align: center; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem;
}
.footer-name {
  font-family: 'Arial Black', Arial, sans-serif; font-weight: 900;
  font-size: 0.85rem; letter-spacing: 0.25em;
  background: linear-gradient(135deg, var(--silver-light), var(--silver));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-sep { color: var(--border); }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }
.footer-copy a { color: var(--silver-dim); text-decoration: none; transition: color .2s; }
.footer-copy a:hover { color: var(--silver-light); }

@keyframes fadeUp { from{opacity:0;translate:0 18px} to{opacity:1;translate:0 0} }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 700px) {
  .header-inner { padding-left: 1.05rem; }
  .logo-fullname { font-size: 1rem; letter-spacing: 0.14em; }
  .header-nav { gap: 1rem; }
  .timeline::before { left: 1.25rem; }
  /* row-reverse puts the dot (2nd in the DOM) on the LEFT and the card on the
     right; padding-left aligns the 14px dot's centre onto the line at 1.25rem. */
  .tl-item, .tl-item.left, .tl-item.right {
    flex-direction: row-reverse !important; gap: 1.25rem; padding-left: 13px;
  }
  .tl-dot { margin-top: 1.2rem; align-self: flex-start; }
  .tl-card { max-width: 100%; text-align: left !important; }
  .tl-footer, .tl-item.left .tl-footer { justify-content: flex-start !important; }
  .expense-form { grid-template-columns: 1fr; }
  .expense-row { grid-template-columns: 10px 1fr auto auto; gap: 0.6rem; }
  .mf .row2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
