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

:root {
  --bg: #0e0c0a;
  --surface: #161310;
  --surface2: #1e1a15;
  --border: #2e2820;
  --border2: #3d3328;
  --orange: #c97c3a;
  --orange-dim: #7a4a1e;
  --warm-white: #e8e0d0;
  --muted: #7a6e60;
  --cold-white: #cdd8e8;
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'IBM Plex Sans', sans-serif;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--warm-white);
  line-height: 1.7;
}

/* LAYOUT */
main { max-width: 820px; margin: 0 auto; padding: 3rem 2rem 6rem; }

section { margin-bottom: 4.5rem; }

.section-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

/* PRESENTATION STYLES */
.presentation { padding: 2rem 0 1rem; }

.presentation-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.photo-frame {
  flex-shrink: 0;
  width: 225px;
  height: 225px;
  border: 1px solid var(--border2);
  padding: 5px;
  background: var(--surface2);
  position: relative;
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--border);
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1 {
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
}

.presentation-title {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--orange);
  margin-bottom: 1rem;
}

.presentation-bio {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.presentation-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.presentation-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--cold-white);
  text-decoration: none;
  border-bottom: 1px solid var(--border2);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.presentation-links a:hover {
  color: var(--orange);
  border-color: var(--orange-dim);
}

/* ABOUT */
.about-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.about-photo {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border: 1px solid var(--border2);
  padding: 4px;
  background: var(--surface2);
  position: relative;
}

.about-photo::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid var(--border);
  pointer-events: none;
}

.about-text { font-size: 0.86rem; color: var(--muted); line-height: 1.8; }
.about-text p { margin-bottom: 0.7rem; }
.about-text p:last-child { margin-bottom: 0; }

/* WORKING ON */
.workingon-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

ul {
  margin-left: 10px;
  padding-left: 5px;
}

.workingon-text { font-size: 0.86rem; color: var(--muted); line-height: 1.8; }
.workingon-text p { margin-bottom: 0.7rem; }
.workingon-text p:last-child { margin-bottom: 0; }

/* PROJECT CARDS */
.project-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.4rem;
  margin-bottom: 1rem;
}

.project-body {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.project-text { flex: 1; min-width: 0; }

.project-photo {
  flex-shrink: 0;
  width: 250px;
  height: 233px;
  border: 1px solid var(--border2);
  padding: 4px;
  background: var(--surface2);
  position: relative;
  align-self: flex-start;
  margin-top: 2px;
}

.project-photo::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid var(--border);
  pointer-events: none;
}

.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.project-name {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--warm-white);
}

.project-year {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  white-space: nowrap;
}

.project-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  line-height: 1.65;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 2px 6px;
  background: var(--bg);
}

.project-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-links a {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--cold-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 1px solid var(--border2);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.project-links a:hover { color: var(--orange); border-color: var(--orange-dim); }

.project-links a.unavailable {
  color: var(--border2);
  cursor: default;
  pointer-events: none;
  border-color: var(--border);
}

.project-links a svg {
  width: 11px; height: 11px;
  stroke: currentColor; fill: none; stroke-width: 2;
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem 1rem;
}

.skill-group-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
}

.skill-list {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.9;
}