@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap');

:root { --bg: #070b12; --ink: #e7e9e7; --muted: #8d96a3; --faint: #596372; --line: rgba(179, 193, 212, .16); --accent: #c4d2e3; }
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); }
body { margin: 0; min-width: 320px; background-color: var(--bg); background-image: linear-gradient(rgba(141, 156, 177, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(141, 156, 177, .055) 1px, transparent 1px); background-size: 64px 64px; font-family: Manrope, Arial, sans-serif; line-height: 1.5; }
body::before { content: ""; pointer-events: none; position: fixed; inset: 0; background: rgba(7, 11, 18, .12); z-index: 1; }
.background-video { position: fixed; z-index: 0; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); object-fit: cover; opacity: .68; filter: blur(.5px) brightness(.95) contrast(1.05) saturate(1); pointer-events: none; }
.site-shell { position: relative; z-index: 2; width: min(1240px, calc(100% - 64px)); min-height: 100vh; margin: auto; display: flex; flex-direction: column; }
.site-header { height: 104px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark, .site-nav a, a { color: inherit; text-decoration: none; }
.wordmark { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: -.02em; }
.wordmark-mark { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--accent); color: var(--accent); font-size: 10px; letter-spacing: -.1em; }
.site-nav { display: flex; gap: 30px; font-size: 12px; color: var(--muted); }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.menu-toggle { display: none; border: 0; background: none; color: var(--ink); font: inherit; font-size: 12px; }
.hero { padding: clamp(90px, 13vw, 172px) 0 140px; }
.eyebrow, .mono { font-family: "DM Mono", monospace; }
.eyebrow { color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, p { margin: 0; }
.hero h1 { margin-top: 30px; max-width: 900px; font-size: clamp(56px, 9.5vw, 142px); font-weight: 400; letter-spacing: -.085em; line-height: .96; }
h1 em { color: var(--muted); font-style: normal; }
.hero-lower { display: flex; justify-content: space-between; gap: 40px; margin-top: 72px; }
.hero-description { max-width: 650px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.hero-index { color: var(--faint); font-size: 10px; line-height: 1.9; text-align: right; }
.section-rule { border-top: 1px solid var(--line); }
.research-areas { display: grid; grid-template-columns: 35% 1fr; gap: 40px; padding: 48px 0 100px; }
.home-project, .contact-section { padding: 48px 0 100px; }
.home-section-title { margin-bottom: 28px; color: var(--accent); font-size: clamp(30px, 4vw, 48px); font-weight: 400; letter-spacing: -.07em; line-height: 1.03; }
.project-slideshow { border: 1px solid var(--line); }
.project-slides { position: relative; min-height: 250px; }
.project-slide { position: absolute; inset: 0; display: none; grid-template-columns: 1fr 150px; color: inherit; text-decoration: none; transition: background-color .2s ease; overflow: hidden; }
.project-slide.is-current { position: relative; display: grid; }
.project-slide:hover { background: rgba(177, 194, 215, .045); }
.project-slide > img { grid-column: 1 / -1; width: 100%; height: 190px; object-fit: cover; border-bottom: 1px solid var(--line); filter: grayscale(1) contrast(.9); }
.featured-project-copy { padding: 26px 20px 28px; }
.featured-project-copy h2 { margin: 18px 0 10px; font-size: clamp(22px, 3vw, 36px); font-weight: 400; letter-spacing: -.06em; line-height: 1.05; }
.featured-project-copy p:not(.eyebrow) { max-width: 520px; color: var(--muted); font-size: 13px; }
.featured-project-link { display: inline-block; margin-top: 25px; color: var(--accent); font-size: 10px; }
.featured-project-meta { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; padding: 28px 20px; color: var(--faint); font-size: 10px; text-align: right; }
.featured-project.empty-state { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; min-height: 250px; padding: 30px 20px; }
.featured-project.empty-state .button-link { margin-top: 10px; }
.slideshow-controls { display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding: 15px 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 10px; }
.slideshow-button { border: 0; padding: 0; color: var(--accent); background: transparent; cursor: pointer; font-size: 15px; }
.contact-section h2 { margin-bottom: 28px; color: var(--accent); font-size: clamp(30px, 4vw, 48px); font-weight: 400; letter-spacing: -.07em; line-height: 1.03; }
.contact-list { max-width: 760px; border-top: 1px solid var(--line); }
.contact-item { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; transition: color .2s ease; }
.contact-item:hover { color: var(--ink); }
.contact-item .mono { color: var(--faint); font-size: 10px; }
.section-heading h2 { margin-top: 24px; color: var(--accent); font-size: clamp(30px, 4vw, 48px); font-weight: 400; letter-spacing: -.07em; line-height: 1.03; }
.area-list { border-top: 1px solid var(--line); }
.area-item { display: flex; gap: 28px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.area-item .mono { width: 25px; color: var(--faint); font-size: 11px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: auto; padding: 24px 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 10px; }
.archive-page { flex: 1; padding: 100px 0 120px; }
.page-intro { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.page-intro h1 { margin-top: 20px; font-size: clamp(52px, 8vw, 108px); font-weight: 400; letter-spacing: -.08em; line-height: .9; }
.page-meta { color: var(--faint); font-size: 10px; line-height: 1.8; text-align: right; }
.archive-table, .project-directory { border: 1px solid var(--line); border-top: 0; }
.table-head, .archive-row { display: grid; grid-template-columns: 10% 18% 1fr; }
.table-head { padding: 17px 20px; color: var(--faint); font-size: 10px; letter-spacing: .1em; }
.archive-row { align-items: start; padding: 26px 20px 28px; border-top: 1px solid var(--line); transition: background-color .2s ease; }
.archive-row:hover, .project-row:hover { background: rgba(177, 194, 215, .045); }
.entry-number { color: var(--faint); font-size: 12px; }
.archive-row time, .category { color: var(--muted); font-size: 11px; }
.archive-row strong { display: block; font-size: 15px; font-weight: 600; }
.archive-row small { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.project-row { display: grid; grid-template-columns: 1fr 190px; gap: 40px; padding: 28px 20px 30px; border-top: 1px solid var(--line); transition: background-color .2s ease; }
.project-link { color: inherit; text-decoration: none; }
.project-title { display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; }
.project-number { color: var(--faint); font-size: 12px; padding-top: 3px; }
.project-title h2 { font-size: 16px; font-weight: 600; }
.project-title p { grid-column: 2; max-width: 620px; margin-top: 9px; color: var(--muted); font-size: 12px; }
.project-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-family: "DM Mono", monospace; font-size: 10px; }
.tag { color: var(--muted); font-size: 9px; letter-spacing: .06em; }
.status { color: var(--faint); }
.status-active { color: #a7c7b1; }
.project-meta a { margin-top: 12px; color: var(--accent); }
.button-link { display: inline-block; border: 1px solid var(--line); padding: 11px 15px; color: var(--accent); background: transparent; font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.button-link:hover { border-color: var(--accent); background: rgba(177, 194, 215, .05); }
.back-link { display: inline-block; margin-bottom: 42px; color: var(--muted); font-size: 10px; }
.detail-page { max-width: 860px; }
.detail-page h1 { max-width: 900px; margin-top: 22px; color: var(--ink); font-size: clamp(42px, 7vw, 88px); font-weight: 400; letter-spacing: -.08em; line-height: .98; }
.detail-meta { margin-top: 28px; color: var(--faint); font-size: 10px; }
.entry-image { display: block; width: 100%; max-height: 580px; margin: 55px 0 52px; border: 1px solid var(--line); object-fit: cover; }
.detail-body { max-width: 680px; margin: 0 0 42px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.detail-body p + p { margin-top: 24px; }
.empty-state { padding: 30px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.admin-login { max-width: 500px; }
.admin-page .page-intro { align-items: center; }
.content-form { display: grid; gap: 20px; max-width: 760px; margin-top: 45px; }
.content-form label { display: grid; gap: 8px; color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }
.content-form input, .content-form textarea, .content-form select { width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 13px 14px; color: var(--ink); background: rgba(5, 9, 15, .8); font: 13px Manrope, sans-serif; outline: 0; }
.content-form textarea { resize: vertical; line-height: 1.6; }
.content-form input:focus, .content-form textarea:focus, .content-form select:focus { border-color: var(--accent); }
.content-form select { appearance: auto; }
.field-help { color: var(--faint); font-size: 9px; text-transform: none; letter-spacing: 0; }
.button-submit { justify-self: start; margin-top: 10px; }
.admin-actions { display: flex; justify-content: flex-end; padding: 25px 0; }
.admin-table { overflow-x: auto; border: 1px solid var(--line); }
.admin-table table { width: 100%; border-collapse: collapse; min-width: 650px; }
.admin-table th, .admin-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 12px; }
.admin-table th { color: var(--faint); font: 10px "DM Mono", monospace; letter-spacing: .08em; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td:first-child, .admin-table td:nth-child(3) { color: var(--muted); font-size: 10px; }
.admin-table td strong, .admin-table td small { display: block; }
.admin-table td small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.admin-table a, .text-button { color: var(--accent); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
@media (max-width: 700px) {
  .background-video { display: none; }
  .site-shell { width: min(100% - 36px, 1240px); }
  .site-header { height: 76px; }
  .wordmark-name { display: none; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 18px 0; border-bottom: 1px solid var(--line); background: rgba(7, 11, 18, .98); }
  .site-nav.is-open { display: flex; flex-direction: column; gap: 16px; }
  .hero { padding: 84px 0 100px; }
  .hero h1 { font-size: clamp(52px, 15vw, 90px); }
  .hero-lower { flex-direction: column; margin-top: 48px; }
  .hero-index { text-align: left; }
  .research-areas { display: block; padding-bottom: 72px; }
  .home-project, .contact-section { padding-bottom: 72px; }
  .project-slide { grid-template-columns: 1fr; }
  .featured-project-meta { flex-direction: row; align-items: center; justify-content: space-between; padding: 0 20px 25px; text-align: left; }
  .contact-item { flex-direction: column; gap: 8px; }
  .section-heading { margin-bottom: 42px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer .mono:last-child { width: 100%; }
  .archive-page { padding: 70px 0 90px; }
  .page-intro { align-items: flex-start; }
  .page-meta { margin-top: 10px; }
  .table-head, .archive-row { grid-template-columns: 14% 25% 1fr; padding-left: 12px; padding-right: 12px; }
  .archive-row { padding-top: 22px; padding-bottom: 24px; }
  .archive-row strong { font-size: 13px; }
  .archive-row small { font-size: 11px; }
  .category { font-size: 9px; line-height: 1.45; }
  .project-row { grid-template-columns: 1fr; gap: 24px; padding: 24px 14px; }
  .project-meta { padding-left: 48px; }
  .detail-page h1 { font-size: clamp(42px, 13vw, 70px); }
  .entry-image { margin-top: 40px; }
  .admin-page .page-intro { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .background-video { display: none; }
}
