:root {
  --lightBlueHS: 199, 33%;
  --yellowHS: 49, 100%;
  --redHS: 349, 100%;
  --lightGrayHS: 220, 2%;
  --yellowHSL: 49.1, 100%, 50%;
  --lightGrayHSL: 220, 2%, 66%;
  --lightBlueHSL: 199, 33%, 60.95%;
  --darkBlueHSL: 201, 42%, 35.2%;
  --orangeHSL: 22, 100%, 53.8%;
  --redHSL: 349, 100%, 45%;
  --midGrayHSL: 204, 2%, 54%;
  --navyHSL: 211.8, 73.9%, 18%;
  --lavenderHSL: 228.5, 60.5%, 83.1%;
  --signalHSL: 20, 80%, 30.5%;
  --signalLightHSL: 20, 80%, 55.5%;
  --routeHSL: 208, 65%, 32%;
  --routeLightHSL: 208, 65%, 57.5%;
  --flagHSL: 42, 80%, 23%;
  --flagLightHSL: 42, 80%, 41%;
  --mutedInkHSL: 216, 18%, 33.5%;
  --mutedInkLightHSL: 216, 18%, 59%;
  --darkGrayHSL: 210, 4%, 27%;
  --darkerGrayHSL: 349, 25%, 16%;
  --whiteHSL: 0, 0%, 99%;
  --trueWhiteHSL: 0, 0%, 100%;
  --blackHSL: 210, 33%, 9.5%;
  --trueBlackHSL: 0, 0%, 0%;
  --white: hsl(var(--whiteHSL));
  --trueWhite: hsl(var(--trueWhiteHSL));
  --black: hsl(var(--blackHSL));
  --trueBlack: hsl(var(--trueBlackHSL));
  --headingFont: "Fraunces", Georgia, "Times New Roman", serif;
  --bodyFont: "Archivo", -apple-system, system-ui, BlinkMacSystemFont,
  	"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --codeFont: "MonoLisa", Consolas, Monaco, "Andale Mono", "Ubuntu Mono",
  	monospace;
  --labelFont: "Space Mono", Menlo, Consolas, "Andale Mono", "Ubuntu Mono",
  	monospace;
  --bodyFontWeight: normal;
  --bodyFontSize: 1.125rem;
  --bodyLineHeight: calc(var(--quarterNote) * 1.25);
  --yellow: hsl(var(--yellowHSL));
  --orange: hsl(var(--orangeHSL));
  --red: hsl(var(--redHSL));
  --lightestGray: hsl(var(--lightGrayHS), 94%);
  --lighterGray: hsl(var(--lightGrayHS), 86%);
  --lightGray: hsl(var(--lightGrayHSL));
  --midGray: hsl(var(--midGrayHSL));
  --darkGray: hsl(var(--darkGrayHSL));
  --darkerGray: hsl(var(--darkerGrayHSL));
  --lightBlue: hsl(var(--lightBlueHSL));
  --lighterBlue: hsl(var(--lightBlueHS), 90%);
  --lightestBlue: hsl(var(--lightBlueHS), 95%);
  --darkBlue: hsl(var(--darkBlueHSL));
  --darkerBlue: hsl(var(--darkBlueHSL), 20%);
  --darkGreen: hsl(180, 100%, 20%);
  --blueToYellow: #7ba7bc, #75b1bf, #66c6b6, #4fd27b, #56e035, #acef1b, #faf008,
  	#ffd100;
  --navy: hsl(var(--navyHSL));
  --lavender: hsl(var(--lavenderHSL));
  --signal: hsl(var(--signalHSL));
  --signalLight: hsl(var(--signalLightHSL));
  --route: hsl(var(--routeHSL));
  --routeLight: hsl(var(--routeLightHSL));
  --flag: hsl(var(--flagHSL));
  --flagLight: hsl(var(--flagLightHSL));
  --mutedInk: hsl(var(--mutedInkHSL));
  --mutedInkLight: hsl(var(--mutedInkLightHSL));
  --canvasHS: 220, 20%;
  --ink: var(--navy);
  --paper: hsl(var(--canvasHS), 96%);
  --paperHSL: var(--canvasHS), 96%;
  --headingColor: var(--ink);
  --accentColor: var(--signal);
  --linkColor: var(--route);
  --highlightColor: var(--darkGray);
  --tagColor: var(--flag);
  --secondaryInk: var(--mutedInk);
  --maxWidth: 34rem;
  --sidebarWidth: 15rem;
  --margin: var(--quarterNote);
  --sixteenthNote: calc(var(--quarterNote) / 4);
  --eighthNote: calc(var(--quarterNote) / 2);
  --quarterNote: 1.25rem;
  --dottedQuarterNote: calc(var(--quarterNote) * 1.5);
  --halfNote: calc(var(--quarterNote) * 2);
  --dottedHalfNote: calc(var(--quarterNote) * 3);
  --wholeNote: calc(var(--quarterNote) * 4);
  --tiedWholeNote: calc(var(--quarterNote) * 5);
  --dottedWholeNote: calc(var(--quarterNote) * 6);
  --buttonSize: 2.2rem;
  --buttonBackground: var(--paper);
  font-size: var(--bodyFontSize);
}
@media (min-width: 42rem) {
  :root {
    --bodyFontSize: 1.1875rem;
  }
}
@media (min-width: 82rem) {
  :root {
    --bodyFontSize: 1.25rem;
  }
}
@media (min-width: 42rem) {
  :root {
    --margin: var(--halfNote);
  }
}
@media (min-width: 56rem) {
  :root {
    --margin: var(--dottedHalfNote);
  }
}
@media (min-width: 108rem) {
  :root {
    --margin: var(--wholeNote);
  }
}
@media (min-width: 122rem) {
  :root {
    --margin: var(--dottedWholeNote);
  }
}
:root.dark {
  --paper: hsl(var(--canvasHS), 10%);
  --paperHSL: var(--canvasHS), 10%;
  --ink: var(--lavender);
  --headingColor: var(--ink);
  --accentColor: var(--signalLight);
  --linkColor: var(--routeLight);
  --highlightColor: var(--darkerGray);
  --tagColor: var(--flagLight);
  --secondaryInk: var(--mutedInkLight);
  --lighterGray: hsl(var(--lightGrayHS), 26%);
  --lightestGray: hsl(var(--lightGrayHS), 13%);
}
@media (prefers-color-scheme: dark) {
  :root:not(/* (unused) .light*/) {
    --paper: hsl(var(--canvasHS), 10%);
    --paperHSL: var(--canvasHS), 10%;
    --ink: var(--lavender);
    --headingColor: var(--ink);
    --accentColor: var(--signalLight);
    --linkColor: var(--routeLight);
    --highlightColor: var(--darkerGray);
    --tagColor: var(--flagLight);
    --secondaryInk: var(--mutedInkLight);
  }
}

.projects.svelte-awyy15 {
  padding-block: var(--halfNote) var(--wholeNote);
}

.projects-hero.svelte-awyy15 {
  margin-bottom: var(--wholeNote);
}
.projects-hero.svelte-awyy15 > :where(.svelte-awyy15) {
  opacity: 0;
  transform: translateY(12px);
  animation: svelte-awyy15-hero_rise 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.reduce-motion .projects-hero > .svelte-awyy15 {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}
.projects-hero.svelte-awyy15 .eyebrow:where(.svelte-awyy15) {
  animation-delay: 0.05s;
}
.projects-hero.svelte-awyy15 h2:where(.svelte-awyy15) {
  animation-delay: 0.15s;
}
.projects-hero.svelte-awyy15 .intro:where(.svelte-awyy15) {
  animation-delay: 0.3s;
}

@keyframes svelte-awyy15-hero_rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.projects-hero.svelte-awyy15 .eyebrow:where(.svelte-awyy15) {
  font-family: var(--labelFont);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondaryInk);
  margin: 0 0 var(--eighthNote);
}

.projects-hero.svelte-awyy15 h2:where(.svelte-awyy15) {
  font-family: var(--headingFont);
  font-weight: normal;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  margin: 0;
  max-width: 18ch;
}
.projects-hero.svelte-awyy15 h2:where(.svelte-awyy15) em:where(.svelte-awyy15) {
  font-style: italic;
}

.projects-hero.svelte-awyy15 .intro:where(.svelte-awyy15) {
  margin: var(--eighthNote) 0 0;
  max-width: 42ch;
  font-size: 1.05rem;
  color: var(--secondaryInk);
}

.project-grid.svelte-awyy15 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--dottedHalfNote);
}

.project-card.svelte-awyy15 {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.project-card--more.svelte-awyy15 {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--lightGray);
  min-height: 10rem;
}
.project-card--more.svelte-awyy15 h3:where(.svelte-awyy15) {
  font-size: 1.3rem;
  margin: 0 0 0.3rem;
}
.project-card--more.svelte-awyy15 p:where(.svelte-awyy15) {
  margin: 0;
}

.frame.svelte-awyy15 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--lightGray);
  background: var(--card-bg, var(--paper));
}
.frame.svelte-awyy15 img:where(.svelte-awyy15) {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
  filter: saturate(0.85) contrast(0.95) brightness(0.97);
}

.num.svelte-awyy15 {
  position: absolute;
  top: var(--eighthNote);
  left: var(--eighthNote);
  z-index: 2;
  font-family: var(--labelFont);
  font-size: 0.75rem;
  font-weight: bold;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--lightGray);
  padding: 0.15rem 0.4rem;
}

.scrim.svelte-awyy15 {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem var(--eighthNote) var(--eighthNote);
  background: linear-gradient(to top, rgba(8, 14, 26, 0.82), rgba(8, 14, 26, 0) 100%);
}
.scrim.svelte-awyy15 h3:where(.svelte-awyy15) {
  margin: 0;
  font-size: 1.3rem;
  font-weight: normal;
  color: #fff;
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
}
.scrim.svelte-awyy15 .ext:where(.svelte-awyy15) {
  font-family: var(--labelFont);
  font-size: 0.6em;
  color: hsla(0, 0%, 100%, 0.7);
  transition: transform 0.2s ease;
}

.cat.svelte-awyy15 {
  display: block;
  margin-top: var(--eighthNote);
  font-family: var(--labelFont);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondaryInk);
}

.desc.svelte-awyy15 {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
}

@media (hover: hover) {
  .project-card.svelte-awyy15:hover {
    transform: translateY(-4px);
  }
  .project-card.svelte-awyy15:nth-child(odd):hover .frame:where(.svelte-awyy15) img:where(.svelte-awyy15) {
    transform: rotate(-2deg) scale(1.08);
  }
  .project-card.svelte-awyy15:nth-child(even):hover .frame:where(.svelte-awyy15) img:where(.svelte-awyy15) {
    transform: rotate(2deg) scale(1.08);
  }
  .project-card.svelte-awyy15:hover .scrim:where(.svelte-awyy15) .ext:where(.svelte-awyy15) {
    transform: translate(0.15em, -0.15em);
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-card.svelte-awyy15,
  .frame.svelte-awyy15 img:where(.svelte-awyy15),
  .scrim.svelte-awyy15 .ext:where(.svelte-awyy15) {
    transition: none;
  }
}
@media (prefers-reduced-motion: reduce) and (hover: hover) {
  .project-card.svelte-awyy15:hover {
    transform: none;
  }
  .project-card.svelte-awyy15:nth-child(odd):hover .frame:where(.svelte-awyy15) img:where(.svelte-awyy15),
  .project-card.svelte-awyy15:nth-child(even):hover .frame:where(.svelte-awyy15) img:where(.svelte-awyy15) {
    transform: none;
  }
}