/* ═══════════════════════════════════════════
   LUMIE'S LITTLE CORNER — shared stylesheet
   edit this file to change colours or fonts
   across the whole site at once
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=IM+Fell+English:ital@0;1&family=Inconsolata:wght@300;400&display=swap');

/* ── COLOUR TOKENS ──────────────────────────
   change these to retheme the whole site    */
:root {
  --ink:       #1a1510;
  --parchment: #e8e0d0;
  --cream:     #f2ede4;
  --dim:       #9a8f7e;
  --faint:     #2e2720;
  --gold:      #b8965a;
  --moss:      #4a5940;
  --burgundy:  #6b2d3e;
  --paper:     #c8bfad;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── BASE ── */
body {
  background-color: var(--ink);
  color: var(--parchment);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

/* grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

a { color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }

/* ── HEADER ── */
header {
  padding: 4rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--faint);
  position: relative;
}

.site-title {
  font-family: 'IM Fell English', serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cream);
  line-height: 1.1;
}

.site-title em {
  color: var(--gold);
  font-style: italic;
}

.site-subtitle {
  font-family: 'Inconsolata', monospace;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 0.8rem;
}

.ornament {
  display: block;
  text-align: center;
  color: var(--gold);
  opacity: 0.5;
  font-size: 1rem;
  letter-spacing: 0.6em;
  margin: 1.2rem 0 0;
}

/* ── NAV ── */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem 2rem;
  padding: 1.4rem 2rem;
  border-bottom: 1px solid var(--faint);
}

nav a {
  font-family: 'Inconsolata', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  transition: color 0.2s;
}

nav a:hover  { color: var(--gold); opacity: 1; }
nav a.active { color: var(--gold); }

/* ── LAYOUT ── */
.wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--faint);
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.7s ease forwards;
}

section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }
section:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.section-label {
  font-family: 'Inconsolata', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--faint);
}

/* ── PAGE TITLE (sub-pages) ── */
.page-title {
  font-family: 'IM Fell English', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.page-intro {
  font-size: 1rem;
  color: var(--dim);
  font-style: italic;
  margin-bottom: 3rem;
  max-width: 560px;
}

/* ── ABOUT ── */
.about-text {
  font-size: 1.15rem;
  color: var(--parchment);
  max-width: 640px;
  font-style: italic;
  line-height: 1.9;
}

.about-text p + p { margin-top: 1rem; }

/* ── CURRENTLY ── */
.currently-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}

.currently-card {
  background: var(--faint);
  border: 1px solid #332c24;
  padding: 1.2rem 1.4rem;
  transition: border-color 0.2s;
}

.currently-card:hover { border-color: var(--gold); }

.currently-card .card-type {
  font-family: 'Inconsolata', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.5rem;
}

.currently-card .card-title {
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.35;
}

.currently-card .card-meta {
  font-size: 0.82rem;
  color: var(--dim);
  margin-top: 0.3rem;
  font-style: italic;
}

/* ── WIDGET PLACEHOLDER ── */
.widget-placeholder {
  border: 1px dashed #332c24;
  padding: 1.5rem;
  text-align: center;
  color: var(--dim);
  font-family: 'Inconsolata', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-top: 1.5rem;
}

/* ── LOG ── */
.log-entry {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--faint);
}

.log-entry:last-child { border-bottom: none; }

.log-date {
  font-family: 'Inconsolata', monospace;
  font-size: 0.7rem;
  color: var(--dim);
  letter-spacing: 0.1em;
  padding-top: 0.3rem;
  line-height: 1.5;
}

.log-body { font-size: 1rem; color: var(--parchment); }
.log-body p + p { margin-top: 0.8rem; }

.log-tag {
  display: inline-block;
  font-family: 'Inconsolata', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--moss);
  border: 1px solid var(--moss);
  padding: 0.1em 0.5em;
  margin-right: 0.4rem;
  margin-top: 0.6rem;
  vertical-align: middle;
}

/* ── COLLECTED ── */
.collected-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.8rem;
}

.collected-list li a {
  display: block;
  padding: 0.9rem 1.2rem;
  background: var(--faint);
  border: 1px solid #332c24;
  color: var(--parchment);
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
}

.collected-list li a:hover {
  border-color: var(--gold);
  color: var(--cream);
  opacity: 1;
}

.collected-list li a span {
  display: block;
  font-family: 'Inconsolata', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 0.2rem;
}

/* ── INTERESTS ── */
.interests-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.interest-tag {
  font-family: 'Inconsolata', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border: 1px solid #332c24;
  color: var(--dim);
  transition: border-color 0.2s, color 0.2s;
  cursor: default;
}

.interest-tag:hover { border-color: var(--gold); color: var(--gold); }
.interest-tag.lit   { border-color: #4a3828; color: #c8a06a; } /* warm sand */
.interest-tag.music { border-color: #3d2d40; color: #9a7aa0; }
.interest-tag.nature { border-color: #3a5c34; color: #90c285; }
.interest-tag.japan { border-color: #3d2828; color: #c07070; }
.interest-tag.aesthetic { border-color: #3d2d35; color: #c48fa8; }  /* dusty rose */
.interest-tag.stem      { border-color: #283840; color: #6a9aa8; }  /* steel blue */
.interest-tag.art { border-color: #3d3228; color: #c4956a; }  /* terracotta */

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2.5rem 2rem;
  font-family: 'Inconsolata', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-transform: uppercase;
}

/* ── RESPONSIVE ── */
@media (max-width: 560px) {
  .log-entry { grid-template-columns: 1fr; gap: 0.4rem; }
  .log-date  { padding-top: 0; }
}
