@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/* =========================
   RESET
========================= */

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

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

img {
  display: block;
  max-width: 100%;
}

/* =========================
   UTILITY
========================= */

.offscreen {
  left: -10000px;
  position: absolute;
}

/* =========================
   VARIABLES
========================= */

:root {
  color-scheme: light;

  /* RGB CHANNELS */
  --white-rgb: 255, 255, 255;
  --blue-soft-rgb: 221, 229, 250;
  --blue-accent-rgb: 91, 116, 244;
  --text-primary-rgb: 11, 21, 51;
  --shadow-rgb: 15, 23, 42;
  --success-green-rgb: 34, 197, 94;

  /* EFFECTS */
  --page-background:
    linear-gradient(
      to right,
      rgba(var(--blue-soft-rgb), 0.32) 0%,
      rgba(var(--blue-soft-rgb), 0.16) 42%,
      rgba(var(--white-rgb), 0) 78%
    ),
    radial-gradient(
      circle at top left,
      var(--color-surface-solid) 0%,
      var(--color-bg) 45%
    );
  --gradient-accent-fade: linear-gradient(
    to right,
    rgba(var(--blue-accent-rgb), 1),
    rgba(var(--blue-accent-rgb), 0)
  );

  /* COLORS */
  --color-bg: #f5f7fc;

  --color-surface: rgba(var(--white-rgb), 0.65);
  --color-surface-solid: #ffffff;
  --color-surface-hover: rgba(var(--white-rgb), 0.9);
  --color-surface-pill: rgba(var(--white-rgb), 0.72);
  --color-overlay-surface: var(--color-surface-solid);
  --color-featured-project-tag: rgba(var(--blue-soft-rgb), 0.65);
  --color-project-tag: rgba(var(--blue-soft-rgb), 0.45);
  --color-education-logo-background: var(--color-surface-solid);
  --color-button-secondary-border: var(--color-accent);
  --color-button-secondary-border-hover: var(--color-accent-hover);

  --color-text-primary: #0b1533;
  --color-text-secondary: #52617c;
  --color-text-nav: #33415f;

  --color-accent: #5b74f4;
  --color-accent-hover: #4964ee;
  --color-accent-soft: rgba(var(--blue-accent-rgb), 0.08);
  --color-accent-muted: rgba(var(--blue-accent-rgb), 0.12);

  --color-border: #dde5fa;
  --color-border-glass: rgba(var(--white-rgb), 0.35);
  --color-border-accent: rgba(var(--blue-accent-rgb), 0.28);
  --color-hero-image-border: rgba(var(--white-rgb), 0.85);

  --color-hover-subtle: rgba(var(--text-primary-rgb), 0.06);

  --color-blob: #dde5fa;
  --color-blob-hover: #d7e2fb;
  --color-success: #22c55e;

  --brand-stem-blue: #00b2ff;

  /* FONTS */
  --font-heading: "Roboto", sans-serif;
  --font-body: "Inter", sans-serif;

  /* SIZES */
  --content-width: 70rem;
  --navbar-width: 63.75rem;
  --navbar-height: 6rem;

  --radius-lg: 1.375rem;
  --radius-md: 0.875rem;
  --radius-sm: 0.75rem;
  --radius-pill: 999rem;

  --lift-sm: -0.125rem;
  --lift-md: -0.25rem;
  --press-xs: 0.0625rem;
  --press-sm: 0.125rem;

  --media-hover-scale: 1.05;
  --project-image-hover-scale: 1.025;
  --hover-scale-sm: 1.01;

  --work-notch-circle-size: 5rem;

  /* SHADOWS */
  --shadow-xs: 0 0.25rem 0.75rem rgba(var(--shadow-rgb), 0.04);
  --shadow-sm: 0 0.5rem 1.5rem rgba(var(--shadow-rgb), 0.04);
  --shadow-md: 0 0.75rem 1.75rem rgba(var(--shadow-rgb), 0.06);
  --shadow-lg: 0 1.5rem 3.5rem rgba(var(--shadow-rgb), 0.12);
  --shadow-xl: 0 1.75rem 4rem rgba(var(--shadow-rgb), 0.14);
  --shadow-button: 0 0.625rem 1.5rem rgba(var(--blue-accent-rgb), 0.22);
  --shadow-accent: 0 0.875rem 1.875rem var(--color-border-accent);
  --shadow-accent-soft: 0 0.25rem 0.75rem rgba(var(--blue-accent-rgb), 0.08);
  --shadow-success: 0 0 0 0.25rem rgba(var(--success-green-rgb), 0.12);

  /* BORDERS */
  --border: 0.0625rem solid var(--color-border);
  --border-glass: 0.0625rem solid var(--color-border-glass);
  --border-accent: 0.0625rem solid var(--color-border-accent);
  --border-education-logo: var(--border);
  --border-work-notch: 0.125rem solid var(--color-border);

  --focus-ring: 0.125rem solid var(--color-text-primary);
  --focus-offset: 0.25rem;

  /* TRANSITIONS */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;

  /* OPACITIES */
  --media-hover-opacity: 0.35;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    /* RGB CHANNELS */
    --white-rgb: 255, 255, 255;
    --blue-soft-rgb: 76, 96, 170;
    --blue-accent-rgb: 132, 153, 255;
    --text-primary-rgb: 236, 241, 255;
    --shadow-rgb: 0, 0, 0;
    --success-green-rgb: 74, 222, 128;

    /* EFFECTS */
    --page-background:
      linear-gradient(to right, #0b1020 0%, #0d1326 45%, #080c18 100%),
      radial-gradient(
        circle at top left,
        rgba(var(--blue-accent-rgb), 0.18) 0%,
        rgba(var(--blue-accent-rgb), 0.08) 32%,
        rgba(11, 16, 32, 0) 62%
      );
    --gradient-accent-fade: linear-gradient(
      to right,
      rgba(var(--blue-accent-rgb), 1),
      rgba(var(--blue-accent-rgb), 0)
    );

    /* COLORS */
    --color-bg: #0b1020;

    --color-surface: rgba(20, 28, 52, 0.72);
    --color-surface-solid: #121a2f;
    --color-surface-hover: #18233d;
    --color-surface-pill: rgba(24, 35, 61, 0.78);
    --color-overlay-surface: var(--color-surface-solid);
    --color-featured-project-tag: rgba(var(--blue-accent-rgb), 0.16);
    --color-project-tag: rgba(var(--blue-accent-rgb), 0.12);
    --color-education-logo-background: var(--color-text-nav);
    --color-button-secondary-border: rgba(var(--blue-accent-rgb), 0.42);
    --color-button-secondary-border-hover: rgba(var(--blue-accent-rgb), 0.62);

    --color-text-primary: #ecf1ff;
    --color-text-secondary: #a8b3cf;
    --color-text-nav: #c6d0ea;

    --color-accent: #7f92f8;
    --color-accent-hover: #91a2ff;
    --color-accent-soft: rgba(var(--blue-accent-rgb), 0.14);
    --color-accent-muted: rgba(var(--blue-accent-rgb), 0.2);

    --color-border: rgba(168, 179, 207, 0.18);
    --color-border-glass: rgba(var(--white-rgb), 0.1);
    --color-border-accent: rgba(var(--blue-accent-rgb), 0.34);
    --color-hero-image-border: rgba(var(--text-primary-rgb), 0.22);

    --color-hover-subtle: rgba(var(--white-rgb), 0.08);

    --color-blob: #1b2746;
    --color-blob-hover: #243158;
    --color-success: #4ade80;

    /* SIZES */
    --content-width: 70rem;
    --navbar-width: 63.75rem;
    --navbar-height: 6rem;

    --radius-lg: 1.375rem;
    --radius-md: 0.875rem;
    --radius-sm: 0.75rem;
    --radius-pill: 999rem;

    --lift-sm: -0.125rem;
    --lift-md: -0.25rem;
    --press-xs: 0.0625rem;
    --press-sm: 0.125rem;

    --media-hover-scale: 1.05;
    --project-image-hover-scale: 1.025;
    --hover-scale-sm: 1.01;

    --work-notch-circle-size: 5rem;

    /* SHADOWS */
    --shadow-xs: 0 0.25rem 0.75rem rgba(var(--shadow-rgb), 0.16);
    --shadow-sm: 0 0.5rem 1.5rem rgba(var(--shadow-rgb), 0.2);
    --shadow-md: 0 0.75rem 1.75rem rgba(var(--shadow-rgb), 0.24);
    --shadow-lg: 0 1.5rem 3.5rem rgba(var(--shadow-rgb), 0.34);
    --shadow-xl: 0 1.75rem 4rem rgba(var(--shadow-rgb), 0.42);
    --shadow-button:
      0 0.5rem 1rem rgba(0, 0, 0, 0.24),
      0 0 0 0.0625rem rgba(var(--blue-accent-rgb), 0.16);
    --shadow-accent:
      0 0.625rem 1.25rem rgba(0, 0, 0, 0.28),
      0 0 0 0.0625rem rgba(var(--blue-accent-rgb), 0.18);
    --shadow-accent-soft: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.18);
    --shadow-success: 0 0 0 0.25rem rgba(var(--success-green-rgb), 0.14);

    /* BORDERS */
    --border-education-logo: 0.0625rem solid rgba(255, 255, 255, 0.12);

    --focus-ring: 0.125rem solid var(--color-text-primary);
  }
}

/* =========================
   GENERAL
========================= */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--page-background);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  padding-top: var(--navbar-height);
}

.skip-link {
  background-color: var(--color-surface-solid);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  color: var(--color-text-primary);
  padding: 0.75rem 1rem;
  text-decoration: none;
  top: 1rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 1rem;
}

.section {
  padding: 2rem 2rem 6rem;
  scroll-margin-top: var(--navbar-height);
}

.section__container {
  margin: 0 auto;
  max-width: var(--content-width);
  width: min(var(--content-width), calc(100% - 2rem));
}

.section__title {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section__headline {
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-top: 1.5rem;
  max-width: 36rem;
}

.section__body {
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-top: 1.75rem;
  max-width: 36rem;
}

.section__body p + p {
  margin-top: 1.5rem;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  left: 0;
  padding: 0 1rem;
  position: fixed;
  top: 1rem;
  width: 100%;
  z-index: 1000;
}

.navbar__container {
  align-items: center;
  backdrop-filter: blur(0.75rem);
  background-color: var(--color-surface);
  border-radius: 1.25rem;
  border: var(--border-glass);
  box-shadow: var(--shadow-sm);
  display: flex;
  height: 3.875rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--navbar-width);
  padding: 0 1.5rem;
}

.navbar__logo-container {
  align-items: center;
  background-color: var(--color-blob);
  border-radius: 50%;
  box-shadow: var(--shadow-xs);
  color: var(--color-text-primary);
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  text-decoration: none;
  width: 2.5rem;
}

.navbar__logo-container:focus-visible,
.navbar__menu-toggle:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.navbar__logo {
  color: currentColor;
  display: block;
  height: 100%;
  flex-shrink: 0;
  width: 100%;
}

.navbar__links {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  list-style-type: none;
}

.navbar__link {
  border-radius: var(--radius-pill);
  color: var(--color-text-nav);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.625rem 1rem;
  text-decoration: none;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.navbar__link:hover,
.navbar__menu-toggle:hover {
  background-color: var(--color-hover-subtle);
  box-shadow: var(--shadow-xs);
  color: var(--color-text-primary);
}

.navbar__link:focus-visible,
.mobile-menu__link:focus-visible {
  background-color: var(--color-hover-subtle);
  box-shadow: var(--shadow-xs);
  color: var(--color-text-primary);
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.navbar__link:active,
.mobile-menu__link:active {
  transform: translateY(var(--press-xs));
}

.navbar__link.is-active,
.mobile-menu__link.is-active {
  background-color: var(--color-accent-muted);
  color: var(--color-accent);
  box-shadow: var(--shadow-accent-soft);
  font-weight: 700;
}

.navbar__menu-toggle {
  background-color: transparent;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  display: none;
  height: 2.5rem;
  padding: 0;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
  width: 2.5rem;
}

.navbar__menu-toggle span {
  background-color: var(--color-text-nav);
  display: block;
  height: 0.125rem;
  margin: 0.3125rem auto;
  transition:
    transform var(--transition-base),
    width var(--transition-base);
  width: 1.5rem;
}

.navbar__menu-toggle.open span:first-child {
  transform: translateY(0.4375rem) rotate(45deg);
}

.navbar__menu-toggle.open span:nth-child(2) {
  width: 0;
}

.navbar__menu-toggle.open span:last-child {
  transform: translateY(-0.4375rem) rotate(-45deg);
}

.mobile-menu {
  backdrop-filter: blur(0.75rem);
  background-color: var(--color-surface);
  border-radius: 1.25rem;
  border: var(--border-glass);
  box-shadow: var(--shadow-sm);
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  left: 1rem;
  list-style-type: none;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0.75rem;
  position: absolute;
  right: 1rem;
  top: 4.5rem;
  transform: translateY(-0.5rem);
  transition:
    max-height var(--transition-base),
    opacity var(--transition-base),
    transform var(--transition-base);
}

.mobile-menu.active {
  max-height: 18.75rem;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__link {
  border-radius: var(--radius-sm);
  color: var(--color-text-nav);
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.875rem 1rem;
  text-decoration: none;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.mobile-menu__link:hover {
  background-color: var(--color-hover-subtle);
  box-shadow: var(--shadow-xs);
  color: var(--color-text-primary);
}

/* =========================
   HERO
========================= */

.hero {
  min-height: auto;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
  position: relative;
  scroll-margin-top: var(--navbar-height);
}

.hero__container {
  align-items: center;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.05fr 0.95fr;
  margin: 0 auto;
  max-width: var(--content-width);
  position: relative;
  z-index: 1;
}

.hero__info {
  max-width: 35rem;
}

.hero__title {
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.hero__role {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-top: 1.25rem;
}

.hero__separator {
  background: var(--gradient-accent-fade);
  border-radius: var(--radius-pill);
  height: 0.25rem;
  margin-top: 1.375rem;
  width: 8.75rem;
}

.hero__description {
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  margin-top: 1.75rem;
  max-width: 35rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.125rem;
  margin-top: 2.5rem;
}

.button {
  align-items: center;
  border-radius: var(--radius-md);
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 1.125rem;
  gap: 0.75rem;
  height: 3.5rem;
  justify-content: center;
  padding: 0 1.625rem;
  text-decoration: none;
}

.button:active {
  transform: translateY(var(--press-xs));
}

.button__icon-container {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.button__icon {
  height: 1.5rem;
  width: 1.5rem;
}

.button__icon--primary {
  color: var(--color-surface-solid);
}

.button__icon--secondary {
  color: var(--color-text-nav);
  height: 1.25rem;
  width: 1.25rem;
}

.button--primary {
  background-color: var(--color-accent);
  border: none;
  box-shadow: var(--shadow-button);
  color: var(--color-surface-solid);
  font-weight: 600;
  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.button--primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: var(--shadow-accent), var(--shadow-xs);
  transform: translateY(var(--lift-sm));
}

.button--primary:focus-visible {
  background-color: var(--color-accent-hover);
  box-shadow: var(--shadow-accent), var(--shadow-xs);
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.button--secondary {
  background-color: var(--color-surface);
  border: 0.09375rem solid var(--color-button-secondary-border);
  color: var(--color-text-nav);
  font-weight: 500;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.button--secondary:hover {
  background-color: var(--color-surface-hover);
  border-color: var(--color-button-secondary-border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(var(--lift-sm));
}

.button--secondary:focus-visible {
  background-color: var(--color-surface-hover);
  border-color: var(--color-button-secondary-border-hover);
  box-shadow: var(--shadow-md);
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.hero__stats {
  align-items: center;
  border-bottom: var(--border);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.75rem;
  max-width: 32rem;
  padding-bottom: 1.75rem;
}

.hero-stat {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 5.25rem;
  padding: 0 1.25rem;
  text-align: center;
}

.hero-stat + .hero-stat {
  border-left: 0.0625rem solid var(--color-border-accent);
}

.hero-stat__value {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 2.625rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero-stat__value--icon-container {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.hero-stat__value--icon {
  height: 2.75rem;
  width: 2.75rem;
}

.hero-stat__label {
  color: var(--color-text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0.35rem;
}

.hero-stat__description {
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 0.25rem;
}

.hero__skills {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero__skill {
  align-items: center;
  background-color: var(--color-surface-pill);
  border-radius: var(--radius-md);
  border: var(--border);
  box-shadow: var(--shadow-xs);
  color: var(--color-text-nav);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 500;
  gap: 0.5rem;
  height: 2.875rem;
  justify-content: center;
  line-height: 1.2;
  padding: 0 1rem;
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.hero__skill:hover {
  background-color: var(--color-surface-hover);
  border-color: var(--color-border-accent);
  box-shadow:
    var(--shadow-sm),
    0 0 0 0.0625rem var(--color-accent-soft);
  outline: none;
}

.hero__skill-icon {
  height: 1rem;
  width: 1rem;
}

.hero__visuals {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 30rem;
  position: relative;
  transform: translateY(1rem);
}

.hero__image-container {
  border-radius: 50%;
  border: 0.5rem solid var(--color-hero-image-border);
  box-shadow:
    var(--shadow-lg),
    var(--shadow-sm),
    0 0 0.0625rem var(--color-border-glass);
  height: 22rem;
  overflow: hidden;
  position: relative;
  width: 22rem;
  z-index: 2;
}

.hero__image {
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  width: 100%;
}

.hero__blob {
  background-color: var(--color-blob);
  border-radius: 50%;
  height: 31rem;
  opacity: 0.62;
  position: absolute;
  width: 31rem;
  z-index: 1;
}

/* =========================
   ABOUT
========================= */

.about__container {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.05fr 0.95fr;
}

.about__cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-card {
  align-items: center;
  background-color: var(--color-surface-solid);
  border-radius: 1.5rem;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  padding: 2rem 1.75rem;
  text-align: center;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.about-card > article {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.about-card:hover {
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-md);
}

.about-card__icon-container {
  align-items: center;
  background-color: var(--color-blob);
  border-radius: 50%;
  box-shadow: var(--shadow-xs);
  color: var(--color-accent);
  display: inline-flex;
  height: 4.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 4.75rem;
}

.about-card:hover .about-card__icon-container {
  background-color: var(--color-blob-hover);
}

.about-card__icon {
  height: 2.5rem;
  width: 2.5rem;
}

.about-card__title {
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.875rem;
}

.about-card__description {
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  max-width: 16rem;
}

/* =========================
   EXPERIENCE
========================= */

.experience__list {
  list-style-type: none;
}

.experience__list > li + li {
  margin-top: 4rem;
}

.experience__container {
  align-items: stretch;
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style-type: none;
  margin-top: 1.5rem;
}

.experience__container--work > li {
  display: flex;
}

.work__card {
  background-color: var(--color-surface-solid);
  border-radius: var(--radius-lg);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: visible;
  transition:
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
  width: 100%;
}

.work__card:hover {
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-md);
}

.work__info {
  background-color: var(--color-surface-solid);
  padding: 1.5rem 1.5rem 1rem;
  border-radius: var(--radius-lg);
}

.work__title {
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.work__company {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.work__dates {
  align-items: center;
  color: var(--color-text-secondary);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.95rem;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.work__image-container {
  border-radius: var(--radius-lg);
  border: var(--border);
  height: 18rem;
  margin: 0.25rem 0.5rem 0.5rem;
  overflow: visible;
  position: relative;
}

/* Creates the curved notch behind the work-details toggle button when not expanded. */
.work__card:not(.is-expanded) .work__image-container::before {
  background-color: var(--color-surface-solid);
  border: var(--border-work-notch);
  border-radius: 50%;
  clip-path: inset(0 0 50% 0);
  content: "";
  height: var(--work-notch-circle-size);
  left: 50%;
  position: absolute;
  top: 100%;
  transform: translate(-50%, -50%);
  width: var(--work-notch-circle-size);
  z-index: 2;
}

/* Covers the remaining border of the notch behind the work details toggle button when not expanded. */
.work__card:not(.is-expanded) .work__image-container::after {
  background-color: var(--color-surface-solid);
  bottom: -0.0625rem;
  content: "";
  height: 0.375rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: calc(var(--work-notch-circle-size) - 0.25rem);
  z-index: 3;
}

.work__card.is-expanded .work__image-container {
  flex: 1;
  height: auto;
}

.work__image,
.work__stem-svg-container {
  border-radius: var(--radius-lg);
  border: var(--border);
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
  width: 100%;
}

.work__card.is-expanded .work__image,
.work__card.is-expanded .work__stem-svg-container {
  display: none;
}

.work__stem-svg-container {
  align-items: center;
  background-color: var(--brand-stem-blue);
  display: flex;
  justify-content: center;
}

.work__stem-svg {
  height: 50%;
  width: 50%;
}

.work__details-button {
  align-items: center;
  background-color: var(--color-surface-solid);
  border-radius: 50%;
  border: var(--border-accent);
  box-shadow: var(--shadow-sm);
  color: var(--color-accent);
  cursor: pointer;
  display: inline-flex;
  height: 2.75rem;
  isolation: isolate;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 100%;
  transform: translate(-50%, -50%);
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    color var(--transition-fast),
    top var(--transition-base),
    transform var(--transition-fast);
  width: 2.75rem;
  z-index: 4;
}

.work__details-icon {
  height: 1.25rem;
  pointer-events: none;
  position: relative;
  transition: transform var(--transition-base);
  width: 1.25rem;
  z-index: 1;
}

.work__card.is-expanded .work__details-button {
  background-color: var(--color-overlay-surface);
  top: 0;
}

.work__card.is-expanded .work__details-icon {
  transform: rotate(180deg);
}

.work__details-button:hover,
.work__details-button:focus-visible {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent-soft), var(--shadow-sm);
  color: var(--color-surface-solid);
}

.work__details-button:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.work__card:hover:not(.is-expanded) .work__details-button {
  border-color: var(--color-accent);
  transform: translate(-50%, calc(-50% + var(--lift-sm)));
}

.work__card:hover.is-expanded .work__details-button {
  border-color: var(--color-accent);
  transform: translate(-50%, calc(-50% + var(--press-sm)));
}

.work__card.is-expanded .work__details-button:hover,
.work__card.is-expanded .work__details-button:focus-visible {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent-soft), var(--shadow-sm);
  color: var(--color-surface-solid);
}

.work__details-container {
  align-items: center;
  background-color: var(--color-overlay-surface);
  border-radius: var(--radius-lg);
  border: var(--border);
  color: var(--color-text-primary);
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 3rem 1.75rem 1.75rem;
  pointer-events: none;
  position: absolute;
  transform: translateY(0.75rem);
  transition:
    opacity var(--transition-base),
    transform var(--transition-base),
    visibility var(--transition-base);
  visibility: hidden;
  z-index: 2;
}

.work__card.is-expanded .work__details-container {
  border-radius: var(--radius-lg);
  display: flex;
  inset: auto;
  min-height: 100%;
  opacity: 1;
  padding: 3rem 1.5rem 1.5rem;
  pointer-events: auto;
  position: relative;
  transform: none;
  visibility: visible;
}

/* Creates the curved notch behind the work details toggle button when expanded. */
.work__card.is-expanded .work__details-container::before {
  background-color: var(--color-surface-solid);
  border: var(--border-work-notch);
  border-radius: 50%;
  clip-path: inset(50% 0 0 0);
  content: "";
  height: var(--work-notch-circle-size);
  left: 50%;
  position: absolute;
  top: 0;
  transform: translate(-50%, -50%);
  width: var(--work-notch-circle-size);
  z-index: 2;
}

/* Covers the remaining border of the notch behind the work details toggle button when expanded. */
.work__card.is-expanded .work__details-container::after {
  background-color: var(--color-surface-solid);
  content: "";
  height: 0.375rem;
  left: 50%;
  position: absolute;
  top: -0.125rem;
  transform: translateX(-50%);
  width: calc(var(--work-notch-circle-size) - 0.25rem);
  z-index: 3;
}

.work__details {
  color: var(--color-text-secondary);
  display: grid;
  font-family: var(--font-body);
  font-size: 0.95rem;
  gap: 0.9rem;
  line-height: 1.6;
  list-style-type: disc;
  padding-left: 1.15rem;
}

.work__details li::marker {
  color: var(--color-accent);
}

.education__card {
  align-items: center;
  background-color: var(--color-surface-solid);
  border-radius: var(--radius-lg);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  height: 100%;
  padding: 1.5rem;
}

.education__logo {
  align-items: center;
  background-color: var(--color-education-logo-background);
  border-radius: 1rem;
  border: var(--border-education-logo);
  display: inline-flex;
  flex-shrink: 0;
  height: 4.5rem;
  justify-content: center;
  overflow: hidden;
  width: 4.5rem;
}

.education__logo img {
  height: auto;
  max-height: 75%;
  max-width: 75%;
  object-fit: contain;
  width: auto;
}

.education__degree {
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}

.education__university {
  color: var(--color-accent);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.education__date {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* =========================
   PROJECTS
========================= */

.projects__headline {
  max-width: 48rem;
}

.projects__body {
  max-width: 42rem;
}

.projects__container {
  align-items: start;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3rem;
}

.project-card {
  background-color: var(--color-surface-solid);
  border-radius: var(--radius-lg);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.project-card--featured {
  align-items: stretch;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.9fr 1.1fr;
}

.project-card:not(.project-card--featured) {
  display: grid;
  grid-template-columns: 12rem 1fr;
}

.project-card:hover {
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-md);
}

.project-card__image-container {
  border-bottom: var(--border);
  overflow: hidden;
}

.project-card--featured .project-card__image-container {
  border-bottom: none;
  border-right: var(--border);
  height: auto;
  min-height: 18rem;
  position: relative;
}

.project-card:not(.project-card--featured) .project-card__image-container {
  border-bottom: none;
  border-right: var(--border);
  height: 100%;
  min-height: 13rem;
}

.project-card__image {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
  width: 100%;
}

.project-card--featured .project-card__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.project-card:hover .project-card__image {
  transform: scale(var(--project-image-hover-scale));
}

.project-card__info {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.project-card--featured .project-card__info {
  padding: 1.75rem;
}

.project-card:not(.project-card--featured) .project-card__info {
  padding: 1.25rem;
}

.featured-project__tag {
  align-items: center;
  align-self: flex-start;
  background-color: var(--color-featured-project-tag);
  border-radius: var(--radius-pill);
  border: var(--border-accent);
  color: var(--color-accent);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 0.35rem;
  letter-spacing: 0.08rem;
  padding: 0.4rem 0.625rem;
  text-transform: uppercase;
  width: fit-content;
}

.featured-project__icon-container {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.featured-project__icon {
  color: var(--color-accent);
  height: 1rem;
  width: 1rem;
}

.project-card__name {
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.featured-project__tag + .project-card__name {
  margin-top: 0.875rem;
}

.project-card--featured .project-card__name {
  font-size: 1.5rem;
}

.project-card__body {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-top: 0.875rem;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style-type: none;
  margin-top: 1.25rem;
}

.project-card__tag {
  align-items: center;
  background-color: var(--color-project-tag);
  border-radius: var(--radius-pill);
  border: var(--border-accent);
  color: var(--color-accent);
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 600;
  height: 2rem;
  justify-content: center;
  padding: 0 0.75rem;
}

.project-card__publication {
  align-items: center;
  background-color: var(--color-accent-soft);
  border-radius: var(--radius-md);
  border: var(--border-accent);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto 1fr auto;
  margin-top: 1.25rem;
  padding: 1rem;
}

.publication__icon-container {
  align-items: center;
  color: var(--color-accent);
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.publication__icon {
  height: 1.5rem;
  width: 1.5rem;
}

.publication__header {
  color: var(--color-text-primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.publication__body {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 0.25rem;
}

.publication__link {
  align-items: center;
  border-radius: var(--radius-pill);
  color: var(--color-accent);
  display: flex;
  font-size: 0.85rem;
  font-weight: 700;
  gap: 0.25rem;
  text-decoration: none;
  white-space: nowrap;
}

.publication__link:hover,
.publication__link:focus-visible {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.publication__link:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.publication__link-icon-container {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.publication__link-icon {
  height: 1.125rem;
  width: 1.125rem;
}

.project-card__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 1.25rem;
}

.project-card__details-button {
  align-items: center;
  background-color: transparent;
  border-radius: var(--radius-pill);
  border: 0.0625rem solid transparent;
  color: var(--color-accent);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.project-card:hover .project-card__details-button {
  background-color: var(--color-accent-muted);
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-accent-soft);
  color: var(--color-accent);
}

.project-card:hover .project-card__details-button:hover,
.project-card__details-button:focus-visible {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent-soft), var(--shadow-sm);
  color: var(--color-surface-solid);
}

.project-card__details-button:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.project-card__details-button:active {
  transform: translateY(var(--press-xs));
}

.project-card__details-icon-container {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.project-card.is-expanded .project-card__details-icon-container {
  transform: rotate(180deg);
}

.project-card__details-icon {
  height: 1.125rem;
  width: 1.125rem;
}

.project-card__details {
  border-top: var(--border);
  gap: 1.5rem;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1.5rem;
}

.project-card:not(.project-card--featured) .project-card__details {
  grid-template-columns: 1fr;
}

.project-card.is-expanded .project-card__details {
  display: grid;
}

.details__column {
  min-width: 0;
}

.details__header {
  color: var(--color-text-primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.details__items {
  color: var(--color-text-secondary);
  display: grid;
  font-size: 0.9rem;
  gap: 0.5rem;
  line-height: 1.55;
  padding-left: 1.1rem;
}

.details__items li::marker {
  color: var(--color-accent);
}

/* =========================
   CONTACT ME
========================= */

.contact__container {
  align-items: start;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.05fr 0.95fr;
}

.contact__body {
  max-width: 28rem;
}

.contact__availability-tag {
  align-items: center;
  background-color: var(--color-surface-pill);
  border-radius: var(--radius-pill);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--color-text-primary);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 600;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 0.875rem 1.25rem;
}

.availability-tag__dot {
  background-color: var(--color-success);
  border-radius: 50%;
  box-shadow: var(--shadow-success);
  flex-shrink: 0;
  height: 0.75rem;
  width: 0.75rem;
}

.contact__links {
  display: grid;
  gap: 1.5rem;
}

.contact-link {
  align-items: start;
  background-color: var(--color-surface-solid);
  border-radius: var(--radius-lg);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.75rem;
  grid-template-columns: auto 1fr;
  padding: 2.25rem;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.contact-link:hover {
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-md);
}

.contact-link__icon-container {
  align-items: center;
  background-color: var(--color-blob);
  border-radius: 50%;
  color: var(--color-accent);
  display: inline-flex;
  flex-shrink: 0;
  height: 5.5rem;
  justify-content: center;
  width: 5.5rem;
}

.contact-link__icon {
  height: 2.75rem;
  width: 2.75rem;
}

.contact-link__name {
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.contact-link__body {
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 0.75rem;
  max-width: 24rem;
}

.contact-link .button {
  font-size: 1rem;
  font-weight: 700;
  gap: 0.625rem;
  height: 3.25rem;
  margin-top: 1.5rem;
  padding: 0 1.375rem;
  width: fit-content;
}

.contact-link .button svg {
  height: 1.25rem;
  width: 1.25rem;
}

/* =========================
   FOOTER
========================= */

.footer {
  border-top: var(--border);
  text-align: center;
  padding: 2.75rem 2rem 3rem;
}

.footer__container {
  margin: 0 auto;
  max-width: var(--content-width);
  width: min(var(--content-width), calc(100% - 2rem));
}

.footer__name {
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.footer__role {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.footer__copyright {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 1.5rem;
}

.footer__back-to-top {
  align-items: center;
  border-radius: var(--radius-pill);
  color: var(--color-accent);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.footer__back-to-top:hover,
.footer__back-to-top:focus-visible {
  background-color: var(--color-hover-subtle);
  color: var(--color-accent-hover);
}

.footer__back-to-top:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.footer__back-to-top:active {
  transform: translateY(var(--press-xs));
}

/* =========================
   RESPONSIVE

   58rem - stacked tablet layout
   48rem - mobile nav + mobile spacing
   30rem - small mobile
========================= */

@media (max-width: 58rem) {
  .hero__container {
    gap: 2rem;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__info {
    margin: 0 auto;
    max-width: 40rem;
  }

  .hero__title {
    font-size: 4rem;
  }

  .hero__role {
    font-size: 1.75rem;
  }

  .hero__description,
  .hero__separator {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__description {
    font-size: 1.0625rem;
    max-width: 32rem;
  }

  .hero__buttons,
  .hero__skills {
    justify-content: center;
  }

  .hero__stats {
    margin-left: auto;
    margin-right: auto;
    max-width: 34rem;
  }

  .hero__visuals {
    min-height: 24rem;
    transform: translateY(0.5rem);
  }

  .hero__image-container {
    height: 15rem;
    width: 15rem;
  }

  .hero__blob {
    height: 20rem;
    width: 20rem;
  }

  .about__container {
    gap: 2.5rem;
    grid-template-columns: 1fr;
  }

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

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

  .project-card--featured {
    display: block;
    grid-column: auto;
  }

  .project-card--featured .project-card__image-container {
    border-bottom: var(--border);
    border-right: none;
    height: 14rem;
    min-height: 0;
  }

  .project-card--featured .project-card__image {
    position: static;
    height: 100%;
    width: 100%;
  }

  .project-card:not(.project-card--featured) {
    grid-template-columns: 1fr;
  }

  .project-card:not(.project-card--featured) .project-card__image-container {
    border-bottom: var(--border);
    border-right: none;
    height: 12rem;
    min-height: 0;
  }

  .project-card__details {
    grid-template-columns: 1fr;
  }

  .contact__container {
    gap: 3rem;
    grid-template-columns: 1fr;
  }

  .contact__body {
    max-width: 36rem;
  }

  .contact__links {
    max-width: 36rem;
  }
}

@media (max-width: 48rem) {
  body {
    padding-top: 5.5rem;
  }

  .navbar__container {
    height: 3.5rem;
    padding: 0 1.25rem;
  }

  .navbar__links {
    display: none;
  }

  .navbar__menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: flex;
    pointer-events: none;
    visibility: hidden;
  }

  .mobile-menu.active {
    pointer-events: auto;
    visibility: visible;
  }

  .hero {
    padding: 2rem 1.25rem 4rem;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  .section__headline {
    font-size: 2.25rem;
  }

  .section__body {
    font-size: 1rem;
  }

  .hero__title {
    font-size: 2.75rem;
  }

  .hero__role {
    font-size: 1.5rem;
    margin-top: 1rem;
  }

  .hero__description {
    font-size: 1rem;
    margin-top: 1.5rem;
    max-width: 26rem;
  }

  .hero__buttons {
    gap: 1rem;
    margin-top: 2rem;
  }

  .button {
    font-size: 1rem;
    height: 3.25rem;
    width: 100%;
  }

  .hero__stats {
    max-width: 30rem;
  }

  .hero-stat {
    padding: 0 0.75rem;
  }

  .hero-stat__value {
    font-size: 2rem;
  }

  .hero__skills {
    gap: 0.875rem;
    margin-top: 1.5rem;
  }

  .hero__image-container {
    height: 16rem;
    width: 16rem;
  }

  .hero__blob {
    height: 22rem;
    width: 22rem;
  }

  .about__cards {
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .experience__type {
    font-size: 2rem;
  }

  .work__image-container {
    height: 16rem;
  }

  .work__details {
    font-size: 0.9rem;
    gap: 0.7rem;
    line-height: 1.55;
  }

  .project-card__info,
  .project-card--featured .project-card__info {
    padding: 1.25rem;
  }

  .project-card__name,
  .project-card--featured .project-card__name {
    font-size: 1.25rem;
  }

  .project-card__body {
    font-size: 0.95rem;
  }

  .project-card__publication {
    grid-template-columns: auto 1fr;
  }

  .publication__link {
    grid-column: 2;
  }

  .project-card__details {
    padding: 1.25rem;
  }

  .contact__links {
    max-width: none;
  }

  .contact-link {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    text-align: center;
  }

  .contact-link__icon-container {
    height: 4.75rem;
    width: 4.75rem;
  }

  .contact-link__icon {
    height: 2.25rem;
    width: 2.25rem;
  }

  .contact-link__name {
    font-size: 1.5rem;
  }

  .contact-link__body {
    font-size: 1rem;
  }

  .contact-link .button {
    width: 100%;
  }

  .contact__availability-tag {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .footer {
    padding: 2.5rem 1.5rem;
  }

  .footer__name {
    font-size: 1.75rem;
  }
}

@media (max-width: 30rem) {
  .hero__title {
    font-size: 2.5rem;
  }

  .hero__role {
    font-size: 1.25rem;
  }

  .hero__description {
    font-size: 1rem;
    max-width: 18rem;
  }

  .hero__stats {
    border-bottom: none;
    gap: 0.75rem;
    grid-template-columns: 1fr;
    max-width: 18rem;
    padding-bottom: 0;
  }

  .hero-stat {
    background-color: var(--color-surface);
    border: var(--border);
    border-radius: var(--radius-md);
    min-height: 0;
    padding: 1rem;
  }

  .hero__image-container {
    height: 13rem;
    width: 13rem;
  }

  .hero__blob {
    height: 17rem;
    width: 17rem;
  }

  .work__title {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
  }

  .work__card.is-expanded .work__image-container {
    margin-top: 0.75rem;
  }
}
