/* ============ ABOUT ============ */
.about-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 60px;
  align-items: start;
}
@media (max-width: 720px) { .about-body { grid-template-columns: 1fr; gap: 36px; } }

.about-text p {
  color: var(--text-dim);
  margin-bottom: 22px;
  font-size: 14.5px;
  line-height: 1.85;
}
.about-text p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.4em;
  float: left;
  line-height: 0.86;
  padding: 6px 12px 0 0;
  color: var(--accent);
  font-weight: 300;
}
.about-text strong { color: var(--text); font-weight: 500; }
.about-text em.serif { font-family: var(--serif); font-style: italic; font-size: 1.08em; color: var(--text); }

.about-sidebar {
  border-left: 1px solid var(--border);
  padding-left: 20px;
  font-size: 12px;
}
.sidebar-block { margin-bottom: 26px; }
.sidebar-block h4 {
  color: var(--accent);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sidebar-block ul { list-style: none; }
.sidebar-block li {
  color: var(--text-dim);
  padding: 3px 0;
  line-height: 1.5;
}
.sidebar-block li::before { content: '→ '; color: var(--text-faint); }

.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text);
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 18px;
  margin: 24px 0;
  line-height: 1.55;
  max-width: 620px;
}

/* ============ WORK ============ */
.work-hero {
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-soft), transparent);
  position: relative;
  overflow: hidden;
}
.work-hero::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 40px; height: 40px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.work-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 40px; height: 40px;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}
.work-hero h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.work-hero h3 em { font-style: italic; color: var(--accent); }
.work-hero p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.75;
  max-width: 460px;
}
.work-hero-diagram {
  width: 100%;
  height: 200px;
}
@media (max-width: 720px) {
  .work-hero { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
}

.projects { display: flex; flex-direction: column; }
.project {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  transition: padding-left 0.25s ease, border-top-color 0.25s ease;
  position: relative;
}
.project:hover {
  padding-left: 14px;
  border-top-color: var(--accent-dim);
}
.project:hover::before {
  content: '▸';
  position: absolute;
  left: -2px;
  top: 28px;
  color: var(--accent);
  font-size: 12px;
  animation: arrow-slide 0.4s ease;
}
@keyframes arrow-slide { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: translateX(0); } }
.project:last-child { border-bottom: 1px solid var(--border); }
.project-meta { font-size: 11px; color: var(--text-muted); line-height: 1.7; }
.project-meta .year {
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.project-meta .org { color: var(--text-dim); display: block; font-size: 11px; }
.project-meta .role { color: var(--text-muted); display: block; margin-top: 4px; font-style: italic; }
.project-content h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}
.project-content p {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 10px;
  color: var(--text-muted);
  padding: 2px 8px;
  border: 1px solid var(--border);
  letter-spacing: 0.04em;
  text-transform: lowercase;
  transition: all 0.15s;
}
.tag.current { color: var(--accent); border-color: var(--accent-dim); }
@media (max-width: 640px) {
  .project { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .project:hover { padding-left: 0; }
  .project:hover::before { display: none; }
}

/* ============ BOOKS ============ */
.bookshelf-note {
  background: var(--bg-soft);
  border-left: 2px solid var(--accent);
  padding: 12px 18px;
  margin-bottom: 36px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}
.bookshelf-note b { color: var(--accent); font-weight: 500; }

.books {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 28px 20px;
  perspective: 1000px;
}

.book {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}
.book:hover { transform: translateY(-6px) rotateY(-6deg) rotateX(3deg); }

.book-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow:
    0 10px 20px -5px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.02);
  transition: box-shadow 0.4s, border-color 0.4s;
  margin-bottom: 12px;
}
.book:hover .book-cover {
  border-color: var(--accent-dim);
  box-shadow:
    0 20px 35px -10px rgba(0,0,0,0.7),
    0 0 20px -5px rgba(224, 167, 117, 0.2),
    inset 0 0 0 1px rgba(224, 167, 117, 0.1);
}
.book-cover::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 6px;
  background: linear-gradient(90deg, rgba(0,0,0,0.35), transparent);
  pointer-events: none;
  z-index: 2;
}
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.88) contrast(1.02);
  transition: filter 0.4s, transform 0.6s;
}
.book:hover .book-cover img { filter: brightness(1) contrast(1.05); transform: scale(1.03); }

.book-cover.no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  background: linear-gradient(155deg, var(--surface), var(--bg-soft));
}
.book-cover.no-img span {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.25;
}

.book-status {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  background: rgba(12, 12, 15, 0.85);
  color: var(--accent);
  backdrop-filter: blur(4px);
  border: 1px solid var(--accent-dim);
  font-weight: 500;
}
.book-status.done { color: var(--text-muted); border-color: var(--border); }
.book-status.queue { color: var(--teal); border-color: rgba(122, 168, 168, 0.3); }

.book-info h4 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 3px;
}
.book-author {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

/* ============ IDEAS ============ */
.ideas-intro {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 680px;
}
.ideas-intro em { font-family: var(--serif); font-style: italic; color: var(--text); }

.ideas-viz {
  margin-bottom: 48px;
  padding: 32px 20px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.ideas-viz-label {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ideas { display: flex; flex-direction: column; }
.idea {
  padding: 22px 0;
  border-bottom: 1px dashed var(--border);
}
.idea:last-child { border-bottom: none; }
.idea-header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.idea-num {
  font-size: 11px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.idea-tag {
  font-size: 9.5px;
  color: var(--teal);
  padding: 2px 7px;
  border: 1px solid var(--border);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.idea h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
}
.idea h4 em { font-style: italic; color: var(--accent); }
.idea p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.8;
  max-width: 720px;
}

/* ============ FITNESS ============ */
.fitness {
  border: 1px solid var(--border);
  padding: 32px;
  background: var(--bg-soft);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 640px) { .fitness { grid-template-columns: 1fr; gap: 24px; padding: 22px; } }
.fitness-copy h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}
.fitness-copy h3 em { font-style: italic; color: var(--accent); }
.fitness-copy p {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.fitness-stats { display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.fitness-stats-head {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 500;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dotted var(--border);
  align-items: center;
  gap: 10px;
}
.stat-row:last-child { border-bottom: none; }
.stat-label { color: var(--text-muted); }
.stat-value { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.bar-line { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; }
.bar {
  display: inline-block;
  width: 70px;
  height: 4px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--accent);
  transition: width 1.4s ease 0.3s;
}
.bar.filled::after { width: var(--p, 60%); }

/* ============ FIELD NOTES ============ */
.field-intro {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 660px;
}
.field-intro em { font-family: var(--serif); font-style: italic; color: var(--text); }

.insta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 32px;
  transition: all 0.2s;
}
.insta-badge:hover {
  border-color: var(--accent-dim);
  color: var(--accent);
  transform: translateY(-1px);
}
.insta-badge .insta-icon {
  width: 14px; height: 14px;
  border: 1.2px solid currentColor;
  border-radius: 4px;
  position: relative;
  display: inline-block;
}
.insta-badge .insta-icon::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  border: 1.2px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.insta-badge .insta-icon::after {
  content: '';
  position: absolute;
  top: 2px; right: 2px;
  width: 2px; height: 2px;
  background: currentColor;
  border-radius: 50%;
}
.insta-badge .arrow {
  color: var(--text-faint);
  transition: transform 0.2s, color 0.2s;
}
.insta-badge:hover .arrow { color: var(--accent); transform: translateX(2px); }

.field-note-placeholder {
  background: var(--bg-soft);
  border-left: 2px solid var(--teal);
  padding: 12px 18px;
  margin-bottom: 28px;
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.7;
}
.field-note-placeholder b { color: var(--teal); font-weight: 500; }
.field-note-placeholder code {
  font-size: 11px;
  color: var(--accent);
  background: rgba(224, 167, 117, 0.07);
  padding: 1px 5px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 640px) { .field-grid { grid-template-columns: repeat(2, 1fr); } }

.field-tile {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color 0.3s;
}
.field-tile:hover { border-color: var(--accent-dim); }
.field-tile.tall { aspect-ratio: 1 / 1.4; grid-row: span 2; }
@media (max-width: 640px) { .field-tile.tall { grid-row: auto; aspect-ratio: 1 / 1; } }

.field-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02) brightness(0.9);
  transition: filter 0.4s, transform 0.8s;
}
.field-tile:hover img {
  filter: saturate(1) contrast(1.05) brightness(1);
  transform: scale(1.04);
}

.field-tile.placeholder {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(145deg, var(--surface), var(--bg-soft));
}
.field-tile.placeholder::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed var(--border-bright);
  pointer-events: none;
}
.field-tile.placeholder .ph-meta {
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.field-tile.placeholder .ph-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.field-tile.placeholder .ph-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: var(--text-faint);
  opacity: 0.3;
}

.field-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,15,0.92) 0%, rgba(12,12,15,0.3) 50%, transparent 80%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.field-tile:hover .field-caption { opacity: 1; }
.field-caption-inner {
  font-size: 11px;
  color: var(--text);
  line-height: 1.4;
}
.field-caption-inner .fc-tag {
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
  display: block;
}
