body {
  margin: 0;
  padding: 60px 20px;
  background-color: white;
  font-family: 'IBM Plex Mono', monospace;
  color: #111;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.site-nav { display:flex; gap:.9rem; flex-wrap:wrap }
.site-nav a { text-decoration:none }
.site-nav a.lang { margin-left:auto; opacity:.8 }
nav {
  font-size: 0.8rem;
  margin-bottom: 40px;
  text-align: center;
}

nav a {
  color: #555;
  text-decoration: none;
  margin: 0 10px;
}

nav a:hover {
  text-decoration: underline;
}

.square {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  border-radius: 2px;
  vertical-align: middle;
}

.blue { background-color: #4285F4; }
.red { background-color: #EA4335; }
.yellow { background-color: #FBBC05; }
.green { background-color: #34A853; }
.orange { background-color: #F57C00; }

h1 {
  font-size: 1.8em;
  margin-bottom: 40px;
  color: #666;
}

h3 {
  font-size: 0.5rem;
  margin-bottom: 40px;
  color: #666;
}

.content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}

.text {
  flex: 2;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}

.photo {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.photo img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

@media (max-width: 800px) {
  .content {
    flex-direction: column;
  }
  .photo {
    margin-top: 20px;
  }
}

  nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.3;
  }

  .square {
    margin-right: 0;
  }
}


/* Navigation */
nav {
  font-size: 0.8rem;
  margin-bottom: 40px;
  text-align: center;
}

nav a {
  color: #555;
  text-decoration: none;
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

nav a:hover {
  text-decoration: underline;
}

.square {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  vertical-align: middle;
}

.blue { background-color: #4285F4; }
.red { background-color: #EA4335; }
.yellow { background-color: #FBBC05; }
.green { background-color: #34A853; }
.orange { background-color: #F57C00; }

@media (max-width: 600px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    gap: 6px;
  }

  nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.3;
  }

  .square {
    margin-right: 0;
  }
}


/* Resume Page */
h1 {
  font-size: 1.8em;
  margin-bottom: 40px;
  color: #666;
}

.block {
  margin-bottom: 40px;
}

.date {
  font-weight: 500;
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 5px;
}

.title {
  font-weight: 500;
  margin-bottom: 5px;
}

.desc {
  font-size: 0.9rem;
  color: #444;
}

.divider {
  border-top: 1px dotted #ddd;
  margin: 40px 0;
}

.skills {
  font-size: 0.8rem;
  color: #666;
  text-transform: lowercase;
}


/* Resume Original Layout */
.resume-section {
  margin-bottom: 30px;
}

.resume-section .date {
  font-weight: 500;
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 3px;
}

.resume-section .title {
  font-weight: 500;
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.resume-section .desc {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 15px;
}


/* Work Page */
.section {
  margin-bottom: 60px;
}

.entry {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.entry .logo {
  width: 60px;
  height: auto;
  flex-shrink: 0;
  margin-top: 2px;
}

.entry .text {
  flex: 1;
}

.title {
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #222;
}

.desc {
  font-size: 0.9rem;
  color: #444;
}

a {
  color: #444;
  text-decoration: underline;
}


/* Contact Page */
.contact-info {
  font-size: 0.9rem;
  color: #444;
}

.contact-info p {
  margin-bottom: 20px;
}

.contact-info a {
  color: #444;
  text-decoration: underline;
}


/* Traces Page */
.section {
  margin-bottom: 60px;
}

.section img,
.section iframe,
video {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
  margin-bottom: 30px;
  border-radius: 4px;
}

h2 {
  font-size: 0.9rem;
  text-transform: lowercase;
  font-weight: 500;
  color: #222;
  margin-top: 60px;
  margin-bottom: 20px;
}

.post {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 30px;
}


/* Language Switcher */
.lang-switch {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.8rem;
  z-index: 100;
}

.lang-switch a {
  text-decoration: none;
  color: #999;
  margin: 0 4px;
}

.lang-switch a:hover {
  color: #333;
}
.wrap-right {
  float: right;
  margin: 0 0 1em 1em; /* Adjusts spacing: bottom and left margin */
}

img.wrap-left { 
float: left; margin: 0 1em 1em 0; 
}
    .poem{
      width:100%;
      max-width:38rem;
      background:#ffffff;
      border:1px solid #e7e5e4;
      border-radius:16px;
      padding:2rem 1.25rem;
      box-shadow:0 10px 30px rgba(15,23,42,.06);
    }
    .poem-title{
      font-family:"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size:1.1rem;
      font-weight:600;
      letter-spacing:.3px;
      margin:0 0 1rem;
      text-align:left;
      color:var(--accent);
    }
    .poem-text{
      font-family:"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      white-space:pre-wrap;  /* keep line breaks */
      font-size:1.02rem;
      line-height:1.85;
      margin:0;
    }