:root {
  --accent: #64ffda;
  --hero-bg: #ffffff;
  --hero-text: #04060a;
  --page-bg: #02040a;
  --card-bg: rgba(11, 18, 34, 0.78);
  --card-border: rgba(100, 255, 218, 0.18);
  --heading: #e2e8f0;
  --body-text: #cbd5f5;
  --muted: #94a3b8;
  --radius: 20px;
  --shadow: 0 30px 60px rgba(2, 4, 10, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;

  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--hero-bg);
  color: var(--hero-text);
  transition: background 0.6s ease, color 0.6s ease;
}

body.dark-mode {
  background: var(--page-bg);
  color: var(--body-text);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 72px 24px 32px;
  color: var(--hero-text);
}

.hero__inner {
  width: min(90vw, 760px);
  min-height: calc(100vh - 72px - 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  animation: fadeIn 1s ease-out both;
}

.hero__text {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px 0 32px;
}

.hero__portrait {
  width: clamp(180px, 45vw, 240px);
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 16ch;
  margin-inline: auto;
}

.hero__cta {
  margin-top: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding-bottom: 8px;
}

.hero__cta-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

.hero__arrow {
  font-size: clamp(3.2rem, 7vw, 4.2rem);
  animation: arrowDrift 2.8s ease-in-out infinite;
}

.tldr {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 120px 24px 160px;
  display: flex;
  justify-content: center;
}

.tldr__inner {
  width: min(90vw, 760px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tldr__inner h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.tldr__toggle {
  align-self: center;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(4, 6, 10, 0.65);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(4, 6, 10, 0.2);
  padding: 4px 6px 6px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.tldr__toggle:hover,
.tldr__toggle:focus-visible {
  color: rgba(4, 6, 10, 0.85);
  border-color: rgba(4, 6, 10, 0.4);
  outline: none;
}

.tldr__dropdown {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  min-height: 0;
  display: flex;
  justify-content: center;
}






.tldr__dropdown p {
  margin: 0;
  max-width: 640px;
  color: rgba(4, 6, 10, 0.82);
  line-height: 1.7;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tldr__dropdown.is-open p {
  opacity: 1;
}

.tldr__dropdown[hidden] {
  display: none;
}

.skills-showcase {
  background: var(--page-bg);
  color: var(--body-text);
  padding: 120px 24px 140px;
  display: flex;
  justify-content: center;
}

.skills-showcase__inner {
  width: min(90vw, 960px);
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 48px;
}

.skills-showcase__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 720px;
}

.skills-showcase__headline {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.skills-showcase__headline .strike {
  display: inline-block;
  color: rgba(136, 146, 176, 0.6);
  text-decoration: line-through;
  margin-right: 6px;
}

.skills-showcase__headline .replacement {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  margin-right: 6px;
}

.skills-showcase__cite {
  margin: -6px 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(136, 146, 176, 0.55);
}

.skills-accordion {
  width: 100%;
  max-width: 720px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  text-align: left;
}

.skills-accordion__item {
  border-radius: 18px;
  border: 1px solid rgba(100, 255, 218, 0.16);
  background: linear-gradient(150deg, rgba(12, 22, 39, 0.85), rgba(3, 7, 14, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.skills-accordion__toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.skills-accordion__toggle::after {
  content: '\203A';
  font-size: 1.8rem;
  transform: rotate(90deg);
  color: var(--accent);
  transition: transform 0.2s ease;
}

.skills-accordion__toggle[aria-expanded="true"]::after {
  transform: rotate(-90deg);
}

.skills-accordion__toggle:hover,
.skills-accordion__toggle:focus-visible {
  background: rgba(100, 255, 218, 0.04);
  color: var(--accent);
  outline: none;
}

.skills-accordion__panel {
  padding: 0 28px 24px;
  color: rgba(202, 214, 246, 0.86);
  font-size: 0.98rem;
  line-height: 1.7;
}

.skills-accordion__panel p {
  margin: 0;
}

.skills-accordion__panel[hidden] {
  display: none;
}

.skills-showcase__cta {
  margin-top: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.skills-showcase__cta-label {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.skills-showcase__arrow {
  font-size: clamp(3rem, 6vw, 4.2rem);
  color: #ffffff;
  animation: arrowDrift 2.8s ease-in-out infinite;
}

.resume {
  padding: 96px 24px 140px;
  display: grid;
  gap: 32px;
  max-width: 940px;
  margin: 0 auto;
}

.resume__card {
  padding: 32px 36px;
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.92), rgba(2, 4, 10, 0.9));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  color: var(--body-text);
  opacity: 0;
  transform: translateY(24px);
  animation: floatUp 0.9s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

.resume__card h2,
.resume__card h3 {
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--heading);
}

.resume__card p {
  margin: 0 0 16px;
  line-height: 1.7;
}

.resume__card p:last-child {
  margin-bottom: 0;
}

.resume__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.resume__contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.resume__contact span {
  color: var(--muted);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrowDrift {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 64px 18px 24px;
  }

  .hero__inner {
    min-height: calc(100vh - 64px - 24px);
  }

  .tldr {
    padding: 96px 18px 120px;
  }

  .skills-showcase {
    padding: 96px 18px 120px;
  }

  .skills-showcase__inner {
    gap: 36px;
    min-height: 0;
  }

  .skills-accordion__toggle {
    padding: 20px 22px;
    font-size: 0.95rem;
  }

  .skills-accordion__panel {
    padding: 0 22px 22px;
  }
}

@media (max-width: 640px) {
  .resume {
    padding: 72px 18px 120px;
    gap: 24px;
  }

  .resume__card {
    padding: 28px;
  }
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 4, 10, 0.95), rgba(2, 4, 10, 0.88));
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  z-index: 0;
}

body.dark-mode::before {
  opacity: 1;
}

body > * {
  position: relative;
  z-index: 1;
}



.skills-accordion-section {
  background: var(--page-bg);
  color: var(--body-text);
  padding: 80px 24px 140px;
  display: flex;
  justify-content: center;
}

.skills-accordion__inner {
  width: min(90vw, 720px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.experience-highlight {
  background: var(--page-bg);
  color: var(--body-text);
  padding: 140px 24px 160px;
  display: flex;
  justify-content: center;
}

.experience-highlight__inner {
  width: min(90vw, 960px);
  display: grid;
  gap: 56px;
}

.experience-highlight__title {
  font-size: clamp(2.8rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
  max-width: 18ch;
}

.experience-highlight__role {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: rgba(204, 214, 246, 0.85);
}

.experience-highlight__company {
  font-weight: 700;
  color: var(--body-text);
}

.experience-highlight__position {
  font-weight: 500;
  color: rgba(204, 214, 246, 0.75);
}

.experience-highlight__dates {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experience-highlight__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 36px;
}

.experience-highlight__item {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.4;
  font-weight: 600;
  max-width: 70%;
  opacity: 0.15;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.experience-highlight__item:nth-child(odd) {
  text-align: left;
  margin-right: auto;
  transform: translateX(-40px);
}

.experience-highlight__item:nth-child(even) {
  text-align: right;
  margin-left: auto;
  transform: translateX(40px);
}

.experience-highlight__item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 900px) {
  .experience-highlight__title {
    max-width: none;
  }

  .experience-highlight__item {
    max-width: 100%;
    text-align: left;
    margin: 0;
  }

  .experience-highlight__item:nth-child(even) {
    text-align: left;
  }
}
.contact-cta {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 120px 24px 140px;
  display: flex;
  justify-content: center;
}

.contact-cta__inner {
  width: min(90vw, 760px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: left;
}

.contact-cta__headline {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.contact-cta__strike {
  text-decoration: line-through;
  color: rgba(15, 23, 42, 0.35);
}

.contact-cta__replacement {
  color: var(--hero-text);
  font-weight: 700;
}

.contact-cta__info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
}

.contact-cta__link {
  color: var(--hero-text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-cta__link:hover,
.contact-cta__link:focus-visible {
  color: rgba(4, 6, 10, 0.6);
  outline: none;
}

.contact-cta__separator {
  color: rgba(4, 6, 10, 0.3);
}

@media (max-width: 640px) {
  .contact-cta {
    padding: 96px 18px 120px;
  }

  .contact-cta__info {
    gap: 10px;
  }
}

