@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@0;1&family=PT+Sans+Narrow:wght@400;700&family=PT+Serif:ital,wght@0,400;0,700;1,400&display=swap");
@import url("main.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

:root {
  --bg: #121212;
  --bg-exact: rgb(18, 18, 18);
  --text: #f2f2f2;
  --text-muted: #c8c8c8;
  --accent: #ab4023;
  --accent-band: #575757;
  --link: #f5f5f5;
  --link-hover: #ffffff;
}

/* Exact background from Screenshot 2026-07-23 170732.png (#121212 / rgb(18,18,18)) */
html {
  background-color: var(--bg-exact);
}

body {
  background-color: var(--bg-exact) !important;
  background-image: none;
  color: var(--text) !important;
  font-family: "PT Serif", Georgia, serif;
}

.site-header {
  background: #000;
  position: relative;
  z-index: 20;
}

.navigation-wrapper {
  background-color: #000 !important;
  border-bottom: none !important;
  position: relative;
  padding-top: 1.6em;
  padding-bottom: 1.1em;
  margin: 0 !important;
}

/* Real accent bars (matches Screenshot 171703 / 172506) */
.nav-accent {
  display: block;
  width: 100%;
  line-height: 0;
}

.nav-accent__orange {
  display: block;
  width: 100%;
  height: 6px;
  background: #ab4023;
}

.nav-accent__gray {
  display: block;
  width: 100%;
  height: 18px;
  background: linear-gradient(90deg, #3a3a3a 0%, #6e6e6e 50%, #3a3a3a 100%);
}

.site-name a,
.top-navigation a {
  color: #fff !important;
}

.site-name a {
  letter-spacing: 0.06em;
  font-size: 1.15em;
}

.top-navigation li a {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.top-navigation li a:hover {
  color: #fff !important;
  opacity: 0.85;
}

#main {
  background-color: transparent !important;
  border-top: none !important;
  padding-top: 2em !important;
  color: var(--text);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Widen content column a bit vs default theme */
@media only screen and (min-width: 37.5em) {
  #main .page,
  #main .post {
    width: 62% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .article-author-side {
    width: 20% !important;
    margin-left: 4% !important;
    margin-right: 4% !important;
  }
}

@media only screen and (min-width: 62em) {
  #main .page,
  #main .post {
    width: 58% !important;
  }

  .article-author-side {
    width: 16% !important;
    margin-left: 8% !important;
    margin-right: 4% !important;
  }

  .article-author-side h3,
  .article-author-side .bio-photo,
  .article-author-side p,
  .article-author-side .author-social {
    max-width: 180px !important;
  }
}

@media only screen and (min-width: 86.375em) {
  #main .page,
  #main .post {
    width: 52% !important;
  }

  .article-author-side {
    width: 14% !important;
    margin-left: 12% !important;
    margin-right: 4% !important;
  }

  .footer-wrap footer {
    width: 52% !important;
    margin-left: 30% !important;
    margin-right: 18% !important;
  }
}

#main h1,
#main h2,
#main h3,
.article-author-side h3,
.article-author-bottom h3 {
  color: #fff !important;
  font-family: "Instrument Serif", "PT Serif", Georgia, serif;
}

/* Name under photo only — visibly smaller, never hidden */
.article-author-side {
  position: relative;
  z-index: 5;
}

.article-author-side h3[itemprop="name"],
.article-author-bottom h3[itemprop="name"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
  margin-top: 0.65rem !important;
  margin-bottom: 0.35rem !important;
  color: #fff !important;
  white-space: normal;
  overflow: visible;
}

.article-author-side p,
.article-author-bottom p,
.article-wrap p,
.article-wrap li {
  color: var(--text-muted) !important;
}

.author-social,
.author-social:visited {
  color: #fff !important;
}

.author-social {
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
  margin-bottom: 0.85rem !important;
  line-height: 1.45;
}

.author-social--genehus {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}

.genehus-logo-icon {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  border-radius: 0;
  vertical-align: middle;
  flex-shrink: 0;
  background: transparent;
}

.genehus-logo-icon--lg {
  width: 5.14rem;
  height: 5.14rem;
}

.genehus-logo-full {
  display: block;
  height: clamp(2.6rem, 5.5vw, 3.6rem);
  width: auto;
  max-width: min(100%, 22rem);
  object-fit: contain;
}

.founder-statement__brand-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
  color: #fff !important;
  text-decoration: none !important;
  background-image: none;
  transition: opacity 0.2s ease;
}

.founder-statement__brand-link:hover {
  background-size: 0;
  opacity: 0.88;
  color: #fff !important;
}

.author-social:hover {
  color: var(--accent) !important;
}

.article-wrap a,
.footer-wrap a {
  color: #fff;
}

.article-wrap p > a,
.article-wrap li > a {
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.article-wrap hr {
  display: block;
  margin: 1.25em 0;
  padding: 0;
  height: 2px;
  width: 100%;
  border: 0 !important;
  border-top: 1px solid #787878 !important;
  border-bottom: 1px solid #575757 !important;
  background: transparent;
}

.footer-wrap footer {
  float: none !important;
  display: block !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center;
}

.site-footer {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin: 0.5rem auto 1.5rem;
}

.site-footer__links,
.site-footer__copy {
  display: block;
  white-space: nowrap;
}

.site-footer__bar {
  display: block;
  align-self: stretch;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  height: 3px;
  border: 0 !important;
  border-top: 1px solid #c8c8c8 !important;
  border-bottom: 1px solid #c8c8c8 !important;
  background: transparent;
}

.footer-wrap {
  color: var(--text-muted);
}

.footer-wrap a,
.footer-wrap a:visited {
  color: #fff;
}

/* Smooth circular crop via CSS (avoids jagged pre-masked edges) */
.bio-photo {
  display: block;
  width: 150px !important;
  max-width: 150px !important;
  height: 150px !important;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50% !important;
  border: 0 !important;
  box-shadow: none !important;
  background: #121212;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: auto;
}

@media only screen and (min-width: 37.5em) {
  .article-author-side .bio-photo {
    width: 125px !important;
    max-width: 125px !important;
    height: 125px !important;
  }
}

@media only screen and (min-width: 62em) {
  .article-author-side .bio-photo,
  .article-author-bottom .bio-photo {
    width: 150px !important;
    max-width: 150px !important;
    height: 150px !important;
  }
}

/* Mobile nav open state */
.js .nav ul.show {
  max-height: 30em;
  overflow: hidden;
}

.author-social .fa {
  margin-right: 5px;
}

.article-wrap .btn {
  margin-top: 0.5em;
  margin-bottom: 1.5em;
}

.article-wrap h2 {
  margin-top: 1.5em;
}

.article-wrap article {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #2e2e2e;
}

.article-wrap article:last-child {
  border-bottom: none;
}

.article-wrap article h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: 1.75rem;
  row-gap: 0.95rem;
  margin: 0.35rem 0 1.35rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  white-space: nowrap;
}

@media only screen and (max-width: 800px) {
  .contact-links {
    grid-template-columns: 1fr;
  }
}

/* Founder statement — distinctive brand signal */
.founder-statement {
  margin: 2.25rem 0 0.5rem !important;
  padding: 1.35rem 0 1.35rem 1.25rem;
  border-left: 3px solid var(--accent);
  display: grid;
  gap: 0.5rem;
  animation: founderIn 0.9s ease both;
}

.founder-statement__role {
  font-family: "DM Sans", "PT Sans Narrow", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d45a38 !important;
  opacity: 1;
}

.founder-statement__brand {
  font-family: "Instrument Serif", "PT Serif", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 3.35rem);
  line-height: 1.05;
  color: #fff !important;
}

.founder-statement__brand a {
  color: #fff !important;
  text-decoration: none !important;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.35s ease, color 0.2s ease;
}

.founder-statement__brand a:hover {
  background-size: 100% 2px;
  color: #fff !important;
}

.founder-statement__email {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  width: fit-content;
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}

.founder-statement__email::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.founder-statement__email:hover {
  color: #fff !important;
  transform: translateX(2px);
}

.founder-statement__email:hover::after {
  transform: scaleX(1);
}

@keyframes founderIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .founder-statement {
    animation: none;
  }

  .founder-statement__brand a,
  .founder-statement__email,
  .founder-statement__email::after {
    transition: none;
  }
}

/* CV header — full-width centered block like Screenshot 175609 */
/* CV page: wider content so five skill columns fit */
@media only screen and (min-width: 62em) {
  #main .cv-page {
    width: 68% !important;
  }
}

@media only screen and (min-width: 86.375em) {
  #main .cv-page {
    width: 62% !important;
  }
}
.cv-page > h1 {
  text-align: center;
  font-family: "Instrument Serif", "PT Serif", Georgia, serif;
  font-size: clamp(1.75rem, 3.15vw, 2.45rem);
  font-weight: 700;
  color: #fff !important;
  margin: 0.25rem auto 0.9rem;
  letter-spacing: 0.01em;
  width: 100%;
  max-width: 100%;
  position: relative;
  left: auto;
  transform: none;
  padding-left: 0;
  box-sizing: border-box;
}

.cv-page .article-wrap > .cv-subtitle:first-child {
  display: block;
  text-align: center !important;
  margin: 0 auto 2rem !important;
  padding: 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  left: auto;
  transform: none;
  font-family: "DM Sans", system-ui, sans-serif !important;
  font-size: clamp(0.82rem, 1.45vw, 1.08rem) !important;
  font-weight: 400;
  line-height: 1.45;
  color: #fff !important;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-sizing: border-box;
}

@media only screen and (max-width: 720px) {
  .cv-page .article-wrap > .cv-subtitle:first-child {
    white-space: normal;
    font-size: 0.78rem !important;
  }
}

.cv-skills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 0.65rem 1.75rem;
  margin: 0.75rem 0 1.35rem;
  padding-left: 0;
  list-style: none;
}

.cv-skills li {
  display: list-item;
  list-style: disc inside;
  margin: 0;
  padding: 0;
  color: #fff !important;
  font-family: "PT Serif", Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.35;
}

@media only screen and (max-width: 700px) {
  .cv-skills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 480px) {
  .cv-skills {
    grid-template-columns: 1fr;
  }
}

.cv-interests {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.25rem;
}

.cv-interests li {
  margin-bottom: 0.45rem;
  color: var(--text-muted) !important;
}

.cv-focus-title {
  margin-bottom: 0.5rem !important;
  color: #fff !important;
}

.cv-focus-title .fa {
  margin-right: 0.4rem;
  color: var(--accent);
}

/* Research Projects Portfolio — match site theme */
@media only screen and (min-width: 62em) {
  #main .projects-page {
    width: 72% !important;
  }
}

@media only screen and (min-width: 86.375em) {
  #main .projects-page {
    width: 66% !important;
  }
}

.projects-page > h1 {
  font-family: "Instrument Serif", "PT Serif", Georgia, serif !important;
  font-size: clamp(1.5rem, 2.6vw, 2rem) !important;
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  width: auto;
  max-width: 100%;
}


.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
  align-items: stretch;
}


.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
  align-items: stretch;
}

.project-card,
.blog-card {
  background: #0a0a0a;
  border: 1px solid #3a4555;
  border-radius: 12px;
  padding: 1.2rem 1.3rem 1.05rem;
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  min-height: 0;
  box-sizing: border-box;
  border-bottom: 1px solid #3a4555 !important;
  padding-bottom: 1.05rem !important;
}

.blog-card {
  padding: 0.85rem 0.95rem 0.75rem;
  padding-bottom: 0.75rem !important;
}

.project-card h3,
.blog-card h3 {
  font-family: "DM Sans", system-ui, sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 700;
  line-height: 1.25;
  color: var(--accent) !important;
  margin: 0 0 0.55rem !important;
}

.blog-card h3 {
  font-size: 0.82rem !important;
  margin: 0 0 0.4rem !important;
}

.project-card p,
.project-card li,
.blog-card p {
  color: #c8c8c8 !important;
  font-size: 0.75rem !important;
  line-height: 1.35;
  margin-bottom: 0.35rem !important;
}

.blog-card p {
  font-size: 0.7rem !important;
  line-height: 1.3;
  margin-bottom: 0.45rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card ul,
.project-card ol {
  margin: 0.2rem 0 0.5rem;
  padding-left: 1.1rem;
}

.project-card .btn,
.blog-card .btn {
  display: inline-block;
  margin-top: auto;
  align-self: flex-start;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.48rem 0.9rem;
  border-radius: 6px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-card .btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.72rem;
}

.project-card .btn:hover,
.blog-card .btn:hover {
  background: transparent;
  color: #fff !important;
  border-color: #fff;
}

@media only screen and (max-width: 1100px) {
  .blogs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 800px) {
  .projects-grid,
  .blogs-grid {
    grid-template-columns: 1fr;
  }
}


