:root {
  color-scheme: dark;
  --bg: #080807;
  --panel: #0f0e0c;
  --panel-2: #171511;
  --text: #f6efe5;
  --muted: #9f9890;
  --soft: #c9beb1;
  --line: #24221f;
  --line-strong: #36322d;
  --accent: #d8b88f;
  --chip: #25231f;
  --chip-text: #eee4d8;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

body.light {
  color-scheme: light;
  --bg: #f5efe4;
  --panel: #fbf6ee;
  --panel-2: #efe5d8;
  --text: #241b16;
  --muted: #766a60;
  --soft: #564b42;
  --line: #ded3c4;
  --line-strong: #cabcaa;
  --accent: #9b5f3f;
  --chip: #eee5d8;
  --chip-text: #2c241e;
  --shadow: 0 20px 60px rgba(55, 40, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--line), var(--line) 3px, transparent 3px, transparent 9px);
}

body::before {
  left: max(16px, calc((100vw - 930px) / 2));
}

body::after {
  right: max(16px, calc((100vw - 930px) / 2));
}

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

.page-frame {
  width: min(930px, calc(100vw - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px clamp(22px, 4vw, 42px) 52px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 28px;
  border-bottom: 1px dashed var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
}

.profile-mark {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  overflow: visible;
  background: var(--panel);
  color: #fff8ef;
  font-family: var(--serif);
  font-size: 0.82rem;
  box-shadow: var(--shadow);
}

.profile-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.08);
  transition: filter 180ms ease, transform 180ms ease;
}

.profile-mark:hover img {
  filter: brightness(1.08) contrast(1.04);
  transform: scale(1.13);
}

.profile-mark::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  z-index: 21;
  width: 17px;
  height: 17px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 58%, var(--text) 0 18%, transparent 20%),
    radial-gradient(circle at 50% 38%, var(--text) 0 22%, transparent 24%),
    radial-gradient(circle at 70% 58%, var(--text) 0 18%, transparent 20%),
    var(--panel);
  box-shadow: 0 0 0 3px var(--bg), 0 0 16px color-mix(in srgb, var(--accent) 42%, transparent);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.profile-mark:hover::after,
.profile-mark:focus-visible::after {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--bg), 0 0 22px color-mix(in srgb, var(--accent) 62%, transparent);
  transform: scale(1.08);
}

.profile-note {
  position: absolute;
  top: 50%;
  left: calc(100% + 18px);
  z-index: 20;
  display: block;
  width: max-content;
  max-width: min(340px, calc(100vw - 140px));
  padding: 2px 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 0.96rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 46%, transparent);
  transform: translate(-10px, -50%);
  transition: opacity 180ms ease, transform 220ms ease, clip-path 420ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.profile-mark:hover .profile-note,
.profile-mark:focus-visible .profile-note {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translate(0, -50%);
}

.section-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-link,
.theme-toggle,
.hero a,
.project-heading a,
.contact-link,
.view-more {
  min-height: 31px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--soft);
  font-size: 0.96rem;
}

.nav-link:hover,
.nav-link.active {
  background: var(--chip);
  color: var(--text);
}

.theme-toggle {
  display: inline-grid;
  width: 32px;
  place-items: center;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}

.theme-icon {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.theme-icon::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  transition: transform 180ms ease, opacity 180ms ease;
}

body.light .theme-icon {
  background: currentColor;
  box-shadow:
    0 -8px 0 -6px currentColor,
    0 8px 0 -6px currentColor,
    -8px 0 0 -6px currentColor,
    8px 0 0 -6px currentColor;
}

body.light .theme-icon::after {
  opacity: 0;
  transform: scale(0.2);
}

.theme-toggle:hover {
  background: var(--chip);
  color: var(--text);
}

.view-shell {
  position: relative;
}

.view {
  display: none;
  min-height: 68vh;
  padding-top: clamp(34px, 6vw, 58px);
  animation: view-enter 260ms ease both;
}

.view.active {
  display: block;
}

@keyframes view-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  max-width: 690px;
  padding: clamp(28px, 5vw, 46px) 0 clamp(68px, 10vw, 104px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.85rem, 7vw, 4.7rem);
  line-height: 0.96;
}

.name-glow {
  color: var(--text);
  text-shadow: 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent);
  transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.name-glow:hover {
  color: var(--accent);
  text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 62%, transparent);
}

h1 .name-glow {
  display: inline-block;
}

h1 .name-glow:hover {
  transform: none;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1;
}

h3 {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 500;
}

.intro,
.availability,
.two-column p,
.project-details p,
.contact-section p,
.page-lead,
.stack-list,
.timeline p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.intro {
  max-width: 610px;
  margin-bottom: 22px;
}

.availability {
  max-width: 720px;
  margin-bottom: 0;
  word-spacing: 0.05em;
}

.page-lead {
  max-width: 720px;
  margin: 18px 0 56px;
}

.hero a,
.project-heading a,
.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border-style: solid;
  background: var(--chip);
  color: var(--chip-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero .social-chip {
  display: inline-flex;
  gap: 6px;
  min-height: 29px;
  align-items: center;
  margin: 0 4px 7px;
  padding: 0 9px;
  border-color: var(--line-strong);
  border-radius: 6px;
  vertical-align: middle;
}

.social-chip span {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  color: var(--chip-text);
  opacity: 0.9;
  filter: drop-shadow(0 0 0 rgba(216, 184, 143, 0));
  animation: icon-glow 3.6s ease-in-out infinite;
}

.social-chip svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.9;
  animation: icon-glow 3.6s ease-in-out infinite;
}

.icon-only {
  width: 31px;
  justify-content: center;
  padding: 0;
}

.social-chip:nth-of-type(2) span {
  animation-delay: 0.55s;
}

.social-chip:nth-of-type(3) span {
  animation-delay: 1.1s;
}

.social-chip:nth-of-type(4) span {
  animation-delay: 1.65s;
}

.social-chip:nth-of-type(5) span {
  animation-delay: 2.2s;
}

.social-chip:nth-of-type(1) svg {
  animation-delay: 0s;
}

.social-chip:nth-of-type(3) svg {
  animation-delay: 1.1s;
}

@keyframes icon-glow {
  0%,
  100% {
    opacity: 0.72;
    filter: drop-shadow(0 0 0 rgba(216, 184, 143, 0));
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 7px rgba(216, 184, 143, 0.55));
  }
}

.email-chip span {
  border: 2px solid currentColor;
  border-radius: 3px;
}

.email-chip span::before,
.email-chip span::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.email-chip span::before {
  left: -1px;
  transform: rotate(34deg);
}

.email-chip span::after {
  right: -1px;
  transform: rotate(-34deg);
}

.linkedin-chip span {
  border: 2px solid currentColor;
  border-radius: 3px;
}

.linkedin-chip span::before {
  content: "in";
  position: absolute;
  inset: -3px 0 0 1px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.resume-chip span {
  border: 2px solid currentColor;
  border-radius: 2px;
}

.resume-chip span::before {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  border-top: 6px solid currentColor;
  border-left: 6px solid transparent;
}

.hero a:hover,
.project-heading a:hover,
.contact-link:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.content-section {
  padding: clamp(54px, 9vw, 92px) 0;
  border-top: 1px dashed var(--line);
  scroll-margin-top: 86px;
}

.section-label {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  margin-bottom: 34px;
  padding: 0 11px;
  border: 1px dashed var(--line-strong);
  background: color-mix(in srgb, var(--panel) 74%, transparent);
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 800;
}

.section-row .section-label {
  margin-bottom: 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 70px);
  align-items: start;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag-row span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--chip);
  color: var(--chip-text);
  font-size: 0.88rem;
}

.experience-list,
.project-list {
  display: grid;
  gap: 26px;
}

.spaced-label {
  margin-top: clamp(74px, 10vw, 112px);
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 34px;
}

.experience-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 112px;
  padding: 26px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 72%, transparent);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.experience-card:hover,
.project-card:hover {
  border-color: var(--line-strong);
  background: var(--panel);
  transform: translateY(-2px);
}

.experience-card h3 {
  margin-bottom: 5px;
  font-size: 1.55rem;
}

.experience-card p,
.experience-card time {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.experience-card span {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 5px;
  background: var(--chip);
  color: var(--chip-text);
  font-size: 0.82rem;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(230px, 0.86fr) minmax(0, 1.14fr);
  gap: 30px;
  padding: 26px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 72%, transparent);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.project-preview {
  display: grid;
  min-height: 218px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #fff8ef;
  font-family: var(--serif);
  font-size: 1.75rem;
}

.project-preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.green-preview {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 44%),
    radial-gradient(circle at 72% 72%, rgba(255, 255, 255, 0.2), transparent 26%),
    #315f4f;
}

.clay-preview {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 42%),
    radial-gradient(circle at 68% 22%, rgba(255, 255, 255, 0.22), transparent 24%),
    #8e593c;
}

.blue-preview {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 42%),
    radial-gradient(circle at 72% 70%, rgba(255, 255, 255, 0.2), transparent 24%),
    #253f62;
}

.project-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.project-heading div {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 6px;
}

.project-heading a {
  white-space: nowrap;
}

.compact {
  margin-top: 24px;
}

.stack-list {
  display: grid;
  gap: 22px;
  max-width: 760px;
  margin: 0;
  padding-left: 24px;
}

.stack-list li::marker {
  color: var(--accent);
}

.timeline {
  display: grid;
  gap: 34px;
  max-width: 720px;
}

.timeline article {
  position: relative;
  padding-left: 42px;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
}

.timeline article::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 25px;
  bottom: -27px;
  width: 1px;
  background: var(--line-strong);
}

.timeline article:last-child::after {
  display: none;
}

.timeline span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--text);
  font-weight: 800;
}

.timeline h3 {
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
}

.timeline p {
  margin-bottom: 0;
}

.certificate-list {
  display: grid;
  gap: 34px;
  max-width: 820px;
}

.certificate-item a {
  display: inline;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.18;
  transition: color 180ms ease;
}

.open-mark {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-left: 9px;
  margin-bottom: -1px;
  color: var(--line-strong);
  filter: drop-shadow(0 0 0 rgba(216, 184, 143, 0));
  transform: rotate(0deg);
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.open-mark::before,
.open-mark::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 1px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.open-mark::before {
  transform: rotate(0deg);
}

.open-mark::after {
  transform: rotate(90deg);
}

.open-mark i,
.open-mark b {
  position: absolute;
  top: 8px;
  left: 1px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.certificate-item a:hover .open-mark {
  color: var(--accent);
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 70%, transparent));
  transform: rotate(18deg) scale(1.08);
}

.open-mark {
  background:
    linear-gradient(currentColor, currentColor) center / 16px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 16px no-repeat,
    linear-gradient(45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(-45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px));
}

.open-mark::before,
.open-mark::after {
  display: none;
}

.certificate-item a:hover {
  color: var(--accent);
}

.certificate-item p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.more-certificates {
  max-width: 760px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.more-certificates a {
  display: inline-block;
  margin-left: 0.45em;
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  transform: skewX(-7deg);
  text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 36%, transparent);
  transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.more-certificates a:hover {
  color: var(--text);
  transform: skewX(-7deg) translateY(-1px);
  text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 70%, transparent);
}

.view-more {
  display: flex;
  width: fit-content;
  align-items: center;
  margin: 0;
  padding: 0 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}

.view-more::after {
  content: " ->";
}

.view-more:hover {
  background: var(--chip);
  color: var(--text);
}

.contact-section {
  max-width: 720px;
}

.contact-link {
  min-height: 34px;
  margin-top: 8px;
  padding: 0 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer p {
  margin: 0;
}

.footer p + p {
  margin-top: 8px;
}

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

.visitor-panel {
  min-width: 150px;
  text-align: right;
}

.visitor-panel strong {
  color: var(--text);
}

body.error-minimal {
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: clamp(12px, 2vw, 24px);
  background: #3a251d;
  color: var(--bg);
}

body.error-minimal::before,
body.error-minimal::after {
  display: none;
}

.minimal-not-found {
  position: relative;
  z-index: 1;
  display: block;
  width: min(1280px, 100%);
  min-height: min(780px, calc(100vh - clamp(24px, 4vw, 48px)));
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--bg);
  transition: filter 180ms ease, transform 180ms ease;
}

.minimal-not-found:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.error-copy {
  position: absolute;
  top: 15%;
  left: 19%;
  z-index: 2;
  display: grid;
  gap: 4px;
  color: var(--bg);
  font-size: clamp(0.7rem, 0.8vw, 0.92rem);
  font-weight: 800;
  line-height: 1.16;
}

.error-copy p {
  margin: 0 0 8px;
  font-size: 0.66em;
  letter-spacing: 0;
}

.error-copy strong,
.error-copy span,
.return-note {
  display: block;
}

.creator-note {
  position: absolute;
  top: 15%;
  left: 62%;
  z-index: 2;
  display: block;
  max-width: 260px;
  color: var(--bg);
  font-size: clamp(0.62rem, 0.7vw, 0.8rem);
  font-weight: 700;
  line-height: 1.35;
  opacity: 0.72;
}

.return-note {
  position: absolute;
  right: 26%;
  bottom: 40%;
  z-index: 2;
  color: var(--bg);
  font-size: clamp(0.55rem, 0.64vw, 0.72rem);
  font-weight: 900;
  text-transform: uppercase;
}

.not-found-mark {
  position: absolute;
  right: 4%;
  bottom: -12%;
  z-index: 1;
  color: var(--bg);
  font-family: var(--sans);
  font-size: clamp(13rem, 26vw, 26rem);
  font-weight: 500;
  line-height: 0.76;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  body::before,
  body::after {
    display: none;
  }

  .page-frame {
    width: 100%;
    padding-inline: 18px;
    padding-bottom: 116px;
  }

  .topbar {
    align-items: flex-start;
    padding-top: 12px;
  }

  .profile-mark {
    width: 48px;
    height: 48px;
  }

  .profile-note {
    top: calc(100% + 10px);
    left: 0;
    max-width: calc(100vw - 36px);
    padding: 0;
    font-size: 0.88rem;
    transform: translateY(-6px);
  }

  .profile-mark:hover .profile-note,
  .profile-mark:focus-visible .profile-note {
    transform: translateY(0);
  }

  .section-nav {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }

  .nav-link {
    flex: 1;
    justify-content: center;
    min-width: 0;
    padding: 0 6px;
    font-size: 0.82rem;
  }

  .theme-toggle {
    flex: 0 0 34px;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 58px;
  }

  .view {
    padding-top: 28px;
  }

  .page-lead {
    margin-bottom: 42px;
  }

  .section-label {
    margin-bottom: 26px;
  }

  .section-row {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 26px;
  }

  .spaced-label {
    margin-top: 58px;
  }

  h1 {
    font-size: clamp(2.72rem, 14vw, 4rem);
  }

  .two-column,
  .project-card,
  .experience-card {
    grid-template-columns: 1fr;
  }

  .experience-card {
    gap: 10px;
  }

  .experience-card time {
    justify-self: start;
  }

  .project-heading,
  .footer {
    display: flex;
    flex-direction: column;
  }

  .visitor-panel {
    text-align: left;
  }

  .project-heading div {
    justify-content: flex-start;
  }

  .project-preview {
    min-height: 172px;
  }

  .experience-list,
  .project-list {
    gap: 18px;
  }

  .certificate-list {
    gap: 26px;
  }

  .not-found-mark {
    right: -10%;
    bottom: -4%;
    font-size: clamp(9rem, 46vw, 16rem);
  }

  .minimal-not-found {
    min-height: calc(100vh - 24px);
  }

  .error-copy {
    top: 12%;
    left: 10%;
  }

  .return-note {
    right: auto;
    bottom: 34%;
    left: 10%;
  }

  .creator-note {
    top: 25%;
    left: 10%;
    max-width: 220px;
    text-align: left;
  }
}

@media (max-width: 430px) {
  .nav-link {
    font-size: 0.76rem;
  }

  .section-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nav-link {
    flex: 0 0 auto;
  }
}
