:root {
  --color-bg: #f4f7fb;
  --color-surface: #ffffff;
  --color-surface-muted: #e2e8f0;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-border: #cbd5e1;
  --font-sans: "Roboto Mono", sans-serif;
  --font-heading: "Bebas Neue", sans-serif;
  --space-section-sm: 3rem;
  --space-section-md: 5rem;
  --space-section-lg: 6rem;
  --container-max-width: 1200px;
  --container-padding: 1rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow-md: 0 16px 40px rgb(15 23 42 / 0.08);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #334155 #020617;
}

::-webkit-scrollbar {
  width: 0.9rem;
  height: 0.9rem;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
}

::-webkit-scrollbar-thumb {
  border: 3px solid #020617;
  border-radius: 999px;
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 55%, #1e293b 100%);
  box-shadow: inset 0 0 0 1px rgba(248, 250, 252, 0.08);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #67e8f9 0%, #3b82f6 50%, #334155 100%);
}

::-webkit-scrollbar-corner {
  background: #020617;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%);
  color: var(--color-text);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--color-text);
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--transition-fast);
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.site-main {
  flex: 1;
  padding-top: 5rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.14);
}

.site-section {
  padding: var(--space-section-md) 0;
}

.site-container {
  width: min(100% - (var(--container-padding) * 2), var(--container-max-width));
  margin-inline: auto;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin: 0;
}

.section-copy {
  max-width: 42rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.resume-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 0.9rem 1.35rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.18);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.resume-link:hover,
.resume-link:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.12) 100%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.24);
}

.resume-link i {
  font-size: 1rem;
}

.resume-link--light {
  border-color: rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #020617;
  box-shadow: var(--shadow-sm);
}

.resume-link--light:hover,
.resume-link--light:focus-visible {
  background: linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
  border-color: rgba(15, 23, 42, 0.2);
}

.resume-link--dark {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
  color: #ffffff;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
