/* custom properies  */
:root {
  --bg: #ffffff;
  --bg-box: #ffffff;
  --text: #111111;
  --text-subtle: #555;
  --border: #c8c8c8;
  --shadow: rgba(0, 0, 0, 0.9);
  --shadow-hover: rgba(0, 0, 0, 1);
  --accent: #111111;
  --link: #111111;
  --dot-color: rgba(0, 0, 0, 0.78);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-pixel: 'Press Start 2P', monospace;
}

[data-theme="dark"] {
  --bg: #141414;
  --bg-box: #1e1e1e;
  --text: #e8e8e0;
  --text-subtle: #888;
  --border: #333;
  --shadow: rgba(0, 0, 0, 0.5);
  --shadow-hover: rgba(0, 0, 0, 0.75);
  --accent: #e8e8e0;
  --link: #c8c8c0;
  --dot-color: rgba(255, 255, 255, 0.08);

}

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

ul {
  list-style: none;
}

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

/* ze base */
body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);

  /* dotted background — the signature sweetfish detail */
  background-image: radial-gradient(circle, var(--dot-color) 1px, transparent 1px);
  background-size: 5px 5px;

  display: flex;
  flex-direction: column;

  min-height: 100vh;
  transition: background-color 0.2s, color 0.2s;

}

/* le nav */
.site-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  /* slight blur so the dotted bg doesn't bleed through aggressively */
  backdrop-filter: blur(4px);
}

.site-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.05em;
  white-space: nowrap;
  margin-right: auto;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 12px;
  text-decoration: none;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  transition: color 0.15s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}



/* theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--text);
}

/* ─── LAYOUT GRID ─────────────────────────────────────────────────────── */
.layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 1.25rem;
  max-width: 860px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  align-items: start;
}

.left-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.right-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ─── BOX (shared card style) ─────────────────────────────────────────── */
.box {
  background: var(--bg-box);
  border: 1px solid var(--border);
  box-shadow: 4px 4px 0px var(--shadow);
  padding: 1.25rem 1.5rem;
  transition: box-shadow 0.2s, background-color 0.2s, border-color 0.2s;
}

.box:hover {
  box-shadow: 6px 6px 0px var(--shadow-hover);
}

.box-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* ─── ABOUT BOX ───────────────────────────────────────────────────────── */
.about-box p {
  margin-bottom: 0.85rem;
}

.about-box p:last-child {
  margin-bottom: 0;
}

.about-list {
  list-style: none;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-list li {
  font-size: 13px;
  color: var(--text-subtle);
  padding-left: 0.75rem;
  position: relative;
}

.about-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border);
}

.subtle {
  color: var(--text-subtle);
}


/* ─── LINKS ───────────────────────────────────────────────────────────── */
.link {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--border);
  transition: text-decoration-color 0.15s;
}

.link:hover {
  text-decoration-color: var(--text);
}

/* ─── CALENDAR ────────────────────────────────────────────────────────── */
.calendar-box {
  font-size: 12px;
}

.cal-header {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  text-align: center;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.cal-day-label {
  font-size: 10px;
  color: var(--text-subtle);
  padding-bottom: 4px;
  letter-spacing: 0.05em;
}

.cal-day {
  padding: 3px 2px;
  font-size: 11px;
  line-height: 1.4;
}

.cal-day.empty {
  /* placeholder cells before day 1 */
}

.cal-day.today {
  background: var(--text);
  color: var(--bg);
  font-weight: bold;
}

.currently-box {
  width: 350px;
  height: 200px;
}

/* ─── BOTTOM ROW (of the moment + contact side by side) ──────────────── */
.bottom-row {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
}

/* ─── CONTACT BOX ─────────────────────────────────────────────────────── */
.contact-list li {
  padding: 0.25rem 0;
  width: 300px;
}

.contact-box {
  width: 200px;
  height: 200px;
}


.contact-list a {
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity 0.15s;
  width: 300px;
}

.contact-list a:hover {
  opacity: 0.6;
}

/* ─── CURRENT FOCUS BOX ──────────────────────────────────────────────── */
.focus-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.focus-list li {
  font-size: 13px;
  color: var(--text-subtle);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.focus-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--text);
}

/* ─── ACTIVITY BOX ────────────────────────────────────────────────────── */
.activity-box {
  padding: 0.75rem 1rem;
  max-height: 230px;
  overflow-y: scroll;
  width: 250px;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.activity-item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 11px;
}

.activity-date {
  font-size: 10px;
  color: var(--text-subtle);
  white-space: nowrap;
  flex-shrink: 0;
}

.activity-text {
  color: var(--text);
}

/* ─── CURRENTLY LISTENING ─────────────────────────────────────────────── */
.listening-track {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.listening-artist {
  font-size: 12px;
  color: var(--text-subtle);
  margin-top: 0.1rem;
}

/* ─── FOOTER ──────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  text-align: center;
  font-size: 11px;
  color: var(--text-subtle);
  padding: 2rem 1rem 3rem;
  letter-spacing: 0.04em;
}

.footer-text {
  background: var(--bg);
  padding: 2px 10px;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 1rem;
  }

  .site-header {
    gap: 1rem;
    padding: 1rem;
  }
}

/* =============================================================
   12. PROJECTS PAGE
   ============================================================= */


/* ------ terminal window wrapper ------ */

.terminal {
  max-width: 800px;
  border: 1px solid var(--border);
  box-shadow: 8px 8px 0 var(--shadow);
  background: var(--bg-box);
  margin: 32px auto 40px;
}

/* title bar at the top of the terminal */
.terminal-bar {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
}

.tl-dots {
  display: flex;
  gap: 6px;
}

.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--text);
  display: inline-block;
}

.tl-dot.red {
  background: #d97a7a;
}

.tl-dot.yellow {
  background: #e0c36c;
}

.tl-dot.green {
  background: #8fb87a;
}

.tl-title {
  text-align: center;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}

.tl-prompt {
  color: var(--text-subtle);
  text-align: right;
  font-size: 11px;
}

@media (max-width: 640px) {
  .terminal-bar {
    grid-template-columns: 60px 1fr;
  }

  .tl-prompt {
    display: none;
  }
}

/* body of the terminal (where the grid lives) */
.terminal-body {
  padding: 20px 22px 24px;
  background: var(--bg-box);
}


/* ------ prompt lines (decorative) ------ */

.prompt-line {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px;
  color: var(--text-subtle);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-line .prompt-chevron {
  color: var(--text);
  font-weight: 500;
}

.prompt-line .prompt-text {
  color: var(--text);
}

.prompt-line .prompt-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--text);
  vertical-align: middle;
}

.prompt-line.prompt-closing {
  margin: 24px 0 0;
}

.prompt-cursor.blink {
  animation: cursor-blink 1s steps(2) infinite;
}

@keyframes cursor-blink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}


/* ------ projects grid ------ */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}



/* ------ project card ------ */

.project-card {
  background: var(--bg-box);
  border: 1px solid var(--border);
  box-shadow: 4px 4px 0 var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.project-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--shadow);
}

/* image slot */
.card-image {
  height: 130px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-box);
}

.card-image img.banner {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}

.banner:hover {
  filter: grayscale(0%);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05);
}

.card-image.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-box);
}

.card-image.no-image span {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.2em;
  padding: 4px 10px;
  border: 1px dashed var(--text-subtle);
}

/* card body */
.card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-box);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.card-head h2 {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

.card-date {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  color: var(--text-subtle);
  white-space: nowrap;
}

.card-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-subtle);
  margin: 0 0 12px;
  flex: 1;
}

.card-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.card-tags li {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10.5px;
  padding: 2px 7px;
  border: 1px solid var(--text-subtle);
  color: var(--text-subtle);
  letter-spacing: 0.02em;
}

.card-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--text-subtle);
}

.card-links a {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.card-links a:hover {
  border-bottom-color: var(--text);
}

.tl-dot.red {
  cursor: pointer;
}

.easter-egg {
  position: relative;
}

.notepad {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  padding: 12px 16px;
  max-height: 160px;
  overflow-y: auto;
  font-size: 13px;
  color: #111;
  z-index: 1;
}

.notepad p {
  margin: 0 0 6px;
}

/* terminal sits on top */
.terminal {
  position: relative;
  z-index: 2;
}

.focus-entry {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.focus-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.focus-role {
  display: inline-block;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border: 1px solid var(--border);
  margin-bottom: 6px;
}

.focus-detail {
  display: block;
  font-size: 13px;
  color: var(--text-subtle);
  line-height: 1.5;
}

/* aboutmepage */
/* Header */
.content-wrap {
  width: 700px;
  margin: 100px auto;
  /* centers it + pushes down from top */
}

.banner {
  width: 100%;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
  height: 250px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;

}

.me-box {
  background: white;
  width: 100%;
  padding: 32px;
  min-height: 550px;
  box-sizing: border-box;
}

.mebox-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}


br-sm {
  display: block;
  content: "";
  margin-top: 4px;

}


br-md {
  display: block;
  content: "";
  margin-top: 12px;

}


br-lg {
  display: block;
  content: "";
  margin-top: 24px;

}

/* ─── ABOUT ME PAGE LAYOUT (reference style) ─── */
.about-section {
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.section-content {
  margin-left: 2rem;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-subtle);
}

.section-content p {
  margin-bottom: 0.6rem;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
  opacity: 0.5;
}

/* ─── ABOUT PAGE GALLERY ─── */
.about-gallery {
  display: flex;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.about-gallery img {
  flex: 1;
  width: 100%;
  height: 179px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 4px;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}

.about-gallery img:hover {
  filter: grayscale(0%);
}

/* ─── LEGO PAGE GRID ─── */
.lego-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 1rem;
}

.lego-card {
  width: 300px;
  background: var(--bg-box);
  border: 1px solid var(--border);
  box-shadow: 4px 4px 0 var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}

.lego-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--shadow);
}

.lego-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}

.lego-card img:hover {
  filter: grayscale(0%);
}

.lego-card-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lego-card-info h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.lego-tag {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10.5px;
  padding: 2px 7px;
  border: 1px solid var(--border);
  color: var(--text-subtle);
  width: fit-content;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}