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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray: #888;
  --light-gray: #e8e6e1;
  --accent: #1a1a1a;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.nav-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 0.5; }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  min-height: 100vh;
  padding: 120px 48px 80px;
  align-items: start;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  margin-bottom: 40px;
}

.hero-item .label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gray);
  display: block;
  margin-bottom: 4px;
}

.hero-item strong {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
}

.hero-item-tags {
  display: block;
  font-size: 9px;
  color: var(--gray);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-item ul {
  list-style: none;
  padding: 0;
}

.hero-item ul li {
  font-size: 13.5px;
  color: #444;
  line-height: 1.6;
  padding-left: 12px;
  position: relative;
}

.hero-item ul li::before {
  content: '◉';
  position: absolute;
  left: 0;
  font-size: 7px;
  top: 4px;
  color: var(--gray);
}

.highlight {
  font-style: italic;
  font-weight: 500;
}

.hero-bio {
  font-size: 13.5px;
  color: #555;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 28px;
  font-style: italic;
}

.hero-social {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-social a {
  color: var(--black);
  text-decoration: none;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.hero-social a:hover {
  background: var(--black);
  color: var(--white);
}

.btn {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.75; }

/* HERO RIGHT */
.hero-right {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(8%);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span {
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border: 1px solid var(--light-gray);
  border-radius: 40px;
  color: #555;
}

/* WORK */
.work {
  padding: 80px 48px;
  border-top: 1px solid var(--light-gray);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-card-inner {
  border-radius: 8px;
  padding: 40px;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.siftag-card, .bd-card, .kearney-card, .ases-card, .activations-card {
  background: #f2f2f2;
  color: var(--black);
}

.hackathon-card {
  background: #f2f2f2;
  color: var(--black);
}

.hackathon-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.5;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hackathon-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
  width: fit-content;
}

.hackathon-link:hover { border-color: var(--black); }

.work-card-bullets {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}

.work-card-bullets li {
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.75;
  padding-left: 14px;
  position: relative;
}

.work-card-bullets li::before {
  content: '◉';
  position: absolute;
  left: 0;
  font-size: 6px;
  top: 5px;
  opacity: 0.6;
}

.work-card-bullets--light li { color: var(--black); }

.activations-card {
  background: linear-gradient(135deg, #f7f3ee 0%, #ede5d8 100%);
  color: var(--black);
}

.work-card-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.work-card-sub {
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.75;
  max-width: 300px;
}

.work-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray);
  padding: 0 4px;
}

.work-card-meta span { font-family: var(--font-body); }
.work-card-meta em { font-style: italic; }

/* EXPAND HINT */
.expand-hint {
  display: block;
  margin-top: 12px;
  font-size: 10px;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.35;
}

.work-card[data-modal] { cursor: pointer; }
.work-card[data-modal] .work-card-inner { transition: transform 0.15s, box-shadow 0.15s; }
.work-card[data-modal]:hover .work-card-inner {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active { display: flex; }

.modal {
  display: none;
  background: #fff;
  border-radius: 8px;
  max-width: 860px;
  width: 100%;
  position: relative;
  max-height: 85vh;
  overflow: hidden;
  flex-direction: row;
}

.modal.active { display: flex; }

.modal-body {
  padding: 40px;
  flex: 0 0 45%;
  overflow-y: auto;
  border-right: 1px solid var(--light-gray);
}

.modal-image-area {
  flex: 1;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.modal-image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-image-placeholder {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bbb;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: var(--gray);
  padding: 4px 8px;
}

.modal-close:hover { color: var(--black); }

.modal-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.modal-list {
  list-style: none;
  padding: 0;
}

.modal-list li {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  padding-left: 16px;
  position: relative;
}

.modal-list li::before {
  content: '◉';
  position: absolute;
  left: 0;
  font-size: 7px;
  top: 15px;
  color: var(--gray);
}

.modal-list li:last-child { border-bottom: none; }
.modal-list a { color: var(--black); font-weight: 500; }

/* FOOTER */
footer {
  border-top: 1px solid var(--light-gray);
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray);
  font-family: var(--font-display);
}

footer a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
}

footer a:hover { opacity: 0.6; }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .hero { grid-template-columns: 1fr; padding: 100px 24px 60px; gap: 48px; }
  .hero-right { position: static; }
  .hero-grid { grid-template-columns: 1fr; }
  .work { padding: 60px 24px; }
  .work-grid { grid-template-columns: 1fr; }
  footer { padding: 24px; flex-direction: column; gap: 8px; text-align: center; }
}
