:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --paper: #ffffff;
  --ink: #151a21;
  --muted: #66707f;
  --line: #dfe5ec;
  --accent: #0f8b8d;
  --accent-strong: #0a5c61;
  --gold: #b88a36;
  --green: #47766d;
  --hero: #070a12;
  --shadow: 0 18px 48px rgba(18, 26, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
  padding: 0.1rem 0.35rem;
  font-size: 0.92em;
}

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  backdrop-filter: blur(16px);
}

.home-page .site-header {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(210, 63, 178, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  min-width: 64px;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  text-align: center;
  transition: background 160ms ease, color 160ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(15, 139, 141, 0.12);
  color: var(--accent-strong);
}

.home-page .nav a {
  color: rgba(255, 255, 255, 0.68);
}

.home-page .nav a:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.home-page main {
  width: 100%;
}

.page-title,
.section > *,
.article,
.site-footer {
  position: relative;
  z-index: 2;
}

.smoke-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero {
  display: grid;
  align-content: center;
  min-height: 68vh;
  padding: 74px 0 96px;
  border-bottom: 1px solid var(--line);
}

.hero-cinematic {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 0;
  border-bottom: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(15, 139, 141, 0.28), transparent 26%),
    radial-gradient(circle at 72% 32%, rgba(184, 138, 54, 0.16), transparent 22%),
    linear-gradient(180deg, #070a12 0%, #0c1220 58%, #f5f7fa 100%);
}

.hero-canvas,
.hero-glow {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  width: 100%;
  height: 100%;
}

.hero-glow {
  background:
    linear-gradient(90deg, rgba(7, 10, 18, 0.88) 0%, rgba(7, 10, 18, 0.22) 48%, rgba(7, 10, 18, 0.82) 100%),
    linear-gradient(180deg, rgba(7, 10, 18, 0.16) 0%, rgba(7, 10, 18, 0.86) 78%, #f5f7fa 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  color: #ffffff;
}

.hero-logo {
  width: 82px;
  height: 82px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 0 42px rgba(210, 63, 178, 0.34);
}

.hero-cinematic h1 {
  max-width: 760px;
  margin-bottom: 22px;
  text-shadow: 0 0 34px rgba(210, 63, 178, 0.32);
}

.hero-cinematic .hero-copy {
  color: rgba(237, 245, 247, 0.76);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 42px;
  z-index: 3;
  width: 28px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  display: block;
  width: 4px;
  height: 9px;
  margin: 9px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  animation: cue 1.7s ease-in-out infinite;
}

@keyframes cue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.13;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.6vw, 3.1rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-copy,
.page-title p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 139, 141, 0.35);
  background: rgba(255, 255, 255, 0.75);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.blog-home {
  padding: 92px 0;
  background: var(--bg);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  align-items: start;
}

.article-column,
.blog-sidebar section {
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.article-column {
  padding: 28px;
}

.section-kicker,
.panel-label {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-column h2 {
  margin-bottom: 24px;
}

.article-feed {
  display: grid;
  gap: 12px;
}

.article-feed .post-card {
  min-height: 0;
  border-radius: 6px;
  box-shadow: none;
}

.article-feed .post-card a {
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.article-feed .post-card h3 {
  font-size: 1.28rem;
}

.article-feed .post-card p,
.post-list .post-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.post-meta span,
.article-meta span {
  border: 1px solid rgba(210, 63, 178, 0.22);
  border-radius: 999px;
  padding: 2px 9px;
  background: rgba(210, 63, 178, 0.08);
  color: #8a2b78;
}

.blog-sidebar {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 14px;
}

.blog-sidebar section {
  padding: 20px;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 18px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 58% 30%, rgba(210, 63, 178, 0.22), transparent 28%),
    linear-gradient(145deg, #121923, #e7edf3);
}

.profile-photo img,
.resume-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.blog-sidebar h3 {
  font-size: 1.2rem;
}

.blog-sidebar p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.link-panel {
  display: grid;
  gap: 8px;
}

.link-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--ink);
  font-weight: 720;
}

.link-panel a::after {
  content: "→";
  color: var(--accent);
}

.qr-panel {
  display: grid;
  gap: 12px;
}

.qr-panel img {
  width: min(100%, 188px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #ffffff;
  object-fit: contain;
}

.qr-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.two-column,
.resume-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 56px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.note-list,
.timeline,
.post-grid,
.post-list,
.resume-main {
  display: grid;
  gap: 14px;
}

.note-list article,
.timeline article,
.post-card,
.resume-aside,
.resume-main section {
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.article-column:hover,
.blog-sidebar section:hover,
.note-list article:hover,
.timeline article:hover,
.post-card:hover,
.resume-aside:hover,
.resume-main section:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 139, 141, 0.2);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 54px rgba(18, 26, 36, 0.1);
}

.article-column:active,
.blog-sidebar section:active,
.note-list article:active,
.timeline article:active,
.post-card:active,
.resume-aside:active,
.resume-main section:active {
  transform: translateY(0);
}

.note-list article,
.timeline article,
.post-card,
.resume-aside,
.resume-main section {
  padding: 22px;
}

.note-list p,
.timeline p,
.post-card p,
.resume-layout p {
  margin-bottom: 0;
  color: var(--muted);
}

.timeline article {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
}

.timeline span {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(86, 117, 104, 0.14);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
  min-height: 184px;
}

.post-card time,
.article time {
  color: var(--muted);
  font-size: 0.9rem;
}

.post-card a {
  position: relative;
  display: grid;
  height: 100%;
  gap: 18px;
  padding-right: 36px;
}

.post-list .post-card {
  min-height: auto;
}

.post-list {
  gap: 12px;
}

.post-list .post-card a {
  grid-template-columns: 156px minmax(0, 1fr);
  align-items: center;
}

.post-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(15, 139, 141, 0.14);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.1rem;
  transform: translateY(-50%);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.post-card:hover .post-arrow {
  border-color: rgba(15, 139, 141, 0.3);
  background: rgba(15, 139, 141, 0.08);
  transform: translate(3px, -50%);
}

.page-title {
  padding: 76px 0 36px;
  border-bottom: 1px solid var(--line);
}

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 76px 0;
}

.article-header {
  margin-bottom: 44px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  max-width: 100%;
  margin: 14px 0;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
}

.article-header p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.1rem;
}

.article h2 {
  margin-top: 48px;
  padding-top: 8px;
  font-size: 1.8rem;
}

.article h3 {
  margin-top: 34px;
  font-size: 1.28rem;
}

.article h4,
.article h5,
.article h6 {
  margin: 28px 0 10px;
  line-height: 1.25;
}

.article p,
.article li {
  color: #3f4541;
  font-size: 1.05rem;
}

.article p {
  margin-bottom: 18px;
}

.article a {
  color: var(--accent-strong);
  font-weight: 720;
  text-decoration: underline;
  text-decoration-color: rgba(15, 139, 141, 0.28);
  text-underline-offset: 0.18em;
}

.article ul,
.article ol {
  margin: 18px 0 24px;
  padding-left: 1.35rem;
}

.article li + li {
  margin-top: 8px;
}

.article blockquote {
  margin: 28px 0;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  background: rgba(15, 139, 141, 0.07);
  color: var(--muted);
}

.article blockquote p {
  margin-bottom: 0;
  color: var(--muted);
}

.article hr {
  height: 1px;
  margin: 34px 0;
  border: 0;
  background: var(--line);
}

.article pre {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid rgba(21, 26, 33, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: #111827;
  color: #e5edf6;
  font-size: 0.94rem;
  line-height: 1.7;
}

.article pre code {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.article :not(pre) > code {
  border-color: rgba(15, 139, 141, 0.16);
  background: rgba(15, 139, 141, 0.08);
  color: #0b5960;
}

.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.article table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.article th,
.article td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.article th {
  background: rgba(15, 139, 141, 0.08);
  color: var(--accent-strong);
  font-weight: 800;
}

.article tr:last-child td {
  border-bottom: 0;
}

.article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 8px;
}

.resume-layout {
  padding: 60px 0 76px;
  align-items: start;
}

.resume-page main {
  width: min(1180px, calc(100% - 40px));
}

.resume-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 360px;
  gap: 34px;
  align-items: stretch;
  padding: 74px 0 34px;
}

.resume-hero-copy,
.resume-snapshot {
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.resume-hero-copy {
  display: grid;
  align-content: center;
  min-height: 470px;
  padding: clamp(28px, 5vw, 54px);
}

.resume-hero-copy h1 {
  margin-bottom: 10px;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}

.resume-subtitle {
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: clamp(1.24rem, 2.1vw, 1.72rem);
  font-weight: 800;
}

.resume-lead {
  max-width: 760px;
  color: #3c4650;
  font-size: 1.12rem;
}

.resume-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.resume-snapshot {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
}

.resume-portrait {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, #e7edf3, #ffffff);
}

.resume-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.resume-snapshot h2 {
  margin-bottom: 0;
  font-size: 1.32rem;
}

.resume-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contact-card .panel-label {
  margin-bottom: 2px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid rgba(15, 139, 141, 0.13);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(245, 247, 250, 0.68);
}

.contact-line a {
  color: inherit;
}

.contact-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 139, 141, 0.1);
  color: var(--accent-strong);
}

.contact-icon svg {
  width: 17px;
  height: 17px;
}

.contact-value {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 760;
  letter-spacing: 0;
}

.resume-facts span,
.project-role,
.civil-project-grid span,
.credential-grid span {
  border: 1px solid rgba(15, 139, 141, 0.18);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(15, 139, 141, 0.07);
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.resume-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 52px;
}

.resume-metrics article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.resume-metrics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.resume-metrics span {
  color: var(--muted);
  font-size: 0.95rem;
}

.resume-section {
  position: relative;
  z-index: 2;
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.resume-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}

.resume-intro p:last-child,
.section-heading > p {
  max-width: 620px;
  color: var(--muted);
}

.resume-capability-grid,
.civil-project-grid,
.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.resume-capability-grid article,
.resume-projects article,
.experience-list article,
.civil-project-grid article,
.credential-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.resume-capability-grid article,
.civil-project-grid article,
.credential-grid article {
  padding: 20px;
}

.resume-capability-grid article:hover,
.resume-projects article:hover,
.experience-list article:hover,
.civil-project-grid article:hover,
.credential-grid article:hover,
.resume-hero-copy:hover,
.resume-snapshot:hover,
.resume-metrics article:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 139, 141, 0.2);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 54px rgba(18, 26, 36, 0.1);
}

.resume-capability-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.resume-capability-grid p,
.resume-projects p,
.experience-list p,
.civil-project-grid p,
.credential-grid p {
  color: var(--muted);
}

.resume-projects,
.experience-list {
  display: grid;
  gap: 14px;
}

.resume-projects article,
.experience-list article {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.resume-projects article {
  grid-template-columns: 52px minmax(0, 1fr);
}

.project-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(184, 138, 54, 0.13);
  color: var(--gold);
  font-weight: 900;
}

.resume-projects ul,
.experience-list ul {
  margin: 14px 0 0;
  padding-left: 1.1rem;
  color: #3f4541;
}

.resume-projects li + li,
.experience-list li + li {
  margin-top: 6px;
}

.experience-list article {
  grid-template-columns: 150px minmax(0, 1fr);
}

.experience-list time {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
}

.civil-project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.civil-project-grid h3,
.credential-grid h3 {
  font-size: 1.12rem;
}

.civil-project-grid span,
.credential-grid span {
  display: inline-flex;
  margin-top: 12px;
}

.resume-aside {
  position: sticky;
  top: 24px;
}

.resume-avatar {
  width: 132px;
  height: 132px;
  margin-bottom: 18px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.resume-aside h2 {
  font-size: 2rem;
}

.resume-main section + section {
  margin-top: 0;
}

.resume-stack,
.project-list {
  display: grid;
  gap: 14px;
}

.resume-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resume-stack article,
.project-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(245, 247, 250, 0.7);
}

.project-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
}

.project-list span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(210, 63, 178, 0.1);
  color: #8a2b78;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 0.94rem;
}

.error {
  border: 1px solid rgba(184, 138, 54, 0.36);
  border-radius: 8px;
  padding: 18px;
  background: rgba(184, 138, 54, 0.08);
  color: #8c641d;
}

@media (max-width: 800px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav a {
    min-width: max-content;
    flex: 0 0 auto;
  }

  .home-page .site-header {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    min-height: 58vh;
    padding: 54px 0 70px;
  }

  .hero-cinematic {
    min-height: 100svh;
    padding: 0;
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
  }

  .blog-layout,
  .article-feed .post-card a {
    grid-template-columns: 1fr;
  }

  .resume-hero,
  .resume-intro,
  .experience-list article,
  .resume-projects article {
    grid-template-columns: 1fr;
  }

  .resume-hero {
    padding-top: 44px;
  }

  .resume-hero-copy {
    min-height: auto;
  }

  .resume-metrics,
  .resume-capability-grid,
  .civil-project-grid,
  .credential-grid {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .two-column,
  .resume-layout,
  .resume-stack,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .resume-aside {
    position: static;
  }
}
