@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto+Flex:opsz,slnt,wdth,wght,GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC@8..144,-10..0,25..151,100..1000,-200..150,27..175,323..603,25..135,649..854,-305..-98,560..788,416..570,528..760&display=swap');

:root {
  --bg: #191b1f;
  --surface: #22262c;
  --surface-2: #2a2f36;
  --line: #414957;
  --line-strong: #596375;
  --text: #f2f5f9;
  --text-dim: #c5cedb;
  --accent: #88bcae;
  --accent-2: #cfb38b;
  --hero: #202731;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color-scheme: dark;
}

.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 450, 'GRAD' 0, 'opsz' 24;
  font-size: 1.1rem;
  line-height: 1;
  vertical-align: -0.125em;
}

.heading-display {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 735;
  letter-spacing: -0.02em;
  font-variation-settings:
    'slnt' 0,
    'wdth' 112.5,
    'GRAD' -126,
    'XOPQ' 161,
    'XTRA' 580,
    'YOPQ' 64,
    'YTAS' 750,
    'YTDE' -203,
    'YTFI' 738,
    'YTLC' 514,
    'YTUC' 760;
}

.heading-page {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 800;
  letter-spacing: -0.015em;
  font-variation-settings:
    'slnt' 0,
    'wdth' 112.5,
    'GRAD' -126,
    'XOPQ' 161,
    'XTRA' 580,
    'YOPQ' 64,
    'YTAS' 750,
    'YTDE' -203,
    'YTFI' 738,
    'YTLC' 514,
    'YTUC' 760;
}

.heading-section {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 640;
  letter-spacing: -0.01em;
  font-variation-settings:
    'slnt' 0,
    'wdth' 38,
    'GRAD' -126,
    'XOPQ' 143,
    'XTRA' 580,
    'YOPQ' 64,
    'YTAS' 750,
    'YTDE' -203,
    'YTFI' 738,
    'YTLC' 514,
    'YTUC' 760;
}

.heading-card {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  letter-spacing: -0.006em;
  font-variation-settings:
    'slnt' 0,
    'wdth' 100,
    'GRAD' 0,
    'XOPQ' 96,
    'XTRA' 468,
    'YOPQ' 79,
    'YTAS' 750,
    'YTDE' -203,
    'YTFI' 738,
    'YTLC' 514,
    'YTUC' 712;
}

.heading-eyebrow {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.77rem;
  color: var(--text-dim);
  margin: 0 0 0.65rem;
  font-variation-settings:
    'slnt' 0,
    'wdth' 98,
    'GRAD' 0,
    'XOPQ' 96,
    'XTRA' 468,
    'YOPQ' 79,
    'YTAS' 750,
    'YTDE' -203,
    'YTFI' 738,
    'YTLC' 514,
    'YTUC' 712;
}

.noto-sans-body {
  font-family: 'Noto Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: 'wdth' 100;
}

.noto-sans-strong {
  font-family: 'Noto Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings: 'wdth' 100;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(25, 27, 31, 0.9);
  backdrop-filter: blur(6px);
}

.brand {
  color: var(--text);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  text-decoration: none;
}

.pdf-btn {
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  transition: background-color 160ms ease, transform 160ms ease;
}

.pdf-btn:hover {
  background: #2b3139;
  transform: translateY(-1px);
}

main {
  padding-bottom: 5rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 65px);
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: var(--hero);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 8vw, 5.5rem);
  line-height: 0.93;
  margin: 0;
  max-width: 16ch;
}

.hero-subtitle {
  margin: 1rem 0 0;
  color: var(--text-dim);
  font-size: clamp(1.08rem, 2.1vw, 1.45rem);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  text-decoration: none;
  color: var(--accent);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  transition: transform 220ms ease, background-color 220ms ease;
  animation: arrow-breathe 2.2s ease-in-out infinite;
}

.hero-scroll-icon {
  font-size: 1.35rem;
}

.hero-scroll:hover {
  transform: translateX(-50%) translateY(-2px);
  background: color-mix(in srgb, var(--surface-2) 90%, transparent);
}

.section {
  padding: 2.2rem 1rem 0;
}

.content-section {
  margin-inline: auto;
}

.content-section > .section-head,
.content-section > .prose,
.content-section > .pill-row,
.content-section > .tech-grid,
.content-section > .v-grid {
  width: min(1240px, 100%);
  margin-inline: auto;
}

.content-section > .section-head {
  margin-bottom: 0.9rem;
}

.section-head {
  margin-bottom: 0.9rem;
}

.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: var(--surface);
  box-shadow: none;
}

.prose {
  width: min(1240px, 100%);
  /* min-height: 240px; */
  padding: 2rem;
}

.prose h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
}

.prose p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.66;
}

.pill-row {
  width: min(1240px, 100%);
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  padding: 0.48rem 0.8rem;
  background: var(--bg);
  transition: background-color 160ms ease, transform 160ms ease;
}

.pill:hover {
  background: #2d323a;
  transform: translateY(-1px);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.tech-card {
  aspect-ratio: 1 / 1;
  /* min-height: 220px; */
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tech-icon {
  color: var(--accent);
  font-size: 2.05rem;
}

.tech-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.rating {
  display: flex;
  gap: 0.1rem;
}

.star {
  color: var(--accent-2);
  font-size: 1.15rem;
}

.star.filled {
  font-variation-settings: 'FILL' 1, 'wght' 520, 'GRAD' 0, 'opsz' 24;
}

.star.empty {
  opacity: 0.27;
}

.v-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.project-card {
  /* min-height: 220px; */
  padding: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-media {
  width: 6.25rem;
  height: 6.25rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: var(--surface-2);
}

.project-image {
  display: block;
  width: 80%;
  height: 80%;
  object-fit: cover;
  object-position: center;
}

.project-main {
  flex: 1;
}

.project-top {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.project-top h3 {
  margin: 0;
  font-size: 1.28rem;
}

.project-main p {
  margin: 0.75rem 0 0;
  color: var(--text-dim);
  line-height: 1.65;
}

.project-link {
  align-self: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  padding: 0.58rem 0.95rem;
  white-space: nowrap;
}

.line-card,
.soft-card {
  /* min-height: 220px; */
  padding: 1.8rem;
}

.line-card h3 {
  margin: 0;
  font-size: 1.22rem;
}

.line-card p {
  margin: 0.72rem 0 0;
  color: var(--text-dim);
}

.years {
  color: var(--text);
}

.ghost-btn {
  margin-top: 1.1rem;
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.58rem 0.95rem;
}

.soft-card p {
  margin: 0;
  line-height: 1.7;
  font-size: 1.05rem;
}

@keyframes arrow-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 28%, transparent);
    transform: translateX(-50%);
  }
  50% {
    box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 0%, transparent);
    transform: translateX(-50%) translateY(-3px);
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  will-change: transform, opacity;
}

@media (min-width: 840px) {
  .site-header {
    padding: 1rem 2rem;
  }

  .hero {
    padding: 4rem 2.2rem;
  }

  .section {
    padding: 3rem 2.2rem 0;
  }

  .prose {
    padding: 2.4rem;
  }

  .hero-scroll {
    bottom: 1.45rem;
  }
}
