:root {
  color-scheme: dark;
  --bg: #020504;
  --bg-elevated: #050908;
  --panel: rgba(5, 10, 9, 0.78);
  --panel-strong: #070c0b;
  --line: #1b2623;
  --line-strong: #2a3a35;
  --text: #edf3ef;
  --text-soft: #b6bfba;
  --muted: #7b8881;
  --muted-dim: #53605a;
  --green: #18d978;
  --green-bright: #21f18a;
  --green-dim: #0b7d49;
  --cyan: #25d7d0;
  --blue: #54a7ff;
  --violet: #a78bfa;
  --pink: #e47bc3;
  --radius: 11px;
  --container: 660px;
  --font-body: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --pointer-x: 50vw;
  --pointer-y: 10vh;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f8f6;
  --bg-elevated: #ffffff;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #ffffff;
  --line: #e1e8e4;
  --line-strong: #cbd5cf;
  --text: #0f1714;
  --text-soft: #3d4f46;
  --muted: #5c6c65;
  --muted-dim: #8a9991;
  --green: #059669;
  --green-bright: #047857;
  --green-dim: #065f46;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #23332d var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -12%, rgba(20, 89, 63, 0.11), transparent 31rem),
    linear-gradient(180deg, #010302 0%, var(--bg) 20%, #010403 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(
    32rem circle at var(--pointer-x) var(--pointer-y),
    rgba(24, 217, 120, 0.045),
    transparent 68%
  );
  content: "";
  pointer-events: none;
}

::selection {
  background: rgba(33, 241, 138, 0.24);
  color: #fff;
}

img,
svg {
  display: block;
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: #07120d;
  color: var(--text);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.page-shell,
.site-footer {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
}

.monogram {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(4, 9, 7, 0.82);
  color: var(--green-bright);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.monogram:hover {
  border-color: rgba(33, 241, 138, 0.65);
  box-shadow: 0 0 24px rgba(33, 241, 138, 0.08), inset 0 1px rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.top-nav,
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
  color: #dbe3df;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.button:hover {
  border-color: rgba(33, 241, 138, 0.56);
  background-color: rgba(24, 217, 120, 0.05);
  color: #f7fffa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.button--compact {
  min-height: 37px;
  padding: 7px 13px;
  font-size: 12.5px;
}

.button--square {
  width: 39px;
  padding-inline: 0;
}

.button--primary,
.button--accent {
  border-color: rgba(33, 241, 138, 0.45);
  background: rgba(24, 217, 120, 0.12);
  color: var(--green-bright);
}

.page-shell {
  padding: 14px 0 0;
}

.hero {
  display: grid;
  align-items: start;
  margin-bottom: 30px;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 20px;
}

.portrait-wrap {
  position: relative;
  width: 90px;
  aspect-ratio: 1;
  padding: 3px;
  border: 1px solid rgba(49, 110, 90, 0.5);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(37, 215, 208, 0.12), rgba(24, 217, 120, 0.035));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.portrait-wrap::before {
  display: none;
}

.portrait {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: cover;
  object-position: 50% 15%;
}

.portrait-status span,
.live-dot,
.project-live,
.focus-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 10px rgba(33, 241, 138, 0.52);
}

.hero-copy {
  max-width: 790px;
  padding-top: 1px;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.name-row h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.spark {
  color: var(--green-bright);
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(33, 241, 138, 0.38));
}

.handle {
  margin: 6px 0 1px;
  color: #929d97;
  font-size: 14px;
}

.role {
  margin: 0 0 10px;
  color: var(--green-bright);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.role span {
  padding-inline: 4px;
  color: var(--muted-dim);
}

.hero-intro {
  max-width: 745px;
  color: var(--text-soft);
}

.hero-intro > p {
  margin-bottom: 10px;
}

.about-more {
  margin-top: -2px;
}

.about-more summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #a9b5af;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 11px;
  list-style: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.about-more summary::-webkit-details-marker {
  display: none;
}

.about-more summary::after {
  content: "+";
  color: var(--green);
  font-size: 14px;
  line-height: 1;
}

.about-more[open] summary::after {
  content: "−";
}

.about-more summary:hover {
  border-color: rgba(33, 241, 138, 0.4);
  color: var(--text);
}

.about-more p {
  max-width: 720px;
  margin: 10px 0 0;
  color: #9da9a3;
}

.hero-actions {
  margin-top: 18px;
}

.social-note {
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.panel,
.contact-panel {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(7, 12, 11, 0.75), rgba(2, 6, 5, 0.66));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.018);
}

.panel-heading {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
}

.panel-heading h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.heading-icon,
.skill-icon,
.credential-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.heading-icon--green,
.skill-icon--green {
  color: var(--green);
}

.heading-icon--cyan {
  color: var(--cyan);
}

.skill-icon--blue {
  color: var(--blue);
}

.skill-icon--violet {
  color: var(--violet);
}

.skill-icon--pink {
  color: var(--pink);
}

.skill-icon--muted {
  color: #9aa39e;
}

.panel-kicker,
.panel-link {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
}

.panel-kicker {
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 160ms ease;
}

.panel-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.panel-link:hover {
  color: var(--green-bright);
}

.skills-list {
  display: grid;
}

.skill-row {
  display: grid;
  min-height: 58px;
  align-items: center;
  padding: 10px 18px;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 18px;
}

.skill-row + .skill-row {
  border-top: 1px solid rgba(27, 38, 35, 0.68);
}

.skill-label {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #b8c2bd;
}

.skill-label h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip,
.project-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid #202c28;
  border-radius: 5px;
  background: rgba(3, 7, 6, 0.48);
  color: #bec8c3;
  font-family: var(--font-display);
  font-size: 10.5px;
  line-height: 1.2;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.chip:hover {
  border-color: #33473f;
  background-color: rgba(24, 217, 120, 0.025);
  color: #edf6f1;
}

.brand {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 4px;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand--python {
  background: linear-gradient(135deg, #3572a5 50%, #ffd343 50%);
  color: #06111b;
}

.brand--js {
  background: #f7df1e;
  color: #111;
}

.brand--sql {
  background: #2b536d;
  color: #eaf7ff;
}

.focus-grid {
  display: grid;
  min-height: 88px;
  align-items: center;
  padding: 13px 18px;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.focus-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.focus-item + .focus-item {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.focus-item > svg {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  fill: none;
  stroke: #c5cec9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.focus-item h3,
.focus-item p,
.focus-status p {
  margin: 0;
}

.focus-item h3 {
  color: #dce4e0;
  font-size: 13px;
  font-weight: 500;
}

.focus-item p,
.focus-status p {
  color: var(--muted);
  font-size: 11px;
}

.focus-status {
  text-align: right;
}

.focus-status span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 10.5px;
}

.focus-status i {
  width: 6px;
  height: 6px;
}

.focus-status p {
  margin-top: 6px;
}

.project-list {
  display: grid;
}

.project-row {
  display: grid;
  align-items: center;
  padding: 12px 18px;
  grid-template-columns: 272px minmax(0, 1fr) auto;
  gap: 20px;
}

.project-row + .project-row {
  border-top: 1px solid rgba(27, 38, 35, 0.72);
}

.project-cover {
  position: relative;
  display: block;
  height: 124px;
  overflow: hidden;
  border: 1px solid #1f302b;
  border-radius: 7px;
  background: #070b0a;
}

.project-cover::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  content: "";
  pointer-events: none;
}

.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) brightness(0.83);
  transition: filter 260ms ease, transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-cover:hover img {
  filter: saturate(1.05) brightness(0.98);
  transform: scale(1.025);
}

.project-row:nth-child(3) .project-cover img {
  object-position: 50% 17%;
}

.project-cover--nilora {
  padding: 11px;
  background:
    radial-gradient(circle at 80% 12%, rgba(20, 235, 182, 0.13), transparent 45%),
    linear-gradient(135deg, #041311, #061817 50%, #030908);
}

.nilora-window {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(41, 224, 181, 0.25);
  border-radius: 5px;
  background: rgba(1, 7, 6, 0.78);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-cover--nilora:hover .nilora-window {
  transform: scale(1.025);
}

.nilora-top {
  display: flex;
  height: 28px;
  align-items: center;
  padding: 0 9px;
  border-bottom: 1px solid rgba(41, 224, 181, 0.18);
  color: #51e8c1;
  font-family: var(--font-display);
  font-size: 10px;
}

.nilora-top span {
  margin-right: auto;
}

.nilora-top i {
  width: 4px;
  height: 4px;
  margin-left: 4px;
  border-radius: 50%;
  background: #33544a;
}

.nilora-body {
  position: relative;
  height: calc(100% - 28px);
}

.nilora-sidebar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 48px;
  border-right: 1px solid rgba(41, 224, 181, 0.12);
  background: rgba(18, 52, 46, 0.24);
}

.nilora-line,
.nilora-input {
  position: absolute;
  left: 64px;
  height: 4px;
  border-radius: 4px;
  background: rgba(115, 199, 177, 0.21);
}

.nilora-line--one {
  top: 20px;
  width: 63px;
}

.nilora-line--two {
  top: 30px;
  width: 91px;
}

.nilora-input {
  right: 11px;
  bottom: 10px;
  height: 17px;
  border: 1px solid rgba(41, 224, 181, 0.13);
  background: rgba(18, 52, 46, 0.2);
}

.nilora-orb {
  position: absolute;
  top: 14px;
  right: 17px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(63, 244, 198, 0.4);
  border-radius: 8px;
  background: rgba(16, 182, 139, 0.12);
  color: #5bf0c9;
  font-family: var(--font-display);
  font-size: 11px;
  box-shadow: 0 0 22px rgba(33, 241, 190, 0.13);
}

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

.project-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.project-title-row h3 {
  margin: 0;
  color: #e2e9e5;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.project-title-row h3 span {
  color: #aeb9b3;
  font-weight: 400;
}

.project-live {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
}

.project-copy > p {
  max-width: 610px;
  margin: 5px 0 9px;
  color: #8d9993;
  font-size: 11.5px;
  line-height: 1.5;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.project-tags span {
  min-height: 22px;
  padding: 3px 7px;
  color: #84918a;
  font-size: 9px;
}

.project-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.project-actions--stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}

.activity-inner {
  padding: 16px 18px 14px;
}

.activity-months {
  display: grid;
  min-height: 18px;
  margin-left: 28px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 9.5px;
  gap: 2.5px;
}

.activity-months span {
  white-space: nowrap;
}

.activity-chart-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  padding-bottom: 2px;
}

.activity-chart-main {
  display: flex;
  gap: 6px;
}

.activity-days {
  display: grid;
  width: 22px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 8.5px;
  grid-template-rows: repeat(7, 9px);
  gap: 2.5px;
}

.activity-days span:nth-child(1) {
  grid-row: 2;
}

.activity-days span:nth-child(2) {
  grid-row: 4;
}

.activity-days span:nth-child(3) {
  grid-row: 6;
}

.activity-grid {
  display: grid;
  width: 100%;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, 9px);
  grid-auto-columns: minmax(0, 1fr);
  gap: 2.5px;
}

.activity-cell {
  display: block;
  width: 100%;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 2px;
  background: #161b22;
}

.activity-legend i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #161b22;
}

.activity-cell[data-level="1"],
.activity-legend i[data-level="1"] {
  background: #0e4429;
}

.activity-cell[data-level="2"],
.activity-legend i[data-level="2"] {
  background: #006d32;
}

.activity-cell[data-level="3"],
.activity-legend i[data-level="3"] {
  background: #26a641;
}

.activity-cell[data-level="4"],
.activity-legend i[data-level="4"] {
  background: #39d353;
  box-shadow: 0 0 8px rgba(57, 211, 83, 0.3);
}

.activity-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 8px 0 0 36px;
  color: var(--muted);
  font-size: 9.5px;
}

.activity-meta p {
  margin: 0;
}

.activity-legend {
  display: flex;
  align-items: center;
  gap: 4px;
}

.activity-legend i {
  width: 10px;
  height: 10px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.credential-block {
  display: grid;
  padding: 18px;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 12px;
}

.credential-block + .credential-block {
  border-left: 1px solid var(--line);
}

.credential-icon {
  width: 27px;
  height: 27px;
  color: #b5beb9;
  stroke-width: 1.35;
}

.credential-block h3 {
  margin: 0 0 2px;
  color: #e0e7e3;
  font-size: 13.5px;
  font-weight: 500;
}

.credential-block p {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
}

.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin: 7px 0 0;
  padding: 0;
  color: #919c96;
  font-size: 9.5px;
  list-style: none;
}

.course-list li::before {
  margin-right: 6px;
  color: var(--green-dim);
  content: "•";
}

.certificate-list {
  display: grid;
  gap: 10px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.certificate-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #b7c1bc;
  font-size: 11px;
}

.certificate-list li > span {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #021008;
}

.certificate-list svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.certificate-list small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 9.5px;
}

.blog-grid {
  display: grid;
  padding: 12px 18px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.medium-card {
  display: grid;
  min-height: 144px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 5% 50%, rgba(24, 217, 120, 0.06), transparent 35%),
    rgba(3, 8, 6, 0.56);
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 15px;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.medium-card--title-only {
  display: block;
  min-height: 0;
  padding: 0;
  grid-template-columns: none;
}

.medium-title-link {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: inherit;
  color: #e2ede7;
  transition: color 160ms ease;
}

.medium-title-link h3 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
}

.medium-arrow {
  display: flex;
  flex: 0 0 auto;
  color: var(--green);
}

.medium-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.medium-card--title-only:hover .medium-title-link {
  color: var(--green-bright);
}

.medium-card--profile {
  grid-column: 1 / -1;
}

.medium-card:hover {
  border-color: rgba(33, 241, 138, 0.28);
  background-color: rgba(7, 16, 12, 0.7);
  transform: translateY(-2px);
}

.medium-mark,
.medium-image-wrap {
  display: grid;
  width: 82px;
  height: 82px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(33, 241, 138, 0.25);
  border-radius: 7px;
  background: rgba(24, 217, 120, 0.055);
  color: var(--green-bright);
  font-family: Georgia, serif;
  font-size: 45px;
  line-height: 1;
  box-shadow: inset 0 0 30px rgba(24, 217, 120, 0.03);
}

.medium-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.7);
}

.eyebrow {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.medium-copy h3 {
  margin: 3px 0 4px;
  color: #dfe8e3;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.medium-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 7px;
  color: #89958f;
  font-size: 10.5px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.medium-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 10.5px;
}

.medium-copy > a svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.medium-copy > a:hover svg {
  transform: translateX(3px);
}

.contact-panel {
  position: relative;
  display: grid;
  min-height: 190px;
  align-items: center;
  margin-top: 16px;
  padding: 28px 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 50%, rgba(24, 217, 120, 0.09), transparent 34%),
    linear-gradient(135deg, rgba(8, 16, 13, 0.92), rgba(3, 7, 6, 0.9));
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 28px;
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.contact-copy .live-dot {
  width: 6px;
  height: 6px;
}

.contact-copy h2 {
  margin: 6px 0 6px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.contact-copy p {
  max-width: 600px;
  margin: 0;
  color: #9aa69f;
  font-size: 12px;
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-orbit {
  position: absolute;
  right: -80px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(33, 241, 138, 0.09);
  border-radius: 50%;
}

.contact-orbit--two {
  right: 20px;
  width: 210px;
  height: 210px;
}

.site-footer {
  display: grid;
  align-items: center;
  padding: 16px 0 26px;
  color: #69756f;
  font-family: var(--font-display);
  font-size: 9.5px;
  grid-template-columns: repeat(3, 1fr);
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  text-align: center;
}

.site-footer p:nth-child(2) span {
  color: var(--green);
}

.site-footer a {
  justify-self: end;
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: var(--green);
}

.enhanced .reveal {
  opacity: 0;
  transform: translateY(13px);
  transition:
    opacity 560ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.enhanced .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(calc(100% - 36px), var(--container));
  }

  .hero {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 30px;
  }

  .portrait-wrap {
    width: 190px;
  }

  .skill-row {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .project-row {
    grid-template-columns: 228px minmax(0, 1fr) auto;
    gap: 14px;
  }

  .project-cover {
    height: 112px;
  }

  .contact-panel {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .site-header {
    min-height: 68px;
  }

  .page-shell {
    padding-top: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portrait-wrap {
    width: 170px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .name-row h1 {
    font-size: 2.15rem;
  }

  .skill-row {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .focus-grid {
    grid-template-columns: 1fr 1fr;
  }

  .focus-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    grid-column: 1 / -1;
    text-align: left;
  }

  .focus-status p {
    margin-top: 0;
  }

  .project-row {
    align-items: start;
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .project-actions {
    justify-content: flex-start;
    grid-column: 2;
  }

  .credentials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .credential-block + .credential-block {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .medium-card--profile {
    grid-column: auto;
  }

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

@media (max-width: 590px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(calc(100% - 26px), var(--container));
  }

  .monogram {
    width: 39px;
    height: 39px;
    font-size: 19px;
  }

  .top-nav {
    gap: 7px;
  }

  .top-nav .button {
    width: 38px;
    padding-inline: 0;
  }

  .top-nav .button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hero {
    margin-bottom: 24px;
  }

  .portrait-wrap {
    width: 154px;
  }

  .portrait-status {
    right: 8px;
    bottom: 8px;
    font-size: 0;
  }

  .portrait-status span {
    width: 8px;
    height: 8px;
  }

  .role {
    font-size: 15px;
  }

  .panel-heading {
    padding-inline: 13px;
  }

  .panel-heading h2 {
    font-size: 15px;
  }

  .panel-link {
    font-size: 0;
  }

  .panel-link svg {
    width: 16px;
    height: 16px;
  }

  .skill-row,
  .focus-grid,
  .project-row,
  .activity-inner,
  .credential-block,
  .blog-grid {
    padding-inline: 13px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-item + .focus-item {
    padding: 13px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .focus-status {
    grid-column: auto;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7.8;
  }

  .project-actions {
    grid-column: auto;
  }

  .project-actions--stacked {
    justify-content: flex-start;
  }

  .activity-meta {
    align-items: flex-start;
    flex-direction: column;
    margin-left: 0;
  }

  .activity-months {
    margin-left: 36px;
  }

  .medium-card {
    align-items: start;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .medium-mark,
  .medium-image-wrap {
    width: 58px;
    height: 58px;
    font-size: 31px;
  }

  .contact-panel {
    padding: 24px 18px;
  }

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

  .site-footer {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .site-footer a {
    order: 3;
  }
}

@media (max-width: 390px) {
  .hero-actions .button:not(.button--square) {
    flex: 1 1 calc(50% - 6px);
  }

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

  .project-title-row {
    align-items: flex-start;
  }

  .project-title-row h3 span {
    display: block;
    margin-top: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .enhanced .reveal {
    opacity: 1;
    transform: none;
  }
}
