:root {
  color-scheme: light;
  --cream: #f7ede2;
  --cream-dark: #e8d5c1;
  --peach: #f5c1b5;
  --rose: #d08d7f;
  --charcoal: #3a3430;
  --text: #3c2c27;
  --muted: #6d5f55;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(84, 55, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top left, rgba(255, 244, 229, 0.95), rgba(247, 237, 226, 1) 40%), #fffaf5;
  color: var(--text);
}

body {
  line-height: 1.6;
}

.page-shell {
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  min-width: 0;
}

.topbar {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px;
  background: rgba(255, 248, 242, 0.95);
  border: 1px solid rgba(221, 193, 178, 0.55);
  border-radius: 30px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  overflow: visible;
  min-width: 0;
}

.brand {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  color: var(--rose);
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}

.nav-links a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  background: rgba(245, 201, 183, 0.35);
  color: var(--rose);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 12;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(221, 193, 178, 0.65);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  padding: 8px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--charcoal);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-section {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 32px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 34px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(216, 188, 172, 0.7);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-highlights {
  display: grid;
  gap: 14px;
  padding: 22px 20px;
  background: #fff6ef;
  border: 1px solid rgba(234, 201, 185, 0.75);
  border-radius: 28px;
}

.hero-highlights p {
  margin: 0;
  font-weight: 700;
  color: var(--rose);
}

.hero-highlights ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-highlights li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.95rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -0.05em;
}

.subtitle {
  margin: 18px 0 0;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

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

.button.secondary {
  background: rgba(58, 52, 48, 0.08);
  color: var(--charcoal);
}

.quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  color: var(--muted);
}

.quick-info span {
  background: rgba(255, 249, 242, 1);
  border: 1px solid rgba(224, 198, 183, 0.7);
  border-radius: 18px;
  padding: 12px 16px;
  font-size: 0.95rem;
}

.profile-card {
  position: sticky;
  top: 24px;
  padding: 26px;
  background: linear-gradient(180deg, #fffdf9 0%, #f8eee5 100%);
  border: 1px solid rgba(218, 187, 170, 0.7);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.profile-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 2px solid rgba(209, 141, 127, 0.18);
}

.profile-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-details h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.profile-details p {
  margin: 0;
  color: var(--muted);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.profile-stats div {
  padding: 18px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(227, 197, 176, 0.6);
  text-align: center;
}

.profile-stats span {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.profile-stats small {
  color: var(--muted);
}

.social-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.social-row a {
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 0;
  border-radius: 18px;
  color: var(--muted);
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.social-row a svg {
  width: 20px;
  height: 20px;
}

.social-row a.github {
  background: #1f2937;
}

.social-row a.linkedin {
  background: #0a66c2;
}

.social-row a.twitter {
  background: #1da1f2;
}

.social-row a.facebook {
  background: #1877f2;
}

.social-row a:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.section-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 188, 169, 0.6);
  border-radius: 34px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.section-heading span {
  display: inline-block;
  color: var(--rose);
  font-size: 1.1rem;
  font-weight: 700;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.75rem;
}

.grid-two .card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.info-card {
  padding: 24px;
  background: #fff8f1;
  border-radius: 28px;
  border: 1px solid rgba(234, 201, 185, 0.7);
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.info-card p {
  margin: 8px 0;
  color: var(--muted);
}

.project-table-wrap {
  overflow-x: auto;
}

.project-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.project-table th,
.project-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(220, 195, 173, 0.6);
}

.project-table th {
  background: rgba(250, 241, 235, 0.95);
  color: var(--charcoal);
  font-weight: 700;
}

.project-table tbody tr:hover {
  background: rgba(248, 234, 223, 0.8);
}

.project-table a {
  color: var(--rose);
  text-decoration: none;
  font-weight: 600;
}

.page-footer {
  text-align: center;
  padding: 28px 0 12px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: stretch;
  }
}

@media (max-width: 900px) {
  .page-shell {
    padding: 18px;
  }

  .topbar {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: calc(100% - 36px);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 18px 20px;
    background: rgba(255, 248, 242, 0.98);
    border-radius: 0 0 24px 24px;
    border: 1px solid rgba(221, 193, 178, 0.55);
    box-shadow: 0 20px 60px rgba(84, 55, 45, 0.12);
    z-index: 9;
    overflow: hidden;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links.open a {
    width: 100%;
    text-align: center;
  }

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

  .profile-card {
    position: static;
  }
}

