/* Generated by build.py. Do not edit docs/css/site.css directly. */

/* base.css */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --page-max: 1120px;
  --section-gap: 5rem;
  --card-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  padding: 1.25rem 1.5rem 4.75rem;
}

.site-nav {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 1.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  max-width: var(--page-max);
  margin: 5.25rem auto 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-media {
  width: 100%;
}

.hero-headshot {
  width: min(100%, 420px);
  height: auto;
  border-radius: 28px;
}

.hero-copy {
  min-width: 0;
}

.hero-role {
  width: fit-content;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-current {
  margin-top: 1.1rem;
  font-size: 1rem;
  font-weight: 700;
}

.hero-headline {
  max-width: 820px;
  margin-top: 1.8rem;
  font-size: clamp(1.55rem, 3.4vw, 2.8rem);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: 0;
}

.hero-tagline {
  max-width: 720px;
  margin-top: 1.35rem;
  font-size: 1.08rem;
}

.hero-tagline br + br {
  display: block;
  content: "";
  margin-top: 0.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5.5rem;
}

.section {
  margin-bottom: var(--section-gap);
  scroll-margin-top: 1.5rem;
}

.section h2 {
  margin-bottom: 1.4rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) 1fr;
  gap: 2rem;
  padding: 1.5rem;
  border: 1px solid;
  border-radius: var(--card-radius);
}

.about-text {
  font-size: 1.08rem;
}

.about-text p + p {
  margin-top: 1.1rem;
}

.about-kicker {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.about-kicker span {
  width: fit-content;
  padding: 0.32rem 0.65rem;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.project-card {
  min-height: 100%;
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.project-card:hover {
  transform: translateY(-2px);
}

.project-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.project-title {
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 750;
}

.project-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  font-size: 0.94rem;
  line-height: 1.55;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tech-badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  border: 1px solid;
}

.project-details,
.writing-details {
  font-size: 0.94rem;
  margin-top: auto;
}

.project-details summary,
.writing-details summary {
  cursor: pointer;
  font-weight: 750;
  padding: 0.35rem 0;
  list-style: none;
}

.project-details summary::-webkit-details-marker,
.writing-details summary::-webkit-details-marker {
  display: none;
}

.project-details summary::before,
.writing-details summary::before {
  content: "+ ";
  font-weight: 800;
}

details[open] summary::before {
  content: "- ";
}

.detail-block {
  margin-top: 0.8rem;
}

.detail-block h4 {
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-block p + p,
.writing-content p + p {
  margin-top: 1rem;
}

.project-links,
.writing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-compact {
  min-height: 2.35rem;
  padding-inline: 0.78rem;
  font-size: 0.84rem;
}

.btn-compact span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  font-size: 0.66rem;
  line-height: 1;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.writing-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.writing-card {
  padding: 1.1rem 1.2rem;
  border: 1px solid;
  border-radius: var(--card-radius);
}

.writing-body {
  display: grid;
  grid-template-columns: minmax(120px, 0.24fr) 1fr;
  gap: 0.9rem 1.5rem;
  align-items: start;
}

.writing-meta {
  font-size: 0.86rem;
  font-weight: 750;
}

.writing-title {
  grid-column: 2;
  font-size: 1.12rem;
  line-height: 1.3;
}

.writing-featured {
  padding: 1.35rem;
}

.writing-featured .writing-title {
  font-size: 1.35rem;
}

.writing-secondary {
  opacity: 0.78;
}

.writing-summary,
.writing-details,
.writing-links {
  grid-column: 2;
}

.writing-summary {
  max-width: 760px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.45fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  border: 1px solid;
  border-radius: var(--card-radius);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid;
  border-radius: 6px;
  padding: 0.75rem 0.8rem;
  font: inherit;
  line-height: 1.4;
}

.contact-form textarea {
  resize: vertical;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  overflow-wrap: anywhere;
}

.contact-card {
  display: block;
  padding: 1rem;
  border: 1px solid;
  border-radius: var(--card-radius);
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.contact-card:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  text-align: center;
  padding: 1.4rem 1.5rem;
  font-size: 0.86rem;
}

@media (max-width: 820px) {
  .site-header {
    padding-bottom: 3.75rem;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 1rem;
  }

  .hero {
    margin-top: 3.6rem;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-headshot {
    width: min(100%, 360px);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-kicker {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .project-grid {
    display: flex;
    gap: 1rem;
    margin-inline: -1rem;
    padding: 0 1rem 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .project-card {
    flex: 0 0 min(86vw, 380px);
    scroll-snap-align: start;
  }

  .writing-body {
    grid-template-columns: 1fr;
  }

  .writing-title,
  .writing-summary,
  .writing-details,
  .writing-links {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .project-links {
    flex-direction: column;
    align-items: stretch;
  }

  .project-links .btn,
  .contact-form .btn {
    width: 100%;
  }
}

@media print {
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body {
    min-width: 1120px;
  }

  .site-header {
    padding: 1.25rem 1.5rem 4.75rem;
  }

  .site-nav {
    justify-content: flex-end;
    overflow: visible;
  }

  .hero {
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
    gap: clamp(2rem, 5vw, 4.5rem);
  }

  .hero-headshot {
    width: min(100%, 420px);
  }

  .project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }

  .project-card {
    flex: initial;
    break-inside: avoid;
  }

  .about-card,
  .contact-layout {
    grid-template-columns: minmax(190px, 0.32fr) 1fr;
  }

  .about-kicker {
    flex-direction: column;
  }

  .writing-body {
    grid-template-columns: minmax(120px, 0.24fr) 1fr;
  }

  .writing-title,
  .writing-summary,
  .writing-details,
  .writing-links {
    grid-column: 2;
  }
}


/* themes/clinical.css */
body {
  background: #ede4e1;
  color: #00103e;
}

a {
  color: #003e7e;
}

a:hover {
  color: #00103e;
}

.site-header {
  background:
    linear-gradient(90deg, rgba(255, 210, 0, 0.14), transparent 38%),
    #ede4e1;
  border-bottom: 1px solid rgba(0, 16, 62, 0.16);
}

.site-main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(211, 192, 174, 0.12) 55%, transparent);
}

.site-nav a {
  color: #00103e;
}

.site-nav a:hover {
  color: #003e7e;
}

.hero-role {
  background: #ffd200;
  color: #00103e;
}

.hero-headshot {
  box-shadow: 0 18px 42px rgba(0, 16, 62, 0.14);
}

.hero-current,
.hero-tagline,
.project-summary,
.writing-summary,
.writing-meta,
.contact-list {
  color: rgba(0, 16, 62, 0.74);
}

.section h2 {
  color: #00103e;
  border-color: rgba(0, 16, 62, 0.22);
}

.about-card,
.contact-form,
.writing-card {
  background: rgba(255, 255, 255, 0.34);
  border-color: rgba(0, 16, 62, 0.14);
  box-shadow: 0 12px 30px rgba(0, 16, 62, 0.05);
}

.about-kicker span {
  background: rgba(211, 192, 174, 0.55);
  border-color: rgba(0, 16, 62, 0.12);
  color: #00103e;
}

.project-card {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(0, 16, 62, 0.16);
  box-shadow: 0 10px 28px rgba(0, 16, 62, 0.06);
}

.project-card:hover {
  background: #d3c0ae;
  border-color: rgba(0, 62, 126, 0.36);
  box-shadow: 0 16px 36px rgba(0, 16, 62, 0.12);
}

.project-title,
.writing-title {
  color: #00103e;
}

.tech-badge {
  background: #d3c0ae;
  border-color: rgba(0, 16, 62, 0.12);
  color: #00103e;
}

.project-details,
.writing-details {
  color: rgba(0, 16, 62, 0.8);
}

.detail-block h4,
.contact-label {
  color: #003e7e;
}

.btn-primary,
.btn-repo {
  background: #003e7e;
  color: #ffffff;
}

.btn-primary:hover,
.btn-repo:hover {
  background: #00103e;
  color: #ffffff;
}

.btn-accent {
  background: #ffd200;
  color: #00103e;
  border-color: #ffd200;
}

.btn-accent:hover {
  background: #e8bd00;
  color: #00103e;
}

.btn-compact span {
  background: rgba(0, 16, 62, 0.08);
  color: inherit;
}

.btn-secondary,
.btn-notebook {
  background: transparent;
  border-color: #003e7e;
  color: #003e7e;
}

.btn-secondary:hover,
.btn-notebook:hover {
  background: #d3c0ae;
  color: #00103e;
}

.writing-card {
  border-color: rgba(0, 16, 62, 0.16);
}

.writing-featured {
  border-left: 4px solid #ffd200;
}

.writing-secondary {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.writing-links a {
  font-weight: 800;
}

.contact-card {
  background: rgba(255, 255, 255, 0.34);
  border-color: rgba(0, 16, 62, 0.14);
  color: #00103e;
  box-shadow: 0 8px 22px rgba(0, 16, 62, 0.05);
}

.contact-card:hover {
  background: #d3c0ae;
  border-color: rgba(0, 62, 126, 0.32);
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(0, 16, 62, 0.2);
  color: #00103e;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #003e7e;
  outline: 3px solid rgba(255, 210, 0, 0.35);
}

.site-footer {
  background: #d3c0ae;
  color: rgba(0, 16, 62, 0.78);
  border-top: 1px solid rgba(0, 16, 62, 0.16);
}

