@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700&family=Sora:wght@600;700&family=Caveat:wght@600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #111;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --line: #292929;
  --accent: #fff;
  --shadow: rgba(255,255,255,.1);
}
:root[data-theme="light"] {
  --bg: #090909;
  --surface: #191919;
  --muted: #b0b0b0;
  --line: #383838;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 15px/1.6 'Manrope', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img, svg { vertical-align: middle; }
::selection { color: #000; background: #e5e5e5; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 18px; border-radius: 6px; background: #fff; color: #000; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.page-shell { width: min(100%, 1140px); min-height: 100svh; margin-inline: auto; padding: 18px 32px 26px; display: flex; flex-direction: column; }
.page-shell > main { flex: 1; min-width: 0; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; font-weight: 700; line-height: 1.2; letter-spacing: -.04em; }
.eyebrow { margin: 0 0 9px; font-size: 9px; font-weight: 700; letter-spacing: .16em; line-height: 1.5; color: var(--muted); }
.wordmark { color: #fff; font: 700 32px/1 'Caveat', cursive; letter-spacing: -.025em; text-decoration: none; }
.main-nav { display: flex; align-items: center; }
.main-nav a { text-decoration: none; font-weight: 700; white-space: nowrap; }
.header-right { display: flex; align-items: center; }
.theme-toggle { border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.toggle-knob { display: block; border-radius: 5px; }

/* Identity, profile, and shared actions. */
.hero { display: grid; align-items: center; }

.hero #intro-title { font-family: 'Caveat', cursive; font-weight: 600; letter-spacing: -.045em; padding-right: 12px; }

.availability { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-weight: 700; line-height: 1.4; text-transform: uppercase; }
.availability > span { display: block; border-radius: 50%; background: #fff; flex-shrink: 0; }

.discord-avatar-wrap { position: relative; }
.discord-avatar { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); transition: transform .4s cubic-bezier(.22,1,.36,1); }

.discord-status { display: flex; align-items: center; gap: 7px; position: absolute; color: #f5f5f5; border-radius: 8px; font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #80848e; }
.is-online .status-dot { background: #23a55a; }
.is-idle .status-dot { background: #f0b232; }
.is-dnd .status-dot { background: #f23f43; }

/* Quiet page ending, with the personal link kept in place. */
.jaliyah-entry { padding: 18px 0 22px; text-align: center; }
.jaliyah-entry-link { color: #737373; font-size: 10px; text-decoration: none; transition: color .2s; }
.jaliyah-entry-link:hover { color: #ddd; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); color: #888; font-size: 10px; letter-spacing: .04em; }
.footer-contact { display: inline-flex; align-items: center; gap: 10px; padding: 7px 0 7px 12px; color: #bcbcbc; text-decoration: none; }
.footer-contact:hover { color: #fff; }

/* Entrance effects shared with motion.css. */
.motion-ready [data-reveal] { opacity: 0; transform: translateY(24px); }
.motion-ready [data-reveal].is-revealed { opacity: 1; transform: none; }
.motion-ready .intro-word { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(18px); }
.motion-ready .intro-copy.is-revealed .intro-word { animation: word-arrive .7s cubic-bezier(.2,0,0,1) both; animation-delay: var(--word-delay); }
.motion-ready #intro-title.is-revealed { animation: title-draw 1.1s cubic-bezier(.2,0,0,1) both; }
@keyframes word-arrive { to { opacity: 1; filter: none; transform: none; } }
@keyframes title-draw { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
@media (max-width: 850px) {
  .page-shell { padding-inline: 26px; }
}
@media (max-width: 560px) {
  .page-shell { padding: 12px 20px 22px; }
  .site-footer { font-size: 9px; }
  .secret-card { grid-template-columns: 1fr; }
  .secret-photo { max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .motion-ready [data-reveal], .motion-ready .intro-word { opacity: 1; transform: none; filter: none; }
  .motion-ready #intro-title.is-revealed { clip-path: none; }
}

.secret-page { min-height: 100vh; padding: clamp(24px, 5vw, 70px); display: grid; place-items: center; }
.secret-card {
  width: min(100%, 1080px);
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}
.secret-photo-wrap { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.secret-photo { display: block; width: 100%; height: auto; max-height: 76vh; object-fit: contain; border-radius: 6px; }
.secret-note .eyebrow { margin-bottom: 24px; }
.secret-note > p:not(.eyebrow) { margin: 0 0 20px; color: var(--muted); font-size: clamp(16px, 1.55vw, 21px); line-height: 1.7; }
.secret-note strong { color: var(--text); }
.secret-note p.jaliyah-signoff { margin-top: 32px; color: var(--accent); font-weight: 700; }
.secret-back { display: inline-block; margin-top: 20px; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-decoration: none; }
.secret-back:hover { color: var(--accent); }

@media (max-width: 700px) { .secret-card { grid-template-columns: 1fr; } .secret-photo { max-height: none; } }
