:root {
  --white: #ffffff;
  --black: #000000;
  --surface-dark: #1e1e1e;
  --surface-well: #141414;
  --dock-bg: #171717;
  --dock-btn: #262626;
  --dock-active: #d4d4d4;
  --muted-light: #616161;
  --muted-label: #7e7e7e;
  --muted-dark: #aaaaaa;
  --border-subtle: #aeaeae;
  --cobalt: #455ce9;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --display: "DM Sans", "Inter", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1654px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6.9vw, 133px);
}

/* ================= HERO (DevSecOps Doodle Backdrop + Blended Original Photo) ================= */
.hero {
  position: relative;
  min-height: 84vh;
  background: #090c14;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px clamp(20px, 6.9vw, 133px) 72px;
  overflow: hidden;
}

.hero-doodle-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  pointer-events: none;
  z-index: 0;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 12, 20, 0.86) 0%, rgba(9, 12, 20, 0.52) 52%, rgba(9, 12, 20, 0.18) 100%),
    linear-gradient(180deg, rgba(9, 12, 20, 0.35) 0%, rgba(9, 12, 20, 0) 35%, rgba(9, 12, 20, 0.72) 100%);
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  right: clamp(0px, 3vw, 48px);
  bottom: 0;
  width: min(44vw, 560px);
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  z-index: 1;
  pointer-events: none;
  filter: contrast(1.04) saturate(0.88) brightness(0.95);
  -webkit-mask-image: radial-gradient(ellipse 66% 76% at 50% 48%, #000000 36%, rgba(0, 0, 0, 0.68) 58%, transparent 84%);
  mask-image: radial-gradient(ellipse 66% 76% at 50% 48%, #000000 36%, rgba(0, 0, 0, 0.68) 58%, transparent 84%);
}

.hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.hero-handle {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-badge {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #d4d4d4;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 999px;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 64px;
}

.hero-copy {
  max-width: 620px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #8fa3ff;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 18px;
}

.hero-sub {
  font-size: clamp(0.98rem, 1.1vw, 1.12rem);
  font-weight: 300;
  line-height: 1.55;
  color: #c9d1df;
  margin-bottom: 28px;
}

.hero-sub strong {
  color: var(--white);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-primary {
  background: var(--cobalt);
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 999px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.btn-primary:hover {
  background: #364cd6;
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  padding: 12px 22px;
  border-radius: 999px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-link {
  color: #c9d1df;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 10px 12px;
}

.btn-link:hover {
  color: var(--white);
}

/* ================= INTRO & WORKS (Figma Frame 14) ================= */
.work-section {
  background: var(--white);
  color: var(--black);
  padding: clamp(64px, 5.5vw, 100px) 0;
}

.intro-split {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: clamp(32px, 4vw, 73px);
  align-items: start;
  margin-bottom: clamp(40px, 4vw, 64px);
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
  margin-bottom: clamp(48px, 4.5vw, 80px);
}

.impact-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.impact-num {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--black);
}

.impact-label {
  font-size: 0.86rem;
  color: var(--muted-light);
}

.personal-header {
  margin-top: clamp(56px, 5vw, 88px);
}

.dark-kicker {
  color: var(--muted-dark);
}

.intro-statement {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.75vw, 1.95rem);
  line-height: 1.35;
  color: var(--black);
}

.intro-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.intro-aside p {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(0.95rem, 1vw, 1.12rem);
  line-height: 1.45;
  text-align: right;
  color: var(--muted-light);
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
}

.more-link svg {
  width: 32px;
  height: 32px;
  transition: transform 0.2s ease;
}

.more-link:hover svg {
  transform: translate(2px, -2px);
}

/* Works header */
.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(32px, 3vw, 52px);
}

.works-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.works-kicker {
  max-width: 400px;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(0.82rem, 0.92vw, 1rem);
  line-height: 1.4;
  color: var(--black);
}

/* 2-Column Project Cards (border-radius: 42px) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2vw, 36px);
}

.project-item {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
  outline: none;
}

.project-item.is-hidden {
  display: none;
}

.project-thumb {
  height: clamp(220px, 21vw, 340px);
  border-radius: 32px;
  padding: clamp(20px, 2.2vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-item:hover .project-thumb,
.project-item:focus-visible .project-thumb {
  transform: translateY(-4px);
}

.thumb-azure {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.thumb-migration {
  background: #ebeef8;
  border: 1px solid #dbe1f5;
}

.thumb-python {
  background: #f5f3ef;
  border: 1px solid #e6e2da;
}

.thumb-black {
  background: #000000;
  color: var(--white);
}

.thumb-telegram {
  background: linear-gradient(135deg, #0b192c 0%, #102a43 100%);
  color: var(--white);
}

.inline-meta-icon {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 6px;
}

.thumb-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted-light);
}

.thumb-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.repo-chip {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--black);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #d4d4d4;
  padding: 4px 11px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.repo-chip:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.thumb-meta.light {
  color: var(--muted-dark);
}

.thumb-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: auto 0;
  flex-wrap: wrap;
}

.diag-node {
  flex: 1;
  min-width: 110px;
  background: var(--white);
  border: 1px solid #d4d8e0;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.3;
}

.diag-node small {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted-light);
  margin-top: 4px;
}

.diag-node.accent-node {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.diag-node.accent-node small {
  color: var(--muted-dark);
}

.diag-arrow {
  font-family: var(--mono);
  color: var(--muted-light);
}

.thumb-stat {
  margin: auto 0;
}

.stat-big {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-sub {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted-light);
}

.thumb-stat.light .stat-sub {
  color: var(--muted-dark);
}

.project-caption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.caption-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--black);
  border-radius: 9px;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.project-item:hover .caption-arrow {
  background: var(--black);
  color: var(--white);
}

.project-caption h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.45vw, 1.55rem);
  line-height: 1.25;
}

.explore-wrap {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.explore-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 28px;
  border: 1px solid var(--border-subtle);
  border-radius: 37px;
  background: transparent;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--black);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.explore-pill:hover {
  border-color: var(--black);
  background: #f5f5f5;
}

.pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--black);
}

/* ================= SKILLS BENTO (Figma Skills Frame 26) ================= */
.skills-section {
  background: var(--black);
  color: var(--white);
  padding: clamp(72px, 6vw, 110px) 0;
}

.skills-hero {
  padding: clamp(24px, 4vw, 64px) 0 clamp(36px, 4vw, 64px);
  text-align: center;
}

.skills-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.8vw, 4.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 20px;
  align-items: start;
}

.bento-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bento-subrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bento-card {
  background: var(--surface-dark);
  border-radius: 28px;
  padding: clamp(24px, 2.2vw, 36px) clamp(20px, 1.8vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bento-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.12rem, 1.25vw, 1.4rem);
  line-height: 1.25;
  color: var(--white);
}

.bento-card p {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(0.88rem, 0.95vw, 1.02rem);
  line-height: 1.42;
  color: var(--muted-dark);
}

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

.badge-grid.two-col {
  grid-template-columns: repeat(3, minmax(60px, 1fr));
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
}

.badge-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.badge-unit > span:last-child {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted-dark);
  line-height: 1.2;
}

.circle-badge {
  width: clamp(54px, 3.8vw, 68px);
  height: clamp(54px, 3.8vw, 68px);
  border-radius: 200px;
  background: var(--surface-well);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2b2f3a;
  padding: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.circle-badge:hover {
  transform: translateY(-2px);
  border-color: #444444;
}

.circle-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.circle-badge img.invert-icon {
  filter: brightness(0) invert(1);
}

.circle-badge.badge-text {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 6px;
  text-align: center;
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dark-pill {
  background: var(--surface-well);
  color: var(--white);
  font-family: var(--display);
  font-weight: 300;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 200px;
}

/* ================= EXPERIENCE ================= */
.exp-section {
  background: var(--white);
  color: var(--black);
  padding: clamp(64px, 5vw, 96px) 0 24px;
}

.exp-header {
  margin-bottom: 40px;
}

.mono-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--muted-light);
  margin-bottom: 8px;
}

.exp-header h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  letter-spacing: -0.02em;
}

.exp-list {
  border-top: 1px solid var(--black);
}

.exp-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid #d4d4d4;
}

.exp-date {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--muted-light);
}

.exp-role h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.exp-org {
  display: block;
  font-size: 0.92rem;
  color: var(--muted-light);
  margin-bottom: 8px;
}

.exp-org-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.exp-org-row .exp-org {
  margin-bottom: 0;
}

.company-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
}

.company-logo-box.logo-wide {
  width: 148px;
  background: #ffffff;
  border-color: #e5e7eb;
  padding: 8px 14px;
}

.company-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-logo-box.tcs-badge {
  background: #0f172a;
  color: #ffffff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
  border-color: #0f172a;
}

.exp-role p {
  font-family: var(--display);
  font-weight: 300;
  font-size: 0.98rem;
  color: #333333;
  max-width: 72ch;
}

/* ================= CONTACT (Figma Frame 26 + Cobalt Circle) ================= */
.contact-section {
  background: var(--white);
  color: var(--black);
  padding: clamp(56px, 4.5vw, 88px) 0 clamp(40px, 4vw, 64px);
}

.contact-headline {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.85rem, 3vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.contact-divider-wrap {
  position: relative;
  margin: clamp(28px, 3vw, 44px) 0;
}

.contact-rule {
  border: none;
  border-top: 1px solid var(--black);
}

.cobalt-cta {
  position: absolute;
  right: clamp(20px, 8vw, 140px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(130px, 11vw, 180px);
  height: clamp(130px, 11vw, 180px);
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.92rem, 1.05vw, 1.15rem);
  font-weight: 400;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}

.cobalt-cta:hover {
  transform: translateY(-50%) scale(1.05);
  background: #354ad4;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px 48px;
}

.detail-label {
  display: block;
  font-size: 14px;
  color: var(--muted-label);
  margin-bottom: 4px;
}

.detail-val {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  font-size: clamp(0.95rem, 1.08vw, 1.18rem);
  color: var(--black);
  text-decoration: none;
}

.detail-val:hover {
  text-decoration: underline;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #d4d4d4;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

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

.social-icon-btn:hover {
  transform: translateY(-1px);
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.social-icon-btn.hero-social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.social-icon-btn.hero-social svg {
  width: 20px;
  height: 20px;
}

.social-icon-btn.hero-social:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}

/* ================= SUBTLE FOOTER ================= */
.subtle-footer {
  background: var(--white);
  padding: 12px 0 96px;
}

.subtle-footer-inner {
  display: flex;
  justify-content: flex-end;
}

.made-with {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: #8a8a8a;
  letter-spacing: 0.02em;
}

.ag-icon {
  width: 14px;
  height: 14px;
  color: #6b7280;
}

/* ================= FLOATING DOCK (Figma Frame 3) ================= */
.floating-dock {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  background: var(--dock-bg);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.dock-btn {
  width: 48px;
  height: 48px;
  border-radius: 31px;
  background: var(--dock-btn);
  color: #d4d4d4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dock-btn svg {
  width: 22px;
  height: 22px;
}

.dock-btn:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.dock-btn.active {
  background: var(--dock-active);
  color: var(--black);
}

.dock-avatar {
  padding: 0;
  overflow: hidden;
}

.dock-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(100%);
}

/* ================= MODAL ================= */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  z-index: 2;
  background: var(--white);
  color: var(--black);
  max-width: 680px;
  width: 100%;
  border-radius: 32px;
  padding: 40px;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d4d4d4;
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
}

.modal-panel h3 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.modal-summary {
  color: var(--muted-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.modal-bullets {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.modal-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-stack span {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 200px;
  background: #f3f4f6;
}

.modal-repo-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.18s ease;
}

.modal-repo-btn:hover {
  background: var(--cobalt);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-subrow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero-top,
  .works-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-blurb,
  .intro-aside p {
    text-align: left;
  }
  .intro-split,
  .impact-strip,
  .projects-grid,
  .exp-row {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    right: 0;
    width: 100%;
    object-position: center 15%;
    opacity: 0.34;
  }
  .hero-backdrop {
    background: linear-gradient(180deg, rgba(9, 12, 20, 0.72) 0%, rgba(9, 12, 20, 0.92) 100%);
  }
  .intro-aside {
    align-items: flex-start;
  }
  .cobalt-cta {
    position: static;
    transform: none;
    margin-top: 24px;
  }
  .cobalt-cta:hover {
    transform: scale(1.04);
  }
  .floating-dock {
    padding: 8px 12px;
    gap: 8px;
  }
  .dock-btn {
    width: 42px;
    height: 42px;
  }
}
