:root {
  --ink: #1f32db;
  --border: 1.5px solid var(--ink);
}

/* RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Azeret Mono", monospace;
  font-weight: 500;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

/* HEADER */
.header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 20px 24px;
  border-bottom: var(--border);
}

.name-handwritten {
  font-size: 22px;
  padding: 4px 8px;
  border: var(--border);
  margin-right: 32px;
}

.nav a {
  margin-right: 20px;
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
}

/* LAYOUT */
.layout {
  display: grid;
  grid-template-columns: 70px 1fr 420px;
  min-height: 70vh;
}

/* VERTICAL SIDEBAR */
.vertical-sidebar {
  border-right: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 13px;
  letter-spacing: 1px;
}

/* CONTENT */
.content {
  padding: 64px 56px;
}
/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 400px;          /* desktop default */
  overflow: hidden;
  padding: 8px;
margin-bottom: 24px;

}

/* Image inside hero */
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* fills container without distortion */
  display: block;
}
@media (max-width: 900px) {
  .hero {
    height: 160px;
  }
}
.content h1 {
  font-size: 36px;
  margin: 0 0 16px;
}

.intro {
  max-width: 420px;
  font-size: 16px;
}

/* INFO SECTIONS */
.info {
  border-left: var(--border);
  padding: 48px 40px;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

.section p {
  font-size: 15px;
  margin: 0;
}

/* WIREFRAME */
.wireframe {
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* FOOTER */
.footer {
  border-top: var(--border);
  padding: 24px;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .vertical-sidebar {
    display: none;
  }

  .info {
    border-left: none;
    border-top: var(--border);
  }

  .content {
    padding: 40px 24px;
  }
}
.article-preview {
  max-width: 640px;
}

.article-preview h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.article-preview .meta {
  font-size: 13px;
  opacity: 0.7;
}
.research-list li {
  margin-bottom: 28px;
  max-width: 720px;
}


.research-list li {
  margin-bottom: 20px;
  font-size: 15px;
}
.projects {
  padding-top: 32px;
}

.project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.project-row.reverse {
  direction: rtl;
}

.project-row.reverse > * {
  direction: ltr;
}

.project-text {
  max-width: 420px;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  border: var(--border);
}

.project-text h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.project-text p {
  margin: 0;
  font-size: 15px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


.photo-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: var(--border);
}
@media (max-width: 900px) {
  .full-width-section {
    padding: 48px 24px;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }
}

.full-width-section {
  border-top: var(--border);
  padding: 72px 80px;
}

.full-width-section h2 {
  margin: 0 0 40px;
  font-size: 22px;
}
html {
  scroll-behavior: smooth;
}
