:root {
  --bg: #16130d;
  --surface: rgba(24, 21, 18, 0.92);
  --surface-strong: rgba(28, 24, 20, 0.97);
  --surface-soft: rgba(255, 255, 255, 0.02);
  --text: #e8e3de;
  --muted: #9d9289;
  --subtle: #6d6359;
  --line: rgba(220, 200, 180, 0.06);
  --line-strong: rgba(220, 200, 180, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --green: #39d353;
  --cyan: #4fd1ff;
  --blue: #5c85ff;
  --gold: #ffcc66;
  --red: #ff6f6f;
  --pink: #ff6ecf;
  --purple: #8c74ff;
  --hero-width: clamp(260px, 27vw, 480px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body,
.content-panel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.content-panel::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html {
  background: var(--bg);
}

body {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(139, 110, 70, 0.06),
      transparent 26%
    ),
    radial-gradient(
      circle at 74% 26%,
      rgba(160, 130, 90, 0.05),
      transparent 24%
    ),
    radial-gradient(
      circle at 20% 78%,
      rgba(120, 95, 65, 0.05),
      transparent 26%
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 1px,
      rgba(139, 110, 70, 0.02) 1px,
      rgba(139, 110, 70, 0.02) 2px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(120, 100, 75, 0.015) 1px,
      rgba(120, 100, 75, 0.015) 2px
    ),
    linear-gradient(
      135deg,
      #16130d 0%,
      #1a150f 25%,
      #16130d 50%,
      #1a150f 75%,
      #16130d 100%
    );
  color: var(--text);
  font-family:
    "Geist", "Geist Mono", ui-monospace, "SFMono-Regular", "Cascadia Code",
    "Source Code Pro", Menlo, monospace;
  font-size: 14px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.28;
}

body::before {
  width: 320px;
  height: 320px;
  left: -80px;
  top: 25vh;
  background: rgba(160, 115, 65, 0.12);
}

body::after {
  width: 360px;
  height: 360px;
  right: calc(var(--hero-width) - 80px);
  top: 8vh;
  background: rgba(140, 100, 60, 0.1);
}

a {
  color: inherit;
}

.page-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--hero-width);
  min-height: 100vh;
}

.content-panel {
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
}

.content {
  width: min(100%, 1320px);
  padding: 48px clamp(20px, 4vw, 56px) 76px;
}

.halftone-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 22%),
    rgba(0, 0, 0, 0.42);
}

.halftone-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08),
      transparent 28%,
      transparent 72%,
      rgba(0, 0, 0, 0.32)
    ),
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 255, 255, 0.06),
      transparent 30%
    );
  pointer-events: none;
}

.halftone-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.location-badge {
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #d9d9d9;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.location-badge svg {
  width: 12px;
  height: 12px;
  color: var(--green);
}

.scroll-jar {
  --scroll-progress: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  right: calc(var(--hero-width) + 4px);
  width: 12px;
  padding: 4px 0;
  z-index: 24;
  opacity: 1;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.scroll-jar.is-idle {
  opacity: 0;
}

.scroll-jar-track {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.01)
    ),
    rgba(8, 8, 8, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.scroll-jar-track::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 2px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.32),
    rgba(255, 255, 255, 0)
  );
  opacity: 0.7;
  pointer-events: none;
  z-index: 2;
}

.scroll-jar-liquid {
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--scroll-progress) * 100%);
  min-height: 0;
  background: linear-gradient(
    180deg,
    rgba(155, 125, 95, 0.92),
    rgba(160, 130, 100, 0.92) 48%,
    rgba(140, 120, 90, 0.9)
  );
  box-shadow: inset 0 -14px 26px rgba(4, 18, 26, 0.26);
  transition: height 160ms ease-out;
}

.scroll-jar-liquid::before,
.scroll-jar-liquid::after {
  content: "";
  position: absolute;
  left: -16%;
  width: 132%;
  border-radius: 50%;
  pointer-events: none;
}

.scroll-jar-liquid::before {
  bottom: -7px;
  height: 14px;
  background: rgba(255, 255, 255, 0.24);
  opacity: 0.38;
  animation: waveDrift 4.4s linear infinite;
}

.scroll-jar-liquid::after {
  bottom: -8px;
  height: 16px;
  background: rgba(3, 12, 18, 0.22);
  opacity: 0.48;
  animation: waveDrift 6.2s linear infinite reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 56px;
}

.hero-copy,
.hero-rail,
.panel-card,
.project-card,
.hackathon-card,
.compact-card,
.github-section,
.timeline-panel,
.opportunity-panel,
.education-panel,
.skills-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 200, 180, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 50%),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(220, 200, 180, 0.01) 50%,
      transparent 100%
    ),
    var(--surface);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(220, 200, 180, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.interactive-glow {
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-size: 190px;
  --hover-accent: 255, 255, 255;
  position: relative;
  isolation: isolate;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 260ms ease,
    background 260ms ease;
}

.card-border-glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.card-border-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(
    var(--glow-size) var(--glow-size) at var(--glow-x) var(--glow-y),
    rgba(var(--hover-accent), 0.96),
    rgba(var(--hover-accent), 0.42) 26%,
    rgba(var(--hover-accent), 0.12) 40%,
    transparent 62%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.card-border-glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    calc(var(--glow-size) * 0.72) calc(var(--glow-size) * 0.72) at var(--glow-x)
      var(--glow-y),
    rgba(var(--hover-accent), 0.26),
    transparent 60%
  );
  filter: blur(12px);
  opacity: 0.82;
}

.interactive-glow.is-glow-active .card-border-glow,
.interactive-glow:focus-within .card-border-glow {
  opacity: 1;
}

.interactive-glow.is-glow-active,
.interactive-glow:focus-within {
  border-color: rgba(var(--hover-accent), 0.5);
  box-shadow:
    0 0 0 1px rgba(var(--hover-accent), 0.08),
    0 22px 70px rgba(var(--hover-accent), 0.14);
}

.hero-copy,
.hero-rail,
.status-card,
.github-section,
.github-stat {
  --hover-accent: 57, 211, 83;
}

.signal-card,
.skills-panel,
.skill-group,
.social-btn,
.timeline-panel,
.education-panel,
.education-item,
.credential-intro {
  --hover-accent: 79, 209, 255;
}

.opportunity-panel,
.opportunity-stat,
.gallery-stage {
  --hover-accent: 180, 150, 110;
}

.project-card,
.hackathon-card,
.compact-card {
  --hover-accent: var(--card-accent, 255, 255, 255);
}

.gallery-card:nth-child(1) {
  --gallery-accent: 160, 130, 100;
  --hover-accent: 160, 130, 100;
}

.gallery-card:nth-child(2) {
  --gallery-accent: 140, 120, 90;
  --hover-accent: 140, 120, 90;
}

.gallery-card:nth-child(3) {
  --gallery-accent: 155, 125, 95;
  --hover-accent: 155, 125, 95;
}

.gallery-card:nth-child(4) {
  --gallery-accent: 180, 150, 110;
  --hover-accent: 180, 150, 110;
}

.gallery-card:nth-child(5) {
  --gallery-accent: 165, 135, 105;
  --hover-accent: 165, 135, 105;
}

.hero-copy {
  padding: clamp(28px, 4vw, 44px);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(57, 211, 83, 0.18), transparent 68%);
  pointer-events: none;
}

.eyebrow,
.tag-row,
.timeline-tags,
.orbit-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.eyebrow span,
.tag-row span,
.timeline-tags span,
.orbit-tags span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d9d9d9;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.name {
  margin-top: 18px;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-transform: lowercase;
}

.name span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.24);
  text-shadow: 0 0 24px rgba(79, 209, 255, 0.08);
}

.hero-lead {
  max-width: 18ch;
  margin-top: 22px;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.2;
  color: #f2f2f2;
}

.hero-copy p:last-of-type {
  margin-top: 16px;
  max-width: 64ch;
  color: var(--muted);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d9d9d9;
  text-decoration: none;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    color 240ms ease,
    background 240ms ease;
}

.social-btn:hover,
.social-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(79, 209, 255, 0.4);
  color: #fff;
  background: rgba(79, 209, 255, 0.06);
  outline: none;
}

.social-btn svg {
  width: 16px;
  height: 16px;
}

.hero-rail {
  padding: 18px;
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto;
}

.status-card {
  padding: 20px;
  min-height: 186px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 18px;
  background:
    radial-gradient(
      circle at top left,
      rgba(160, 115, 65, 0.12),
      transparent 42%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 44%),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(220, 200, 180, 0.01) 50%,
      transparent 100%
    ),
    rgba(24, 21, 18, 0.92);
  border: 1px solid rgba(220, 200, 180, 0.08);
}

.status-kicker,
.section-kicker,
.mini-kicker {
  color: #9a9a9a;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-card h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.status-card p {
  max-width: 34ch;
  color: var(--muted);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.signal-card {
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent 40%),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(220, 200, 180, 0.01) 50%,
      transparent 100%
    ),
    rgba(24, 21, 18, 0.88);
  border: 1px solid rgba(220, 200, 180, 0.08);
}

.signal-card strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.signal-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.section-block {
  margin-bottom: 56px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

.section-head p {
  max-width: 44ch;
  color: var(--muted);
}

.project-grid,
.hackathon-grid,
.compact-grid {
  display: grid;
  gap: 14px;
  align-items: stretch;
}

.project-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.project-card,
.hackathon-card,
.compact-card {
  padding: 20px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.project-card::before,
.hackathon-card::before,
.compact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease;
  background: linear-gradient(
    135deg,
    rgba(var(--card-accent, 255, 255, 255), 0.16),
    transparent 38%
  );
}

.project-card:hover,
.project-card:focus-visible,
.hackathon-card:hover,
.compact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--card-accent, 255, 255, 255), 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    rgba(13, 13, 13, 0.96);
  box-shadow: 0 22px 70px rgba(var(--card-accent, 255, 255, 255), 0.12);
  outline: none;
}

.project-card:hover::before,
.project-card:focus-visible::before,
.hackathon-card:hover::before,
.compact-card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
  color: #bdbdbd;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-top span:first-child {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(var(--card-accent, 255, 255, 255), 0.14);
  border: 1px solid rgba(var(--card-accent, 255, 255, 255), 0.22);
}

.project-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
}

.project-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(var(--card-accent, 255, 255, 255), 0.28);
  background: rgba(var(--card-accent, 255, 255, 255), 0.08);
  display: grid;
  place-items: center;
  color: rgb(var(--card-accent, 255, 255, 255));
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.project-name {
  display: block;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.project-meta {
  display: block;
  margin-top: 5px;
  color: var(--subtle);
  font-size: 12px;
}

.project-desc,
.hackathon-desc,
.compact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  flex: 1 1 auto;
}

.project-footer,
.hackathon-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.card-cta,
.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--card-accent, 255, 255, 255), 0.3);
  background: rgba(var(--card-accent, 255, 255, 255), 0.14);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.project-stat {
  color: var(--subtle);
  font-size: 12px;
}

.split-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
  margin-bottom: 56px;
}

.timeline-panel,
.opportunity-panel,
.education-panel,
.skills-panel,
.github-section {
  padding: 22px;
}

.timeline-panel {
  display: grid;
  gap: 20px;
}

.timeline-shell {
  position: relative;
  padding-left: 28px;
}

.timeline-shell::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(79, 209, 255, 0.75),
    rgba(57, 211, 83, 0.22)
  );
}

.timeline-item {
  position: relative;
  padding: 0 0 8px 10px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(79, 209, 255, 0.95),
    rgba(57, 211, 83, 0.42)
  );
  box-shadow: 0 0 22px rgba(79, 209, 255, 0.48);
}

.timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #cfcfcf;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-top: 12px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.timeline-item p {
  margin-top: 12px;
  max-width: 54ch;
  color: var(--muted);
}

.opportunity-panel {
  display: grid;
  align-content: space-between;
  gap: 24px;
  min-height: 100%;
  background:
    radial-gradient(
      circle at top right,
      rgba(160, 115, 65, 0.1),
      transparent 30%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent 42%),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(220, 200, 180, 0.01) 50%,
      transparent 100%
    ),
    rgba(24, 21, 18, 0.94);
}

.opportunity-panel h3 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.opportunity-panel p {
  max-width: 38ch;
  color: var(--muted);
}

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

.opportunity-stat {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.opportunity-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
}

.learning-row {
  display: none;
}

.panel-header {
  display: grid;
  gap: 6px;
}

.education-panel,
.skills-panel {
  width: 100%;
  min-height: 100%;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(220, 200, 180, 0.08);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(220, 200, 180, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.education-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 36%),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(220, 200, 180, 0.01) 50%,
      transparent 100%
    ),
    rgba(24, 21, 18, 0.95);
}

.education-panel h2,
.skills-panel h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

.education-panel > p,
.skills-panel > p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 13px;
}

.education-list,
.skills-grid {
  display: grid;
  gap: 10px;
}

.education-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 100%;
}

.edu-header {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}

.edu-header .mini-kicker {
  font-size: 10px;
  margin-bottom: 2px;
}

.education-item,
.skill-group {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(220, 200, 180, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent 42%),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(220, 200, 180, 0.01) 50%,
      transparent 100%
    ),
    rgba(24, 21, 18, 0.88);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.education-item:hover,
.skill-group:hover {
  border-color: rgba(220, 200, 180, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 42%),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(220, 200, 180, 0.02) 50%,
      transparent 100%
    ),
    rgba(24, 21, 18, 0.92);
}

.education-item strong,
.skill-group h3 {
  display: block;
  margin-top: 0;
  font-size: 16px;
  letter-spacing: -0.03em;
  line-height: 1.25;
  font-weight: 600;
}

.education-item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  flex: 1;
}

.skill-group {
  border-radius: 18px !important;
  border: 1.5px solid rgba(220, 200, 180, 0.12) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.01), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 36%),
    rgba(24, 21, 18, 0.92) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.skill-group::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--skill-color, 79, 209, 255), 0.05),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.skill-group:hover {
  border-color: rgba(var(--skill-color, 79, 209, 255), 0.4) !important;
  background:
    linear-gradient(
      135deg,
      rgba(var(--skill-color, 79, 209, 255), 0.08),
      transparent 40%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 36%),
    rgba(24, 21, 18, 0.96) !important;
  box-shadow: 0 16px 56px rgba(var(--skill-color, 79, 209, 255), 0.15) !important;
  transform: translateY(-2px);
}

.skill-group:hover::before {
  opacity: 1;
}

.skill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  z-index: 1;
}

.skill-header-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.skill-group .mini-kicker {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(var(--skill-color, 79, 209, 255));
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(var(--skill-color, 79, 209, 255), 0.1);
  border: 1px solid rgba(var(--skill-color, 79, 209, 255), 0.2);
  width: fit-content;
  margin-bottom: 0;
}

.skill-group h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0;
  margin-top: 0;
}

.skill-toggle-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: rgb(var(--skill-color, 79, 209, 255));
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  flex-shrink: 0;
  stroke-width: 2;
}

.skill-group.expanded .skill-toggle-icon {
  transform: rotate(180deg);
}

.skill-content {
  display: none;
  padding: 0 20px 20px 20px;
  gap: 14px;
  animation: slideDown 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 0;
}

.skill-group.expanded .skill-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.skill-group p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.education-detail-row {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
}

.education-detail {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d9d9d9;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.education-detail:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.skills-panel {
  background:
    radial-gradient(
      circle at top right,
      rgba(160, 115, 65, 0.08),
      transparent 30%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 36%),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(220, 200, 180, 0.01) 50%,
      transparent 100%
    ),
    rgba(24, 21, 18, 0.92);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(220, 200, 180, 0.04);
}

.skills-grid {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 18px;
}

.skill-chip-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.skill-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1.2px solid rgba(var(--skill-color, 79, 209, 255), 0.35);
  background:
    linear-gradient(
      135deg,
      rgba(var(--skill-color, 79, 209, 255), 0.14),
      rgba(var(--skill-color, 79, 209, 255), 0.08)
    ),
    rgba(var(--skill-color, 79, 209, 255), 0.06);
  color: rgb(var(--skill-color, 79, 209, 255));
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
}

.skill-chip:hover {
  border-color: rgba(var(--skill-color, 79, 209, 255), 0.7);
  background:
    linear-gradient(
      135deg,
      rgba(var(--skill-color, 79, 209, 255), 0.22),
      rgba(var(--skill-color, 79, 209, 255), 0.14)
    ),
    rgba(var(--skill-color, 79, 209, 255), 0.1);
  box-shadow: 0 4px 12px rgba(var(--skill-color, 79, 209, 255), 0.2);
  transform: translateY(-2px) scale(1.05);
}

.skill-group:nth-child(1) {
  --skill-color: 79, 209, 255;
}

.skill-group:nth-child(2) {
  --skill-color: 57, 211, 83;
}

.skill-group:nth-child(3) {
  --skill-color: 255, 204, 102;
}

.skill-group:nth-child(4) {
  --skill-color: 140, 116, 255;
}

.skill-group:nth-child(5) {
  --skill-color: 255, 110, 207;
}

.skill-group:nth-child(6) {
  --skill-color: 92, 133, 255;
}

.skill-group:nth-child(7) {
  --skill-color: 255, 111, 111;
}

.hackathon-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.hackathon-card {
  --card-accent: 255, 204, 102;
  min-height: 224px;
}

.hackathon-card:nth-child(1) {
  --card-accent: 255, 204, 102;
}

.hackathon-card:nth-child(2) {
  --card-accent: 79, 209, 255;
}

.hackathon-card:nth-child(3) {
  --card-accent: 140, 116, 255;
}

.hackathon-card:nth-child(4) {
  --card-accent: 255, 110, 207;
}

.hackathon-card h3 {
  font-size: 18px;
  letter-spacing: -0.04em;
}

.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.compact-card {
  --card-accent: 92, 133, 255;
  min-height: 172px;
}

.compact-card:nth-child(6n + 1) {
  --card-accent: 92, 133, 255;
}

.compact-card:nth-child(6n + 2) {
  --card-accent: 57, 211, 83;
}

.compact-card:nth-child(6n + 3) {
  --card-accent: 255, 204, 102;
}

.compact-card:nth-child(6n + 4) {
  --card-accent: 255, 110, 207;
}

.compact-card:nth-child(6n + 5) {
  --card-accent: 140, 116, 255;
}

.compact-card:nth-child(6n) {
  --card-accent: 255, 111, 111;
}

.project-card {
  min-height: 250px;
}

.compact-card strong {
  font-size: 16px;
  letter-spacing: -0.04em;
}

.find-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #d7d7d7;
  text-decoration: none;
}

.certification-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: 16px;
  align-items: stretch;
}

.credential-intro,
.credential-card,
.gallery-stage,
.gallery-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 200, 180, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 42%),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(220, 200, 180, 0.01) 50%,
      transparent 100%
    ),
    rgba(24, 21, 18, 0.94);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(220, 200, 180, 0.04);
}

.credential-intro {
  padding: 24px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  background:
    radial-gradient(
      circle at top left,
      rgba(79, 209, 255, 0.16),
      transparent 36%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 44%),
    rgba(9, 9, 9, 0.95);
}

.credential-intro h3,
.gallery-copy h3 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.credential-intro p,
.gallery-copy p {
  max-width: 38ch;
  color: var(--muted);
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.credential-card {
  --hover-accent: var(--credential-accent, 79, 209, 255);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
  border-color: rgba(var(--credential-accent, 79, 209, 255), 0.22);
}

.credential-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(var(--credential-accent, 79, 209, 255), 0.12),
    transparent 42%
  );
}

.credential-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #c8c8c8;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credential-state {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--credential-accent, 79, 209, 255), 0.28);
  background: rgba(var(--credential-accent, 79, 209, 255), 0.12);
  color: rgb(var(--credential-accent, 79, 209, 255));
}

.credential-id-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  min-height: 85px;
  justify-content: center;
}

.credential-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.credential-card p {
  color: var(--muted);
  font-size: 13px;
}

.credential-meta {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.credential-meta span {
  color: #b8b8b8;
  font-size: 12px;
}

.credential-meta a {
  color: rgb(var(--credential-accent, 79, 209, 255));
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(var(--credential-accent, 79, 209, 255), 0.3);
  padding-bottom: 2px;
}

.credential-meta a:hover {
  color: rgb(var(--credential-accent, 79, 209, 255));
  border-bottom-color: rgba(var(--credential-accent, 79, 209, 255), 0.8);
  text-decoration: none;
}

.gallery-shell {
  display: grid;
  gap: 16px;
}

.gallery-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.gallery-stage {
  padding: 18px;
  background:
    radial-gradient(
      circle at top right,
      rgba(160, 130, 100, 0.08),
      transparent 30%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(220, 200, 180, 0.01) 50%,
      transparent 100%
    ),
    rgba(24, 21, 18, 0.94);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(220, 200, 180, 0.04);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  min-height: 760px;
}

.gallery-card {
  --gallery-accent: 160, 130, 100;
  margin: 0;
  min-height: 220px;
  isolation: isolate;
  position: relative;
  border-color: rgba(var(--gallery-accent), 0.18);
  background:
    radial-gradient(
      circle at top left,
      rgba(var(--gallery-accent), 0.08),
      transparent 36%
    ),
    rgba(24, 21, 18, 0.94);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.gallery-card:hover,
.gallery-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition:
    transform 420ms ease,
    filter 420ms ease,
    opacity 320ms ease;
  filter: saturate(1.02) contrast(1.04);
  opacity: 0;
}

.gallery-card img.loaded {
  opacity: 1;
}

.gallery-card .loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      circle at top left,
      rgba(160, 130, 100, 0.12),
      transparent 36%
    ),
    rgba(24, 21, 18, 0.94);
  transition: opacity 320ms ease;
  opacity: 1;
  pointer-events: none;
}

.gallery-card img.loaded ~ .loader {
  opacity: 0;
  pointer-events: none;
}

.loader::before {
  content: "";
  width: 48px;
  height: 48px;
  border: 3px solid rgba(160, 130, 100, 0.2);
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  border-radius: 50%;
  animation: spinLoader 0.8s linear infinite;
  box-shadow: 0 0 24px rgba(255, 204, 102, 0.2);
}

@keyframes spinLoader {
  to {
    transform: rotate(360deg);
  }
}

.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: scale(1.06);
  filter: saturate(1.1) contrast(1.08);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02),
      transparent 30%,
      rgba(0, 0, 0, 0.76)
    ),
    linear-gradient(135deg, rgba(var(--gallery-accent), 0.16), transparent 34%);
}

.gallery-caption {
  position: absolute;
  inset: auto 16px 16px 16px;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.gallery-caption strong {
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.gallery-caption span,
.gallery-caption p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.gallery-caption p {
  max-width: 34ch;
}

.gallery-card.large {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery-card.tall {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 4;
}

.gallery-card.medium {
  grid-column: span 4;
}

.gallery-card.small {
  grid-column: span 4;
}

.github-section {
  margin-bottom: 20px;
}

.github-header,
.github-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.github-header {
  margin-bottom: 18px;
}

.github-header h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

.github-header p,
.github-footer {
  color: var(--muted);
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.github-link:hover,
.github-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(57, 211, 83, 0.42);
  outline: none;
}

.contrib-scroll {
  --calendar-day-size: 14px;
  --calendar-gap: 5px;
  --calendar-side: 32px;
  margin: 14px 0 18px;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%),
    rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  cursor: grab;
}

.contrib-scroll::-webkit-scrollbar {
  height: 8px;
}

.contrib-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.contrib-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.contrib-scroll.is-dragging {
  cursor: grabbing;
}

.contrib-calendar {
  --calendar-track-width: calc(
    (var(--week-count, 53) * var(--calendar-day-size)) +
      ((var(--week-count, 53) - 1) * var(--calendar-gap))
  );
  width: max-content;
  min-width: max(
    100%,
    calc(var(--calendar-side) + 8px + var(--calendar-track-width))
  );
  padding: 18px 18px 16px;
  display: grid;
  gap: 14px;
}

.contrib-months {
  display: grid;
  width: max-content;
  gap: var(--calendar-gap);
  margin-left: calc(var(--calendar-side) + 8px);
  grid-template-columns: repeat(
    var(--week-count, 53),
    var(--calendar-day-size)
  );
}

.contrib-month {
  min-height: 12px;
  color: #666;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: max-content;
  overflow: visible;
}

.contrib-body {
  display: grid;
  grid-template-columns: var(--calendar-side) max-content;
  gap: 8px;
  align-items: start;
}

.contrib-weekdays {
  display: grid;
  width: var(--calendar-side);
  grid-template-rows: repeat(7, var(--calendar-day-size));
  gap: var(--calendar-gap);
  color: #666;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contrib-weekdays span {
  min-height: var(--calendar-day-size);
  display: flex;
  align-items: center;
}

.contrib-grid {
  width: max-content;
  display: grid;
  gap: var(--calendar-gap);
  grid-template-columns: repeat(
    var(--week-count, 53),
    var(--calendar-day-size)
  );
}

.contrib-week {
  display: grid;
  grid-template-rows: repeat(7, var(--calendar-day-size));
  gap: var(--calendar-gap);
  min-width: 0;
}

.contrib-day {
  width: var(--calendar-day-size);
  height: var(--calendar-day-size);
  border-radius: 999px;
  background: #161b22;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition:
    transform 180ms ease,
    filter 180ms ease,
    box-shadow 180ms ease;
}

.contrib-day:hover {
  transform: scale(1.18);
  filter: brightness(1.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.contrib-day.is-outside {
  background: transparent !important;
  box-shadow: none;
  pointer-events: none;
}

.contrib-loading,
.contrib-empty {
  width: max(100%, 860px);
  min-width: 760px;
  padding: 26px 18px;
  display: grid;
  place-items: center;
  color: var(--muted);
  gap: 10px;
  text-align: center;
}

.contrib-empty strong {
  color: #fff;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.contrib-loading .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.contrib-original {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
}

.github-footer strong {
  color: #fff;
}

.github-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.github-stat {
  min-width: 116px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 44%),
    rgba(255, 255, 255, 0.03);
}

.github-stat strong {
  display: block;
  font-size: 18px;
  line-height: 1;
}

.github-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.footer-note {
  color: #5f5f5f;
  font-size: 12px;
}

.disclaimer-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}

.disclaimer-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--subtle);
  font-style: italic;
}

.disclaimer-label {
  font-weight: 600;
  color: var(--muted);
  font-style: normal;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes waveDrift {
  from {
    transform: translateX(-8%);
  }

  to {
    transform: translateX(8%);
  }
}

@media (max-width: 1180px) {
  .hero-grid,
  .split-row {
    grid-template-columns: 1fr;
  }

  .credential-list,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .certification-shell {
    grid-template-columns: 1fr;
  }

  .gallery-stage {
    padding: 16px;
  }

  .gallery-grid {
    min-height: auto;
  }

  .gallery-card.large,
  .gallery-card.tall,
  .gallery-card.wide,
  .gallery-card.medium,
  .gallery-card.small {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 260px;
  }

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

@media (max-width: 960px) {
  :root {
    --hero-width: 220px;
  }

  .content {
    padding-bottom: 56px;
  }

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

  .contrib-scroll {
    --calendar-day-size: 13px;
    --calendar-gap: 4px;
    --calendar-side: 28px;
  }

  .credential-list {
    grid-template-columns: 1fr;
  }

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

  .skills-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}
@media (max-width: 820px) {
  .page-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .content-panel {
    height: auto;
    overflow-y: visible;
  }

  .halftone-bg {
    position: relative;
    height: 280px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
  }

  body::after {
    right: auto;
    left: 56%;
  }

  .location-badge {
    right: 14px;
    top: 14px;
  }

  .scroll-jar {
    right: 6px;
    width: 10px;
  }

  .scroll-jar-track {
    width: 100%;
    height: 100%;
  }

  .gallery-copy {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

@media (max-width: 640px) {
  .content {
    padding: 22px 16px 44px;
  }

  .hero-copy,
  .hero-rail,
  .timeline-panel,
  .opportunity-panel,
  .education-panel,
  .github-section {
    border-radius: 20px;
  }

  .signal-grid,
  .opportunity-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .contrib-scroll {
    --calendar-day-size: 12px;
    --calendar-gap: 4px;
    --calendar-side: 24px;
  }

  .scroll-jar-track {
    width: 100%;
    height: 100%;
  }

  .contrib-calendar,
  .contrib-loading,
  .contrib-empty {
    width: max-content;
    min-width: max(100%, 640px);
    padding: 16px;
  }

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

  .gallery-card.large,
  .gallery-card.tall,
  .gallery-card.wide,
  .gallery-card.medium,
  .gallery-card.small {
    min-height: 220px;
  }

  .education-list {
    grid-template-columns: 1fr;
  }

  .education-item,
  .skill-group {
    padding: 14px;
    min-height: auto;
  }

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

  .panel-header {
    gap: 4px;
  }

  .timeline-panel,
  .opportunity-panel,
  .education-panel,
  .skills-panel,
  .github-section {
    padding: 18px;
  }

  .education-panel h2,
  .skills-panel h2 {
    font-size: 20px;
  }

  .education-item,
  .skill-group {
    padding: 14px;
  }

  .education-item strong,
  .skill-group h3 {
    font-size: 14px;
  }

  .skill-chip {
    min-height: 28px;
    padding: 0 9px;
    font-size: 10px;
  }

  .skill-chip-row {
    gap: 6px;
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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